var/cache/review/twig/ef/efc6100fe9f0adb02670caaea3a8e14c.php line 58

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_02c692a9d9a255ad8898b14b594b5511 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this, 'block_title'],
  24.             'metaDescription' => [$this, 'block_metaDescription'],
  25.             'canonical' => [$this, 'block_canonical'],
  26.             'navbar' => [$this, 'block_navbar'],
  27.             'mainContainer' => [$this, 'block_mainContainer'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "ProfilePreview/grid.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros = $this->macros;
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
  44.         // line 3
  45.         $context["soft_deleted_410"] = ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("410_soft_delete") && 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.', 3, $this->source); })()), "deleted", [], "any", false, false, false, 3));
  46.         // line 1
  47.         $this->parent = $this->loadTemplate("ProfilePreview/grid.html.twig", "ProfilePreview/page.html.twig", 1);
  48.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  49.         
  50.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     // line 5
  57.     public function block_title($context, array $blocks = [])
  58.     {
  59.         $macros = $this->macros;
  60.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  61.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  66.         // line 6
  67.         echo "    ";
  68.         if ((isset($context["soft_deleted_410"]) || array_key_exists("soft_deleted_410", $context) ? $context["soft_deleted_410"] : (function () { throw new RuntimeError('Variable "soft_deleted_410" does not exist.', 6, $this->source); })())) {
  69.             // line 7
  70.             echo "        Анкета ";
  71.             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.', 7, $this->source); })()), "name", [], "any", false, false, false, 7)), "html", null, true);
  72.             echo ", ID ";
  73.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 7, $this->source); })()), "id", [], "any", false, false, false, 7), "html", null, true);
  74.             echo " снята с публикации - | Похожие предложения.
  75.     ";
  76.         } else {
  77.             // line 9
  78.             echo "        ";
  79.             echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaTitle(), "html", null, true);
  80.             echo "
  81.     ";
  82.         }
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.         
  88.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  89.     }
  90.     // line 13
  91.     public function block_metaDescription($context, array $blocks = [])
  92.     {
  93.         $macros = $this->macros;
  94.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  95.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
  100.         // line 14
  101.         echo "    ";
  102.         if ((isset($context["soft_deleted_410"]) || array_key_exists("soft_deleted_410", $context) ? $context["soft_deleted_410"] : (function () { throw new RuntimeError('Variable "soft_deleted_410" does not exist.', 14, $this->source); })())) {
  103.             // line 15
  104.             echo "        <meta name=\"description\" content=\"";
  105.             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.', 15, $this->source); })()), "name", [], "any", false, false, false, 15)), "html", null, true);
  106.             echo ", ID ";
  107.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 15, $this->source); })()), "id", [], "any", false, false, false, 15), "html", null, true);
  108.             echo " сейчас не работает и недоступна в результатах поиска. Взгляните на похожие анкеты, которые мы подобрали специально для Вас.\">
  109.     ";
  110.         } else {
  111.             // line 17
  112.             echo "        <meta name=\"description\" content=\"";
  113.             echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaDescription(), "html", null, true);
  114.             echo "\">
  115.     ";
  116.         }
  117.         
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  119.         
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  121.         
  122.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  123.     }
  124.     // line 21
  125.     public function block_canonical($context, array $blocks = [])
  126.     {
  127.         $macros = $this->macros;
  128.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  129.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  134.         // line 22
  135.         echo "    ";
  136.         if ((isset($context["soft_deleted_410"]) || array_key_exists("soft_deleted_410", $context) ? $context["soft_deleted_410"] : (function () { throw new RuntimeError('Variable "soft_deleted_410" does not exist.', 22, $this->source); })())) {
  137.             // line 23
  138.             echo "        <link rel=\"canonical\" href=\"";
  139.             echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->cityProfilesCanonicalUrl(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.', 23, $this->source); })()), "city", [], "any", false, false, false, 23), (isset($context["actual_main_domain"]) || array_key_exists("actual_main_domain", $context) ? $context["actual_main_domain"] : (function () { throw new RuntimeError('Variable "actual_main_domain" does not exist.', 23, $this->source); })())), "html", null, true);
  140.             echo "\">
  141.     ";
  142.         } else {
  143.             // line 25
  144.             echo "        ";
  145.             $this->displayParentBlock("canonical", $context, $blocks);
  146.             echo "
  147.     ";
  148.         }
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.         
  154.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  155.     }
  156.     // line 29
  157.     public function block_navbar($context, array $blocks = [])
  158.     {
  159.         $macros = $this->macros;
  160.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  161.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  166.         // line 30
  167.         echo "    ";
  168.         $this->displayParentBlock("navbar", $context, $blocks);
  169.         echo "
  170.     ";
  171.         // line 31
  172.         if ( !(isset($context["soft_deleted_410"]) || array_key_exists("soft_deleted_410", $context) ? $context["soft_deleted_410"] : (function () { throw new RuntimeError('Variable "soft_deleted_410" does not exist.', 31, $this->source); })())) {
  173.             // line 32
  174.             echo "        ";
  175.             $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.', 32, $this->source); })()), "id", [], "any", false, false, false, 32)];
  176.             // line 33
  177.             echo "        ";
  178.             $this->loadTemplate("Recommendations/_profile_recommendations.html.twig", "ProfilePreview/page.html.twig", 33)->display($context);
  179.             // line 34
  180.             echo "    ";
  181.         }
  182.         
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  184.         
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  186.         
  187.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  188.     }
  189.     // line 37
  190.     public function block_mainContainer($context, array $blocks = [])
  191.     {
  192.         $macros = $this->macros;
  193.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  194.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
  199.         // line 38
  200.         echo "    <div class=\"row\" alt=\"";
  201.         ((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.', 38, $this->source); })()), "seo", [], "any", false, false, false, 38)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 38, $this->source); })()), "seo", [], "any", false, false, false, 38), "phone", [], "any", false, false, false, 38), "html", null, true))) : (print ("")));
  202.         echo "\">
  203.         <div class=\"col-3\">
  204.             <div id=\"left_column_metric\">
  205.                 ";
  206.         // line 41
  207.         if (( !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.', 41, $this->source); })()), "user", [], "any", false, false, false, 41) || $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.', 41, $this->source); })()), "user", [], "any", false, false, false, 41)))) {
  208.             // line 42
  209.             echo "                    <div><a class=\"add-remove-favourite\" data-action=\"remove\" href=\"javascript:void(0);\"
  210.                             style=\"display: ";
  211.             // line 43
  212.             echo (($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.', 43, $this->source); })()))) ? ("block") : ("none"));
  213.             echo "\">UNLIKE</a></div>
  214.                     <div><a class=\"add-remove-favourite\" data-action=\"add\"
  215.                             style=\"display: ";
  216.             // line 45
  217.             echo (( !$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.', 45, $this->source); })()))) ? ("block") : ("none"));
  218.             echo "\"
  219.                             ";
  220.             // line 46
  221.             if (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.', 46, $this->source); })()), "user", [], "any", false, false, false, 46)) {
  222.                 echo "href=\"javascript:void(0);\"
  223.                             ";
  224.             } else {
  225.                 // line 47
  226.                 echo "href=\"javascript:alert('Чтобы сделать что-то зарегистрируйтесь');\"";
  227.             }
  228.             echo ">LIKE</a>
  229.                     </div>
  230.                 ";
  231.         }
  232.         // line 50
  233.         echo "                <div class=\"row\">
  234.                     ";
  235.         // line 51
  236.         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.', 51, $this->source); })()), "isApproved", [], "any", false, false, false, 51)) {
  237.             echo " <b style=\"color:green;\">APPROVED</b><br/> ";
  238.         }
  239.         // line 52
  240.         echo "                    ";
  241.         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.', 52, $this->source); })()), "deleted", [], "any", false, false, false, 52)) {
  242.             // line 53
  243.             echo "                        ";
  244.             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); })()), "isModerationRejected", [], "any", false, false, false, 53)) {
  245.                 // line 54
  246.                 echo "                            <img src=\"";
  247.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/img/red-circle.png"), "html", null, true);
  248.                 echo "\"
  249.                                  alt=\"";
  250.                 // line 55
  251.                 ((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.', 55, $this->source); })()), "seo", [], "any", false, false, false, 55)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 55, $this->source); })()), "seo", [], "any", false, false, false, 55), "phone", [], "any", false, false, false, 55), "html", null, true))) : (print ("")));
  252.                 echo "\" width=\"150\">
  253.                         ";
  254.             } else {
  255.                 // line 57
  256.                 echo "                            ";
  257.                 $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.', 57, $this->source); })()));
  258.                 // line 58
  259.                 echo "                            ";
  260.                 if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 58, $this->source); })())) {
  261.                     // line 59
  262.                     echo "                                <img src=\"";
  263.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(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.', 59, $this->source); })()), "path", [], "any", false, false, false, 59), (((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.', 59, $this->source); })()), "type", [], "any", false, false, false, 59) == "photo")) ? ("profile_media") : ("profile_media_avatar"))), "html", null, true);
  264.                     echo "\"
  265.                                      alt=\"";
  266.                     // line 60
  267.                     ((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.', 60, $this->source); })()), "seo", [], "any", false, false, false, 60)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 60, $this->source); })()), "seo", [], "any", false, false, false, 60), "phone", [], "any", false, false, false, 60), "html", null, true))) : (print ("")));
  268.                     echo "\" width=\"150\">
  269.                             ";
  270.                 }
  271.                 // line 62
  272.                 echo "                        ";
  273.             }
  274.             // line 63
  275.             echo "                    ";
  276.         } else {
  277.             // line 64
  278.             echo "                        Фото-заглушка
  279.                     ";
  280.         }
  281.         // line 66
  282.         echo "                </div>
  283.                 ";
  284.         // line 67
  285.         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.', 67, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 67)) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 67, $this->source); })()), "photos", [], "any", false, false, false, 67)) > 0))) {
  286.             // line 68
  287.             echo "                    <div class=\"row\">
  288.                         ";
  289.             // line 69
  290.             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.', 69, $this->source); })()), "deleted", [], "any", false, false, false, 69)) {
  291.                 // line 70
  292.                 echo "                            ";
  293.                 $context['_parent'] = $context;
  294.                 $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.', 70, $this->source); })()), "photos", [], "any", false, false, false, 70));
  295.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  296.                     // line 71
  297.                     echo "                                <div class=\"col-4\">
  298.                                     <img src=\"";
  299.                     // line 72
  300.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 72), "profile_media"), "html", null, true);
  301.                     echo "\" alt=\"\" width=\"150\">
  302.                                 </div>
  303.                             ";
  304.                 }
  305.                 $_parent = $context['_parent'];
  306.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  307.                 $context = array_intersect_key($context, $_parent) + $_parent;
  308.                 // line 75
  309.                 echo "                        ";
  310.             }
  311.             // line 76
  312.             echo "                    </div>
  313.                 ";
  314.         }
  315.         // line 78
  316.         echo "                ";
  317.         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.', 78, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 78)) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 78, $this->source); })()), "selfies", [], "any", false, false, false, 78)) > 0))) {
  318.             // line 79
  319.             echo "                    <div class=\"row\">
  320.                         ";
  321.             // line 80
  322.             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.', 80, $this->source); })()), "deleted", [], "any", false, false, false, 80)) {
  323.                 // line 81
  324.                 echo "                            ";
  325.                 $context['_parent'] = $context;
  326.                 $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.', 81, $this->source); })()), "selfies", [], "any", false, false, false, 81));
  327.                 foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  328.                     // line 82
  329.                     echo "                                ";
  330.                     if ((twig_get_attribute($this->env, $this->source, $context["photo"], "main", [], "any", false, false, false, 82) == false)) {
  331.                         // line 83
  332.                         echo "                                    <div class=\"col-4\">
  333.                                         <img src=\"";
  334.                         // line 84
  335.                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 84), "profile_media_selfie"), "html", null, true);
  336.                         echo "\" alt=\"\" width=\"150\">
  337.                                     </div>
  338.                                 ";
  339.                     }
  340.                     // line 87
  341.                     echo "                            ";
  342.                 }
  343.                 $_parent = $context['_parent'];
  344.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  345.                 $context = array_intersect_key($context, $_parent) + $_parent;
  346.                 // line 88
  347.                 echo "                        ";
  348.             }
  349.             // line 89
  350.             echo "                    </div>
  351.                 ";
  352.         }
  353.         // line 91
  354.         echo "                ";
  355.         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.', 91, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 91)) &&  !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); })()), "deleted", [], "any", false, false, false, 91))) {
  356.             // line 92
  357.             echo "                    <div class=\"row\">
  358.                         ";
  359.             // line 93
  360.             $context['_parent'] = $context;
  361.             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 93, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 93), function ($__video__) use ($context, $macros) { $context["video"] = $__video__; return twig_get_attribute($this->env, $this->source, $context["video"], "previewPath", [], "any", false, false, false, 93); }));
  362.             foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  363.                 // line 94
  364.                 echo "                            <div class=\"col-4\">
  365.                                 <video width=\"100%\" controls
  366.                                        poster=\"";
  367.                 // line 96
  368.                 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", false, false, false, 96), "profile_media", "fullsize"), "html", null, true);
  369.                 echo "\">
  370.                                     <source src=\"";
  371.                 // line 97
  372.                 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", false, false, false, 97), "profile_media", "fullsize"), "html", null, true);
  373.                 echo "\" type=\"video/mp4\">
  374.                                     Your browser does not support the video tag.
  375.                                 </video>
  376.                             </div>
  377.                         ";
  378.             }
  379.             $_parent = $context['_parent'];
  380.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  381.             $context = array_intersect_key($context, $_parent) + $_parent;
  382.             // line 102
  383.             echo "                    </div>
  384.                 ";
  385.         }
  386.         // line 104
  387.         echo "            </div>
  388.         </div>
  389.         <div class=\"col-9\">
  390.             <div id=\"center_column_metric\">
  391.                 <h5>";
  392.         // line 108
  393.         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.', 108, $this->source); })()), "name", [], "any", false, false, false, 108)), "html", null, true);
  394.         echo " ";
  395.         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.', 108, $this->source); })()), "html", null, true);
  396.         echo "&#9733;
  397.                     ";
  398.         // line 109
  399.         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.', 109, $this->source); })()), "deleted", [], "any", false, false, false, 109)) {
  400.             // line 110
  401.             echo "                        ";
  402.             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.', 110, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 110)) {
  403.                 // line 111
  404.                 echo "                            <h3>Анкета отклонена модератором</h3>
  405.                         ";
  406.             } else {
  407.                 // line 113
  408.                 echo "                            ";
  409.                 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.', 113, $this->source); })()), "active", [], "any", false, false, false, 113)) {
  410.                     // line 114
  411.                     echo "                                <small><a href=\"tel:";
  412.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 114, $this->source); })()), "phoneNumber", [], "any", false, false, false, 114), "html", null, true);
  413.                     echo "\">";
  414.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 114, $this->source); })()), "phoneNumber", [], "any", false, false, false, 114), "html", null, true);
  415.                     echo "</a></small>
  416.                             ";
  417.                 }
  418.                 // line 116
  419.                 echo "                        ";
  420.             }
  421.             // line 117
  422.             echo "                    ";
  423.         } else {
  424.             // line 118
  425.             echo "                        Заглушка телефона
  426.                     ";
  427.         }
  428.         // line 120
  429.         echo "                </h5>
  430.                 <dl>
  431.                     <dt>";
  432.         // line 122
  433.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Город", [], "messages");
  434.         echo "</dt>
  435.                     <dd>";
  436.         // line 123
  437.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $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.', 123, $this->source); })()), "city", [], "any", false, false, false, 123), "name", [], "any", false, false, false, 123)), "html", null, true);
  438.         echo "</dd>
  439.                     <dt>";
  440.         // line 124
  441.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Метро", [], "messages");
  442.         echo "</dt>
  443.                     <dd>
  444.                         ";
  445.         // line 126
  446.         $context['_parent'] = $context;
  447.         $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.', 126, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 126));
  448.         $context['loop'] = [
  449.           'parent' => $context['_parent'],
  450.           'index0' => 0,
  451.           'index'  => 1,
  452.           'first'  => true,
  453.         ];
  454.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  455.             $length = count($context['_seq']);
  456.             $context['loop']['revindex0'] = $length - 1;
  457.             $context['loop']['revindex'] = $length;
  458.             $context['loop']['length'] = $length;
  459.             $context['loop']['last'] = 1 === $length;
  460.         }
  461.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  462.             // line 127
  463.             echo "                            <a href=\"";
  464.             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, 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.', 127, $this->source); })()), "city", [], "any", false, false, false, 127), "uriIdentity", [], "any", false, false, false, 127), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 127)]), "html", null, true);
  465.             echo "\">";
  466.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["station"], "name", [], "any", false, false, false, 127)), "html", null, true);
  467.             echo " ";
  468.             if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 127)) {
  469.                 echo "*";
  470.             }
  471.             echo "</a>
  472.                             ";
  473.             // line 128
  474.             if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 128)) {
  475.                 echo ", ";
  476.             }
  477.             // line 129
  478.             echo "                        ";
  479.             ++$context['loop']['index0'];
  480.             ++$context['loop']['index'];
  481.             $context['loop']['first'] = false;
  482.             if (isset($context['loop']['length'])) {
  483.                 --$context['loop']['revindex0'];
  484.                 --$context['loop']['revindex'];
  485.                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  486.             }
  487.         }
  488.         $_parent = $context['_parent'];
  489.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  490.         $context = array_intersect_key($context, $_parent) + $_parent;
  491.         // line 130
  492.         echo "                    </dd>
  493.                     <dt>";
  494.         // line 131
  495.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Район", [], "messages");
  496.         echo "</dt>
  497.                     <dd>
  498.                         ";
  499.         // line 133
  500.         $context['_parent'] = $context;
  501.         $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.', 133, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 133));
  502.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  503.             // line 134
  504.             echo "                            ";
  505.             $context["stationDistrict"] = twig_get_attribute($this->env, $this->source, $context["station"], "district", [], "any", false, false, false, 134);
  506.             // line 135
  507.             echo "                            ";
  508.             if ((isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 135, $this->source); })())) {
  509.                 // line 136
  510.                 echo "                                ";
  511.                 $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.', 136, $this->source); })()), "county", [], "any", false, false, false, 136);
  512.                 // line 137
  513.                 echo "                                ";
  514.                 if ((isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 137, $this->source); })())) {
  515.                     // line 138
  516.                     echo "                                    <a href=\"";
  517.                     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->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.', 138, $this->source); })()), "city", [], "any", false, false, false, 138), "uriIdentity", [], "any", false, false, false, 138), "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.', 138, $this->source); })()), "uriIdentity", [], "any", false, false, false, 138)]), "html", null, true);
  518.                     echo "\">";
  519.                     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.', 138, $this->source); })()), "name", [], "any", false, false, false, 138)), "html", null, true);
  520.                     echo "</a>
  521.                                 ";
  522.                 }
  523.                 // line 140
  524.                 echo "                            ";
  525.             }
  526.             // line 141
  527.             echo "                        ";
  528.         }
  529.         $_parent = $context['_parent'];
  530.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  531.         $context = array_intersect_key($context, $_parent) + $_parent;
  532.         // line 142
  533.         echo "                    </dd>
  534.                     ";
  535.         // line 143
  536.         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.', 143, $this->source); })()), "deleted", [], "any", false, false, false, 143)) {
  537.             // line 144
  538.             echo "                        ";
  539.             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.', 144, $this->source); })()), "isModerationRejected", [], "any", false, false, false, 144)) {
  540.                 // line 145
  541.                 echo "                            <dt><strong>";
  542.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Телефон", [], "messages");
  543.                 echo "</strong></dt>
  544.                             <dd><strong>";
  545.                 // line 146
  546.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 146, $this->source); })()), "phoneNumber", [], "any", false, false, false, 146), "html", null, true);
  547.                 echo "</strong></dd>
  548.                             ";
  549.                 // line 147
  550.                 if (((($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("extended_profile_form") && twig_get_attribute($this->env, $this->source,                 // line 148
  551. (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 148, $this->source); })()), "messengers", [], "any", false, false, false, 148)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source,                 // line 149
  552. (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 149, $this->source); })()), "messengers", [], "any", false, false, false, 149), "hasTelegram", [], "any", false, false, false, 149)) &&  !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source,                 // line 150
  553. (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 150, $this->source); })()), "messengers", [], "any", false, false, false, 150), "telegramUsername", [], "any", false, false, false, 150)))) {
  554.                     // line 151
  555.                     echo "                                <dt>
  556.                                     <strong>";
  557.                     // line 152
  558.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Телеграм", [], "messages");
  559.                     echo "</strong> ";
  560.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 152, $this->source); })()), "messengers", [], "any", false, false, false, 152), "hasTelegram", [], "any", false, false, false, 152), "html", null, true);
  561.                     echo "
  562.                                 </dt>
  563.                                 <dd><a href=\"https://t.me/";
  564.                     // line 154
  565.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 154, $this->source); })()), "messengers", [], "any", false, false, false, 154), "telegramUsername", [], "any", false, false, false, 154), "html", null, true);
  566.                     echo "\"
  567.                                        target=\"_blank\" rel=\"nofollow noopener\">
  568.                                         @";
  569.                     // line 156
  570.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 156, $this->source); })()), "messengers", [], "any", false, false, false, 156), "telegramUsername", [], "any", false, false, false, 156), "html", null, true);
  571.                     echo "
  572.                                     </a></dd>
  573.                             ";
  574.                 }
  575.                 // line 159
  576.                 echo "                        ";
  577.             }
  578.             // line 160
  579.             echo "                    ";
  580.         } else {
  581.             // line 161
  582.             echo "                        Заглушка телефона
  583.                     ";
  584.         }
  585.         // line 163
  586.         echo "                    ";
  587.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("extra_category_without_prepayment")) {
  588.             // line 164
  589.             echo "                        ";
  590.             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.', 164, $this->source); })()), "prepayment", [], "any", false, false, false, 164)) {
  591.                 // line 165
  592.                 echo "                            <dt>Оплата</dt>
  593.                             <dd>
  594.                                 Предоплата ";
  595.                 // line 167
  596.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 167, $this->source); })()), "prepaymentAmount", [], "any", false, false, false, 167), "html", null, true);
  597.                 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.', 167, $this->source); })()), "prepaymentComment", [], "any", false, false, false, 167)) {
  598.                     echo ". ";
  599.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 167, $this->source); })()), "prepaymentComment", [], "any", false, false, false, 167), "html", null, true);
  600.                 }
  601.                 // line 168
  602.                 echo "                            </dd>
  603.                         ";
  604.             } elseif ((twig_get_attribute($this->env, $this->source,             // line 169
  605. (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 169, $this->source); })()), "prepayment", [], "any", false, false, false, 169) === false)) {
  606.                 // line 170
  607.                 echo "                            <dt>Оплата</dt>
  608.                             <dd>Без предоплаты</dd>
  609.                         ";
  610.             }
  611.             // line 173
  612.             echo "                    ";
  613.         }
  614.         // line 174
  615.         echo "                    <dt>";
  616.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Возраст", [], "messages");
  617.         echo "</dt>
  618.                     <dd>";
  619.         // line 175
  620.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 175, $this->source); })()), "personParameters", [], "any", false, false, false, 175), "age", [], "any", false, false, false, 175), "html", null, true);
  621.         echo "</dd>
  622.                     <dt>";
  623.         // line 176
  624.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Рост", [], "messages");
  625.         echo "</dt>
  626.                     <dd>";
  627.         // line 177
  628.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 177, $this->source); })()), "personParameters", [], "any", false, false, false, 177), "height", [], "any", false, false, false, 177), "html", null, true);
  629.         echo "</dd>
  630.                     <dt>";
  631.         // line 178
  632.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Размер груди", [], "messages");
  633.         echo "</dt>
  634.                     <dd>";
  635.         // line 179
  636.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 179, $this->source); })()), "personParameters", [], "any", false, false, false, 179), "breastSize", [], "any", false, false, false, 179), "html", null, true);
  637.         echo "</dd>
  638.                     <dt>";
  639.         // line 180
  640.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Вес", [], "messages");
  641.         echo "</dt>
  642.                     <dd>";
  643.         // line 181
  644.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 181, $this->source); })()), "personParameters", [], "any", false, false, false, 181), "weight", [], "any", false, false, false, 181), "html", null, true);
  645.         echo "</dd>
  646.                     <dt>";
  647.         // line 182
  648.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Размер одежды", [], "messages");
  649.         echo "</dt>
  650.                     <dd>";
  651.         // line 183
  652.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 183, $this->source); })()), "personParameters", [], "any", false, false, false, 183), "clothSize", [], "any", false, false, false, 183), "html", null, true);
  653.         echo "</dd>
  654.                     <dt>";
  655.         // line 184
  656.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Телосложение", [], "messages");
  657.         echo "</dt>
  658.                     <dd>";
  659.         // line 185
  660.         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->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.', 185, $this->source); })()), "personParameters", [], "any", false, false, false, 185), "bodyType", [], "any", false, false, false, 185))), "html", null, true);
  661.         echo "</dd>
  662.                     <dt>";
  663.         // line 186
  664.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Цвет волос", [], "messages");
  665.         echo "</dt>
  666.                     <dd>";
  667.         // line 187
  668.         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->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.', 187, $this->source); })()), "personParameters", [], "any", false, false, false, 187), "hairColor", [], "any", false, false, false, 187))), "html", null, true);
  669.         echo "</dd>
  670.                     <dt>";
  671.         // line 188
  672.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Интимная стрижка", [], "messages");
  673.         echo "</dt>
  674.                     <dd>";
  675.         // line 189
  676.         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->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.', 189, $this->source); })()), "personParameters", [], "any", false, false, false, 189), "privateHaircut", [], "any", false, false, false, 189))), "html", null, true);
  677.         echo "</dd>
  678.                     <dt>";
  679.         // line 190
  680.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Национальность", [], "messages");
  681.         echo "</dt>
  682.                     <dd>";
  683.         // line 191
  684.         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->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.', 191, $this->source); })()), "personParameters", [], "any", false, false, false, 191), "nationality", [], "any", false, false, false, 191))), "html", null, true);
  685.         echo "</dd>
  686.                     <dt>";
  687.         // line 192
  688.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Дата обновления", [], "messages");
  689.         echo "</dt>
  690.                     <dd>";
  691.         // line 193
  692.         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 193, $this->source); })()), "updatedAt", [], "any", false, false, false, 193)), "html", null, true);
  693.         echo "</dd>
  694.                 </dl>
  695.                 <h6>";
  696.         // line 196
  697.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("О себе", [], "messages");
  698.         echo "</h6>
  699.                 <p>";
  700.         // line 197
  701.         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.', 197, $this->source); })()), "description", [], "any", false, false, false, 197)), "html", null, true);
  702.         echo "</p>
  703.                 <h6>";
  704.         // line 199
  705.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Предпочтения", [], "messages");
  706.         echo "</h6>
  707.                 ";
  708.         // line 200
  709.         $context['_parent'] = $context;
  710.         $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.', 200, $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.', 200, $this->source); })()), "masseur", [], "any", false, false, false, 200) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 200, $this->source); })()))); }));
  711.         foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
  712.             // line 201
  713.             echo "                    <p><strong>";
  714.             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", null, true);
  715.             echo "</strong></p>
  716.                     <ul>
  717.                         ";
  718.             // line 203
  719.             $context['_parent'] = $context;
  720.             $context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
  721.             foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  722.                 // line 204
  723.                 echo "                            ";
  724.                 $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.', 204, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 204);
  725.                 // line 205
  726.                 echo "                            <li class=\"";
  727.                 if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 205, $this->source); })())) {
  728.                     echo "text-success";
  729.                 } else {
  730.                     echo "text-danger";
  731.                 }
  732.                 echo "\">
  733.                                 <a href=\"";
  734.                 // line 206
  735.                 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->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.', 206, $this->source); })()), "city", [], "any", false, false, false, 206), "uriIdentity", [], "any", false, false, false, 206), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 206)]), "html", null, true);
  736.                 echo "\">";
  737.                 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", false, false, false, 206)), "html", null, true);
  738.                 echo "</a>
  739.                             </li>
  740.                             ";
  741.                 // line 208
  742.                 if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 208, $this->source); })())) {
  743.                     // line 209
  744.                     echo "                                ";
  745.                     if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("extended_profile_form")) {
  746.                         // line 210
  747.                         echo "                                    ";
  748.                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->providedServiceCondition(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.', 210, $this->source); })()), "condition", [], "any", false, false, false, 210)), [], "service_conditions"), "html", null, true);
  749.                         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.', 210, $this->source); })()), "condition", [], "any", false, false, false, 210) == 3)) {
  750.                             echo ", цена:";
  751.                             echo twig_escape_filter($this->env, 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.', 210, $this->source); })()), "extraCharge", [], "any", false, false, false, 210), "html", null, true);
  752.                         }
  753.                         // line 211
  754.                         echo "                                ";
  755.                     }
  756.                     // line 212
  757.                     echo "                                ";
  758.                     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.', 212, $this->source); })()), "comment", [], "any", false, false, false, 212)) {
  759.                         // line 213
  760.                         echo "                                    Комментарий: ";
  761.                         echo twig_escape_filter($this->env, 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.', 213, $this->source); })()), "comment", [], "any", false, false, false, 213), "html", null, true);
  762.                         echo "
  763.                                 ";
  764.                     }
  765.                     // line 215
  766.                     echo "                            ";
  767.                 }
  768.                 // line 216
  769.                 echo "                        ";
  770.             }
  771.             $_parent = $context['_parent'];
  772.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  773.             $context = array_intersect_key($context, $_parent) + $_parent;
  774.             // line 217
  775.             echo "                    </ul>
  776.                 ";
  777.         }
  778.         $_parent = $context['_parent'];
  779.         unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
  780.         $context = array_intersect_key($context, $_parent) + $_parent;
  781.         // line 219
  782.         echo "
  783.                 <h6>";
  784.         // line 220
  785.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отзывы", [], "messages");
  786.         echo "</h6>
  787.                 <div id=\"comments\">
  788.                     ";
  789.         // line 222
  790.         $context['_parent'] = $context;
  791.         $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.', 222, $this->source); })()), "comments", [], "any", false, false, false, 222));
  792.         $context['_iterated'] = false;
  793.         $context['loop'] = [
  794.           'parent' => $context['_parent'],
  795.           'index0' => 0,
  796.           'index'  => 1,
  797.           'first'  => true,
  798.         ];
  799.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  800.             $length = count($context['_seq']);
  801.             $context['loop']['revindex0'] = $length - 1;
  802.             $context['loop']['revindex'] = $length;
  803.             $context['loop']['length'] = $length;
  804.             $context['loop']['last'] = 1 === $length;
  805.         }
  806.         foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
  807.             // line 223
  808.             echo "                        ";
  809.             $this->loadTemplate("ProfilePreview/comment.html.twig", "ProfilePreview/page.html.twig", 223)->display($context);
  810.             // line 224
  811.             echo "                    ";
  812.             $context['_iterated'] = true;
  813.             ++$context['loop']['index0'];
  814.             ++$context['loop']['index'];
  815.             $context['loop']['first'] = false;
  816.             if (isset($context['loop']['length'])) {
  817.                 --$context['loop']['revindex0'];
  818.                 --$context['loop']['revindex'];
  819.                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  820.             }
  821.         }
  822.         if (!$context['_iterated']) {
  823.             // line 225
  824.             echo "                        <p>";
  825.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Отзывов нет", [], "messages");
  826.             echo "</p>
  827.                     ";
  828.         }
  829.         $_parent = $context['_parent'];
  830.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
  831.         $context = array_intersect_key($context, $_parent) + $_parent;
  832.         // line 227
  833.         echo "                </div>
  834.                 <div id=\"commentFormContainer\">
  835.                 </div>
  836.                 <div id=\"recaptcha-container\"></div>
  837.                 ";
  838.         // line 234
  839.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("extended_profile_form")) {
  840.             // line 235
  841.             echo "                    <div>
  842.                         ";
  843.             // line 236
  844.             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.', 236, $this->source); })()), "expressPricing", [], "any", false, false, false, 236)) {
  845.                 // line 237
  846.                 echo "                            <b>Экспресс:</b>
  847.                             ";
  848.                 // line 238
  849.                 if (twig_get_attribute($this->env, $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.', 238, $this->source); })()), "expressPricing", [], "any", false, false, false, 238), "provided", [], "any", false, false, false, 238)) {
  850.                     // line 239
  851.                     echo "                                Да, стоимость";
  852.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $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.', 239, $this->source); })()), "expressPricing", [], "any", false, false, false, 239), "price", [], "any", false, false, false, 239), "html", null, true);
  853.                     echo "
  854.                             ";
  855.                 } else {
  856.                     // line 241
  857.                     echo "                                Нет
  858.                             ";
  859.                 }
  860.                 // line 243
  861.                 echo "                        ";
  862.             }
  863.             // line 244
  864.             echo "                    </div>
  865.                 ";
  866.         }
  867.         // line 246
  868.         echo "
  869.                 ";
  870.         // line 247
  871.         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.', 247, $this->source); })()), "clientTypes", [], "any", false, false, false, 247)) {
  872.             // line 248
  873.             echo "                    <div>
  874.                         <b>Услуги для:</b>
  875.                         ";
  876.             // line 250
  877.             $context['_parent'] = $context;
  878.             $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.', 250, $this->source); })()), "clientTypes", [], "any", false, false, false, 250));
  879.             foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
  880.                 // line 251
  881.                 echo "                            ";
  882.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientType"]), [], "client_types"), "html", null, true);
  883.                 echo "<br>
  884.                         ";
  885.             }
  886.             $_parent = $context['_parent'];
  887.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
  888.             $context = array_intersect_key($context, $_parent) + $_parent;
  889.             // line 253
  890.             echo "                    </div>
  891.                 ";
  892.         }
  893.         // line 255
  894.         echo "
  895.                 ";
  896.         // line 256
  897.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("extended_profile_form")) {
  898.             // line 257
  899.             echo "                    <div>
  900.                         ";
  901.             // line 258
  902.             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.', 258, $this->source); })()), "messengers", [], "any", false, false, false, 258)) {
  903.                 // line 259
  904.                 echo "                            <b>Мессенджеры</b><br>
  905.                             <b>Telegram</b> ";
  906.                 // line 260
  907.                 echo ((twig_get_attribute($this->env, $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.', 260, $this->source); })()), "messengers", [], "any", false, false, false, 260), "telegram", [], "any", false, false, false, 260)) ? ("Да") : ("Нет"));
  908.                 echo "
  909.                             <b>WhatsApp</b> ";
  910.                 // line 261
  911.                 echo ((twig_get_attribute($this->env, $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.', 261, $this->source); })()), "messengers", [], "any", false, false, false, 261), "whatsApp", [], "any", false, false, false, 261)) ? ("Да") : ("Нет"));
  912.                 echo "
  913.                         ";
  914.             }
  915.             // line 263
  916.             echo "                    </div>
  917.                 ";
  918.         }
  919.         // line 265
  920.         echo "
  921.                 ";
  922.         // line 266
  923.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("extended_profile_form")) {
  924.             // line 267
  925.             echo "                    <div>
  926.                         ";
  927.             // line 268
  928.             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.', 268, $this->source); })()), "carPricing", [], "any", false, false, false, 268)) {
  929.                 // line 269
  930.                 echo "                            <b>В машине:</b> ";
  931.                 echo ((twig_get_attribute($this->env, $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.', 269, $this->source); })()), "carPricing", [], "any", false, false, false, 269), "provided", [], "any", false, false, false, 269)) ? ("Да") : ("Нет"));
  932.                 echo "
  933.                         ";
  934.             }
  935.             // line 271
  936.             echo "                    </div>
  937.                 ";
  938.         }
  939.         // line 273
  940.         echo "
  941.                 ";
  942.         // line 274
  943.         if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("extended_profile_form")) {
  944.             // line 275
  945.             echo "                    <div>
  946.                         ";
  947.             // line 276
  948.             if ( !(null === twig_get_attribute($this->env, $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.', 276, $this->source); })()), "personParameters", [], "any", false, false, false, 276), "tattoo", [], "any", false, false, false, 276))) {
  949.                 // line 277
  950.                 echo "                            <b>Тату:</b> ";
  951.                 echo ((twig_get_attribute($this->env, $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.', 277, $this->source); })()), "personParameters", [], "any", false, false, false, 277), "tattoo", [], "any", false, false, false, 277)) ? ("Да") : ("Нет"));
  952.                 echo "
  953.                         ";
  954.             }
  955.             // line 279
  956.             echo "                    </div>
  957.                     <div>
  958.                         ";
  959.             // line 281
  960.             if ( !(null === twig_get_attribute($this->env, $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.', 281, $this->source); })()), "personParameters", [], "any", false, false, false, 281), "piercing", [], "any", false, false, false, 281))) {
  961.                 // line 282
  962.                 echo "                            <b>Пирсинг:</b> ";
  963.                 echo ((twig_get_attribute($this->env, $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.', 282, $this->source); })()), "personParameters", [], "any", false, false, false, 282), "piercing", [], "any", false, false, false, 282)) ? ("Да") : ("Нет"));
  964.                 echo "
  965.                         ";
  966.             }
  967.             // line 284
  968.             echo "                    </div>
  969.                 ";
  970.         }
  971.         // line 286
  972.         echo "                <div>
  973.                     <b>Отвечаю на:</b>
  974.                     ";
  975.         // line 288
  976.         $context['_parent'] = $context;
  977.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $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.', 288, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 288), "answeringTo", [], "any", false, false, false, 288));
  978.         foreach ($context['_seq'] as $context["_key"] => $context["answeringTo"]) {
  979.             // line 289
  980.             echo "                        ";
  981.             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", null, true);
  982.             echo "<br>
  983.                     ";
  984.         }
  985.         $_parent = $context['_parent'];
  986.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
  987.         $context = array_intersect_key($context, $_parent) + $_parent;
  988.         // line 291
  989.         echo "                </div>
  990.             </div>
  991.         </div>
  992.         ";
  993.         // line 295
  994.         if ((isset($context["soft_deleted_410"]) || array_key_exists("soft_deleted_410", $context) ? $context["soft_deleted_410"] : (function () { throw new RuntimeError('Variable "soft_deleted_410" does not exist.', 295, $this->source); })())) {
  995.             // line 296
  996.             echo "            <div class=\"col-12\">
  997.                 <div class=\"alert alert-secondary\">
  998.                     <strong>Анкета снята с публикации</strong><br>
  999.                     Анкета сейчас не работает и недоступна в результатах поиска.
  1000.                 </div>
  1001.                 ";
  1002.             // line 302
  1003.             $this->loadTemplate("ProfilePreview/nearest_profiles.html.twig", "ProfilePreview/page.html.twig", 302)->display(twig_array_merge($context, ["title" => "Проститутки рядом"]));
  1004.             // line 303
  1005.             echo "
  1006.                 <h2>Рекомендации для вас</h2>
  1007.                 ";
  1008.             // line 305
  1009.             $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.', 305, $this->source); })()), "id", [], "any", false, false, false, 305)];
  1010.             // line 306
  1011.             echo "                ";
  1012.             $this->loadTemplate("Recommendations/_profile_recommendations.html.twig", "ProfilePreview/page.html.twig", 306)->display($context);
  1013.             // line 307
  1014.             echo "            </div>
  1015.         ";
  1016.         } else {
  1017.             // line 309
  1018.             echo "            ";
  1019.             $this->loadTemplate("ProfilePreview/nearest_profiles.html.twig", "ProfilePreview/page.html.twig", 309)->display($context);
  1020.             // line 310
  1021.             echo "        ";
  1022.         }
  1023.         // line 311
  1024.         echo "
  1025.         <div id=\"recentlyViewedProfiles\"></div>
  1026.     </div>
  1027.     <script type=\"text/javascript\">
  1028.         var onloadCallback = function () {
  1029.             grecaptcha.render('recaptcha-container', {
  1030.                 'sitekey': '";
  1031.         // line 318
  1032.         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.', 318, $this->source); })()), "html", null, true);
  1033.         echo "'
  1034.             });
  1035.         };
  1036.     </script>
  1037.     <script src=\"https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit\" async defer></script>
  1038.     <script src=\"";
  1039.         // line 323
  1040.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ajax.js", "js_script"), "html", null, true);
  1041.         echo "\"></script>
  1042.     <script src=\"";
  1043.         // line 324
  1044.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("local-storage.js", "js_script"), "html", null, true);
  1045.         echo "\"></script>
  1046.     <script src=\"";
  1047.         // line 325
  1048.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("recommendations.js", "js_script"), "html", null, true);
  1049.         echo "\"></script>
  1050.     <script src=\"";
  1051.         // line 326
  1052.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bot-helper.js", "js_script"), "html", null, true);
  1053.         echo "\"></script>
  1054.     <script src=\"";
  1055.         // line 327
  1056.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("recently-viewed.js", "js_script"), "html", null, true);
  1057.         echo "\"></script>
  1058.     <script type=\"text/javascript\">
  1059.         document.addEventListener('DOMContentLoaded', function () {
  1060.             ajax({
  1061.                 url: '";
  1062.         // line 331
  1063.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_ctr.increase_views");
  1064.         echo "',
  1065.                 data: {
  1066.                     profile: ";
  1067.         // line 333
  1068.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 333, $this->source); })()), "id", [], "any", false, false, false, 333), "html", null, true);
  1069.         echo ",
  1070.                 },
  1071.                 callback: function () {},
  1072.                 dataType: 'json',
  1073.                 responseType: 'json',
  1074.             });
  1075.             profileRecommendations.addViewedProfile(";
  1076.         // line 340
  1077.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 340, $this->source); })()), "id", [], "any", false, false, false, 340), "html", null, true);
  1078.         echo ");
  1079.             profileBotHelper.addViewedProfile(";
  1080.         // line 341
  1081.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 341, $this->source); })()), "id", [], "any", false, false, false, 341), "html", null, true);
  1082.         echo ");
  1083.             //достаем список, пока без учета текущей страницы, для текущего аякс запроса
  1084.             const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
  1085.             recentlyViewed.addViewedProfile(";
  1086.         // line 344
  1087.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 344, $this->source); })()), "id", [], "any", false, false, false, 344), "html", null, true);
  1088.         echo ");
  1089.             //recently viewed profiles
  1090.             ajax({
  1091.                 url: '";
  1092.         // line 348
  1093.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("recent_profiles.recently_viewed.list");
  1094.         echo "',
  1095.                 data: {
  1096.                     recently_viewed_profiles: recentlyViewedProfiles,
  1097.                 },
  1098.                 callback: function (response) {
  1099.                     if (!response)
  1100.                         return;
  1101.                     // console.log(response);
  1102.                     document.querySelector('#recentlyViewedProfiles').innerHTML = response;
  1103.                 },
  1104.                 dataType: 'json',
  1105.                 responseType: 'text/html',
  1106.             });
  1107.             ajax({
  1108.                 url: '";
  1109.         // line 363
  1110.         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.', 363, $this->source); })()), "id", [], "any", false, false, false, 363)]), "html", null, true);
  1111.         echo "',
  1112.                 callback: function (response) {
  1113.                     // console.log(response);
  1114.                     if ('' !== response) {
  1115.                         document.querySelector('#commentFormContainer').innerHTML = response;
  1116.                         setCommentFormListeners();
  1117.                     }
  1118.                 },
  1119.                 dataType: 'json',
  1120.                 responseType: 'text/html',
  1121.             });
  1122.             function setCommentFormListeners() {
  1123.                 const formName = 'comment_form';
  1124.                 document.querySelector('#send_comment').addEventListener('click', function () {
  1125.                     ajax({
  1126.                         url: '";
  1127.         // line 380
  1128.         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.', 380, $this->source); })()), "id", [], "any", false, false, false, 380)]), "html", null, true);
  1129.         echo "',
  1130.                         method: '',
  1131.                         data: {
  1132.                             'g-recaptcha-response': grecaptcha.getResponse(),
  1133.                             'entity_id': document.querySelector(`#\${formName}_entity_id`).value,
  1134.                             'mark': document.querySelector(`input[name=\"\${formName}[mark]\"]:checked`).value,
  1135.                             'text': document.querySelector(`#\${formName}_text`).value,
  1136.                         },
  1137.                         callback: function (response) {
  1138.                             if (response) {
  1139.                                 if (response.success) {
  1140.                                     //document.querySelector(`#{formName}`).style.display = 'none';
  1141.                                     //document.querySelector('#send_comment').style.display = 'none';
  1142.                                     document.querySelector(`form[name=\"\${formName}\"]`).reset();
  1143.                                     grecaptcha.reset();
  1144.                                     let template =
  1145.                                         '<div>' +
  1146.                                         (response.comment.nickname ?
  1147.                                             '<span class=\"author\">' +
  1148.                                             '<img src=\"#avatar\" alt=\"shift\" width=\"25\">' +
  1149.                                             '<span class=\"name\">#nickname</span>' +
  1150.                                             '</span>' : '') +
  1151.                                         '<span class=\"date\">#createdAt</span>' +
  1152.                                         '<span>#text</span>' +
  1153.                                         '</div>'
  1154.                                     ;
  1155.                                     response.comment.createdAt = new Date(response.comment.createdAt * 1000);
  1156.                                     for (let k in response.comment) {
  1157.                                         template = template.replace('#' + k, response.comment[k]);
  1158.                                     }
  1159.                                     document.querySelector('#comments').innerHTML += template;
  1160.                                     // console.log(template);
  1161.                                     // document.querySelector('#comments').innerHTML += response.html;
  1162.                                 } else {
  1163.                                     alert(response.error);
  1164.                                 }
  1165.                             }
  1166.                         },
  1167.                         dataType: 'json',
  1168.                         responseType: 'json',
  1169.                     });
  1170.                 });
  1171.             }
  1172.             //LIKE/UNLIKE
  1173.             document.querySelector('#left_column_metric').addEventListener('click', function (e) {
  1174.                 if (false == e.target.classList.contains('add-remove-favourite'))
  1175.                     return;
  1176.                 addRemoveFavourite(e.target.dataset['action'] == 'add');
  1177.             });
  1178.             let addRemoveFavourite = function (add) {
  1179.                 let btn = document.querySelector('.add-remove-favourite[data-action=\"' + (add ? 'add' : 'remove') + '\"]');
  1180.                 let reverseBtn = document.querySelector('.add-remove-favourite[data-action=\"' + (!add ? 'add' : 'remove') + '\"]');
  1181.                 btn.style.display = 'none';
  1182.                 ajax({
  1183.                     url: add ? '";
  1184.         // line 438
  1185.         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.', 438, $this->source); })()), "id", [], "any", false, false, false, 438)]), "html", null, true);
  1186.         echo "' : '";
  1187.         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.', 438, $this->source); })()), "id", [], "any", false, false, false, 438)]), "html", null, true);
  1188.         echo "',
  1189.                     callback: function (response) {
  1190.                         if (response) {
  1191.                             if (response.success) {
  1192.                                 reverseBtn.style.display = 'block';
  1193.                             } else {
  1194.                                 btn.style.display = 'block';
  1195.                                 alert(response.error);
  1196.                             }
  1197.                         }
  1198.                     },
  1199.                     dataType: 'json',
  1200.                     responseType: 'json',
  1201.                 });
  1202.             };
  1203.             //LIKE/UNLIKE end
  1204.         });
  1205.     </script>
  1206. ";
  1207.         
  1208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1209.         
  1210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1211.         
  1212.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  1213.     }
  1214.     /**
  1215.      * @codeCoverageIgnore
  1216.      */
  1217.     public function getTemplateName()
  1218.     {
  1219.         return "ProfilePreview/page.html.twig";
  1220.     }
  1221.     /**
  1222.      * @codeCoverageIgnore
  1223.      */
  1224.     public function isTraitable()
  1225.     {
  1226.         return false;
  1227.     }
  1228.     /**
  1229.      * @codeCoverageIgnore
  1230.      */
  1231.     public function getDebugInfo()
  1232.     {
  1233.         return array (  1247 => 438,  1186 => 380,  1166 => 363,  1148 => 348,  1141 => 344,  1135 => 341,  1131 => 340,  1121 => 333,  1116 => 331,  1109 => 327,  1105 => 326,  1101 => 325,  1097 => 324,  1093 => 323,  1085 => 318,  1076 => 311,  1073 => 310,  1070 => 309,  1066 => 307,  1063 => 306,  1061 => 305,  1057 => 303,  1055 => 302,  1047 => 296,  1045 => 295,  1039 => 291,  1030 => 289,  1026 => 288,  1022 => 286,  1018 => 284,  1012 => 282,  1010 => 281,  1006 => 279,  1000 => 277,  998 => 276,  995 => 275,  993 => 274,  990 => 273,  986 => 271,  980 => 269,  978 => 268,  975 => 267,  973 => 266,  970 => 265,  966 => 263,  961 => 261,  957 => 260,  954 => 259,  952 => 258,  949 => 257,  947 => 256,  944 => 255,  940 => 253,  931 => 251,  927 => 250,  923 => 248,  921 => 247,  918 => 246,  914 => 244,  911 => 243,  907 => 241,  901 => 239,  899 => 238,  896 => 237,  894 => 236,  891 => 235,  889 => 234,  880 => 227,  871 => 225,  858 => 224,  855 => 223,  837 => 222,  832 => 220,  829 => 219,  822 => 217,  816 => 216,  813 => 215,  807 => 213,  804 => 212,  801 => 211,  794 => 210,  791 => 209,  789 => 208,  782 => 206,  773 => 205,  770 => 204,  766 => 203,  760 => 201,  756 => 200,  752 => 199,  747 => 197,  743 => 196,  737 => 193,  733 => 192,  729 => 191,  725 => 190,  721 => 189,  717 => 188,  713 => 187,  709 => 186,  705 => 185,  701 => 184,  697 => 183,  693 => 182,  689 => 181,  685 => 180,  681 => 179,  677 => 178,  673 => 177,  669 => 176,  665 => 175,  660 => 174,  657 => 173,  652 => 170,  650 => 169,  647 => 168,  641 => 167,  637 => 165,  634 => 164,  631 => 163,  627 => 161,  624 => 160,  621 => 159,  615 => 156,  610 => 154,  603 => 152,  600 => 151,  598 => 150,  597 => 149,  596 => 148,  595 => 147,  591 => 146,  586 => 145,  583 => 144,  581 => 143,  578 => 142,  572 => 141,  569 => 140,  561 => 138,  558 => 137,  555 => 136,  552 => 135,  549 => 134,  545 => 133,  540 => 131,  537 => 130,  523 => 129,  519 => 128,  508 => 127,  491 => 126,  486 => 124,  482 => 123,  478 => 122,  474 => 120,  470 => 118,  467 => 117,  464 => 116,  456 => 114,  453 => 113,  449 => 111,  446 => 110,  444 => 109,  438 => 108,  432 => 104,  428 => 102,  417 => 97,  413 => 96,  409 => 94,  405 => 93,  402 => 92,  399 => 91,  395 => 89,  392 => 88,  386 => 87,  380 => 84,  377 => 83,  374 => 82,  369 => 81,  367 => 80,  364 => 79,  361 => 78,  357 => 76,  354 => 75,  345 => 72,  342 => 71,  337 => 70,  335 => 69,  332 => 68,  330 => 67,  327 => 66,  323 => 64,  320 => 63,  317 => 62,  312 => 60,  307 => 59,  304 => 58,  301 => 57,  296 => 55,  291 => 54,  288 => 53,  285 => 52,  281 => 51,  278 => 50,  271 => 47,  266 => 46,  262 => 45,  257 => 43,  254 => 42,  252 => 41,  245 => 38,  232 => 37,  218 => 34,  215 => 33,  212 => 32,  210 => 31,  205 => 30,  192 => 29,  175 => 25,  169 => 23,  166 => 22,  153 => 21,  136 => 17,  128 => 15,  125 => 14,  112 => 13,  95 => 9,  87 => 7,  84 => 6,  71 => 5,  57 => 1,  55 => 3,  39 => 1,);
  1234.     }
  1235.     public function getSourceContext()
  1236.     {
  1237.         return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
  1238. {% set soft_deleted_410 = feature('410_soft_delete') and profile.deleted %}
  1239. {% block title %}
  1240.     {% if soft_deleted_410 %}
  1241.         Анкета {{ profile.name|trans }}, ID {{ profile.id }} снята с публикации - | Похожие предложения.
  1242.     {% else %}
  1243.         {{ seo_title() }}
  1244.     {% endif %}
  1245. {% endblock %}
  1246. {% block metaDescription %}
  1247.     {% if soft_deleted_410 %}
  1248.         <meta name=\"description\" content=\"{{ profile.name|trans }}, ID {{ profile.id }} сейчас не работает и недоступна в результатах поиска. Взгляните на похожие анкеты, которые мы подобрали специально для Вас.\">
  1249.     {% else %}
  1250.         <meta name=\"description\" content=\"{{ seo_description() }}\">
  1251.     {% endif %}
  1252. {% endblock %}
  1253. {% block canonical %}
  1254.     {% if soft_deleted_410 %}
  1255.         <link rel=\"canonical\" href=\"{{ city_profiles_canonical_url(profile.city, actual_main_domain) }}\">
  1256.     {% else %}
  1257.         {{ parent() }}
  1258.     {% endif %}
  1259. {% endblock %}
  1260. {% block navbar %}
  1261.     {{ parent() }}
  1262.     {% if not soft_deleted_410 %}
  1263.         {% set excludeRecommendationProfileIds = [profile.id] %}
  1264.         {% include 'Recommendations/_profile_recommendations.html.twig' %}
  1265.     {% endif %}
  1266. {% endblock %}
  1267. {% block mainContainer %}
  1268.     <div class=\"row\" alt=\"{{ profile.seo ? profile.seo.phone : '' }}\">
  1269.         <div class=\"col-3\">
  1270.             <div id=\"left_column_metric\">
  1271.                 {% if not app.user or is_user_customer(app.user) %}
  1272.                     <div><a class=\"add-remove-favourite\" data-action=\"remove\" href=\"javascript:void(0);\"
  1273.                             style=\"display: {{ is_profile_in_favourites(profile) ? 'block' : 'none' }}\">UNLIKE</a></div>
  1274.                     <div><a class=\"add-remove-favourite\" data-action=\"add\"
  1275.                             style=\"display: {{ not is_profile_in_favourites(profile) ? 'block' : 'none' }}\"
  1276.                             {% if app.user %}href=\"javascript:void(0);\"
  1277.                             {% else %}href=\"javascript:alert('Чтобы сделать что-то зарегистрируйтесь');\"{% endif %}>LIKE</a>
  1278.                     </div>
  1279.                 {% endif %}
  1280.                 <div class=\"row\">
  1281.                     {% if profile.isApproved %} <b style=\"color:green;\">APPROVED</b><br/> {% endif %}
  1282.                     {% if not profile.deleted %}
  1283.                         {% if profile.isModerationRejected %}
  1284.                             <img src=\"{{ asset('static/img/red-circle.png') }}\"
  1285.                                  alt=\"{{ profile.seo ? profile.seo.phone : '' }}\" width=\"150\">
  1286.                         {% else %}
  1287.                             {% set photo = profile|avatar %}
  1288.                             {% if photo %}
  1289.                                 <img src=\"{{ asset(photo.path, photo.type == 'photo' ? 'profile_media' : 'profile_media_avatar') }}\"
  1290.                                      alt=\"{{ profile.seo ? profile.seo.phone : '' }}\" width=\"150\">
  1291.                             {% endif %}
  1292.                         {% endif %}
  1293.                     {% else %}
  1294.                         Фото-заглушка
  1295.                     {% endif %}
  1296.                 </div>
  1297.                 {% if false == profile.isModerationRejected and profile.photos|length > 0 %}
  1298.                     <div class=\"row\">
  1299.                         {% if not profile.deleted %}
  1300.                             {% for photo in profile.photos %}
  1301.                                 <div class=\"col-4\">
  1302.                                     <img src=\"{{ asset(photo.path, 'profile_media') }}\" alt=\"\" width=\"150\">
  1303.                                 </div>
  1304.                             {% endfor %}
  1305.                         {% endif %}
  1306.                     </div>
  1307.                 {% endif %}
  1308.                 {% if false == profile.isModerationRejected and profile.selfies|length > 0 %}
  1309.                     <div class=\"row\">
  1310.                         {% if not profile.deleted %}
  1311.                             {% for photo in profile.selfies %}
  1312.                                 {% if photo.main == false %}
  1313.                                     <div class=\"col-4\">
  1314.                                         <img src=\"{{ asset(photo.path, 'profile_media_selfie') }}\" alt=\"\" width=\"150\">
  1315.                                     </div>
  1316.                                 {% endif %}
  1317.                             {% endfor %}
  1318.                         {% endif %}
  1319.                     </div>
  1320.                 {% endif %}
  1321.                 {% if false == profile.isModerationRejected and not profile.deleted %}
  1322.                     <div class=\"row\">
  1323.                         {% for video in profile.confirmedVideos | filter(video => video.previewPath) %}
  1324.                             <div class=\"col-4\">
  1325.                                 <video width=\"100%\" controls
  1326.                                        poster=\"{{ asset(video.previewPath, 'profile_media', 'fullsize') }}\">
  1327.                                     <source src=\"{{ asset(video.path, 'profile_media', 'fullsize') }}\" type=\"video/mp4\">
  1328.                                     Your browser does not support the video tag.
  1329.                                 </video>
  1330.                             </div>
  1331.                         {% endfor %}
  1332.                     </div>
  1333.                 {% endif %}
  1334.             </div>
  1335.         </div>
  1336.         <div class=\"col-9\">
  1337.             <div id=\"center_column_metric\">
  1338.                 <h5>{{ profile.name|trans }} {{ rating }}&#9733;
  1339.                     {% if not profile.deleted %}
  1340.                         {% if profile.isModerationRejected %}
  1341.                             <h3>Анкета отклонена модератором</h3>
  1342.                         {% else %}
  1343.                             {% if profile.active %}
  1344.                                 <small><a href=\"tel:{{ profile.phoneNumber }}\">{{ profile.phoneNumber }}</a></small>
  1345.                             {% endif %}
  1346.                         {% endif %}
  1347.                     {% else %}
  1348.                         Заглушка телефона
  1349.                     {% endif %}
  1350.                 </h5>
  1351.                 <dl>
  1352.                     <dt>{% trans %}Город{% endtrans %}</dt>
  1353.                     <dd>{{ profile.city.name|trans }}</dd>
  1354.                     <dt>{% trans %}Метро{% endtrans %}</dt>
  1355.                     <dd>
  1356.                         {% for station in profile.stationsSortedByPrimary %}
  1357.                             <a href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station.uriIdentity}) }}\">{{ station.name|trans }} {% if loop.first %}*{% endif %}</a>
  1358.                             {% if not loop.last %}, {% endif %}
  1359.                         {% endfor %}
  1360.                     </dd>
  1361.                     <dt>{% trans %}Район{% endtrans %}</dt>
  1362.                     <dd>
  1363.                         {% for station in profile.stationsSortedByPrimary %}
  1364.                             {% set stationDistrict = station.district %}
  1365.                             {% if stationDistrict %}
  1366.                                 {% set districtCounty = stationDistrict.county %}
  1367.                                 {% if districtCounty %}
  1368.                                     <a href=\"{{ path('profile_list.list_by_county', {'city': profile.city.uriIdentity, 'county': districtCounty.uriIdentity}) }}\">{{ districtCounty.name|trans }}</a>
  1369.                                 {% endif %}
  1370.                             {% endif %}
  1371.                         {% endfor %}
  1372.                     </dd>
  1373.                     {% if not profile.deleted %}
  1374.                         {% if not profile.isModerationRejected %}
  1375.                             <dt><strong>{% trans %}Телефон{% endtrans %}</strong></dt>
  1376.                             <dd><strong>{{ profile.phoneNumber }}</strong></dd>
  1377.                             {% if feature('extended_profile_form')
  1378.                                 and profile.messengers
  1379.                                 and profile.messengers.hasTelegram
  1380.                                 and profile.messengers.telegramUsername is not empty %}
  1381.                                 <dt>
  1382.                                     <strong>{% trans %}Телеграм{% endtrans %}</strong> {{ profile.messengers.hasTelegram }}
  1383.                                 </dt>
  1384.                                 <dd><a href=\"https://t.me/{{ profile.messengers.telegramUsername }}\"
  1385.                                        target=\"_blank\" rel=\"nofollow noopener\">
  1386.                                         @{{ profile.messengers.telegramUsername }}
  1387.                                     </a></dd>
  1388.                             {% endif %}
  1389.                         {% endif %}
  1390.                     {% else %}
  1391.                         Заглушка телефона
  1392.                     {% endif %}
  1393.                     {% if feature('extra_category_without_prepayment') %}
  1394.                         {% if profile.prepayment %}
  1395.                             <dt>Оплата</dt>
  1396.                             <dd>
  1397.                                 Предоплата {{ profile.prepaymentAmount }}{% if profile.prepaymentComment %}. {{ profile.prepaymentComment }}{% endif %}
  1398.                             </dd>
  1399.                         {% elseif profile.prepayment is same as(false) %}
  1400.                             <dt>Оплата</dt>
  1401.                             <dd>Без предоплаты</dd>
  1402.                         {% endif %}
  1403.                     {% endif %}
  1404.                     <dt>{% trans %}Возраст{% endtrans %}</dt>
  1405.                     <dd>{{ profile.personParameters.age }}</dd>
  1406.                     <dt>{% trans %}Рост{% endtrans %}</dt>
  1407.                     <dd>{{ profile.personParameters.height }}</dd>
  1408.                     <dt>{% trans %}Размер груди{% endtrans %}</dt>
  1409.                     <dd>{{ profile.personParameters.breastSize }}</dd>
  1410.                     <dt>{% trans %}Вес{% endtrans %}</dt>
  1411.                     <dd>{{ profile.personParameters.weight }}</dd>
  1412.                     <dt>{% trans %}Размер одежды{% endtrans %}</dt>
  1413.                     <dd>{{ profile.personParameters.clothSize }}</dd>
  1414.                     <dt>{% trans %}Телосложение{% endtrans %}</dt>
  1415.                     <dd>{{ profile.personParameters.bodyType|body_type|trans }}</dd>
  1416.                     <dt>{% trans %}Цвет волос{% endtrans %}</dt>
  1417.                     <dd>{{ profile.personParameters.hairColor|hair_color|trans }}</dd>
  1418.                     <dt>{% trans %}Интимная стрижка{% endtrans %}</dt>
  1419.                     <dd>{{ profile.personParameters.privateHaircut|private_haircut|trans }}</dd>
  1420.                     <dt>{% trans %}Национальность{% endtrans %}</dt>
  1421.                     <dd>{{ profile.personParameters.nationality|nationality|trans }}</dd>
  1422.                     <dt>{% trans %}Дата обновления{% endtrans %}</dt>
  1423.                     <dd>{{ profile.updatedAt|date }}</dd>
  1424.                 </dl>
  1425.                 <h6>{% trans %}О себе{% endtrans %}</h6>
  1426.                 <p>{{ profile.description|trans }}</p>
  1427.                 <h6>{% trans %}Предпочтения{% endtrans %}</h6>
  1428.                 {% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
  1429.                     <p><strong>{{ group|service_group|trans({}, 'service_groups') }}</strong></p>
  1430.                     <ul>
  1431.                         {% for service in servicesGroup %}
  1432.                             {% set providedService = profile.providedService(service) %}
  1433.                             <li class=\"{% if providedService %}text-success{% else %}text-danger{% endif %}\">
  1434.                                 <a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\">{{ service.name|trans }}</a>
  1435.                             </li>
  1436.                             {% if providedService %}
  1437.                                 {% if feature('extended_profile_form') %}
  1438.                                     {{ providedService.condition|provided_service_condition|trans({},'service_conditions') }}{% if providedService.condition == 3 %}, цена:{{ providedService.extraCharge }}{% endif %}
  1439.                                 {% endif %}
  1440.                                 {% if providedService.comment %}
  1441.                                     Комментарий: {{ providedService.comment }}
  1442.                                 {% endif %}
  1443.                             {% endif %}
  1444.                         {% endfor %}
  1445.                     </ul>
  1446.                 {% endfor %}
  1447.                 <h6>{% trans %}Отзывы{% endtrans %}</h6>
  1448.                 <div id=\"comments\">
  1449.                     {% for comment in profile.comments %}
  1450.                         {% include 'ProfilePreview/comment.html.twig' %}
  1451.                     {% else %}
  1452.                         <p>{% trans %}Отзывов нет{% endtrans %}</p>
  1453.                     {% endfor %}
  1454.                 </div>
  1455.                 <div id=\"commentFormContainer\">
  1456.                 </div>
  1457.                 <div id=\"recaptcha-container\"></div>
  1458.                 {% if feature('extended_profile_form') %}
  1459.                     <div>
  1460.                         {% if profile.expressPricing %}
  1461.                             <b>Экспресс:</b>
  1462.                             {% if profile.expressPricing.provided %}
  1463.                                 Да, стоимость{{ profile.expressPricing.price }}
  1464.                             {% else %}
  1465.                                 Нет
  1466.                             {% endif %}
  1467.                         {% endif %}
  1468.                     </div>
  1469.                 {% endif %}
  1470.                 {% if profile.clientTypes %}
  1471.                     <div>
  1472.                         <b>Услуги для:</b>
  1473.                         {% for clientType in profile.clientTypes %}
  1474.                             {{ clientType|client_type|trans({}, 'client_types') }}<br>
  1475.                         {% endfor %}
  1476.                     </div>
  1477.                 {% endif %}
  1478.                 {% if feature('extended_profile_form') %}
  1479.                     <div>
  1480.                         {% if profile.messengers %}
  1481.                             <b>Мессенджеры</b><br>
  1482.                             <b>Telegram</b> {{ profile.messengers.telegram ? 'Да' : 'Нет' }}
  1483.                             <b>WhatsApp</b> {{ profile.messengers.whatsApp ? 'Да' : 'Нет' }}
  1484.                         {% endif %}
  1485.                     </div>
  1486.                 {% endif %}
  1487.                 {% if feature('extended_profile_form') %}
  1488.                     <div>
  1489.                         {% if profile.carPricing %}
  1490.                             <b>В машине:</b> {{ profile.carPricing.provided ? 'Да' : 'Нет' }}
  1491.                         {% endif %}
  1492.                     </div>
  1493.                 {% endif %}
  1494.                 {% if feature('extended_profile_form') %}
  1495.                     <div>
  1496.                         {% if profile.personParameters.tattoo is not null %}
  1497.                             <b>Тату:</b> {{ profile.personParameters.tattoo ? 'Да' : 'Нет' }}
  1498.                         {% endif %}
  1499.                     </div>
  1500.                     <div>
  1501.                         {% if profile.personParameters.piercing is not null %}
  1502.                             <b>Пирсинг:</b> {{ profile.personParameters.piercing ? 'Да' : 'Нет' }}
  1503.                         {% endif %}
  1504.                     </div>
  1505.                 {% endif %}
  1506.                 <div>
  1507.                     <b>Отвечаю на:</b>
  1508.                     {% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
  1509.                         {{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}<br>
  1510.                     {% endfor %}
  1511.                 </div>
  1512.             </div>
  1513.         </div>
  1514.         {% if soft_deleted_410 %}
  1515.             <div class=\"col-12\">
  1516.                 <div class=\"alert alert-secondary\">
  1517.                     <strong>Анкета снята с публикации</strong><br>
  1518.                     Анкета сейчас не работает и недоступна в результатах поиска.
  1519.                 </div>
  1520.                 {% include 'ProfilePreview/nearest_profiles.html.twig' with {'title': 'Проститутки рядом'} %}
  1521.                 <h2>Рекомендации для вас</h2>
  1522.                 {% set excludeRecommendationProfileIds = [profile.id] %}
  1523.                 {% include 'Recommendations/_profile_recommendations.html.twig' %}
  1524.             </div>
  1525.         {% else %}
  1526.             {% include 'ProfilePreview/nearest_profiles.html.twig' %}
  1527.         {% endif %}
  1528.         <div id=\"recentlyViewedProfiles\"></div>
  1529.     </div>
  1530.     <script type=\"text/javascript\">
  1531.         var onloadCallback = function () {
  1532.             grecaptcha.render('recaptcha-container', {
  1533.                 'sitekey': '{{ ewz_recaptcha_site_key }}'
  1534.             });
  1535.         };
  1536.     </script>
  1537.     <script src=\"https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit\" async defer></script>
  1538.     <script src=\"{{ asset('ajax.js', 'js_script') }}\"></script>
  1539.     <script src=\"{{ asset('local-storage.js', 'js_script') }}\"></script>
  1540.     <script src=\"{{ asset('recommendations.js', 'js_script') }}\"></script>
  1541.     <script src=\"{{ asset('bot-helper.js', 'js_script') }}\"></script>
  1542.     <script src=\"{{ asset('recently-viewed.js', 'js_script') }}\"></script>
  1543.     <script type=\"text/javascript\">
  1544.         document.addEventListener('DOMContentLoaded', function () {
  1545.             ajax({
  1546.                 url: '{{ path('profile_ctr.increase_views') }}',
  1547.                 data: {
  1548.                     profile: {{ profile.id }},
  1549.                 },
  1550.                 callback: function () {},
  1551.                 dataType: 'json',
  1552.                 responseType: 'json',
  1553.             });
  1554.             profileRecommendations.addViewedProfile({{ profile.id }});
  1555.             profileBotHelper.addViewedProfile({{ profile.id }});
  1556.             //достаем список, пока без учета текущей страницы, для текущего аякс запроса
  1557.             const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
  1558.             recentlyViewed.addViewedProfile({{ profile.id }});
  1559.             //recently viewed profiles
  1560.             ajax({
  1561.                 url: '{{ path('recent_profiles.recently_viewed.list') }}',
  1562.                 data: {
  1563.                     recently_viewed_profiles: recentlyViewedProfiles,
  1564.                 },
  1565.                 callback: function (response) {
  1566.                     if (!response)
  1567.                         return;
  1568.                     // console.log(response);
  1569.                     document.querySelector('#recentlyViewedProfiles').innerHTML = response;
  1570.                 },
  1571.                 dataType: 'json',
  1572.                 responseType: 'text/html',
  1573.             });
  1574.             ajax({
  1575.                 url: '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
  1576.                 callback: function (response) {
  1577.                     // console.log(response);
  1578.                     if ('' !== response) {
  1579.                         document.querySelector('#commentFormContainer').innerHTML = response;
  1580.                         setCommentFormListeners();
  1581.                     }
  1582.                 },
  1583.                 dataType: 'json',
  1584.                 responseType: 'text/html',
  1585.             });
  1586.             function setCommentFormListeners() {
  1587.                 const formName = 'comment_form';
  1588.                 document.querySelector('#send_comment').addEventListener('click', function () {
  1589.                     ajax({
  1590.                         url: '{{ path('profile.comment.create', {profile: profile.id}) }}',
  1591.                         method: '',
  1592.                         data: {
  1593.                             'g-recaptcha-response': grecaptcha.getResponse(),
  1594.                             'entity_id': document.querySelector(`#\${formName}_entity_id`).value,
  1595.                             'mark': document.querySelector(`input[name=\"\${formName}[mark]\"]:checked`).value,
  1596.                             'text': document.querySelector(`#\${formName}_text`).value,
  1597.                         },
  1598.                         callback: function (response) {
  1599.                             if (response) {
  1600.                                 if (response.success) {
  1601.                                     //document.querySelector(`#{formName}`).style.display = 'none';
  1602.                                     //document.querySelector('#send_comment').style.display = 'none';
  1603.                                     document.querySelector(`form[name=\"\${formName}\"]`).reset();
  1604.                                     grecaptcha.reset();
  1605.                                     let template =
  1606.                                         '<div>' +
  1607.                                         (response.comment.nickname ?
  1608.                                             '<span class=\"author\">' +
  1609.                                             '<img src=\"#avatar\" alt=\"shift\" width=\"25\">' +
  1610.                                             '<span class=\"name\">#nickname</span>' +
  1611.                                             '</span>' : '') +
  1612.                                         '<span class=\"date\">#createdAt</span>' +
  1613.                                         '<span>#text</span>' +
  1614.                                         '</div>'
  1615.                                     ;
  1616.                                     response.comment.createdAt = new Date(response.comment.createdAt * 1000);
  1617.                                     for (let k in response.comment) {
  1618.                                         template = template.replace('#' + k, response.comment[k]);
  1619.                                     }
  1620.                                     document.querySelector('#comments').innerHTML += template;
  1621.                                     // console.log(template);
  1622.                                     // document.querySelector('#comments').innerHTML += response.html;
  1623.                                 } else {
  1624.                                     alert(response.error);
  1625.                                 }
  1626.                             }
  1627.                         },
  1628.                         dataType: 'json',
  1629.                         responseType: 'json',
  1630.                     });
  1631.                 });
  1632.             }
  1633.             //LIKE/UNLIKE
  1634.             document.querySelector('#left_column_metric').addEventListener('click', function (e) {
  1635.                 if (false == e.target.classList.contains('add-remove-favourite'))
  1636.                     return;
  1637.                 addRemoveFavourite(e.target.dataset['action'] == 'add');
  1638.             });
  1639.             let addRemoveFavourite = function (add) {
  1640.                 let btn = document.querySelector('.add-remove-favourite[data-action=\"' + (add ? 'add' : 'remove') + '\"]');
  1641.                 let reverseBtn = document.querySelector('.add-remove-favourite[data-action=\"' + (!add ? 'add' : 'remove') + '\"]');
  1642.                 btn.style.display = 'none';
  1643.                 ajax({
  1644.                     url: add ? '{{ path('account.favourites.add', {profile: profile.id}) }}' : '{{ path('account.favourites.remove', {profile: profile.id}) }}',
  1645.                     callback: function (response) {
  1646.                         if (response) {
  1647.                             if (response.success) {
  1648.                                 reverseBtn.style.display = 'block';
  1649.                             } else {
  1650.                                 btn.style.display = 'block';
  1651.                                 alert(response.error);
  1652.                             }
  1653.                         }
  1654.                     },
  1655.                     dataType: 'json',
  1656.                     responseType: 'json',
  1657.                 });
  1658.             };
  1659.             //LIKE/UNLIKE end
  1660.         });
  1661.     </script>
  1662. {% endblock %}
  1663. ", "ProfilePreview/page.html.twig", "/app/templates/ProfilePreview/page.html.twig");
  1664.     }
  1665. }