<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* ProfilePreview/page.html.twig */
class __TwigTemplate_c169b2457306e63df82a8554c8176c37 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'metaDescription' => [$this, 'block_metaDescription'],
'name_page' => [$this, 'block_name_page'],
'mainContainer' => [$this, 'block_mainContainer'],
'javascripts' => [$this, 'block_javascripts'],
];
$macros["_self"] = $this->macros["_self"] = $this;
}
protected function doGetParent(array $context)
{
// line 1
return "ProfilePreview/grid.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfilePreview/page.html.twig"));
$this->parent = $this->loadTemplate("ProfilePreview/grid.html.twig", "ProfilePreview/page.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 28
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaTitle(), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 30
public function block_metaDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
// line 31
echo "\t<meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaDescription(), "html", null, true);
echo "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 34
public function block_name_page($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
echo "profile";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 36
public function block_mainContainer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
// line 37
echo " ";
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "_menu/breadcrumbs.html.twig"]);
echo "
<div class=\"d-flex align-items-center flex-fill model-header\">
<h1 class=\"border-line\">Индивидуалка ";
// line 39
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.', 39, $this->source); })()), "name", [], "any", false, false, false, 39), "html", null, true);
echo " <span>- ID ";
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.', 39, $this->source); })()), "id", [], "any", false, false, false, 39), "html", null, true);
echo "</span></h1>
";
// line 40
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.', 40, $this->source); })()), "approved", [], "any", false, false, false, 40)) {
// line 41
echo " <div class=\"model-header__verification ml-auto d-flex align-items-center\">
<span class=\"d-none d-sm-block\">Фото проверено</span>
<div class=\"model-header__verification-circle d-flex align-items-center justify-content-center ml-2 ml-sm-3\">
<svg class=\"icon\">
<use xlink:href=\"";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-verification-2\"></use>
</svg>
</div>
</div>
";
}
// line 50
echo " </div>
<div class=\"d-lg-flex\">
<div class=\"modal-main flex-fill order-lg-2\">
<div class=\"modal-info d-xxl-flex mb-3 mb-lg-4\">
<div class=\"modal-col modal-info__items first\">
<div class=\"modal-info__items-preview d-block d-lg-none float-left\" id=\"girl_avatar\">
";
// line 56
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.', 56, $this->source); })()), "deleted", [], "any", false, false, false, 56)) {
// line 57
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\"
loading=\"lazy\"
alt=\"Анкета ";
// line 60
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.', 60, $this->source); })()), "name", [], "any", false, false, false, 60)), "html", null, true);
echo " удалена\"
class=\"img-fluid\">
</a>
";
} else {
// line 64
echo " ";
$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.', 64, $this->source); })()));
// line 65
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 65, $this->source); })())) {
// line 66
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 66, $this->source); })()), "path", [], "any", false, false, false, 66), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
<img itemprop=\"contentUrl\" src=\"";
// line 67
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 67, $this->source); })()), "path", [], "any", false, false, false, 67), "profile_media", "357x500", "jpg"), "html", null, true);
echo "\"
loading=\"lazy\"
alt=\"";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 69, $this->source); })()), "name", [], "any", false, false, false, 69)), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год", 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.', 69, $this->source); })()), "personParameters", [], "any", false, false, false, 69), "age", [], "any", false, false, false, 69)), "html", null, true);
echo "\"
class=\"img-fluid\">
</a>
";
} else {
// line 73
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\"
loading=\"lazy\"
alt=\"Фотография ";
// line 76
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.', 76, $this->source); })()), "name", [], "any", false, false, false, 76)), "html", null, true);
echo " отсутствует\"
class=\"img-fluid\">
</a>
";
}
// line 80
echo " ";
}
// line 81
echo " ";
if (($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 81, $this->source); })()), "user", [], "any", false, false, false, 81)) && !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); })()), "deleted", [], "any", false, false, false, 81))) {
// line 82
echo " <button type=\"button\"
data-url-add=\"";
// line 83
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.', 83, $this->source); })()), "id", [], "any", false, false, false, 83)]), "html", null, true);
echo "\"
data-url-remove=\"";
// line 84
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.', 84, $this->source); })()), "id", [], "any", false, false, false, 84)]), "html", null, true);
echo "\"
";
// line 85
if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 85, $this->source); })()))) {
// line 86
echo " title=\"Убрать из избранного\"
class=\"btn favorite like\" id=\"favorite\">
";
} else {
// line 89
echo " title=\"Добавить в избранное\"
class=\"btn favorite unlike\" id=\"favorite\">
";
}
// line 92
echo " <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\" fill=\"#F7901D\"/>
<path d=\"M20 33L18.26 31.3455C12.08 25.4921 8 21.6316 8 16.8937C8 13.0332 10.904 10 14.6 10C16.688 10 18.692 11.0153 20 12.6196C21.308 11.0153 23.312 10 25.4 10C29.096 10 32 13.0332 32 16.8937C32 21.6316 27.92 25.4921 21.74 31.358L20 33Z\" fill=\"white\"/>
<path class=\"ar\" d=\"M18.667 25.126L14 20.412L15.424 19.008L18.681 22.294L26.008 15L27.416 16.42L18.667 25.126Z\" fill=\"#F7901D\"/>
</svg>
</button>
";
}
// line 99
echo " </div>
<div>
<div class=\"modal-info__items-block first d-flex flex-column flex-md-row\">
<div class=\"block-item pb-2 pb-md-0 w-100\">
<div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
<svg class=\"icon mr-2 clr-1\">
<use xlink:href=\"";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-apartments\"></use>
</svg>
Апартаменты
</div>
<div class=\"block-item__description clr-1\">
<p class=\"d-flex\">Час <span class=\"ml-auto\">
";
// line 111
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.', 111, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 111), "oneHourPrice", [], "any", false, false, false, 111)) {
// line 112
echo " ";
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.', 112, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 112), "oneHourPrice", [], "any", false, false, false, 112), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(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.', 112, $this->source); })()), "city", [], "any", false, false, false, 112), "countryCode", [], "any", false, false, false, 112)), "html", null, true);
echo "
";
} else {
// line 113
echo "-";
}
// line 114
echo " </span></p>
<p class=\"d-flex\">2 часа <span class=\"ml-auto\">
";
// line 116
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.', 116, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 116), "twoHoursPrice", [], "any", false, false, false, 116)) {
// line 117
echo " ";
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.', 117, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 117), "twoHoursPrice", [], "any", false, false, false, 117), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(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.', 117, $this->source); })()), "city", [], "any", false, false, false, 117), "countryCode", [], "any", false, false, false, 117)), "html", null, true);
echo "
";
} else {
// line 118
echo "-";
}
// line 119
echo " </span></p>
<p class=\"d-flex\">Ночь <span class=\"ml-auto\">
";
// line 121
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.', 121, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 121), "nightPrice", [], "any", false, false, false, 121)) {
// line 122
echo " ";
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.', 122, $this->source); })()), "apartmentsPricing", [], "any", false, false, false, 122), "nightPrice", [], "any", false, false, false, 122), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(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.', 122, $this->source); })()), "city", [], "any", false, false, false, 122), "countryCode", [], "any", false, false, false, 122)), "html", null, true);
echo "
";
} else {
// line 123
echo "-";
}
// line 124
echo " </span></p>
<p class=\"d-flex\">Экспресс <span class=\"ml-auto\">
";
// line 126
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.', 126, $this->source); })()), "expressPricing", [], "any", false, false, false, 126), "provided", [], "any", false, false, false, 126)) {
// line 127
echo " ";
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.', 127, $this->source); })()), "expressPricing", [], "any", false, false, false, 127), "price", [], "any", false, false, false, 127)) {
// line 128
echo " ";
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.', 128, $this->source); })()), "expressPricing", [], "any", false, false, false, 128), "price", [], "any", false, false, false, 128), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(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.', 128, $this->source); })()), "city", [], "any", false, false, false, 128), "countryCode", [], "any", false, false, false, 128)), "html", null, true);
echo "
";
} else {
// line 130
echo " -
";
}
// line 132
echo " ";
} else {
// line 133
echo " -
";
}
// line 135
echo " </span></p>
</div>
</div>
<div class=\"block-item pl-0 pl-md-3 pl-xl-5 w-100\">
<div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
<svg class=\"icon mr-2 clr-2\">
<use xlink:href=\"";
// line 141
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-car\"></use>
</svg>
Выезд
</div>
<div class=\"block-item__description clr-2\">
<p class=\"d-flex\">Час <span class=\"ml-auto\">
";
// line 147
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.', 147, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 147), "oneHourPrice", [], "any", false, false, false, 147)) {
// line 148
echo " ";
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.', 148, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 148), "oneHourPrice", [], "any", false, false, false, 148), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(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.', 148, $this->source); })()), "city", [], "any", false, false, false, 148), "countryCode", [], "any", false, false, false, 148)), "html", null, true);
echo "
";
} else {
// line 149
echo "-";
}
// line 150
echo " </span></p>
<p class=\"d-flex\">2 часа <span class=\"ml-auto\">
";
// line 152
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.', 152, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 152), "twoHoursPrice", [], "any", false, false, false, 152)) {
// line 153
echo " ";
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.', 153, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 153), "twoHoursPrice", [], "any", false, false, false, 153), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(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.', 153, $this->source); })()), "city", [], "any", false, false, false, 153), "countryCode", [], "any", false, false, false, 153)), "html", null, true);
echo "
";
} else {
// line 154
echo "-";
}
// line 155
echo " </span></p>
<p class=\"d-flex\">Ночь <span class=\"ml-auto\">
";
// line 157
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.', 157, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 157), "nightPrice", [], "any", false, false, false, 157)) {
// line 158
echo " ";
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.', 158, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 158), "nightPrice", [], "any", false, false, false, 158), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\MoneyFormatterExtension']->countryLocalizedCurrency(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.', 158, $this->source); })()), "city", [], "any", false, false, false, 158), "countryCode", [], "any", false, false, false, 158)), "html", null, true);
echo "
";
} else {
// line 159
echo "-";
}
// line 160
echo " </span></p>
</div>
</div>
</div>
";
// line 164
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); })()), "deleted", [], "any", false, false, false, 164)) {
// line 165
echo " <div class=\"modal-info__items-block modal-info__items-block-phone\">
<div class=\"d-flex flex-wrap mb-2 mb-sm-3\">
<div class=\"model-phone d-flex align-items-center model-phone-desc\">
";
// line 168
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.', 168, $this->source); })()), "isActive", [], "any", false, false, false, 168) || !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.', 168, $this->source); })()), "hidden", [], "any", false, false, false, 168))) {
// line 169
echo " ";
$context["onlyPhoneNumber"] = twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 169, $this->source); })()), "phoneNumber", [], "any", false, false, false, 169), [" " => "", "-" => "", "(" => "", ")" => ""]);
// line 170
echo " <div class=\"telephone d-flex\">
<button class=\"telephone-number-btn number\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2802_159460)\">
<path d=\"M15.4825 10.8312C15.2851 10.6339 15.0175 10.5231 14.7385 10.5231C14.4594 10.5231 14.1918 10.6339 13.9944 10.8312L12.317 12.5086C11.5393 12.2771 10.0881 11.7509 9.16834 10.8312C8.24858 9.91149 7.7224 8.46036 7.49089 7.6827L9.16834 6.00531C9.36563 5.80798 9.47645 5.54037 9.47645 5.26133C9.47645 4.9823 9.36563 4.71468 9.16834 4.51735L4.95892 0.308102C4.76158 0.110824 4.49395 0 4.21491 0C3.93586 0 3.66824 0.110824 3.47089 0.308102L0.616908 3.16197C0.217013 3.56185 -0.00819095 4.11115 0.000227882 4.67204C0.024432 6.17053 0.42117 11.3753 4.52325 15.4772C8.62533 19.5791 13.8303 19.9747 15.3299 20H15.3593C15.915 20 16.4401 19.7811 16.8379 19.3833L19.6919 16.5295C19.8892 16.3321 20 16.0645 20 15.7855C20 15.5065 19.8892 15.2388 19.6919 15.0415L15.4825 10.8312ZM15.3488 17.8943C14.0355 17.8722 9.54193 17.5197 6.01128 13.9881C2.46905 10.4461 2.12598 5.93691 2.10494 4.64994L4.21491 2.54005L6.9363 5.26133L5.5756 6.62197C5.45191 6.74556 5.36097 6.89803 5.31099 7.06559C5.26101 7.23315 5.25358 7.41052 5.28936 7.58168C5.31462 7.70269 5.93235 10.5723 7.67926 12.3192C9.42617 14.066 12.2959 14.6837 12.417 14.709C12.588 14.7459 12.7656 14.7391 12.9333 14.6892C13.1011 14.6394 13.2536 14.5481 13.3767 14.4238L14.7385 13.0632L17.4598 15.7844L15.3488 17.8943Z\" fill=\"white\"/>
</g>
<defs>
<clipPath id=\"clip0_2802_159460\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<span class=\"button-click-first\">Показать телефон</span>
</button>
<!--noindex--><a href=\"tel:";
// line 185
echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber", $context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.', 185, $this->source); })()), "html", null, true);
echo "\" rel=\"nofollow\" class=\"telephone-number-btn number d-none\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2802_159460)\">
<path d=\"M15.4825 10.8312C15.2851 10.6339 15.0175 10.5231 14.7385 10.5231C14.4594 10.5231 14.1918 10.6339 13.9944 10.8312L12.317 12.5086C11.5393 12.2771 10.0881 11.7509 9.16834 10.8312C8.24858 9.91149 7.7224 8.46036 7.49089 7.6827L9.16834 6.00531C9.36563 5.80798 9.47645 5.54037 9.47645 5.26133C9.47645 4.9823 9.36563 4.71468 9.16834 4.51735L4.95892 0.308102C4.76158 0.110824 4.49395 0 4.21491 0C3.93586 0 3.66824 0.110824 3.47089 0.308102L0.616908 3.16197C0.217013 3.56185 -0.00819095 4.11115 0.000227882 4.67204C0.024432 6.17053 0.42117 11.3753 4.52325 15.4772C8.62533 19.5791 13.8303 19.9747 15.3299 20H15.3593C15.915 20 16.4401 19.7811 16.8379 19.3833L19.6919 16.5295C19.8892 16.3321 20 16.0645 20 15.7855C20 15.5065 19.8892 15.2388 19.6919 15.0415L15.4825 10.8312ZM15.3488 17.8943C14.0355 17.8722 9.54193 17.5197 6.01128 13.9881C2.46905 10.4461 2.12598 5.93691 2.10494 4.64994L4.21491 2.54005L6.9363 5.26133L5.5756 6.62197C5.45191 6.74556 5.36097 6.89803 5.31099 7.06559C5.26101 7.23315 5.25358 7.41052 5.28936 7.58168C5.31462 7.70269 5.93235 10.5723 7.67926 12.3192C9.42617 14.066 12.2959 14.6837 12.417 14.709C12.588 14.7459 12.7656 14.7391 12.9333 14.6892C13.1011 14.6394 13.2536 14.5481 13.3767 14.4238L14.7385 13.0632L17.4598 15.7844L15.3488 17.8943Z\" fill=\"white\"/>
</g>
<defs>
<clipPath id=\"clip0_2802_159460\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<span class=\"button-click-second\">";
// line 197
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.', 197, $this->source); })()), "phoneNumber", [], "any", false, false, false, 197), "html", null, true);
echo "</span>
</a><!--/noindex-->
<!--noindex-->";
// line 201
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.', 201, $this->source); })()), "messengers", [], "any", false, false, false, 201), "whatsApp", [], "any", false, false, false, 201)) {
// line 202
echo "<a href=\"https://wa.me/";
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber", $context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.', 202, $this->source); })()), ["+" => ""]), "html", null, true);
echo "?text=Привет,%20";
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.', 202, $this->source); })()), "name", [], "any", false, false, false, 202), "html", null, true);
echo "!%20Нашел%20твою%20анкету%20на%20Стрелочках.\" rel=\"nofollow\" class=\"whatsup\" target=\"_blank\">
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"20\" cy=\"20\" r=\"20\" fill=\"#48C95F\"/>
<path d=\"M27.9268 12.0625C25.9512 10.0937 23.3171 9 20.5366 9C14.7561 9 10.0732 13.6667 10.0732 19.4271C10.0732 21.25 10.5854 23.0729 11.4634 24.6042L10 30L15.561 28.5417C17.0976 29.3438 18.7805 29.7812 20.5366 29.7812C26.3171 29.7812 31 25.1146 31 19.3542C30.9268 16.6563 29.9024 14.0312 27.9268 12.0625ZM25.5854 23.1458C25.3659 23.7292 24.3415 24.3125 23.8293 24.3854C23.3902 24.4583 22.8049 24.4583 22.2195 24.3125C21.8537 24.1667 21.3415 24.0208 20.7561 23.7292C18.122 22.6354 16.439 20.0104 16.2927 19.7917C16.1463 19.6458 15.1951 18.4062 15.1951 17.0937C15.1951 15.7812 15.8537 15.1979 16.0732 14.9062C16.2927 14.6146 16.5854 14.6146 16.8049 14.6146C16.9512 14.6146 17.1707 14.6146 17.3171 14.6146C17.4634 14.6146 17.6829 14.5417 17.9024 15.0521C18.1219 15.5625 18.6341 16.875 18.7073 16.9479C18.7805 17.0938 18.7805 17.2396 18.7073 17.3854C18.6341 17.5312 18.561 17.6771 18.4146 17.8229C18.2683 17.9687 18.1219 18.1875 18.0488 18.2604C17.9024 18.4062 17.7561 18.5521 17.9024 18.7708C18.0488 19.0625 18.561 19.8646 19.3659 20.5937C20.3902 21.4687 21.1951 21.7604 21.4878 21.9063C21.7805 22.0521 21.9268 21.9792 22.0732 21.8333C22.2195 21.6875 22.7317 21.1042 22.878 20.8125C23.0244 20.5208 23.2439 20.5938 23.4634 20.6667C23.6829 20.7396 25 21.3958 25.2195 21.5417C25.5122 21.6875 25.6585 21.7604 25.7317 21.8333C25.8049 22.0521 25.8049 22.5625 25.5854 23.1458Z\" fill=\"white\"/>
</svg>
</a>";
}
// line 210
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.', 210, $this->source); })()), "messengers", [], "any", false, false, false, 210), "telegram", [], "any", false, false, false, 210) && 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.', 210, $this->source); })()), "messengers", [], "any", false, false, false, 210), "telegramUsername", [], "any", false, false, false, 210))) {
// line 211
echo "<a href=\"https://t.me/";
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.', 211, $this->source); })()), "messengers", [], "any", false, false, false, 211), "telegramUsername", [], "any", false, false, false, 211), "html", null, true);
echo "\" rel=\"nofollow noindex\", target=\"_blank\" class=\"telegram\">
<svg class=\"telegram\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"20\" cy=\"20\" r=\"20\" fill=\"#2F89CE\"/>
<path d=\"M9.3507 20.3741L13.9488 22.0886L15.7413 27.8557C15.8192 28.2454 16.2868 28.3233 16.5985 28.0895L19.1703 25.9853C19.4041 25.7515 19.7938 25.7515 20.1055 25.9853L24.7036 29.3364C25.0154 29.5702 25.483 29.4144 25.5609 29.0247L28.99 12.6587C29.0679 12.269 28.6782 11.8793 28.2886 12.0352L9.3507 19.3609C8.8831 19.5168 8.8831 20.2182 9.3507 20.3741ZM15.5075 21.2313L24.5477 15.6981C24.7036 15.6201 24.8595 15.8539 24.7036 15.9319L17.2999 22.868C17.0661 23.1018 16.8323 23.4135 16.8323 23.8032L16.5985 25.6736C16.5985 25.9074 16.2089 25.9853 16.1309 25.6736L15.1957 22.2445C14.9619 21.8548 15.1178 21.3872 15.5075 21.2313Z\" fill=\"white\"/>
</svg>
</a>";
}
// line 218
echo "<!--/noindex-->
</div>
";
} else {
// line 221
echo " <p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
";
}
// line 223
echo " </div>
<div class=\"model-warning d-flex align-items-center pt-2 pt-md-0\">
<svg class=\"icon mr-2\">
<use xlink:href=\"";
// line 226
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-warning\"></use>
</svg>
Никогда не отправляйте предоплату!
</div>
</div>
<p class=\"model-thank mb-2 mb-sm-3\">
Не забудьте сказать, что звоните с сайта \"spbdosug\"
<svg class=\"icon ml-2\">
<use xlink:href=\"";
// line 234
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-emoja\"></use>
</svg>
</p>
<div class=\"d-flex modal-info-text\">
<p class=\"mr-2\">Отвечаю на:<br/>
<span>
";
// line 240
if ((twig_length_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.', 240, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 240), "answeringTo", [], "any", false, false, false, 240)) > 0)) {
// line 241
echo " ";
$context['_parent'] = $context;
$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.', 241, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 241), "answeringTo", [], "any", false, false, false, 241));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["answeringTo"]) {
// line 242
echo " ";
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);
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 242)) {
echo ",";
}
// line 243
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 244
echo " ";
} else {
// line 245
echo " Не указано
";
}
// line 247
echo " </span>
</p>
<p class=\"ml-auto\">Удобное время для звонка:<br/><span>";
// line 249
echo twig_call_macro($macros["_self"], "macro__time_to_work", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 249, $this->source); })())], 249, $context, $this->getSourceContext());
echo "</span></p>
</div>
<div class=\"d-flex modal-info-text mt-2\">
<p class=\"mr-2\">Ограничение по возрасту партнера:<br/>
<span>";
// line 253
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.', 253, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 253), "minAge", [], "any", false, false, false, 253) || 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.', 253, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 253), "maxAge", [], "any", false, false, false, 253))) {
// line 254
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.', 254, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 254), "minAge", [], "any", false, false, false, 254)) ? (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.', 254, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 254), "minAge", [], "any", false, false, false, 254), "html", null, true))) : (print ("-")));
echo "
до ";
// line 255
((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.', 255, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 255), "maxAge", [], "any", false, false, false, 255)) ? (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.', 255, $this->source); })()), "clientRestrictions", [], "any", false, false, false, 255), "maxAge", [], "any", false, false, false, 255), "html", null, true))) : (print ("-")));
echo "
";
} else {
// line 257
echo " Не указано
";
}
// line 259
echo " </span>
</p>
</div>
</div>
";
} else {
// line 264
echo " <div class=\"lock-block d-flex align-items-center\">
<img src=\"";
// line 265
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/profile-lock.svg", "basicConfig"), "html", null, true);
echo "\" loading=\"lazy\">
<div class=\"text-block\">
<p class=\"title\">Девушка не работает</p>
<p class=\"lock\">Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</p>
</div>
</div>
";
}
// line 272
echo " ";
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.', 272, $this->source); })()), "city", [], "any", false, false, false, 272), "uriIdentity", [], "any", false, false, false, 272) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "uriIdentity", [], "any", false, false, false, 272))) {
// line 273
echo " ";
if ((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.', 273, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 273)) > 0)) {
// line 274
echo " <div class=\"modal-info__items-block modal-info__items-block-metro pb-0 pb-sm-3 d-flex d-sm-block\">
<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap mb-2 mb-xl-3\">
Метро:
";
// line 277
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($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.', 277, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 277), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 278
echo " <div class=\"metro-item\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 280
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-metro\"></use>
</svg>
<a href=\"";
// line 282
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 282, $this->source); })()), "uriIdentity", [], "any", false, false, false, 282), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 282)]), "html", null, true);
echo "\">";
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, 282)), "html", null, true);
echo "</a>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 285
echo " </div>
";
// line 286
if ((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.', 286, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 286)) > 0)) {
echo "<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
Район:
";
// line 288
$context['_parent'] = $context;
$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.', 288, $this->source); })()), "stationsSortedByPrimary", [], "any", false, false, false, 288));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 289
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 289)) {
// line 290
echo " ";
$context["stationDistrict"] = twig_get_attribute($this->env, $this->source, $context["station"], "district", [], "any", false, false, false, 290);
// line 291
echo " ";
if ((isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 291, $this->source); })())) {
// line 292
echo " ";
$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.', 292, $this->source); })()), "county", [], "any", false, false, false, 292);
// line 293
echo " ";
if ((isset($context["districtCounty"]) || array_key_exists("districtCounty", $context) ? $context["districtCounty"] : (function () { throw new RuntimeError('Variable "districtCounty" does not exist.', 293, $this->source); })())) {
// line 294
echo " <div class=\"metro-item\">
<a href=\"";
// line 295
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.', 295, $this->source); })()), "city", [], "any", false, false, false, 295), "uriIdentity", [], "any", false, false, false, 295), "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.', 295, $this->source); })()), "uriIdentity", [], "any", false, false, false, 295)]), "html", null, true);
echo "\">";
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.', 295, $this->source); })()), "name", [], "any", false, false, false, 295)), "html", null, true);
echo "</a>,
</div>
";
}
// line 298
echo " <div class=\"metro-item\">
<a href=\"";
// line 299
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_district", ["city" => twig_get_attribute($this->env, $this->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.', 299, $this->source); })()), "city", [], "any", false, false, false, 299), "uriIdentity", [], "any", false, false, false, 299), "district" => twig_get_attribute($this->env, $this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 299, $this->source); })()), "uriIdentity", [], "any", false, false, false, 299)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["stationDistrict"]) || array_key_exists("stationDistrict", $context) ? $context["stationDistrict"] : (function () { throw new RuntimeError('Variable "stationDistrict" does not exist.', 299, $this->source); })()), "name", [], "any", false, false, false, 299)), "html", null, true);
echo "</a>
</div>
";
}
// line 302
echo " ";
}
// line 303
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 304
echo " </div>";
}
// line 305
echo " </div>
";
}
// line 307
echo " ";
}
// line 308
echo " </div>
</div>
<div class=\"modal-col modal-info__items mb-3 mb-md-0\">
<div class=\"modal-info__items-row d-flex flex-wrap\">
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Возраст</span>
";
// line 315
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Возраст", 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.', 315, $this->source); })()), "personParameters", [], "any", false, false, false, 315), "age", [], "any", false, false, false, 315)], 315, $context, $this->getSourceContext());
echo "
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Рост</span>
";
// line 321
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Рост", 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.', 321, $this->source); })()), "personParameters", [], "any", false, false, false, 321), "height", [], "any", false, false, false, 321)], 321, $context, $this->getSourceContext());
echo "
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Вес</span>
";
// line 327
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Вес", 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.', 327, $this->source); })()), "personParameters", [], "any", false, false, false, 327), "weight", [], "any", false, false, false, 327)], 327, $context, $this->getSourceContext());
echo "
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Одежда</span>
";
// line 333
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер одежды", 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.', 333, $this->source); })()), "personParameters", [], "any", false, false, false, 333), "clothSize", [], "any", false, false, false, 333), "Одежда"], 333, $context, $this->getSourceContext());
echo "
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Обувь</span>
";
// line 339
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер обуви", 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.', 339, $this->source); })()), "personParameters", [], "any", false, false, false, 339), "shoesSize", [], "any", false, false, false, 339), "Обувь"], 339, $context, $this->getSourceContext());
echo "
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Грудь</span>
";
// line 345
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Размер груди", 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.', 345, $this->source); })()), "personParameters", [], "any", false, false, false, 345), "breastSize", [], "any", false, false, false, 345), "Грудь"], 345, $context, $this->getSourceContext());
echo "
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Тату</span>
";
// line 351
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.', 351, $this->source); })()), "personParameters", [], "any", false, false, false, 351), "tattoo", [], "any", false, false, false, 351)) {
// line 352
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 353
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-check\"></use>
</svg>
";
} else {
// line 356
echo " -
";
}
// line 358
echo " </div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Пирсинг</span>
";
// line 363
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.', 363, $this->source); })()), "personParameters", [], "any", false, false, false, 363), "piercing", [], "any", false, false, false, 363)) {
// line 364
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 365
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-check\"></use>
</svg>
";
} else {
// line 368
echo " -
";
}
// line 370
echo " </div>
</div>
</div>
<div class=\"modal-info__items-block d-sm-flex\">
<div class=\"description-items\">
<p class=\"description-item d-flex align-items-center\"><span>Телосложение:</span>
";
// line 376
if ($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.', 376, $this->source); })()), "personParameters", [], "any", false, false, false, 376), "bodyType", [], "any", false, false, false, 376))) {
// line 377
echo " ";
// line 378
echo " ";
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.', 378, $this->source); })()), "personParameters", [], "any", false, false, false, 378), "bodyType", [], "any", false, false, false, 378)), [], "body_types"), "html", null, true);
echo "
";
} else {
// line 380
echo " -
";
}
// line 382
echo " </p>
<p class=\"description-item d-flex align-items-center\"><span>Цвет волос:</span>
";
// line 384
if ($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.', 384, $this->source); })()), "personParameters", [], "any", false, false, false, 384), "hairColor", [], "any", false, false, false, 384))) {
// line 385
echo " <a target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_hair_color", ["city" => twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 385, $this->source); })()), "uriIdentity", [], "any", false, false, false, 385), "hairColor" => $this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter($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.', 385, $this->source); })()), "personParameters", [], "any", false, false, false, 385), "hairColor", [], "any", false, false, false, 385)))]), "html", null, true);
echo "\">";
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.', 385, $this->source); })()), "personParameters", [], "any", false, false, false, 385), "hairColor", [], "any", false, false, false, 385)), [], "hair_colors"), "html", null, true);
echo "</a>
";
} else {
// line 387
echo " -
";
}
// line 389
echo " </p>
<p class=\"description-item d-flex align-items-center\"><span>Национальность:</span>
";
// line 391
if ($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.', 391, $this->source); })()), "personParameters", [], "any", false, false, false, 391), "nationality", [], "any", false, false, false, 391))) {
// line 392
echo " ";
// line 393
echo " ";
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.', 393, $this->source); })()), "personParameters", [], "any", false, false, false, 393), "nationality", [], "any", false, false, false, 393)), [], "nationalities"), "html", null, true);
echo "
";
} else {
// line 395
echo " -
";
}
// line 397
echo " </p>
<p class=\"description-item d-flex align-items-center\"><span>Интимная стрижка:</span>
";
// line 399
if ($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.', 399, $this->source); })()), "personParameters", [], "any", false, false, false, 399), "privateHaircut", [], "any", false, false, false, 399))) {
// line 400
echo " ";
// line 401
echo " ";
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.', 401, $this->source); })()), "personParameters", [], "any", false, false, false, 401), "privateHaircut", [], "any", false, false, false, 401)), [], "private_haircuts"), "html", null, true);
echo "
";
} else {
// line 403
echo " -
";
}
// line 405
echo " </p>
</div>
<div class=\"description-items\">";
// line 408
$context["threshold"] = twig_get_attribute($this->env, $this->source, twig_date_modify_filter($this->env, "now", "-14 days"), "getTimestamp", [], "method", false, false, false, 408);
// line 409
$context["updatedAtTs"] = ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 409, $this->source); })()), "updatedAt", [], "any", false, false, false, 409)) ? (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.', 409, $this->source); })()), "updatedAt", [], "any", false, false, false, 409), "getTimestamp", [], "method", false, false, false, 409)) : (""));
// line 410
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.', 410, $this->source); })()), "createdAt", [], "any", false, false, false, 410)) {
// line 411
echo "<p class=\"description-item d-flex align-items-center\"><span>Дата регистрации:</span> <span
class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">";
// line 412
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Дата регистрации", ((((((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.', 412, $this->source); })()), "createdAt", [], "any", false, false, false, 412), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.', 412, $this->source); })()), "createdAt", [], "any", false, false, false, 412), "m"), [], "date")) . " ") . 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.', 412, $this->source); })()), "createdAt", [], "any", false, false, false, 412), "Y")) . " ") . 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.', 412, $this->source); })()), "createdAt", [], "any", false, false, false, 412), "H:i"))], 412, $context, $this->getSourceContext());
echo "</span></p>";
}
// line 415
if (((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 415, $this->source); })()) && ((isset($context["updatedAtTs"]) || array_key_exists("updatedAtTs", $context) ? $context["updatedAtTs"] : (function () { throw new RuntimeError('Variable "updatedAtTs" does not exist.', 415, $this->source); })()) >= (isset($context["threshold"]) || array_key_exists("threshold", $context) ? $context["threshold"] : (function () { throw new RuntimeError('Variable "threshold" does not exist.', 415, $this->source); })())))) {
// line 416
echo "<p class=\"description-item d-flex align-items-center\"><span>Дата обновления:</span> <span
class=\"date\">";
// line 417
echo twig_call_macro($macros["_self"], "macro__data_wrapper", ["Дата обновления", ((((((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.', 417, $this->source); })()), "updatedAt", [], "any", false, false, false, 417), "d") . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.', 417, $this->source); })()), "updatedAt", [], "any", false, false, false, 417), "m"), [], "date")) . " ") . 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.', 417, $this->source); })()), "updatedAt", [], "any", false, false, false, 417), "Y")) . " ") . 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.', 417, $this->source); })()), "updatedAt", [], "any", false, false, false, 417), "H:i"))], 417, $context, $this->getSourceContext());
echo "</span></p>";
}
// line 420
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.', 420, $this->source); })()), "approved", [], "any", false, false, false, 420)) {
// line 421
echo "<p class=\"description-item\">
<strong class=\"d-flex align-items-center\">
Фото проверено
<svg class=\"icon ml-2\">
<use xlink:href=\"";
// line 425
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-verification\"></use>
</svg>
</strong>
</p>
";
}
// line 430
echo " </div>
</div>
<div class=\"modal-info__items-block p-0\">
<div class=\"model-description\">
<h2 class=\"border-line\">О себе</h2>
<p class=\"m-0\">";
// line 435
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.', 435, $this->source); })()), "description", [], "any", false, false, false, 435), "html", null, true);
echo "</p>
</div>
</div>
</div>
";
// line 439
if ((twig_call_macro($macros["_self"], "macro__show_tabs", [twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 439, $this->source); })()), "photos", [], "any", false, false, false, 439), 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.', 439, $this->source); })()), "selfies", [], "any", false, false, false, 439), 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.', 439, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 439), 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.', 439, $this->source); })()), "deleted", [], "any", false, false, false, 439)], 439, $context, $this->getSourceContext()) == "true")) {
// line 440
echo " <div class=\"model-aside__images d-block d-md-none\">
<ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab2\" role=\"tablist\">
";
// line 442
$context["currentPage"] = "";
// line 443
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 443) && (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.', 443, $this->source); })()), "photos", [], "any", false, false, false, 443)) > 0))) {
$context["currentPage"] = "photo";
// line 444
echo " <li class=\"nav-item flex-fill\">
<a class=\"active\" id=\"model-photo-tab2\" data-toggle=\"pill\" href=\"#model-photo2\" role=\"tab\" aria-controls=\"model-photo2\" aria-selected=\"false\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 448
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-photo-thumb\"></use>
</svg>
</div>
Фото
</a>
</li>
";
}
// line 455
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 455) && (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.', 455, $this->source); })()), "selfies", [], "any", false, false, false, 455)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 455, $this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 455, $this->source); })())));
// line 456
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 457
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 457, $this->source); })()) == "selfie")) {
echo "active";
}
echo "\" id=\"model-selfie-tab2\" data-toggle=\"pill\" href=\"#model-selfie2\" role=\"tab\" aria-controls=\"model-selfie2\" aria-selected=\"false\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 460
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-selfie-thumb\"></use>
</svg>
</div>
Селфи
</a>
</li>
";
}
// line 467
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 467) && (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.', 467, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 467)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 467, $this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 467, $this->source); })())));
// line 468
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 469
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 469, $this->source); })()) == "video")) {
echo "active";
}
echo "\" id=\"model-video-tab2\" data-toggle=\"pill\" href=\"#model-video2\" role=\"tab\" aria-controls=\"model-video2\" aria-selected=\"true\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 472
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-video-thumb\"></use>
</svg>
</div>
Видео
</a>
</li>
";
}
// line 479
echo " </ul>
<div class=\"tab-content pt-2 pb-2\" id=\"model-tabContent2\">
";
// line 481
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 481) && (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.', 481, $this->source); })()), "photos", [], "any", false, false, false, 481)) > 0))) {
// line 482
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 482, $this->source); })()) == "photo")) {
echo " show active";
}
echo "\" id=\"model-photo2\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab2\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"photo-list\">
";
// line 485
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 485, $this->source); })()), "photos", [], "any", false, false, false, 485));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 486
echo " <div class=\"model-aside-col\">
<a href=\"";
// line 487
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 487), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\"
data-gallery=\"girl-gallery\"
class=\"model-aside-photo photoswipe model-photo2\"
data-index=\"";
// line 490
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 490), "html", null, true);
echo "\">
<img class=\"img-fluid\"
srcset=\"";
// line 492
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 492), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 493
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 493), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 494
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 494), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 495
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 495), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
loading=\"lazy\"
src=\"";
// line 501
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 501), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 502
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.', 502, $this->source); })()), "name", [], "any", false, false, false, 502)), "html", null, true);
echo ", фото ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 502), "html", null, true);
echo "\">
</a>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 506
echo " </div>
</div>
";
}
// line 509
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 509) && (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.', 509, $this->source); })()), "selfies", [], "any", false, false, false, 509)) > 0))) {
// line 510
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 510, $this->source); })()) == "selfie")) {
echo " show active";
}
echo "\" id=\"model-selfie2\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab2\">
<div class=\"model-aside-row d-flex flex-wrap\">
";
// line 512
$context['_parent'] = $context;
$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.', 512, $this->source); })()), "selfies", [], "any", false, false, false, 512));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 513
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 513)) {
// line 514
$context["uniqId"] = (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 514) + 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.', 514, $this->source); })()), "photos", [], "any", false, false, false, 514)));
// line 515
echo " <div class=\"model-aside-col\">
<a href=\"";
// line 516
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 516), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\"
data-gallery=\"girl-selfie\"
class=\"photoswipe model-aside-photo model-selfie2\"
data-index=\"";
// line 519
echo twig_escape_filter($this->env, (isset($context["uniqId"]) || array_key_exists("uniqId", $context) ? $context["uniqId"] : (function () { throw new RuntimeError('Variable "uniqId" does not exist.', 519, $this->source); })()), "html", null, true);
echo "\">
<img class=\"img-fluid\"
srcset=\"";
// line 521
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 521), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 522
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 522), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 523
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 523), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 524
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 524), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
loading=\"lazy\"
src=\"";
// line 530
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 530), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 531
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.', 531, $this->source); })()), "name", [], "any", false, false, false, 531)), "html", null, true);
echo ", фото ";
echo twig_escape_filter($this->env, (isset($context["uniqId"]) || array_key_exists("uniqId", $context) ? $context["uniqId"] : (function () { throw new RuntimeError('Variable "uniqId" does not exist.', 531, $this->source); })()), "html", null, true);
echo "\">
</a>
</div>";
}
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 536
echo " </div>
</div>
";
}
// line 539
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 539) && (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.', 539, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 539)) > 0))) {
// line 540
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 540, $this->source); })()) == "video")) {
echo " show active";
}
echo "\" id=\"model-video2\" role=\"tabpanel\" aria-labelledby=\"model-video-tab2\">
<div class=\"model-aside-row d-flex flex-wrap\">
";
// line 542
$context['_parent'] = $context;
$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.', 542, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 542));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 543
echo " <div class=\"model-aside-col video\">
<video class=\"video-js vjs-big-play-centered vjs-default-skin model-video2\" controls preload=\"metadata\" width=\"341\" height=\"227\" data-setup=\"{}\">
<source src=\"";
// line 545
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, 545), "profile_media"), "html", null, true);
echo "\" type='video/mp4'/>
</video>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 549
echo " </div>
</div>
";
}
// line 552
echo " </div>
</div>
";
}
// line 555
echo " </div>
<div class=\"modal-services mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4\">
<div class=\"modal-services__header d-flex flex-wrap align-items-start\">
<h2 class=\"border-line\">Интим услуги</h2>
<div class=\"modal-services__header-info d-flex flex-wrap align-items-center pb-2\">
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 562
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
- включено в стоимость
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 568
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
- по симпатии
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 574
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
- за дополнительную плату
</div>
<div class=\"header-item provided\">
<svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 580
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-provided\"></use>
</svg>
- услуга не предоставляется
</div>
</div>
</div>
<div class=\"modal-services__main d-xl-flex\">
<div class=\"modal-services__items left w-100\">
";
// line 588
$context["initional_group_2"] = 0;
// line 589
echo " ";
$context["group_2_minet"] = [];
// line 590
echo " ";
$context["group_2_okon"] = [];
// line 591
echo " ";
$context["group_2_okon_trigger"] = ["Окончание на грудь", "Окончание на лицо", "Окончание в рот"];
echo " ";
// line 592
echo " ";
$context['_parent'] = $context;
$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.', 592, $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.', 592, $this->source); })()), "masseur", [], "any", false, false, false, 592) || !twig_in_filter($context["group"], (isset($context["masseurExcludeServiceGroups"]) || array_key_exists("masseurExcludeServiceGroups", $context) ? $context["masseurExcludeServiceGroups"] : (function () { throw new RuntimeError('Variable "masseurExcludeServiceGroups" does not exist.', 592, $this->source); })()))); }));
foreach ($context['_seq'] as $context["group"] => $context["servicesGroup"]) {
// line 593
echo " ";
if (($context["group"] == 2)) {
// line 594
echo " ";
// line 595
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 596
echo " ";
if ((((twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 596) == twig_get_attribute($this->env, $this->source, (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger", $context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.', 596, $this->source); })()), 0, [], "array", false, false, false, 596)) || (twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 596) == twig_get_attribute($this->env, $this->source, (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger", $context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.', 596, $this->source); })()), 1, [], "array", false, false, false, 596))) || (twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 596) == twig_get_attribute($this->env, $this->source, (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger", $context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.', 596, $this->source); })()), 2, [], "array", false, false, false, 596)))) {
// line 597
echo " ";
$context["group_2_okon"] = twig_array_merge((isset($context["group_2_okon"]) || array_key_exists("group_2_okon", $context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.', 597, $this->source); })()), [$context["service"]]);
// line 598
echo " ";
} else {
// line 599
echo " ";
$context["group_2_minet"] = twig_array_merge((isset($context["group_2_minet"]) || array_key_exists("group_2_minet", $context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.', 599, $this->source); })()), [$context["service"]]);
// line 600
echo " ";
}
// line 601
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 602
echo " ";
} elseif ((($context["group"] == 3) && ((isset($context["initional_group_2"]) || array_key_exists("initional_group_2", $context) ? $context["initional_group_2"] : (function () { throw new RuntimeError('Variable "initional_group_2" does not exist.', 602, $this->source); })()) == 0))) {
// line 603
echo " ";
// line 604
echo " ";
$context["initional_group_2"] = 1;
// line 605
echo " <div class=\"modal-services__item\">
<p class=\"item-title\">Минет</p>
";
// line 607
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["group_2_minet"]) || array_key_exists("group_2_minet", $context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.', 607, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 608
echo " ";
$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.', 608, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 608);
// line 609
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 609, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 610
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 610, $this->source); })())) {
// line 611
echo " ";
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.', 611, $this->source); })()), "condition", [], "any", false, false, false, 611) == 1)) {
// line 612
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 613
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 615
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 615, $this->source); })()), "condition", [], "any", false, false, false, 615) == 2)) {
// line 616
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 617
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 619
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 619, $this->source); })()), "condition", [], "any", false, false, false, 619) == 3)) {
// line 620
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 621
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
";
}
// line 624
echo " ";
} else {
// line 625
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 626
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-provided\"></use>
</svg>
";
}
// line 629
echo " <a href=\"";
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.', 629, $this->source); })()), "city", [], "any", false, false, false, 629), "uriIdentity", [], "any", false, false, false, 629), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 629)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 629), "html", null, true);
echo "\">
";
// line 630
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, 630)), "html", null, true);
echo "
</a>
";
// line 632
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 632, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 632, $this->source); })()), "condition", [], "any", false, false, false, 632) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 632, $this->source); })()), "extraCharge", [], "any", false, false, false, 632))) {
echo "<span>(+";
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.', 632, $this->source); })()), "extraCharge", [], "any", false, false, false, 632), "html", null, true);
echo " Р)</span>";
}
// line 633
echo " </p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 635
echo " </div>
<div class=\"modal-services__item\">
<p class=\"item-title\">Окончание</p>
";
// line 638
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["group_2_okon"]) || array_key_exists("group_2_okon", $context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.', 638, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 639
echo " ";
$context["providedService"] = twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 639, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 639);
// line 640
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 640, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 641
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 641, $this->source); })())) {
// line 642
echo " ";
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.', 642, $this->source); })()), "condition", [], "any", false, false, false, 642) == 1)) {
// line 643
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 644
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 646
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 646, $this->source); })()), "condition", [], "any", false, false, false, 646) == 2)) {
// line 647
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 648
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 650
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 650, $this->source); })()), "condition", [], "any", false, false, false, 650) == 3)) {
// line 651
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 652
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
";
}
// line 655
echo " ";
} else {
// line 656
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 657
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-provided\"></use>
</svg>
";
}
// line 660
echo " <a href=\"";
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.', 660, $this->source); })()), "city", [], "any", false, false, false, 660), "uriIdentity", [], "any", false, false, false, 660), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 660)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 660), "html", null, true);
echo "\">
";
// line 661
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, 661)), "html", null, true);
echo "
</a>
";
// line 663
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 663, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 663, $this->source); })()), "condition", [], "any", false, false, false, 663) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 663, $this->source); })()), "extraCharge", [], "any", false, false, false, 663))) {
echo "<span>(+";
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.', 663, $this->source); })()), "extraCharge", [], "any", false, false, false, 663), "html", null, true);
echo " Р)</span>";
}
// line 664
echo " </p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 666
echo " </div>
<div class=\"modal-services__item\">
<p class=\"item-title\" data-group=\"";
// line 668
echo twig_escape_filter($this->env, $context["group"], "html", null, true);
echo "\">";
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);
echo "</p>
";
// line 669
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 670
echo " ";
$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.', 670, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 670);
// line 671
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 671, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 672
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 672, $this->source); })())) {
// line 673
echo " ";
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.', 673, $this->source); })()), "condition", [], "any", false, false, false, 673) == 1)) {
// line 674
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 675
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 677
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 677, $this->source); })()), "condition", [], "any", false, false, false, 677) == 2)) {
// line 678
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 679
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 681
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 681, $this->source); })()), "condition", [], "any", false, false, false, 681) == 3)) {
// line 682
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 683
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
";
}
// line 686
echo " ";
} else {
// line 687
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 688
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-provided\"></use>
</svg>
";
}
// line 691
echo " <a href=\"";
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.', 691, $this->source); })()), "city", [], "any", false, false, false, 691), "uriIdentity", [], "any", false, false, false, 691), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 691)]), "html", null, true);
echo "\" data-s=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "name", [], "any", false, false, false, 691), "html", null, true);
echo "\">
";
// line 692
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, 692)), "html", null, true);
echo "
</a>
";
// line 694
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 694, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 694, $this->source); })()), "condition", [], "any", false, false, false, 694) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 694, $this->source); })()), "extraCharge", [], "any", false, false, false, 694))) {
echo "<span>(+";
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.', 694, $this->source); })()), "extraCharge", [], "any", false, false, false, 694), "html", null, true);
echo " Р)</span>";
}
// line 695
echo " </p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 697
echo " </div>
";
} else {
// line 699
echo " ";
if (((($context["group"] == 1) || ($context["group"] == 5)) || ($context["group"] == 7))) {
// line 700
echo " ";
// line 701
echo " ";
}
// line 702
echo " <div class=\"modal-services__item\">
<p class=\"item-title\">";
// line 703
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);
echo "</p>
";
// line 704
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["servicesGroup"]);
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 705
echo " ";
$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.', 705, $this->source); })()), "providedService", [$context["service"]], "method", false, false, false, 705);
// line 706
echo " <p class=\"item";
if ( !(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 706, $this->source); })())) {
echo " provided";
}
echo "\">
";
// line 707
if ((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 707, $this->source); })())) {
// line 708
echo " ";
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.', 708, $this->source); })()), "condition", [], "any", false, false, false, 708) == 1)) {
// line 709
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 710
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 712
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 712, $this->source); })()), "condition", [], "any", false, false, false, 712) == 2)) {
// line 713
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 714
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-liking\"></use>
</svg>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 716
(isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 716, $this->source); })()), "condition", [], "any", false, false, false, 716) == 3)) {
// line 717
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 718
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-charge\"></use>
</svg>
";
}
// line 721
echo " ";
} else {
// line 722
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 723
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-provided\"></use>
</svg>
";
}
// line 726
echo " <a href=\"";
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.', 726, $this->source); })()), "city", [], "any", false, false, false, 726), "uriIdentity", [], "any", false, false, false, 726), "service" => twig_get_attribute($this->env, $this->source, $context["service"], "uriIdentity", [], "any", false, false, false, 726)]), "html", null, true);
echo "\">
";
// line 727
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, 727)), "html", null, true);
echo "
</a>
";
// line 729
if ((((isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 729, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 729, $this->source); })()), "condition", [], "any", false, false, false, 729) == 3)) && twig_get_attribute($this->env, $this->source, (isset($context["providedService"]) || array_key_exists("providedService", $context) ? $context["providedService"] : (function () { throw new RuntimeError('Variable "providedService" does not exist.', 729, $this->source); })()), "extraCharge", [], "any", false, false, false, 729))) {
echo "<span>(+";
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.', 729, $this->source); })()), "extraCharge", [], "any", false, false, false, 729), "html", null, true);
echo " Р)</span>";
}
// line 730
echo " </p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 732
echo " </div>
";
// line 733
if (((($context["group"] == 4) || ($context["group"] == 6)) || ($context["group"] == 7))) {
// line 734
echo " ";
// line 735
echo " ";
}
// line 736
echo " ";
}
// line 737
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['group'], $context['servicesGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 738
echo "
</div>
<div class=\"modal-services__items ml-auto\">
<div class=\"modal-services__box d-flex d-xl-block\">
<div class=\"modal-services__item w-100\">
<h3 class=\"border-line\">Услуги для</h3>
";
// line 745
$context["client_types_text"] = ["1", "2", "3", "4", "5"];
// line 746
echo " ";
$context["includeService"] = false;
// line 747
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["client_types_text"]) || array_key_exists("client_types_text", $context) ? $context["client_types_text"] : (function () { throw new RuntimeError('Variable "client_types_text" does not exist.', 747, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["clientTypeText"]) {
// line 748
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 748, $this->source); })()), "clientTypes", [], "any", false, false, false, 748));
foreach ($context['_seq'] as $context["_key"] => $context["clientType"]) {
// line 749
echo " ";
if (($context["clientTypeText"] == $context["clientType"])) {
// line 750
echo " ";
$context["includeService"] = true;
// line 751
echo " ";
}
// line 752
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientType'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 753
echo " ";
if (($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]) != "TRANS")) {
// line 754
echo " <p class=\"item\">
";
// line 755
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 755, $this->source); })()) == true)) {
// line 756
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 757
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} else {
// line 760
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 761
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-provided\"></use>
</svg>
";
}
// line 764
echo "
";
// line 765
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ClientTypeExtension']->clientType($context["clientTypeText"]), [], "client_types_f"), "html", null, true);
echo "
</p>
";
}
// line 768
echo " ";
$context["includeService"] = false;
// line 769
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['clientTypeText'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 770
echo " </div>
<div class=\"modal-services__item mb-0 w-100\">
<h3 class=\"border-line\">Выезд</h3>
";
// line 773
$context["locations_text"] = ["1", "2", "3", "4", "5", "6"];
// line 774
echo " ";
$context["includeService"] = false;
// line 775
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["locations_text"]) || array_key_exists("locations_text", $context) ? $context["locations_text"] : (function () { throw new RuntimeError('Variable "locations_text" does not exist.', 775, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["locationsText"]) {
// line 776
echo " ";
$context['_parent'] = $context;
$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.', 776, $this->source); })()), "takeOutPricing", [], "any", false, false, false, 776), "locations", [], "any", false, false, false, 776));
foreach ($context['_seq'] as $context["_key"] => $context["locations"]) {
// line 777
echo " ";
if (($context["locationsText"] == $context["locations"])) {
// line 778
echo " ";
$context["includeService"] = true;
// line 779
echo " ";
}
// line 780
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locations'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 781
echo " <p class=\"item\">
";
// line 782
if (((isset($context["includeService"]) || array_key_exists("includeService", $context) ? $context["includeService"] : (function () { throw new RuntimeError('Variable "includeService" does not exist.', 782, $this->source); })()) == true)) {
// line 783
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 784
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-included\"></use>
</svg>
";
} else {
// line 787
echo " <svg class=\"icon mr-1\">
<use xlink:href=\"";
// line 788
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-model-provided\"></use>
</svg>
";
}
// line 791
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\TakeOutLocationsExtension']->locationLabel($context["locationsText"]), [], "take_out_location"), "html", null, true);
echo "
</p>
";
// line 793
$context["includeService"] = false;
// line 794
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locationsText'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 795
echo " </div>
</div>
</div>
</div>
";
// line 882
echo " </div>
<div class=\"modal-map mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4\">
<h2 class=\"border-line\">
Расположение
</h2>
<div class=\"map-block\" id=\"map\" style=\"width: 100%; height: 400px;\"
data-lat=\"";
// line 888
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any", false, true, false, 888), "latitude", [], "any", true, true, false, 888)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any", false, true, false, 888), "latitude", [], "any", false, false, false, 888), twig_get_attribute($this->env, $this->source, 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.', 888, $this->source); })()), "city", [], "any", false, false, false, 888), "mapCoordinate", [], "any", false, false, false, 888), "latitude", [], "any", false, false, false, 888))) : (twig_get_attribute($this->env, $this->source, 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.', 888, $this->source); })()), "city", [], "any", false, false, false, 888), "mapCoordinate", [], "any", false, false, false, 888), "latitude", [], "any", false, false, false, 888))), "html", null, true);
echo "\"
data-lon=\"";
// line 889
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any", false, true, false, 889), "longitude", [], "any", true, true, false, 889)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "mapCoordinate", [], "any", false, true, false, 889), "longitude", [], "any", false, false, false, 889), twig_get_attribute($this->env, $this->source, 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.', 889, $this->source); })()), "city", [], "any", false, false, false, 889), "mapCoordinate", [], "any", false, false, false, 889), "longitude", [], "any", false, false, false, 889))) : (twig_get_attribute($this->env, $this->source, 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.', 889, $this->source); })()), "city", [], "any", false, false, false, 889), "mapCoordinate", [], "any", false, false, false, 889), "longitude", [], "any", false, false, false, 889))), "html", null, true);
echo "\"
data-map-label=\"";
// line 890
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/map-balloon.svg", "basicConfig"), "html", null, true);
echo "\">
</div>
</div>
";
// line 893
if (($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("profile_comments") && !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.', 893, $this->source); })()), "deleted", [], "any", false, false, false, 893))) {
// line 894
echo " ";
$context["commentsCount"] = 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.', 894, $this->source); })()), "comments", [], "any", false, false, false, 894));
// line 895
echo " <div class=\"modal-comments mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4\"
id=\"review-form\"
data-user=\"";
// line 897
echo (($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.', 897, $this->source); })()), "user", [], "any", false, false, false, 897))) ? ("true") : ("false"));
echo "\"
data-url=\"";
// line 898
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.', 898, $this->source); })()), "id", [], "any", false, false, false, 898)]), "html", null, true);
echo "\"
data-reg-url=\"";
// line 899
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
echo "\"
";
// line 900
if (array_key_exists("comment_form", $context)) {
echo "data-entity-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["comment_form"]) || array_key_exists("comment_form", $context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.', 900, $this->source); })()), "entity_id", [], "any", false, false, false, 900), "vars", [], "any", false, false, false, 900), "id", [], "any", false, false, false, 900), "html", null, true);
echo "\"
data-mark=\"";
// line 901
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["comment_form"]) || array_key_exists("comment_form", $context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.', 901, $this->source); })()), "mark", [], "any", false, false, false, 901), "vars", [], "any", false, false, false, 901), "full_name", [], "any", false, false, false, 901), "html", null, true);
echo "\"
data-text=\"";
// line 902
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["comment_form"]) || array_key_exists("comment_form", $context) ? $context["comment_form"] : (function () { throw new RuntimeError('Variable "comment_form" does not exist.', 902, $this->source); })()), "text", [], "any", false, false, false, 902), "vars", [], "any", false, false, false, 902), "id", [], "any", false, false, false, 902), "html", null, true);
echo "\"";
}
// line 903
echo " >
<div class=\"d-flex align-items-start\">
<h2 class=\"border-line mobile-short\">
Отзывы
</h2>
<div class=\"modal-comments__rating d-flex align-items-center ml-auto\">
<div class=\"rating-text d-flex align-items-center\" itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\">
<meta itemprop=\"address\" content=\"";
// line 910
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.', 910, $this->source); })()), "city", [], "any", false, false, false, 910), "name", [], "any", false, false, false, 910), "html", null, true);
echo "\" />
";
// line 911
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.', 911, $this->source); })()), "deleted", [], "any", false, false, false, 911)) {
echo "<meta itemprop=\"telephone\" content=\"";
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.', 911, $this->source); })()), "phoneNumber", [], "any", false, false, false, 911), "html", null, true);
echo "\" />";
}
// line 912
echo " <meta itemprop=\"name\" content=\"Рейтинг анкеты ";
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.', 912, $this->source); })()), "name", [], "any", false, false, false, 912), "html", null, true);
echo "\">
<span class=\"rating-text-value";
// line 913
echo ((((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 913, $this->source); })()) == 0)) ? (" zero") : (""));
echo "\">
";
// line 914
echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 914, $this->source); })()), "html", null, true);
echo "
</span>
<span class=\"rating-text-count\">
по ";
// line 917
echo twig_escape_filter($this->env, (isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 917, $this->source); })()), "html", null, true);
echo " ";
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 917, $this->source); })()) == 1)) {
echo "отзыву";
} else {
echo "отзывам";
}
// line 918
echo " </span>
</div>
";
// line 920
$this->loadTemplate("components/_rating-star.twig", "ProfilePreview/page.html.twig", 920)->display(twig_array_merge($context, ["rate" => (isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 920, $this->source); })()), "set" => "0"]));
// line 921
echo " </div>
</div>
<div class=\"comments-main row\">
<div class=\"col-12 col-xl-7 pl-1 pr-1 pl-sm-3 pr-sm-3 d-flex justify-content-center\">
";
// line 926
if (((isset($context["commentsCount"]) || array_key_exists("commentsCount", $context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.', 926, $this->source); })()) == 0)) {
// line 927
echo " <div class=\"not-comments text-center\" id=\"review-block-list\">
<div id=\"text-to-remove\">
<svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M14 78.7096H23V97L45.9545 78.7096H68C72.9635 78.7096 77 74.6894 77 69.7459V33.8911C77 28.9476 72.9635 24.9274 68 24.9274H14C9.0365 24.9274 5 28.9476 5 33.8911V69.7459C5 74.6894 9.0365 78.7096 14 78.7096Z\" fill=\"#E5E5E5\"/>
<path d=\"M86 7H32C27.0365 7 23 11.0202 23 15.9637H77C81.9635 15.9637 86 19.9839 86 24.9274V60.7822C90.9635 60.7822 95 56.762 95 51.8185V15.9637C95 11.0202 90.9635 7 86 7Z\" fill=\"#E5E5E5\"/>
</svg>
<p>К этой анкете ещё нет ни одного отзыва. Вы можете быть первым.</p>
</div>
<ul class=\"comment__elements\" style=\"display: none\">";
// line 935
$this->loadTemplate("ProfilePreview/comment-empty.html.twig", "ProfilePreview/page.html.twig", 935)->display($context);
echo "</ul>
</div>
";
} else {
// line 938
echo " <div class=\"comments overflow-hidden w-100\" id=\"review-block-list\">
<ul class=\"comment__elements\">
";
// line 940
$context['_parent'] = $context;
$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.', 940, $this->source); })()), "comments", [], "any", false, false, false, 940));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
// line 941
echo " ";
$this->loadTemplate("ProfilePreview/comment.html.twig", "ProfilePreview/page.html.twig", 941)->display($context);
// line 942
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['comment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 943
echo " </ul>
</div>
";
}
// line 946
echo " </div>
";
// line 947
if ( !$this->extensions['App\Twig\UserExtension']->isUserAdvertiser(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 947, $this->source); })()), "user", [], "any", false, false, false, 947))) {
// line 948
echo " <div class=\"review-form col-12 col-xl-5\" id=\"review-form-comment\">
";
// line 950
echo " </div>
<div
class=\"dialog-container\"
id=\"form-dialog\"
aria-hidden=\"true\"
aria-labelledby=\"form-dialog-title\"
aria-describedby=\"form-dialog-description\"
>
<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
<div class=\"dialog-content\" role=\"document\">
<div class=\"dialog-header\">
<button
data-a11y-dialog-hide
class=\"dialog-close\"
aria-label=\"Close this dialog window\"
>
<svg class=\"dialog-close__icon\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\"/></svg>
</button>
</div>
<div class=\"dialog-body\">
</div>
</div>
</div>
";
}
// line 975
echo " </div>
</div>
";
}
// line 978
echo " </div>
<div class=\"model-aside order-lg-1 mb-3 pr-3 pr-xl-4\">
<div class=\"model-aside__preview mb-1 d-none d-lg-block\">
";
// line 981
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.', 981, $this->source); })()), "deleted", [], "any", false, false, false, 981)) {
// line 982
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"";
// line 983
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\"
alt=\"Анкета ";
// line 984
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.', 984, $this->source); })()), "name", [], "any", false, false, false, 984)), "html", null, true);
echo " удалена\"
class=\"img-fluid\">
</a>
";
} else {
// line 988
echo " ";
$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.', 988, $this->source); })()));
// line 989
echo " ";
if ((isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 989, $this->source); })())) {
// line 990
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 990, $this->source); })()), "path", [], "any", false, false, false, 990), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
<img itemprop=\"contentUrl\" src=\"";
// line 991
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, (isset($context["photo"]) || array_key_exists("photo", $context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.', 991, $this->source); })()), "path", [], "any", false, false, false, 991), "profile_media", "357x500", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 992
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.', 992, $this->source); })()), "name", [], "any", false, false, false, 992)), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, $this->extensions['BigIdea\Bundle\MorphosTwigBundle\Twig\MorphosExtension']->pluralFilter("год", 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.', 992, $this->source); })()), "personParameters", [], "any", false, false, false, 992), "age", [], "any", false, false, false, 992)), "html", null, true);
echo "\"
loading=\"lazy\"
class=\"img-fluid\">
</a>
";
} else {
// line 997
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"";
// line 998
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/deleted-profiles.svg", "basicConfig"), "html", null, true);
echo "\"
loading=\"lazy\"
alt=\"Фотография ";
// line 1000
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.', 1000, $this->source); })()), "name", [], "any", false, false, false, 1000)), "html", null, true);
echo " отсутствует\"
class=\"img-fluid\">
</a>
";
}
// line 1004
echo " ";
}
// line 1005
echo " ";
if (($this->extensions['App\Twig\UserExtension']->isUserCustomer(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1005, $this->source); })()), "user", [], "any", false, false, false, 1005)) && !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.', 1005, $this->source); })()), "deleted", [], "any", false, false, false, 1005))) {
// line 1006
echo " <button type=\"button\"
data-url-add=\"";
// line 1007
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.', 1007, $this->source); })()), "id", [], "any", false, false, false, 1007)]), "html", null, true);
echo "\"
data-url-remove=\"";
// line 1008
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.', 1008, $this->source); })()), "id", [], "any", false, false, false, 1008)]), "html", null, true);
echo "\"
";
// line 1009
if ($this->extensions['App\Twig\UserExtension']->isProfileInFavourites((isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1009, $this->source); })()))) {
// line 1010
echo " title=\"Убрать из избранного\"
class=\"btn favorite like\" id=\"favorite2\">
";
} else {
// line 1013
echo " title=\"Добавить в избранное\"
class=\"btn favorite unlike\" id=\"favorite2\">
";
}
// line 1016
echo " <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\" fill=\"#F7901D\"/>
<path d=\"M20 33L18.26 31.3455C12.08 25.4921 8 21.6316 8 16.8937C8 13.0332 10.904 10 14.6 10C16.688 10 18.692 11.0153 20 12.6196C21.308 11.0153 23.312 10 25.4 10C29.096 10 32 13.0332 32 16.8937C32 21.6316 27.92 25.4921 21.74 31.358L20 33Z\" fill=\"white\"/>
<path class=\"ar\" d=\"M18.667 25.126L14 20.412L15.424 19.008L18.681 22.294L26.008 15L27.416 16.42L18.667 25.126Z\" fill=\"#F7901D\"/>
</svg>
</button>
";
}
// line 1023
echo " </div>
";
// line 1024
if ((twig_call_macro($macros["_self"], "macro__show_tabs", [twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1024, $this->source); })()), "photos", [], "any", false, false, false, 1024), 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.', 1024, $this->source); })()), "selfies", [], "any", false, false, false, 1024), 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.', 1024, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1024), 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.', 1024, $this->source); })()), "deleted", [], "any", false, false, false, 1024)], 1024, $context, $this->getSourceContext()) == "true")) {
// line 1025
echo " <div class=\"model-aside__images d-none d-md-block\">
<ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab\" role=\"tablist\">
";
// line 1027
$context["currentPage"] = "";
// line 1028
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 1028) && (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.', 1028, $this->source); })()), "photos", [], "any", false, false, false, 1028)) > 0))) {
$context["currentPage"] = "photo";
// line 1029
echo " <li class=\"nav-item flex-fill\">
<a class=\"active\" id=\"model-photo-tab\" data-toggle=\"pill\" href=\"#model-photo\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 1033
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-photo-thumb\"></use>
</svg>
</div>
Фото
</a>
</li>
";
}
// line 1040
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 1040) && (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.', 1040, $this->source); })()), "selfies", [], "any", false, false, false, 1040)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1040, $this->source); })()) == "")) ? ("selfie") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1040, $this->source); })())));
// line 1041
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 1042
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1042, $this->source); })()) == "selfie")) {
echo "active";
}
echo "\" id=\"model-selfie-tab\" data-toggle=\"pill\" href=\"#model-selfie\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 1045
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-selfie-thumb\"></use>
</svg>
</div>
Селфи
</a>
</li>
";
}
// line 1052
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 1052) && (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.', 1052, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1052)) > 0))) {
$context["currentPage"] = ((((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1052, $this->source); })()) == "")) ? ("video") : ((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1052, $this->source); })())));
// line 1053
echo " <li class=\"nav-item flex-fill\">
<a class=\"";
// line 1054
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1054, $this->source); })()) == "video")) {
echo "active";
}
echo "\" id=\"model-video-tab\" data-toggle=\"pill\" href=\"#model-video\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"";
// line 1057
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-video-thumb\"></use>
</svg>
</div>
Видео
</a>
</li>
";
}
// line 1064
echo " </ul>
<div class=\"tab-content pt-2 pb-2\" id=\"model-tabContent\">
";
// line 1066
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "photos", [], "any", true, true, false, 1066) && (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.', 1066, $this->source); })()), "photos", [], "any", false, false, false, 1066)) > 0))) {
// line 1067
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1067, $this->source); })()) == "photo")) {
echo " show active";
}
echo "\" id=\"model-photo\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab\">
<div class=\"model-aside-row d-flex flex-wrap\">
";
// line 1069
$context['_parent'] = $context;
$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.', 1069, $this->source); })()), "photos", [], "any", false, false, false, 1069));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1070
echo " <div class=\"model-aside-col\">
<a href=\"";
// line 1071
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1071), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\"
data-gallery=\"girl-gallery\"
class=\"model-aside-photo photoswipe model-photo\"
data-index=\"";
// line 1074
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1074), "html", null, true);
echo "\">
<img class=\"img-fluid\"
srcset=\"";
// line 1076
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1076), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 1077
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1077), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 1078
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1078), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 1079
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1079), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
loading=\"lazy\"
src=\"";
// line 1085
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1085), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
alt=\"";
// line 1086
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.', 1086, $this->source); })()), "name", [], "any", false, false, false, 1086)), "html", null, true);
echo ", фото ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1086), "html", null, true);
echo "\">
</a>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1090
echo " </div>
</div>
";
}
// line 1093
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "selfies", [], "any", true, true, false, 1093) && (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.', 1093, $this->source); })()), "selfies", [], "any", false, false, false, 1093)) > 0))) {
// line 1094
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1094, $this->source); })()) == "selfie")) {
echo " show active";
}
echo "\" id=\"model-selfie\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
";
// line 1096
$context['_parent'] = $context;
$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.', 1096, $this->source); })()), "selfies", [], "any", false, false, false, 1096));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1097
if (twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1097)) {
// line 1098
$context["uniqId"] = (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1098) + 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.', 1098, $this->source); })()), "photos", [], "any", false, false, false, 1098)));
// line 1099
echo " <div class=\"model-aside-col\">
<a href=\"";
// line 1100
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1100), "profile_media", "fullsize", "jpg"), "html", null, true);
echo "\"
data-gallery=\"girl-selfie\" c
lass=\"photoswipe model-aside-photo model-selfie\"
data-index=\"";
// line 1103
echo twig_escape_filter($this->env, (isset($context["uniqId"]) || array_key_exists("uniqId", $context) ? $context["uniqId"] : (function () { throw new RuntimeError('Variable "uniqId" does not exist.', 1103, $this->source); })()), "html", null, true);
echo "\">
<img class=\"img-fluid\"
srcset=\"";
// line 1105
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1105), "profile_media", "196x250", "jpg"), "html", null, true);
echo " 196w,
";
// line 1106
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1106), "profile_media", "177x250", "jpg"), "html", null, true);
echo " 177w,
";
// line 1107
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1107), "profile_media", "228x250", "jpg"), "html", null, true);
echo " 228w,
";
// line 1108
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1108), "profile_media", "250x250", "jpg"), "html", null, true);
echo " 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"";
// line 1113
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env, $this->source, $context["photo"], "path", [], "any", false, false, false, 1113), "profile_media", "250x250", "jpg"), "html", null, true);
echo "\"
loading=\"lazy\"
alt=\"";
// line 1115
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.', 1115, $this->source); })()), "name", [], "any", false, false, false, 1115)), "html", null, true);
echo ", фото ";
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1115) + 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.', 1115, $this->source); })()), "photos", [], "any", false, false, false, 1115))), "html", null, true);
echo "\">
</a>
</div>";
}
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1120
echo " </div>
</div>
";
}
// line 1123
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["profile"] ?? null), "confirmedVideos", [], "any", true, true, false, 1123) && (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.', 1123, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1123)) > 0))) {
// line 1124
echo " <div class=\"tab-pane fade";
if (((isset($context["currentPage"]) || array_key_exists("currentPage", $context) ? $context["currentPage"] : (function () { throw new RuntimeError('Variable "currentPage" does not exist.', 1124, $this->source); })()) == "video")) {
echo " show active";
}
echo "\" id=\"model-video\" role=\"tabpanel\" aria-labelledby=\"model-video-tab\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
";
// line 1126
$context['_parent'] = $context;
$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.', 1126, $this->source); })()), "confirmedVideos", [], "any", false, false, false, 1126));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 1127
echo " <div class=\"model-aside-col video\">
<video class=\"video-js vjs-big-play-centered vjs-default-skin model-video\" controls preload=\"metadata\" width=\"341\" height=\"227\" data-setup=\"{}\">
<source src=\"";
// line 1129
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, 1129), "profile_media"), "html", null, true);
echo "\" type='video/mp4'/>
</video>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1133
echo " </div>
</div>
";
}
// line 1136
echo " </div>
</div>
";
}
// line 1139
echo " </div>
</div>
";
// line 1141
$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.', 1141, $this->source); })()), "id", [], "any", false, false, false, 1141)];
// line 1142
echo " ";
echo twig_include($this->env, $context, "components/_profile_recommendations.html.twig");
echo "
";
// line 1144
echo twig_include($this->env, $context, "ProfilePreview/nearest_profiles.html.twig");
echo "
<div class=\"model-phone d-flex align-items-center model-phone-mobile\" id=\"mobile-contacts\">
";
// line 1148
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.', 1148, $this->source); })()), "isActive", [], "any", false, false, false, 1148) || !twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1148, $this->source); })()), "hidden", [], "any", false, false, false, 1148))) {
// line 1149
echo " <div class=\"model-phone-info\">
<p class=\"model-phone-info-red\">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M12.884 2.53152C12.538 1.87752 11.462 1.87752 11.116 2.53152L2.11596 19.5315C2.03494 19.6839 1.99478 19.8546 1.99938 20.0272C2.00398 20.1997 2.05319 20.368 2.14221 20.5159C2.23124 20.6637 2.35704 20.786 2.50736 20.8707C2.65768 20.9555 2.82739 20.9998 2.99996 20.9995H21C21.1724 20.9999 21.342 20.9555 21.4922 20.8708C21.6424 20.7861 21.7681 20.6639 21.8571 20.5162C21.946 20.3684 21.9951 20.2002 21.9997 20.0278C22.0042 19.8554 21.964 19.6847 21.883 19.5325L12.884 2.53152ZM13 17.9995H11V15.9995H13V17.9995ZM11 13.9995V8.99952H13L13.001 13.9995H11Z\" fill=\"#F5370D\"/>
</svg>
<span>Никогда не отправляйте предоплату!</span>
</p>
<p class=\"model-phone-info-green\">
<span>Не забудьте сказать, что звоните с сайта \"spbdosug\"</span>
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M20 10C20 15.5228 15.5228 20 10 20C4.47778 20 0 15.5228 0 10C0 4.47778 4.47778 0 10 0C15.5228 0 20 4.47778 20 10Z\" fill=\"#FFCC4D\"/>
<path d=\"M6.38889 11.1115C7.15595 11.1115 7.77778 10.241 7.77778 9.1671C7.77778 8.09321 7.15595 7.22266 6.38889 7.22266C5.62183 7.22266 5 8.09321 5 9.1671C5 10.241 5.62183 11.1115 6.38889 11.1115Z\" fill=\"#664500\"/>
<path d=\"M15.8095 9.88734C15.7761 9.81234 14.9767 8.05567 13.3334 8.05567C11.6906 8.05567 10.8906 9.81234 10.8572 9.88734C10.8061 10.0023 10.8395 10.1368 10.9378 10.2157C11.035 10.2946 11.1745 10.2973 11.2767 10.2234C11.2834 10.2184 11.9778 9.72234 13.3334 9.72234C14.6811 9.72234 15.3745 10.2118 15.39 10.2229C15.4389 10.2596 15.4978 10.2779 15.5556 10.2779C15.6167 10.2779 15.6784 10.2573 15.7289 10.2173C15.8272 10.1384 15.8611 10.0029 15.8095 9.88734ZM3.3328 6.92122C3.21725 6.92122 3.10003 6.88511 3.00003 6.81011C2.75447 6.62622 2.70503 6.27789 2.88892 6.03234C4.70114 3.61567 7.12003 3.58789 7.22225 3.58789C7.52892 3.58789 7.7778 3.83678 7.7778 4.14345C7.7778 4.44956 7.53058 4.69789 7.22447 4.699C7.1378 4.70011 5.24169 4.74678 3.77725 6.699C3.66892 6.84456 3.50169 6.92122 3.3328 6.92122ZM16.1117 8.10178C15.9422 8.10178 15.7761 8.02511 15.6667 7.87956C14.2267 5.959 11.7995 6.42011 11.7756 6.424C11.4717 6.484 11.1822 6.289 11.1217 5.98845C11.0617 5.68734 11.2567 5.39511 11.5572 5.33456C11.6856 5.30845 14.7 4.739 16.555 7.21234C16.7395 7.45789 16.6895 7.80622 16.4439 7.99011C16.3445 8.06622 16.2278 8.10178 16.1117 8.10178ZM12.9189 13.0984C12.8145 13.0373 12.6789 13.0501 12.5872 13.1318C12.5817 13.1362 12.0245 13.6112 10 13.6112C7.97725 13.6112 7.41892 13.1368 7.41892 13.1368C7.33058 13.0479 7.19447 13.0312 7.08558 13.0912C6.97725 13.1529 6.9228 13.2796 6.95336 13.4007C6.95892 13.4251 7.58892 15.8334 10 15.8334C12.4111 15.8334 13.0411 13.4251 13.0472 13.4007C13.0767 13.2823 13.0228 13.1612 12.9189 13.0984Z\" fill=\"#664500\"/>
</svg>
</p>
<div class=\"model-phone-info-work d-flex\">
<p class=\"\">Отвечаю на:<br/>
<span>
";
// line 1167
if ((twig_length_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.', 1167, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 1167), "answeringTo", [], "any", false, false, false, 1167)) > 0)) {
// line 1168
echo " ";
$context['_parent'] = $context;
$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.', 1168, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 1168), "answeringTo", [], "any", false, false, false, 1168));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["answeringTo"]) {
// line 1169
echo " ";
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);
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 1169)) {
echo ",";
}
// line 1170
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['answeringTo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1171
echo " ";
} else {
// line 1172
echo " Не указано
";
}
// line 1174
echo " </span>
</p>
<p class=\"\">Удобное время для звонка:<br/><span>";
// line 1176
echo twig_call_macro($macros["_self"], "macro__time_to_work", [(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1176, $this->source); })())], 1176, $context, $this->getSourceContext());
echo "</span></p>
</div>
</div>
";
// line 1179
$context["onlyPhoneNumber"] = twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 1179, $this->source); })()), "phoneNumber", [], "any", false, false, false, 1179), [" " => "", "-" => "", "(" => "", ")" => ""]);
// line 1180
echo " <div class=\"telephone d-flex\">
<button class=\"telephone-number-btn number\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2802_159460)\">
<path d=\"M15.4825 10.8312C15.2851 10.6339 15.0175 10.5231 14.7385 10.5231C14.4594 10.5231 14.1918 10.6339 13.9944 10.8312L12.317 12.5086C11.5393 12.2771 10.0881 11.7509 9.16834 10.8312C8.24858 9.91149 7.7224 8.46036 7.49089 7.6827L9.16834 6.00531C9.36563 5.80798 9.47645 5.54037 9.47645 5.26133C9.47645 4.9823 9.36563 4.71468 9.16834 4.51735L4.95892 0.308102C4.76158 0.110824 4.49395 0 4.21491 0C3.93586 0 3.66824 0.110824 3.47089 0.308102L0.616908 3.16197C0.217013 3.56185 -0.00819095 4.11115 0.000227882 4.67204C0.024432 6.17053 0.42117 11.3753 4.52325 15.4772C8.62533 19.5791 13.8303 19.9747 15.3299 20H15.3593C15.915 20 16.4401 19.7811 16.8379 19.3833L19.6919 16.5295C19.8892 16.3321 20 16.0645 20 15.7855C20 15.5065 19.8892 15.2388 19.6919 15.0415L15.4825 10.8312ZM15.3488 17.8943C14.0355 17.8722 9.54193 17.5197 6.01128 13.9881C2.46905 10.4461 2.12598 5.93691 2.10494 4.64994L4.21491 2.54005L6.9363 5.26133L5.5756 6.62197C5.45191 6.74556 5.36097 6.89803 5.31099 7.06559C5.26101 7.23315 5.25358 7.41052 5.28936 7.58168C5.31462 7.70269 5.93235 10.5723 7.67926 12.3192C9.42617 14.066 12.2959 14.6837 12.417 14.709C12.588 14.7459 12.7656 14.7391 12.9333 14.6892C13.1011 14.6394 13.2536 14.5481 13.3767 14.4238L14.7385 13.0632L17.4598 15.7844L15.3488 17.8943Z\" fill=\"white\"/>
</g>
<defs>
<clipPath id=\"clip0_2802_159460\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<span class=\"button-click-first\">Показать телефон</span>
</button>
<!--noindex--><a href=\"tel:";
// line 1195
echo twig_escape_filter($this->env, (isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber", $context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.', 1195, $this->source); })()), "html", null, true);
echo "\" rel=\"nofollow\" class=\"telephone-number-btn number d-none\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2802_159460)\">
<path d=\"M15.4825 10.8312C15.2851 10.6339 15.0175 10.5231 14.7385 10.5231C14.4594 10.5231 14.1918 10.6339 13.9944 10.8312L12.317 12.5086C11.5393 12.2771 10.0881 11.7509 9.16834 10.8312C8.24858 9.91149 7.7224 8.46036 7.49089 7.6827L9.16834 6.00531C9.36563 5.80798 9.47645 5.54037 9.47645 5.26133C9.47645 4.9823 9.36563 4.71468 9.16834 4.51735L4.95892 0.308102C4.76158 0.110824 4.49395 0 4.21491 0C3.93586 0 3.66824 0.110824 3.47089 0.308102L0.616908 3.16197C0.217013 3.56185 -0.00819095 4.11115 0.000227882 4.67204C0.024432 6.17053 0.42117 11.3753 4.52325 15.4772C8.62533 19.5791 13.8303 19.9747 15.3299 20H15.3593C15.915 20 16.4401 19.7811 16.8379 19.3833L19.6919 16.5295C19.8892 16.3321 20 16.0645 20 15.7855C20 15.5065 19.8892 15.2388 19.6919 15.0415L15.4825 10.8312ZM15.3488 17.8943C14.0355 17.8722 9.54193 17.5197 6.01128 13.9881C2.46905 10.4461 2.12598 5.93691 2.10494 4.64994L4.21491 2.54005L6.9363 5.26133L5.5756 6.62197C5.45191 6.74556 5.36097 6.89803 5.31099 7.06559C5.26101 7.23315 5.25358 7.41052 5.28936 7.58168C5.31462 7.70269 5.93235 10.5723 7.67926 12.3192C9.42617 14.066 12.2959 14.6837 12.417 14.709C12.588 14.7459 12.7656 14.7391 12.9333 14.6892C13.1011 14.6394 13.2536 14.5481 13.3767 14.4238L14.7385 13.0632L17.4598 15.7844L15.3488 17.8943Z\" fill=\"white\"/>
</g>
<defs>
<clipPath id=\"clip0_2802_159460\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<span class=\"button-click-second\">";
// line 1207
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.', 1207, $this->source); })()), "phoneNumber", [], "any", false, false, false, 1207), "html", null, true);
echo "</span>
</a><!--/noindex-->
<!--noindex-->";
// line 1211
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.', 1211, $this->source); })()), "messengers", [], "any", false, false, false, 1211), "whatsApp", [], "any", false, false, false, 1211)) {
// line 1212
echo "<a href=\"https://wa.me/";
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["onlyPhoneNumber"]) || array_key_exists("onlyPhoneNumber", $context) ? $context["onlyPhoneNumber"] : (function () { throw new RuntimeError('Variable "onlyPhoneNumber" does not exist.', 1212, $this->source); })()), ["+" => ""]), "html", null, true);
echo "?text=Привет,%20";
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.', 1212, $this->source); })()), "name", [], "any", false, false, false, 1212), "html", null, true);
echo "!%20Нашел%20твою%20анкету%20на%20Стрелочках.\" rel=\"nofollow\" class=\"whatsup\" target=\"_blank\">
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"20\" cy=\"20\" r=\"20\" fill=\"#48C95F\"/>
<path d=\"M27.9268 12.0625C25.9512 10.0937 23.3171 9 20.5366 9C14.7561 9 10.0732 13.6667 10.0732 19.4271C10.0732 21.25 10.5854 23.0729 11.4634 24.6042L10 30L15.561 28.5417C17.0976 29.3438 18.7805 29.7812 20.5366 29.7812C26.3171 29.7812 31 25.1146 31 19.3542C30.9268 16.6563 29.9024 14.0312 27.9268 12.0625ZM25.5854 23.1458C25.3659 23.7292 24.3415 24.3125 23.8293 24.3854C23.3902 24.4583 22.8049 24.4583 22.2195 24.3125C21.8537 24.1667 21.3415 24.0208 20.7561 23.7292C18.122 22.6354 16.439 20.0104 16.2927 19.7917C16.1463 19.6458 15.1951 18.4062 15.1951 17.0937C15.1951 15.7812 15.8537 15.1979 16.0732 14.9062C16.2927 14.6146 16.5854 14.6146 16.8049 14.6146C16.9512 14.6146 17.1707 14.6146 17.3171 14.6146C17.4634 14.6146 17.6829 14.5417 17.9024 15.0521C18.1219 15.5625 18.6341 16.875 18.7073 16.9479C18.7805 17.0938 18.7805 17.2396 18.7073 17.3854C18.6341 17.5312 18.561 17.6771 18.4146 17.8229C18.2683 17.9687 18.1219 18.1875 18.0488 18.2604C17.9024 18.4062 17.7561 18.5521 17.9024 18.7708C18.0488 19.0625 18.561 19.8646 19.3659 20.5937C20.3902 21.4687 21.1951 21.7604 21.4878 21.9063C21.7805 22.0521 21.9268 21.9792 22.0732 21.8333C22.2195 21.6875 22.7317 21.1042 22.878 20.8125C23.0244 20.5208 23.2439 20.5938 23.4634 20.6667C23.6829 20.7396 25 21.3958 25.2195 21.5417C25.5122 21.6875 25.6585 21.7604 25.7317 21.8333C25.8049 22.0521 25.8049 22.5625 25.5854 23.1458Z\" fill=\"white\"/>
</svg>
</a>";
}
// line 1220
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.', 1220, $this->source); })()), "messengers", [], "any", false, false, false, 1220), "telegram", [], "any", false, false, false, 1220) && 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.', 1220, $this->source); })()), "messengers", [], "any", false, false, false, 1220), "telegramUsername", [], "any", false, false, false, 1220))) {
// line 1221
echo "<a href=\"https://t.me/";
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.', 1221, $this->source); })()), "messengers", [], "any", false, false, false, 1221), "telegramUsername", [], "any", false, false, false, 1221), "html", null, true);
echo "\" rel=\"nofollow noindex\", target=\"_blank\" class=\"telegram\">
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"20\" cy=\"20\" r=\"20\" fill=\"#2F89CE\"/>
<path d=\"M9.3507 20.3741L13.9488 22.0886L15.7413 27.8557C15.8192 28.2454 16.2868 28.3233 16.5985 28.0895L19.1703 25.9853C19.4041 25.7515 19.7938 25.7515 20.1055 25.9853L24.7036 29.3364C25.0154 29.5702 25.483 29.4144 25.5609 29.0247L28.99 12.6587C29.0679 12.269 28.6782 11.8793 28.2886 12.0352L9.3507 19.3609C8.8831 19.5168 8.8831 20.2182 9.3507 20.3741ZM15.5075 21.2313L24.5477 15.6981C24.7036 15.6201 24.8595 15.8539 24.7036 15.9319L17.2999 22.868C17.0661 23.1018 16.8323 23.4135 16.8323 23.8032L16.5985 25.6736C16.5985 25.9074 16.2089 25.9853 16.1309 25.6736L15.1957 22.2445C14.9619 21.8548 15.1178 21.3872 15.5075 21.2313Z\" fill=\"white\"/>
</svg>
</a>";
}
// line 1228
echo "<!--/noindex-->
</div>
";
} else {
// line 1231
echo " <p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
";
}
// line 1233
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 1237
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 1238
echo " <script>
window._lD = {
setLastViewedListing: '";
// line 1240
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1240, $this->source); })()), "request", [], "any", false, false, false, 1240), "attributes", [], "any", false, false, false, 1240), "get", ["_route"], "method", false, false, false, 1240), "html", null, true);
echo "',
cityUrl: \"";
// line 1241
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 1241, $this->source); })()), "uriIdentity", [], "any", false, false, false, 1241), "html", null, true);
echo "\"
};
window.comment_data = {
\t\t\t'urlCreate': '";
// line 1244
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.', 1244, $this->source); })()), "id", [], "any", false, false, false, 1244)]), "html", null, true);
echo "',
\t\t\t'urlGet': '";
// line 1245
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.', 1245, $this->source); })()), "id", [], "any", false, false, false, 1245)]), "html", null, true);
echo "',
\t\t\t'sitekey': \"";
// line 1246
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.', 1246, $this->source); })()), "html", null, true);
echo "\",
\t\t\t'registrationUrl': \"";
// line 1247
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_register");
echo "\"
\t\t};
window._spb_s = {
stations: {";
// line 1251
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 1252
echo "\"";
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, 1252)), "html", null, true);
echo "\": \"";
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, $context["station"], "city", [], "any", false, false, false, 1252), "uriIdentity", [], "any", false, false, false, 1252), "station" => twig_get_attribute($this->env, $this->source, $context["station"], "uriIdentity", [], "any", false, false, false, 1252)]), "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 1252)) {
echo ",";
}
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1254
echo "}
};
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
// line 1259
$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.', 1259, $this->source); })()), "id", [], "any", false, false, false, 1259)];
// line 1260
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
// line 1262
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.', 1262, $this->source); })()), "deleted", [], "any", false, false, false, 1262)) {
// line 1263
echo twig_include($this->env, $context, "ProfilePreview/components/media.js.twig");
}
// line 1266
echo "<script>
(function() {
let isRenderRecommendationsWidget = false;
let isRenderBotWidget = false;
let isRenderRecentlyViewedWidget = false;
function loadWidgets() {
if (!isRenderRecommendationsWidget) {
isRenderRecommendationsWidget = true;
window.Recommendations.addViewedProfile(";
// line 1274
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.', 1274, $this->source); })()), "id", [], "any", false, false, false, 1274), "html", null, true);
echo ")
}
if (!isRenderBotWidget) {
isRenderBotWidget = true;
window.profileBotHelper.addViewedProfile(";
// line 1278
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.', 1278, $this->source); })()), "id", [], "any", false, false, false, 1278), "html", null, true);
echo ");
}
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
window.recentlyViewed.addViewedProfile(";
// line 1282
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.', 1282, $this->source); })()), "id", [], "any", false, false, false, 1282), "html", null, true);
echo ");
}
//const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
}
document.addEventListener('DOMContentLoaded', function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
}, {once:true});
document.addEventListener(\"recommendations:ready\", function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
}, {once:true});
})();
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 4
public function macro__show_tabs($__photos__ = null, $__selfies__ = null, $__videos__ = null, $__isDeleted__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"photos" => $__photos__,
"selfies" => $__selfies__,
"videos" => $__videos__,
"isDeleted" => $__isDeleted__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_show_tabs"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_show_tabs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_show_tabs"));
// line 5
if ((isset($context["isDeleted"]) || array_key_exists("isDeleted", $context) ? $context["isDeleted"] : (function () { throw new RuntimeError('Variable "isDeleted" does not exist.', 5, $this->source); })())) {
echo "false";
} elseif ((((array_key_exists("photos", $context) && (twig_length_filter($this->env, (isset($context["photos"]) || array_key_exists("photos", $context) ? $context["photos"] : (function () { throw new RuntimeError('Variable "photos" does not exist.', 5, $this->source); })())) > 0)) || ( // line 6
array_key_exists("selfies", $context) && (twig_length_filter($this->env, (isset($context["selfies"]) || array_key_exists("selfies", $context) ? $context["selfies"] : (function () { throw new RuntimeError('Variable "selfies" does not exist.', 6, $this->source); })())) > 0))) || ( // line 7
array_key_exists("videos", $context) && (twig_length_filter($this->env, (isset($context["videos"]) || array_key_exists("videos", $context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.', 7, $this->source); })())) > 0)))) {
// line 8
echo "true";
} else {
echo "false";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 11
public function macro__data_wrapper($__text__ = null, $__value__ = null, $__shortText__ = "", ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"text" => $__text__,
"value" => $__value__,
"shortText" => $__shortText__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_data_wrapper"));
// line 12
echo " ";
$context["value"] = (((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 12, $this->source); })())) ? ((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 12, $this->source); })())) : ("-"));
// line 13
echo " ";
echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 13, $this->source); })()), "html", null, true);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
// line 16
public function macro__time_to_work($__profile__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"profile" => $__profile__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "_time_to_work"));
// line 17
echo " ";
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.', 17, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 17), "timeFrom", [], "any", false, false, false, 17) == "") && (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.', 17, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 17), "timeTo", [], "any", false, false, false, 17) == "")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 18
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 18, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 18), "timeFrom", [], "any", false, false, false, 18) == 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.', 18, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 18), "timeTo", [], "any", false, false, false, 18)))) {
// line 19
echo " ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Круглосуточно", [], "profile");
// line 20
echo " ";
} else {
// line 21
echo " с
";
// line 22
(((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.', 22, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 22), "timeFrom", [], "any", false, false, false, 22) == "")) ? (print (0)) : (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.', 22, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 22), "timeFrom", [], "any", false, false, false, 22), "html", null, true))));
echo "
до
";
// line 24
(((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.', 24, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 24), "timeTo", [], "any", false, false, false, 24) == "")) ? (print (0)) : (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.', 24, $this->source); })()), "phoneCallRestrictions", [], "any", false, false, false, 24), "timeTo", [], "any", false, false, false, 24), "html", null, true))));
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ProfilePreview/page.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 3098 => 24, 3093 => 22, 3090 => 21, 3087 => 20, 3084 => 19, 3082 => 18, 3080 => 17, 3058 => 16, 3037 => 13, 3034 => 12, 3010 => 11, 2989 => 8, 2987 => 7, 2986 => 6, 2983 => 5, 2958 => 4, 2924 => 1282, 2917 => 1278, 2910 => 1274, 2900 => 1266, 2897 => 1263, 2895 => 1262, 2892 => 1260, 2890 => 1259, 2883 => 1254, 2862 => 1252, 2845 => 1251, 2839 => 1247, 2835 => 1246, 2831 => 1245, 2827 => 1244, 2821 => 1241, 2817 => 1240, 2813 => 1238, 2800 => 1237, 2786 => 1233, 2782 => 1231, 2777 => 1228, 2767 => 1221, 2765 => 1220, 2753 => 1212, 2751 => 1211, 2745 => 1207, 2730 => 1195, 2713 => 1180, 2711 => 1179, 2705 => 1176, 2701 => 1174, 2697 => 1172, 2694 => 1171, 2680 => 1170, 2674 => 1169, 2656 => 1168, 2654 => 1167, 2634 => 1149, 2632 => 1148, 2625 => 1144, 2619 => 1142, 2617 => 1141, 2613 => 1139, 2608 => 1136, 2603 => 1133, 2593 => 1129, 2589 => 1127, 2585 => 1126, 2577 => 1124, 2574 => 1123, 2569 => 1120, 2549 => 1115, 2544 => 1113, 2536 => 1108, 2532 => 1107, 2528 => 1106, 2524 => 1105, 2519 => 1103, 2513 => 1100, 2510 => 1099, 2508 => 1098, 2506 => 1097, 2489 => 1096, 2481 => 1094, 2478 => 1093, 2473 => 1090, 2453 => 1086, 2449 => 1085, 2440 => 1079, 2436 => 1078, 2432 => 1077, 2428 => 1076, 2423 => 1074, 2417 => 1071, 2414 => 1070, 2397 => 1069, 2389 => 1067, 2387 => 1066, 2383 => 1064, 2373 => 1057, 2365 => 1054, 2362 => 1053, 2358 => 1052, 2348 => 1045, 2340 => 1042, 2337 => 1041, 2333 => 1040, 2323 => 1033, 2317 => 1029, 2313 => 1028, 2311 => 1027, 2307 => 1025, 2305 => 1024, 2302 => 1023, 2293 => 1016, 2288 => 1013, 2283 => 1010, 2281 => 1009, 2277 => 1008, 2273 => 1007, 2270 => 1006, 2267 => 1005, 2264 => 1004, 2257 => 1000, 2252 => 998, 2247 => 997, 2237 => 992, 2233 => 991, 2228 => 990, 2225 => 989, 2222 => 988, 2215 => 984, 2211 => 983, 2206 => 982, 2204 => 981, 2199 => 978, 2194 => 975, 2167 => 950, 2164 => 948, 2162 => 947, 2159 => 946, 2154 => 943, 2140 => 942, 2137 => 941, 2120 => 940, 2116 => 938, 2110 => 935, 2100 => 927, 2098 => 926, 2091 => 921, 2089 => 920, 2085 => 918, 2077 => 917, 2071 => 914, 2067 => 913, 2062 => 912, 2056 => 911, 2052 => 910, 2043 => 903, 2039 => 902, 2035 => 901, 2029 => 900, 2025 => 899, 2021 => 898, 2017 => 897, 2013 => 895, 2010 => 894, 2008 => 893, 2002 => 890, 1998 => 889, 1994 => 888, 1986 => 882, 1980 => 795, 1974 => 794, 1972 => 793, 1966 => 791, 1960 => 788, 1957 => 787, 1951 => 784, 1948 => 783, 1946 => 782, 1943 => 781, 1937 => 780, 1934 => 779, 1931 => 778, 1928 => 777, 1923 => 776, 1918 => 775, 1915 => 774, 1913 => 773, 1908 => 770, 1902 => 769, 1899 => 768, 1893 => 765, 1890 => 764, 1884 => 761, 1881 => 760, 1875 => 757, 1872 => 756, 1870 => 755, 1867 => 754, 1864 => 753, 1858 => 752, 1855 => 751, 1852 => 750, 1849 => 749, 1844 => 748, 1839 => 747, 1836 => 746, 1834 => 745, 1825 => 738, 1819 => 737, 1816 => 736, 1813 => 735, 1811 => 734, 1809 => 733, 1806 => 732, 1799 => 730, 1793 => 729, 1788 => 727, 1783 => 726, 1777 => 723, 1774 => 722, 1771 => 721, 1765 => 718, 1762 => 717, 1760 => 716, 1755 => 714, 1752 => 713, 1750 => 712, 1745 => 710, 1742 => 709, 1739 => 708, 1737 => 707, 1730 => 706, 1727 => 705, 1723 => 704, 1719 => 703, 1716 => 702, 1713 => 701, 1711 => 700, 1708 => 699, 1704 => 697, 1697 => 695, 1691 => 694, 1686 => 692, 1679 => 691, 1673 => 688, 1670 => 687, 1667 => 686, 1661 => 683, 1658 => 682, 1656 => 681, 1651 => 679, 1648 => 678, 1646 => 677, 1641 => 675, 1638 => 674, 1635 => 673, 1633 => 672, 1626 => 671, 1623 => 670, 1619 => 669, 1613 => 668, 1609 => 666, 1602 => 664, 1596 => 663, 1591 => 661, 1584 => 660, 1578 => 657, 1575 => 656, 1572 => 655, 1566 => 652, 1563 => 651, 1561 => 650, 1556 => 648, 1553 => 647, 1551 => 646, 1546 => 644, 1543 => 643, 1540 => 642, 1538 => 641, 1531 => 640, 1528 => 639, 1524 => 638, 1519 => 635, 1512 => 633, 1506 => 632, 1501 => 630, 1494 => 629, 1488 => 626, 1485 => 625, 1482 => 624, 1476 => 621, 1473 => 620, 1471 => 619, 1466 => 617, 1463 => 616, 1461 => 615, 1456 => 613, 1453 => 612, 1450 => 611, 1448 => 610, 1441 => 609, 1438 => 608, 1434 => 607, 1430 => 605, 1427 => 604, 1425 => 603, 1422 => 602, 1416 => 601, 1413 => 600, 1410 => 599, 1407 => 598, 1404 => 597, 1401 => 596, 1396 => 595, 1394 => 594, 1391 => 593, 1386 => 592, 1382 => 591, 1379 => 590, 1376 => 589, 1374 => 588, 1363 => 580, 1354 => 574, 1345 => 568, 1336 => 562, 1327 => 555, 1322 => 552, 1317 => 549, 1307 => 545, 1303 => 543, 1299 => 542, 1291 => 540, 1288 => 539, 1283 => 536, 1263 => 531, 1259 => 530, 1250 => 524, 1246 => 523, 1242 => 522, 1238 => 521, 1233 => 519, 1227 => 516, 1224 => 515, 1222 => 514, 1220 => 513, 1203 => 512, 1195 => 510, 1192 => 509, 1187 => 506, 1167 => 502, 1163 => 501, 1154 => 495, 1150 => 494, 1146 => 493, 1142 => 492, 1137 => 490, 1131 => 487, 1128 => 486, 1111 => 485, 1102 => 482, 1100 => 481, 1096 => 479, 1086 => 472, 1078 => 469, 1075 => 468, 1071 => 467, 1061 => 460, 1053 => 457, 1050 => 456, 1046 => 455, 1036 => 448, 1030 => 444, 1026 => 443, 1024 => 442, 1020 => 440, 1018 => 439, 1011 => 435, 1004 => 430, 996 => 425, 990 => 421, 988 => 420, 984 => 417, 981 => 416, 979 => 415, 975 => 412, 972 => 411, 970 => 410, 968 => 409, 966 => 408, 962 => 405, 958 => 403, 952 => 401, 950 => 400, 948 => 399, 944 => 397, 940 => 395, 934 => 393, 932 => 392, 930 => 391, 926 => 389, 922 => 387, 914 => 385, 912 => 384, 908 => 382, 904 => 380, 898 => 378, 896 => 377, 894 => 376, 886 => 370, 882 => 368, 876 => 365, 873 => 364, 871 => 363, 864 => 358, 860 => 356, 854 => 353, 851 => 352, 849 => 351, 840 => 345, 831 => 339, 822 => 333, 813 => 327, 804 => 321, 795 => 315, 786 => 308, 783 => 307, 779 => 305, 776 => 304, 762 => 303, 759 => 302, 751 => 299, 748 => 298, 740 => 295, 737 => 294, 734 => 293, 731 => 292, 728 => 291, 725 => 290, 722 => 289, 705 => 288, 700 => 286, 697 => 285, 686 => 282, 681 => 280, 677 => 278, 673 => 277, 668 => 274, 665 => 273, 662 => 272, 652 => 265, 649 => 264, 642 => 259, 638 => 257, 633 => 255, 628 => 254, 626 => 253, 619 => 249, 615 => 247, 611 => 245, 608 => 244, 594 => 243, 588 => 242, 570 => 241, 568 => 240, 559 => 234, 548 => 226, 543 => 223, 539 => 221, 534 => 218, 524 => 211, 522 => 210, 510 => 202, 508 => 201, 502 => 197, 487 => 185, 470 => 170, 467 => 169, 465 => 168, 460 => 165, 458 => 164, 452 => 160, 449 => 159, 441 => 158, 439 => 157, 435 => 155, 432 => 154, 424 => 153, 422 => 152, 418 => 150, 415 => 149, 407 => 148, 405 => 147, 396 => 141, 388 => 135, 384 => 133, 381 => 132, 377 => 130, 369 => 128, 366 => 127, 364 => 126, 360 => 124, 357 => 123, 349 => 122, 347 => 121, 343 => 119, 340 => 118, 332 => 117, 330 => 116, 326 => 114, 323 => 113, 315 => 112, 313 => 111, 304 => 105, 296 => 99, 287 => 92, 282 => 89, 277 => 86, 275 => 85, 271 => 84, 267 => 83, 264 => 82, 261 => 81, 258 => 80, 251 => 76, 246 => 74, 241 => 73, 232 => 69, 227 => 67, 222 => 66, 219 => 65, 216 => 64, 209 => 60, 204 => 58, 199 => 57, 197 => 56, 189 => 50, 181 => 45, 175 => 41, 173 => 40, 167 => 39, 161 => 37, 148 => 36, 123 => 34, 107 => 31, 94 => 30, 69 => 28, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'ProfilePreview/grid.html.twig' %}
{# Проверяем есть ли у нас вообще данные для табов #}
{%- macro _show_tabs(photos,selfies,videos,isDeleted) -%}
{% if isDeleted %}false{% elseif (photos is defined and photos|length > 0) or
(selfies is defined and selfies|length > 0) or
(videos is defined and videos|length > 0)
%}true{% else %}false{% endif %}
{%- endmacro -%}
{% macro _data_wrapper(text, value, shortText = '') %}
{% set value = value ? value : '-' %}
{{ value }}
{% endmacro %}
{% macro _time_to_work(profile) %}
{% if (profile.phoneCallRestrictions.timeFrom == '' and profile.phoneCallRestrictions.timeTo == '') or
(profile.phoneCallRestrictions.timeFrom == profile.phoneCallRestrictions.timeTo) %}
{% trans with {} from 'profile' %}Круглосуточно{% endtrans %}
{% else %}
с
{{ profile.phoneCallRestrictions.timeFrom == '' ? 0 : profile.phoneCallRestrictions.timeFrom }}
до
{{ profile.phoneCallRestrictions.timeTo == '' ? 0 : profile.phoneCallRestrictions.timeTo }}
{% endif %}
{% endmacro %}
{% block title %}{{ seo_title() }}{% endblock %}
{% block metaDescription %}
\t<meta name=\"description\" content=\"{{ seo_description() }}\">
{% endblock %}
{% block name_page %}profile{% endblock %}
{% block mainContainer %}
{{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig'}) }}
<div class=\"d-flex align-items-center flex-fill model-header\">
<h1 class=\"border-line\">Индивидуалка {{ profile.name }} <span>- ID {{ profile.id }}</span></h1>
{% if profile.approved %}
<div class=\"model-header__verification ml-auto d-flex align-items-center\">
<span class=\"d-none d-sm-block\">Фото проверено</span>
<div class=\"model-header__verification-circle d-flex align-items-center justify-content-center ml-2 ml-sm-3\">
<svg class=\"icon\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verification-2\"></use>
</svg>
</div>
</div>
{% endif %}
</div>
<div class=\"d-lg-flex\">
<div class=\"modal-main flex-fill order-lg-2\">
<div class=\"modal-info d-xxl-flex mb-3 mb-lg-4\">
<div class=\"modal-col modal-info__items first\">
<div class=\"modal-info__items-preview d-block d-lg-none float-left\" id=\"girl_avatar\">
{% if profile.deleted %}
<a href=\"{{ asset(\"assets/images/deleted-profiles.svg\",'basicConfig') }}\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\",'basicConfig') }}\"
loading=\"lazy\"
alt=\"Анкета {{ profile.name|trans }} удалена\"
class=\"img-fluid\">
</a>
{% else %}
{% set photo = profile|avatar %}
{% if photo %}
<a href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
<img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"357x500\", \"jpg\") }}\"
loading=\"lazy\"
alt=\"{{ profile.name|trans }}, {{ 'год'|plural(profile.personParameters.age) }}\"
class=\"img-fluid\">
</a>
{% else %}
<a href=\"{{ asset(\"assets/images/deleted-profiles.svg\",'basicConfig') }}\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\",'basicConfig') }}\"
loading=\"lazy\"
alt=\"Фотография {{ profile.name|trans }} отсутствует\"
class=\"img-fluid\">
</a>
{% endif %}
{% endif %}
{% if is_user_customer(app.user) and not profile.deleted %}
<button type=\"button\"
data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
{% if is_profile_in_favourites(profile) %}
title=\"Убрать из избранного\"
class=\"btn favorite like\" id=\"favorite\">
{% else %}
title=\"Добавить в избранное\"
class=\"btn favorite unlike\" id=\"favorite\">
{% endif %}
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\" fill=\"#F7901D\"/>
<path d=\"M20 33L18.26 31.3455C12.08 25.4921 8 21.6316 8 16.8937C8 13.0332 10.904 10 14.6 10C16.688 10 18.692 11.0153 20 12.6196C21.308 11.0153 23.312 10 25.4 10C29.096 10 32 13.0332 32 16.8937C32 21.6316 27.92 25.4921 21.74 31.358L20 33Z\" fill=\"white\"/>
<path class=\"ar\" d=\"M18.667 25.126L14 20.412L15.424 19.008L18.681 22.294L26.008 15L27.416 16.42L18.667 25.126Z\" fill=\"#F7901D\"/>
</svg>
</button>
{% endif %}
</div>
<div>
<div class=\"modal-info__items-block first d-flex flex-column flex-md-row\">
<div class=\"block-item pb-2 pb-md-0 w-100\">
<div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
<svg class=\"icon mr-2 clr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-apartments\"></use>
</svg>
Апартаменты
</div>
<div class=\"block-item__description clr-1\">
<p class=\"d-flex\">Час <span class=\"ml-auto\">
{% if profile.apartmentsPricing.oneHourPrice %}
{{ profile.apartmentsPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}
</span></p>
<p class=\"d-flex\">2 часа <span class=\"ml-auto\">
{% if profile.apartmentsPricing.twoHoursPrice %}
{{ profile.apartmentsPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}
</span></p>
<p class=\"d-flex\">Ночь <span class=\"ml-auto\">
{% if profile.apartmentsPricing.nightPrice %}
{{ profile.apartmentsPricing.nightPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}
</span></p>
<p class=\"d-flex\">Экспресс <span class=\"ml-auto\">
{% if profile.expressPricing.provided %}
{% if profile.expressPricing.price %}
{{ profile.expressPricing.price }} {{ profile.city.countryCode|country_currency }}
{% else %}
-
{% endif %}
{% else %}
-
{% endif %}
</span></p>
</div>
</div>
<div class=\"block-item pl-0 pl-md-3 pl-xl-5 w-100\">
<div class=\"block-item__title d-flex align-items-center mb-2 mb-md-3\">
<svg class=\"icon mr-2 clr-2\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-car\"></use>
</svg>
Выезд
</div>
<div class=\"block-item__description clr-2\">
<p class=\"d-flex\">Час <span class=\"ml-auto\">
{% if profile.takeOutPricing.oneHourPrice %}
{{ profile.takeOutPricing.oneHourPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}
</span></p>
<p class=\"d-flex\">2 часа <span class=\"ml-auto\">
{% if profile.takeOutPricing.twoHoursPrice %}
{{ profile.takeOutPricing.twoHoursPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}
</span></p>
<p class=\"d-flex\">Ночь <span class=\"ml-auto\">
{% if profile.takeOutPricing.nightPrice %}
{{ profile.takeOutPricing.nightPrice }} {{ profile.city.countryCode|country_currency }}
{% else %}-{% endif %}
</span></p>
</div>
</div>
</div>
{% if not profile.deleted %}
<div class=\"modal-info__items-block modal-info__items-block-phone\">
<div class=\"d-flex flex-wrap mb-2 mb-sm-3\">
<div class=\"model-phone d-flex align-items-center model-phone-desc\">
{% if profile.isActive or not profile.hidden %}
{% set onlyPhoneNumber = profile.phoneNumber|replace({' ': '', '-': '', '(': '', ')': ''}) %}
<div class=\"telephone d-flex\">
<button class=\"telephone-number-btn number\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2802_159460)\">
<path d=\"M15.4825 10.8312C15.2851 10.6339 15.0175 10.5231 14.7385 10.5231C14.4594 10.5231 14.1918 10.6339 13.9944 10.8312L12.317 12.5086C11.5393 12.2771 10.0881 11.7509 9.16834 10.8312C8.24858 9.91149 7.7224 8.46036 7.49089 7.6827L9.16834 6.00531C9.36563 5.80798 9.47645 5.54037 9.47645 5.26133C9.47645 4.9823 9.36563 4.71468 9.16834 4.51735L4.95892 0.308102C4.76158 0.110824 4.49395 0 4.21491 0C3.93586 0 3.66824 0.110824 3.47089 0.308102L0.616908 3.16197C0.217013 3.56185 -0.00819095 4.11115 0.000227882 4.67204C0.024432 6.17053 0.42117 11.3753 4.52325 15.4772C8.62533 19.5791 13.8303 19.9747 15.3299 20H15.3593C15.915 20 16.4401 19.7811 16.8379 19.3833L19.6919 16.5295C19.8892 16.3321 20 16.0645 20 15.7855C20 15.5065 19.8892 15.2388 19.6919 15.0415L15.4825 10.8312ZM15.3488 17.8943C14.0355 17.8722 9.54193 17.5197 6.01128 13.9881C2.46905 10.4461 2.12598 5.93691 2.10494 4.64994L4.21491 2.54005L6.9363 5.26133L5.5756 6.62197C5.45191 6.74556 5.36097 6.89803 5.31099 7.06559C5.26101 7.23315 5.25358 7.41052 5.28936 7.58168C5.31462 7.70269 5.93235 10.5723 7.67926 12.3192C9.42617 14.066 12.2959 14.6837 12.417 14.709C12.588 14.7459 12.7656 14.7391 12.9333 14.6892C13.1011 14.6394 13.2536 14.5481 13.3767 14.4238L14.7385 13.0632L17.4598 15.7844L15.3488 17.8943Z\" fill=\"white\"/>
</g>
<defs>
<clipPath id=\"clip0_2802_159460\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<span class=\"button-click-first\">Показать телефон</span>
</button>
<!--noindex--><a href=\"tel:{{ onlyPhoneNumber }}\" rel=\"nofollow\" class=\"telephone-number-btn number d-none\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2802_159460)\">
<path d=\"M15.4825 10.8312C15.2851 10.6339 15.0175 10.5231 14.7385 10.5231C14.4594 10.5231 14.1918 10.6339 13.9944 10.8312L12.317 12.5086C11.5393 12.2771 10.0881 11.7509 9.16834 10.8312C8.24858 9.91149 7.7224 8.46036 7.49089 7.6827L9.16834 6.00531C9.36563 5.80798 9.47645 5.54037 9.47645 5.26133C9.47645 4.9823 9.36563 4.71468 9.16834 4.51735L4.95892 0.308102C4.76158 0.110824 4.49395 0 4.21491 0C3.93586 0 3.66824 0.110824 3.47089 0.308102L0.616908 3.16197C0.217013 3.56185 -0.00819095 4.11115 0.000227882 4.67204C0.024432 6.17053 0.42117 11.3753 4.52325 15.4772C8.62533 19.5791 13.8303 19.9747 15.3299 20H15.3593C15.915 20 16.4401 19.7811 16.8379 19.3833L19.6919 16.5295C19.8892 16.3321 20 16.0645 20 15.7855C20 15.5065 19.8892 15.2388 19.6919 15.0415L15.4825 10.8312ZM15.3488 17.8943C14.0355 17.8722 9.54193 17.5197 6.01128 13.9881C2.46905 10.4461 2.12598 5.93691 2.10494 4.64994L4.21491 2.54005L6.9363 5.26133L5.5756 6.62197C5.45191 6.74556 5.36097 6.89803 5.31099 7.06559C5.26101 7.23315 5.25358 7.41052 5.28936 7.58168C5.31462 7.70269 5.93235 10.5723 7.67926 12.3192C9.42617 14.066 12.2959 14.6837 12.417 14.709C12.588 14.7459 12.7656 14.7391 12.9333 14.6892C13.1011 14.6394 13.2536 14.5481 13.3767 14.4238L14.7385 13.0632L17.4598 15.7844L15.3488 17.8943Z\" fill=\"white\"/>
</g>
<defs>
<clipPath id=\"clip0_2802_159460\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<span class=\"button-click-second\">{{- profile.phoneNumber -}}</span>
</a><!--/noindex-->
<!--noindex-->
{%- if profile.messengers.whatsApp -%}
<a href=\"https://wa.me/{{ onlyPhoneNumber|replace({'+': ''}) }}?text=Привет,%20{{ profile.name }}!%20Нашел%20твою%20анкету%20на%20Стрелочках.\" rel=\"nofollow\" class=\"whatsup\" target=\"_blank\">
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"20\" cy=\"20\" r=\"20\" fill=\"#48C95F\"/>
<path d=\"M27.9268 12.0625C25.9512 10.0937 23.3171 9 20.5366 9C14.7561 9 10.0732 13.6667 10.0732 19.4271C10.0732 21.25 10.5854 23.0729 11.4634 24.6042L10 30L15.561 28.5417C17.0976 29.3438 18.7805 29.7812 20.5366 29.7812C26.3171 29.7812 31 25.1146 31 19.3542C30.9268 16.6563 29.9024 14.0312 27.9268 12.0625ZM25.5854 23.1458C25.3659 23.7292 24.3415 24.3125 23.8293 24.3854C23.3902 24.4583 22.8049 24.4583 22.2195 24.3125C21.8537 24.1667 21.3415 24.0208 20.7561 23.7292C18.122 22.6354 16.439 20.0104 16.2927 19.7917C16.1463 19.6458 15.1951 18.4062 15.1951 17.0937C15.1951 15.7812 15.8537 15.1979 16.0732 14.9062C16.2927 14.6146 16.5854 14.6146 16.8049 14.6146C16.9512 14.6146 17.1707 14.6146 17.3171 14.6146C17.4634 14.6146 17.6829 14.5417 17.9024 15.0521C18.1219 15.5625 18.6341 16.875 18.7073 16.9479C18.7805 17.0938 18.7805 17.2396 18.7073 17.3854C18.6341 17.5312 18.561 17.6771 18.4146 17.8229C18.2683 17.9687 18.1219 18.1875 18.0488 18.2604C17.9024 18.4062 17.7561 18.5521 17.9024 18.7708C18.0488 19.0625 18.561 19.8646 19.3659 20.5937C20.3902 21.4687 21.1951 21.7604 21.4878 21.9063C21.7805 22.0521 21.9268 21.9792 22.0732 21.8333C22.2195 21.6875 22.7317 21.1042 22.878 20.8125C23.0244 20.5208 23.2439 20.5938 23.4634 20.6667C23.6829 20.7396 25 21.3958 25.2195 21.5417C25.5122 21.6875 25.6585 21.7604 25.7317 21.8333C25.8049 22.0521 25.8049 22.5625 25.5854 23.1458Z\" fill=\"white\"/>
</svg>
</a>
{%- endif -%}
{%- if profile.messengers.telegram and profile.messengers.telegramUsername -%}
<a href=\"https://t.me/{{ profile.messengers.telegramUsername }}\" rel=\"nofollow noindex\", target=\"_blank\" class=\"telegram\">
<svg class=\"telegram\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"20\" cy=\"20\" r=\"20\" fill=\"#2F89CE\"/>
<path d=\"M9.3507 20.3741L13.9488 22.0886L15.7413 27.8557C15.8192 28.2454 16.2868 28.3233 16.5985 28.0895L19.1703 25.9853C19.4041 25.7515 19.7938 25.7515 20.1055 25.9853L24.7036 29.3364C25.0154 29.5702 25.483 29.4144 25.5609 29.0247L28.99 12.6587C29.0679 12.269 28.6782 11.8793 28.2886 12.0352L9.3507 19.3609C8.8831 19.5168 8.8831 20.2182 9.3507 20.3741ZM15.5075 21.2313L24.5477 15.6981C24.7036 15.6201 24.8595 15.8539 24.7036 15.9319L17.2999 22.868C17.0661 23.1018 16.8323 23.4135 16.8323 23.8032L16.5985 25.6736C16.5985 25.9074 16.2089 25.9853 16.1309 25.6736L15.1957 22.2445C14.9619 21.8548 15.1178 21.3872 15.5075 21.2313Z\" fill=\"white\"/>
</svg>
</a>
{%- endif -%}
<!--/noindex-->
</div>
{% else %}
<p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
{% endif %}
</div>
<div class=\"model-warning d-flex align-items-center pt-2 pt-md-0\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-warning\"></use>
</svg>
Никогда не отправляйте предоплату!
</div>
</div>
<p class=\"model-thank mb-2 mb-sm-3\">
Не забудьте сказать, что звоните с сайта \"spbdosug\"
<svg class=\"icon ml-2\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-emoja\"></use>
</svg>
</p>
<div class=\"d-flex modal-info-text\">
<p class=\"mr-2\">Отвечаю на:<br/>
<span>
{% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
{% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
{{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
{% endfor %}
{% else %}
Не указано
{% endif %}
</span>
</p>
<p class=\"ml-auto\">Удобное время для звонка:<br/><span>{{ _self._time_to_work(profile) }}</span></p>
</div>
<div class=\"d-flex modal-info-text mt-2\">
<p class=\"mr-2\">Ограничение по возрасту партнера:<br/>
<span>{% if profile.clientRestrictions.minAge or profile.clientRestrictions.maxAge %}
от {{ profile.clientRestrictions.minAge ? profile.clientRestrictions.minAge : '-' }}
до {{ profile.clientRestrictions.maxAge ? profile.clientRestrictions.maxAge : '-' }}
{% else %}
Не указано
{% endif %}
</span>
</p>
</div>
</div>
{% else %}
<div class=\"lock-block d-flex align-items-center\">
<img src=\"{{ asset('assets/images/icons/profile-lock.svg','basicConfig') }}\" loading=\"lazy\">
<div class=\"text-block\">
<p class=\"title\">Девушка не работает</p>
<p class=\"lock\">Анкета доступна только по прямой ссылке и не показывается в результатах поиска.</p>
</div>
</div>
{% endif %}
{% if profile.city.uriIdentity == default_city().uriIdentity %}
{% if profile.stationsSortedByPrimary|length > 0 %}
<div class=\"modal-info__items-block modal-info__items-block-metro pb-0 pb-sm-3 d-flex d-sm-block\">
<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap mb-2 mb-xl-3\">
Метро:
{% for station in profile.stationsSortedByPrimary|slice(0,3) %}
<div class=\"metro-item\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-metro\"></use>
</svg>
<a href=\"{{ path('profile_list.list_by_station', {'city': city.uriIdentity, 'station': station.uriIdentity}) }}\">{{ station.name|trans }}</a>
</div>
{% endfor %}
</div>
{% if profile.stationsSortedByPrimary|length > 0 %}<div class=\"metro-items d-sm-flex w-100 align-items-center flex-wrap\">
Район:
{% for station in profile.stationsSortedByPrimary %}
{% if loop.first %}
{% set stationDistrict = station.district %}
{% if stationDistrict %}
{% set districtCounty = stationDistrict.county %}
{% if districtCounty %}
<div class=\"metro-item\">
<a href=\"{{ path('profile_list.list_by_county', {'city': profile.city.uriIdentity, 'county': districtCounty.uriIdentity}) }}\">{{ districtCounty.name|trans }}</a>,
</div>
{% endif %}
<div class=\"metro-item\">
<a href=\"{{ path('profile_list.list_by_district', {'city': profile.city.uriIdentity, 'district': stationDistrict.uriIdentity}) }}\">{{ stationDistrict.name|trans }}</a>
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>{% endif %}
</div>
{% endif %}
{% endif %}
</div>
</div>
<div class=\"modal-col modal-info__items mb-3 mb-md-0\">
<div class=\"modal-info__items-row d-flex flex-wrap\">
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Возраст</span>
{{ _self._data_wrapper('Возраст', profile.personParameters.age) }}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Рост</span>
{{ _self._data_wrapper('Рост', profile.personParameters.height) }}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Вес</span>
{{ _self._data_wrapper('Вес', profile.personParameters.weight) }}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Одежда</span>
{{ _self._data_wrapper('Размер одежды', profile.personParameters.clothSize, 'Одежда') }}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Обувь</span>
{{ _self._data_wrapper('Размер обуви', profile.personParameters.shoesSize, 'Обувь') }}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Грудь</span>
{{ _self._data_wrapper('Размер груди', profile.personParameters.breastSize, 'Грудь') }}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Тату</span>
{% if profile.personParameters.tattoo %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check\"></use>
</svg>
{% else %}
-
{% endif %}
</div>
</div>
<div class=\"box-col text-center\">
<div class=\"box-item\">
<span class=\"d-block\">Пирсинг</span>
{% if profile.personParameters.piercing %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check\"></use>
</svg>
{% else %}
-
{% endif %}
</div>
</div>
</div>
<div class=\"modal-info__items-block d-sm-flex\">
<div class=\"description-items\">
<p class=\"description-item d-flex align-items-center\"><span>Телосложение:</span>
{% if profile.personParameters.bodyType|body_type %}
{# <a target=\"_blank\" href=\"{{ path('profile_list.list_by_body_type', {'city': city.uriIdentity, 'bodyType': profile.personParameters.bodyType|body_type|slugify}) }}\">{{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}</a> #}
{{ profile.personParameters.bodyType|body_type|trans({}, 'body_types') }}
{% else %}
-
{% endif %}
</p>
<p class=\"description-item d-flex align-items-center\"><span>Цвет волос:</span>
{% if profile.personParameters.hairColor|hair_color %}
<a target=\"_blank\" href=\"{{ path('profile_list.list_by_hair_color', {'city': city.uriIdentity,'hairColor': profile.personParameters.hairColor|hair_color|slugify}) }}\">{{ profile.personParameters.hairColor|hair_color|trans({}, 'hair_colors') }}</a>
{% else %}
-
{% endif %}
</p>
<p class=\"description-item d-flex align-items-center\"><span>Национальность:</span>
{% if profile.personParameters.nationality|nationality %}
{# <a target=\"_blank\" href=\"{{ path('profile_list.list_by_nationality', {'city': city.uriIdentity, 'nationality': profile.personParameters.nationality|nationality|slugify}) }}\">{{ profile.personParameters.nationality|nationality|trans({}, 'nationalities') }}</a> #}
{{ profile.personParameters.nationality|nationality|trans({}, 'nationalities') }}
{% else %}
-
{% endif %}
</p>
<p class=\"description-item d-flex align-items-center\"><span>Интимная стрижка:</span>
{% if profile.personParameters.privateHaircut|private_haircut %}
{# <a target=\"_blank\" href=\"{{ path('profile_list.list_by_private_haircut', {'city': profile.city.uriIdentity, 'privateHaircut': profile.personParameters.privateHaircut|private_haircut|slugify}) }}\">{{ profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') }}</a> #}
{{ profile.personParameters.privateHaircut|private_haircut|trans({}, 'private_haircuts') }}
{% else %}
-
{% endif %}
</p>
</div>
<div class=\"description-items\">
{%- set threshold = (\"now\"|date_modify(\"-14 days\")).getTimestamp() -%}
{%- set updatedAtTs = profile.updatedAt ? profile.updatedAt.getTimestamp() : '' -%}
{%- if profile.createdAt -%}
<p class=\"description-item d-flex align-items-center\"><span>Дата регистрации:</span> <span
class=\"date\" data-template=\"dd авг. YYYY г. hh:ii\">{{ _self._data_wrapper('Дата регистрации', profile.createdAt|date(\"d\") ~ ' ' ~ profile.createdAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.createdAt|date(\"Y\") ~ ' ' ~ profile.createdAt|date(\"H:i\") ) }}</span></p>
{%- endif -%}
{%- if updatedAtTs and updatedAtTs >= threshold -%}
<p class=\"description-item d-flex align-items-center\"><span>Дата обновления:</span> <span
class=\"date\">{{ _self._data_wrapper('Дата обновления', profile.updatedAt|date(\"d\") ~ ' ' ~ profile.updatedAt|date(\"m\")|trans({}, 'date') ~ ' ' ~ profile.updatedAt|date(\"Y\") ~ ' ' ~ profile.updatedAt|date(\"H:i\") ) }}</span></p>
{%- endif -%}
{%- if ( profile.approved ) -%}
<p class=\"description-item\">
<strong class=\"d-flex align-items-center\">
Фото проверено
<svg class=\"icon ml-2\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-verification\"></use>
</svg>
</strong>
</p>
{% endif %}
</div>
</div>
<div class=\"modal-info__items-block p-0\">
<div class=\"model-description\">
<h2 class=\"border-line\">О себе</h2>
<p class=\"m-0\">{{ profile.description }}</p>
</div>
</div>
</div>
{% if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos,profile.deleted) == 'true' %}
<div class=\"model-aside__images d-block d-md-none\">
<ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab2\" role=\"tablist\">
{% set currentPage = '' %}
{% if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}
<li class=\"nav-item flex-fill\">
<a class=\"active\" id=\"model-photo-tab2\" data-toggle=\"pill\" href=\"#model-photo2\" role=\"tab\" aria-controls=\"model-photo2\" aria-selected=\"false\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-photo-thumb\"></use>
</svg>
</div>
Фото
</a>
</li>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}
<li class=\"nav-item flex-fill\">
<a class=\"{% if currentPage == 'selfie' %}active{% endif %}\" id=\"model-selfie-tab2\" data-toggle=\"pill\" href=\"#model-selfie2\" role=\"tab\" aria-controls=\"model-selfie2\" aria-selected=\"false\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
</svg>
</div>
Селфи
</a>
</li>
{% endif %}
{% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}
<li class=\"nav-item flex-fill\">
<a class=\"{% if currentPage == 'video' %}active{% endif %}\" id=\"model-video-tab2\" data-toggle=\"pill\" href=\"#model-video2\" role=\"tab\" aria-controls=\"model-video2\" aria-selected=\"true\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
</svg>
</div>
Видео
</a>
</li>
{% endif %}
</ul>
<div class=\"tab-content pt-2 pb-2\" id=\"model-tabContent2\">
{% if profile.photos is defined and profile.photos|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'photo' %} show active{% endif %}\" id=\"model-photo2\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab2\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"photo-list\">
{% for photo in profile.photos %}
<div class=\"model-aside-col\">
<a href=\"{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}\"
data-gallery=\"girl-gallery\"
class=\"model-aside-photo photoswipe model-photo2\"
data-index=\"{{loop.index}}\">
<img class=\"img-fluid\"
srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 980px) 177px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(max-width: 1125px) 228px,
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t260px\"
loading=\"lazy\"
src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
alt=\"{{ profile.name|trans }}, фото {{ loop.index }}\">
</a>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'selfie' %} show active{% endif %}\" id=\"model-selfie2\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab2\">
<div class=\"model-aside-row d-flex flex-wrap\">
{% for photo in profile.selfies %}
{%- if photo.path -%}
{% set uniqId = loop.index + profile.photos|length %}
<div class=\"model-aside-col\">
<a href=\"{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}\"
data-gallery=\"girl-selfie\"
class=\"photoswipe model-aside-photo model-selfie2\"
data-index=\"{{uniqId}}\">
<img class=\"img-fluid\"
srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
loading=\"lazy\"
src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
alt=\"{{ profile.name|trans }}, фото {{ uniqId }}\">
</a>
</div>
{%- endif -%}
{% endfor %}
</div>
</div>
{% endif %}
{% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'video' %} show active{% endif %}\" id=\"model-video2\" role=\"tabpanel\" aria-labelledby=\"model-video-tab2\">
<div class=\"model-aside-row d-flex flex-wrap\">
{% for video in profile.confirmedVideos %}
<div class=\"model-aside-col video\">
<video class=\"video-js vjs-big-play-centered vjs-default-skin model-video2\" controls preload=\"metadata\" width=\"341\" height=\"227\" data-setup=\"{}\">
<source src=\"{{ asset(video.path, 'profile_media') }}\" type='video/mp4'/>
</video>
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
<div class=\"modal-services mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4\">
<div class=\"modal-services__header d-flex flex-wrap align-items-start\">
<h2 class=\"border-line\">Интим услуги</h2>
<div class=\"modal-services__header-info d-flex flex-wrap align-items-center pb-2\">
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
- включено в стоимость
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
- по симпатии
</div>
<div class=\"header-item mr-3\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
- за дополнительную плату
</div>
<div class=\"header-item provided\">
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
</svg>
- услуга не предоставляется
</div>
</div>
</div>
<div class=\"modal-services__main d-xl-flex\">
<div class=\"modal-services__items left w-100\">
{% set initional_group_2 = 0 %}
{% set group_2_minet = [] %}
{% set group_2_okon = [] %}
{% set group_2_okon_trigger = ['Окончание на грудь','Окончание на лицо','Окончание в рот'] %} {# Слова триггеры в 2 категории для блока Окончание. Все остальные уйдут в минет #}
{% for group, servicesGroup in services | filter((servicesGroup, group) => not profile.masseur or group not in masseurExcludeServiceGroups) %}
{% if group == 2 %}
{# Тут нам нужно запомнить данные и разбить их на 2 категории - Минет и Окончание#}
{% for service in servicesGroup %}
{% if service.name == group_2_okon_trigger[0] or service.name == group_2_okon_trigger[1] or service.name == group_2_okon_trigger[2] %}
{% set group_2_okon = group_2_okon|merge([service]) %}
{% else %}
{% set group_2_minet = group_2_minet|merge([service]) %}
{% endif %}
{% endfor %}
{% elseif group == 3 and initional_group_2 == 0 %}
{# Т.к. выводить сразу не можем в виду перемешенного вывода, будем выводить 2ю категории перед третьей #}
{% set initional_group_2 = 1 %}
<div class=\"modal-services__item\">
<p class=\"item-title\">Минет</p>
{% for service in group_2_minet %}
{% set providedService = profile.providedService(service) %}
<p class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
{% endif %}
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>(+{{ providedService.extraCharge }} Р)</span>{% endif %}
</p>
{% endfor %}
</div>
<div class=\"modal-services__item\">
<p class=\"item-title\">Окончание</p>
{% for service in group_2_okon %}
{% set providedService = profile.providedService(service) %}
<p class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
{% endif %}
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>(+{{ providedService.extraCharge }} Р)</span>{% endif %}
</p>
{% endfor %}
</div>
<div class=\"modal-services__item\">
<p class=\"item-title\" data-group=\"{{ group }}\">{{ group|service_group|trans({}, 'service_groups') }}</p>
{% for service in servicesGroup %}
{% set providedService = profile.providedService(service) %}
<p class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
{% endif %}
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\" data-s=\"{{ service.name }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>(+{{ providedService.extraCharge }} Р)</span>{% endif %}
</p>
{% endfor %}
</div>
{% else %}
{% if group == 1 or group == 5 or group == 7 %}
{# <div class=\"modal-services__column\"> #}
{% endif %}
<div class=\"modal-services__item\">
<p class=\"item-title\">{{ group|service_group|trans({}, 'service_groups') }}</p>
{% for service in servicesGroup %}
{% set providedService = profile.providedService(service) %}
<p class=\"item{% if not providedService %} provided{% endif %}\">
{% if providedService %}
{% if providedService.condition == 1 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% elseif providedService.condition == 2 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-liking\"></use>
</svg>
{% elseif providedService.condition == 3 %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-charge\"></use>
</svg>
{% endif %}
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
</svg>
{% endif %}
<a href=\"{{ path('profile_list.list_by_provided_service', {'city': profile.city.uriIdentity, 'service': service.uriIdentity}) }}\">
{{ service.name|trans }}
</a>
{% if providedService and providedService.condition == 3 and providedService.extraCharge %}<span>(+{{ providedService.extraCharge }} Р)</span>{% endif %}
</p>
{% endfor %}
</div>
{% if group == 4 or group == 6 or group == 7 %}
{# </div> #}
{% endif %}
{% endif %}
{% endfor %}
</div>
<div class=\"modal-services__items ml-auto\">
<div class=\"modal-services__box d-flex d-xl-block\">
<div class=\"modal-services__item w-100\">
<h3 class=\"border-line\">Услуги для</h3>
{% set client_types_text = ['1','2','3','4','5'] %}
{% set includeService = false %}
{% for clientTypeText in client_types_text %}
{% for clientType in profile.clientTypes %}
{% if (clientTypeText == clientType) %}
{% set includeService = true %}
{% endif %}
{% endfor %}
{% if clientTypeText|client_type != 'TRANS' %}
<p class=\"item\">
{% if includeService == true %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
</svg>
{% endif %}
{{ clientTypeText|client_type|trans({}, 'client_types_f') }}
</p>
{% endif %}
{% set includeService = false %}
{% endfor %}
</div>
<div class=\"modal-services__item mb-0 w-100\">
<h3 class=\"border-line\">Выезд</h3>
{% set locations_text = ['1','2','3','4','5','6'] %}
{% set includeService = false %}
{% for locationsText in locations_text %}
{% for locations in profile.takeOutPricing.locations %}
{% if (locationsText == locations) %}
{% set includeService = true %}
{% endif %}
{% endfor %}
<p class=\"item\">
{% if includeService == true %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-included\"></use>
</svg>
{% else %}
<svg class=\"icon mr-1\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-model-provided\"></use>
</svg>
{% endif %}
{{ locationsText|take_out_location|trans({}, 'take_out_location') }}
</p>
{% set includeService = false %}
{% endfor %}
</div>
</div>
</div>
</div>
{#<div class=\"modal-services__friends\">
<h2 class=\"border-line\">Есть подруги</h2>
<div class=\"friends-items d-flex\">
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Марина, 21</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Олеся и Алёна, 22</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Вика, 20</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Диана, 20</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>ПЫШКА ЛИЛЯ ЛИЛЯ ЛИЛЯ</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Марина, 21</strong>
</p>
</a>
<a href=\"#\" class=\"friends-item\">
<div class=\"friends-item__images mb-2\">
<img class=\"img-fluid\" src=\"{{ asset('assets/images/temp_model_friends.jpg') }}\">
</div>
<p class=\"d-flex align-items-start m-0 friends-item__title\">
<svg class=\"icon mr-2\">
<use xlink:href=\"{{ asset('assets/images/icons/svg-library.svg#icon-verification') }}\"></use>
</svg>
<strong>Марина, 21</strong>
</p>
</a>
</div>
</div>#}
</div>
<div class=\"modal-map mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4\">
<h2 class=\"border-line\">
Расположение
</h2>
<div class=\"map-block\" id=\"map\" style=\"width: 100%; height: 400px;\"
data-lat=\"{{ profile.mapCoordinate.latitude | default(profile.city.mapCoordinate.latitude) }}\"
data-lon=\"{{ profile.mapCoordinate.longitude | default(profile.city.mapCoordinate.longitude) }}\"
data-map-label=\"{{ asset('assets/images/icons/map-balloon.svg','basicConfig') }}\">
</div>
</div>
{% if feature('profile_comments') and not profile.deleted %}
{% set commentsCount = profile.comments|length %}
<div class=\"modal-comments mb-3 mb-lg-4 p-2 p-sm-3 p-lg-4\"
id=\"review-form\"
data-user=\"{{ is_user_customer(app.user) ? 'true' : 'false' }}\"
data-url=\"{{ path('profile.comment.create', {profile: profile.id}) }}\"
data-reg-url=\"{{ path('app_security_register') }}\"
{% if comment_form is defined %}data-entity-id=\"{{ comment_form.entity_id.vars.id }}\"
data-mark=\"{{ comment_form.mark.vars.full_name }}\"
data-text=\"{{ comment_form.text.vars.id }}\"{% endif %}
>
<div class=\"d-flex align-items-start\">
<h2 class=\"border-line mobile-short\">
Отзывы
</h2>
<div class=\"modal-comments__rating d-flex align-items-center ml-auto\">
<div class=\"rating-text d-flex align-items-center\" itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/Organization\">
<meta itemprop=\"address\" content=\"{{ profile.city.name }}\" />
{% if not profile.deleted %}<meta itemprop=\"telephone\" content=\"{{ profile.phoneNumber }}\" />{% endif %}
<meta itemprop=\"name\" content=\"Рейтинг анкеты {{ profile.name }}\">
<span class=\"rating-text-value{{ commentsCount == 0 ? ' zero' : '' }}\">
{{ rating }}
</span>
<span class=\"rating-text-count\">
по {{ commentsCount }} {% if commentsCount == 1 %}отзыву{% else %}отзывам{% endif %}
</span>
</div>
{% include 'components/_rating-star.twig' with {\"rate\": rating, \"set\": \"0\"} %}
</div>
</div>
<div class=\"comments-main row\">
<div class=\"col-12 col-xl-7 pl-1 pr-1 pl-sm-3 pr-sm-3 d-flex justify-content-center\">
{% if commentsCount == 0 %}
<div class=\"not-comments text-center\" id=\"review-block-list\">
<div id=\"text-to-remove\">
<svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M14 78.7096H23V97L45.9545 78.7096H68C72.9635 78.7096 77 74.6894 77 69.7459V33.8911C77 28.9476 72.9635 24.9274 68 24.9274H14C9.0365 24.9274 5 28.9476 5 33.8911V69.7459C5 74.6894 9.0365 78.7096 14 78.7096Z\" fill=\"#E5E5E5\"/>
<path d=\"M86 7H32C27.0365 7 23 11.0202 23 15.9637H77C81.9635 15.9637 86 19.9839 86 24.9274V60.7822C90.9635 60.7822 95 56.762 95 51.8185V15.9637C95 11.0202 90.9635 7 86 7Z\" fill=\"#E5E5E5\"/>
</svg>
<p>К этой анкете ещё нет ни одного отзыва. Вы можете быть первым.</p>
</div>
<ul class=\"comment__elements\" style=\"display: none\">{% include 'ProfilePreview/comment-empty.html.twig' %}</ul>
</div>
{% else %}
<div class=\"comments overflow-hidden w-100\" id=\"review-block-list\">
<ul class=\"comment__elements\">
{% for comment in profile.comments %}
{% include 'ProfilePreview/comment.html.twig' %}
{% endfor %}
</ul>
</div>
{% endif %}
</div>
{% if not is_user_advertiser(app.user) %}
<div class=\"review-form col-12 col-xl-5\" id=\"review-form-comment\">
{# {% include 'ProfilePreview/form-comment.html.twig' %} #}
</div>
<div
class=\"dialog-container\"
id=\"form-dialog\"
aria-hidden=\"true\"
aria-labelledby=\"form-dialog-title\"
aria-describedby=\"form-dialog-description\"
>
<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
<div class=\"dialog-content\" role=\"document\">
<div class=\"dialog-header\">
<button
data-a11y-dialog-hide
class=\"dialog-close\"
aria-label=\"Close this dialog window\"
>
<svg class=\"dialog-close__icon\" fill=\"none\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\"/></svg>
</button>
</div>
<div class=\"dialog-body\">
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
<div class=\"model-aside order-lg-1 mb-3 pr-3 pr-xl-4\">
<div class=\"model-aside__preview mb-1 d-none d-lg-block\">
{% if profile.deleted %}
<a href=\"{{ asset(\"assets/images/deleted-profiles.svg\",'basicConfig') }}\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\",'basicConfig') }}\"
alt=\"Анкета {{ profile.name|trans }} удалена\"
class=\"img-fluid\">
</a>
{% else %}
{% set photo = profile|avatar %}
{% if photo %}
<a href=\"{{ responsive_asset(photo.path, 'profile_media', \"fullsize\", \"jpg\") }}\" class=\"girl-avatar__small\" data-gallery=\"girl-avatar\" data-index=\"0\">
<img itemprop=\"contentUrl\" src=\"{{ responsive_asset(photo.path, 'profile_media', \"357x500\", \"jpg\") }}\"
alt=\"{{ profile.name|trans }}, {{ 'год'|plural(profile.personParameters.age) }}\"
loading=\"lazy\"
class=\"img-fluid\">
</a>
{% else %}
<a href=\"{{ asset(\"assets/images/deleted-profiles.svg\",'basicConfig') }}\" class=\"girl-avatar__small\">
<img itemprop=\"contentUrl\" src=\"{{ asset(\"assets/images/deleted-profiles.svg\",'basicConfig') }}\"
loading=\"lazy\"
alt=\"Фотография {{ profile.name|trans }} отсутствует\"
class=\"img-fluid\">
</a>
{% endif %}
{% endif %}
{% if is_user_customer(app.user) and not profile.deleted %}{#not app.user or#}
<button type=\"button\"
data-url-add=\"{{ path('account.favourites.remove', {profile: profile.id}) }}\"
data-url-remove=\"{{ path('account.favourites.add', {profile: profile.id}) }}\"
{% if is_profile_in_favourites(profile) %}
title=\"Убрать из избранного\"
class=\"btn favorite like\" id=\"favorite2\">
{% else %}
title=\"Добавить в избранное\"
class=\"btn favorite unlike\" id=\"favorite2\">
{% endif %}
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\" fill=\"#F7901D\"/>
<path d=\"M20 33L18.26 31.3455C12.08 25.4921 8 21.6316 8 16.8937C8 13.0332 10.904 10 14.6 10C16.688 10 18.692 11.0153 20 12.6196C21.308 11.0153 23.312 10 25.4 10C29.096 10 32 13.0332 32 16.8937C32 21.6316 27.92 25.4921 21.74 31.358L20 33Z\" fill=\"white\"/>
<path class=\"ar\" d=\"M18.667 25.126L14 20.412L15.424 19.008L18.681 22.294L26.008 15L27.416 16.42L18.667 25.126Z\" fill=\"#F7901D\"/>
</svg>
</button>
{% endif %}
</div>
{% if _self._show_tabs(profile.photos,profile.selfies,profile.confirmedVideos,profile.deleted) == 'true' %}
<div class=\"model-aside__images d-none d-md-block\">
<ul class=\"nav nav-pills list-unstyled m-0 p-0 d-flex\" id=\"model-tab\" role=\"tablist\">
{% set currentPage = '' %}
{% if profile.photos is defined and profile.photos|length > 0 %}{% set currentPage = 'photo' %}
<li class=\"nav-item flex-fill\">
<a class=\"active\" id=\"model-photo-tab\" data-toggle=\"pill\" href=\"#model-photo\" role=\"tab\" aria-controls=\"model-photo\" aria-selected=\"false\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-photo-thumb\"></use>
</svg>
</div>
Фото
</a>
</li>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}{% set currentPage = currentPage == '' ? 'selfie' : currentPage %}
<li class=\"nav-item flex-fill\">
<a class=\"{% if currentPage == 'selfie' %}active{% endif %}\" id=\"model-selfie-tab\" data-toggle=\"pill\" href=\"#model-selfie\" role=\"tab\" aria-controls=\"model-selfie\" aria-selected=\"false\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-selfie-thumb\"></use>
</svg>
</div>
Селфи
</a>
</li>
{% endif %}
{% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}{% set currentPage = currentPage == '' ? 'video' : currentPage %}
<li class=\"nav-item flex-fill\">
<a class=\"{% if currentPage == 'video' %}active{% endif %}\" id=\"model-video-tab\" data-toggle=\"pill\" href=\"#model-video\" role=\"tab\" aria-controls=\"model-video\" aria-selected=\"true\">
<div class=\"text-center mb-1\">
<svg class=\"icon d-inline-block\">
<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-video-thumb\"></use>
</svg>
</div>
Видео
</a>
</li>
{% endif %}
</ul>
<div class=\"tab-content pt-2 pb-2\" id=\"model-tabContent\">
{% if profile.photos is defined and profile.photos|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'photo' %} show active{% endif %}\" id=\"model-photo\" role=\"tabpanel\" aria-labelledby=\"model-photo-tab\">
<div class=\"model-aside-row d-flex flex-wrap\">
{% for photo in profile.photos %}
<div class=\"model-aside-col\">
<a href=\"{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}\"
data-gallery=\"girl-gallery\"
class=\"model-aside-photo photoswipe model-photo\"
data-index=\"{{loop.index}}\">
<img class=\"img-fluid\"
srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
loading=\"lazy\"
src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
alt=\"{{ profile.name|trans }}, фото {{ loop.index }}\">
</a>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% if profile.selfies is defined and profile.selfies|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'selfie' %} show active{% endif %}\" id=\"model-selfie\" role=\"tabpanel\" aria-labelledby=\"model-selfie-tab\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-selfies\">
{% for photo in profile.selfies %}
{%- if photo.path -%}
{% set uniqId = loop.index + profile.photos|length %}
<div class=\"model-aside-col\">
<a href=\"{{ responsive_asset(photo.path, \"profile_media\", \"fullsize\", \"jpg\") }}\"
data-gallery=\"girl-selfie\" c
lass=\"photoswipe model-aside-photo model-selfie\"
data-index=\"{{uniqId}}\">
<img class=\"img-fluid\"
srcset=\"{{ responsive_asset(photo.path, \"profile_media\", \"196x250\", \"jpg\") }} 196w,
{{ responsive_asset(photo.path, \"profile_media\", \"177x250\", \"jpg\") }} 177w,
{{ responsive_asset(photo.path, \"profile_media\", \"228x250\", \"jpg\") }} 228w,
{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }} 260w\"
sizes=\"(max-width: 660px) 196px,
(max-width: 980px) 177px,
(max-width: 1125px) 228px,
260px\"
src=\"{{ responsive_asset(photo.path, \"profile_media\", \"250x250\", \"jpg\") }}\"
loading=\"lazy\"
alt=\"{{ profile.name|trans }}, фото {{ loop.index + profile.photos|length }}\">
</a>
</div>
{%- endif -%}
{% endfor %}
</div>
</div>
{% endif %}
{% if profile.confirmedVideos is defined and profile.confirmedVideos|length > 0 %}
<div class=\"tab-pane fade{% if currentPage == 'video' %} show active{% endif %}\" id=\"model-video\" role=\"tabpanel\" aria-labelledby=\"model-video-tab\">
<div class=\"model-aside-row d-flex flex-wrap\" id=\"model-video\">
{% for video in profile.confirmedVideos %}
<div class=\"model-aside-col video\">
<video class=\"video-js vjs-big-play-centered vjs-default-skin model-video\" controls preload=\"metadata\" width=\"341\" height=\"227\" data-setup=\"{}\">
<source src=\"{{ asset(video.path, 'profile_media') }}\" type='video/mp4'/>
</video>
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
</div>
{% set excludeRecommendationProfileIds = [profile.id] %}
{{ include('components/_profile_recommendations.html.twig') }}
{{ include('ProfilePreview/nearest_profiles.html.twig') }}
<div class=\"model-phone d-flex align-items-center model-phone-mobile\" id=\"mobile-contacts\">
{% if profile.isActive or not profile.hidden %}
<div class=\"model-phone-info\">
<p class=\"model-phone-info-red\">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M12.884 2.53152C12.538 1.87752 11.462 1.87752 11.116 2.53152L2.11596 19.5315C2.03494 19.6839 1.99478 19.8546 1.99938 20.0272C2.00398 20.1997 2.05319 20.368 2.14221 20.5159C2.23124 20.6637 2.35704 20.786 2.50736 20.8707C2.65768 20.9555 2.82739 20.9998 2.99996 20.9995H21C21.1724 20.9999 21.342 20.9555 21.4922 20.8708C21.6424 20.7861 21.7681 20.6639 21.8571 20.5162C21.946 20.3684 21.9951 20.2002 21.9997 20.0278C22.0042 19.8554 21.964 19.6847 21.883 19.5325L12.884 2.53152ZM13 17.9995H11V15.9995H13V17.9995ZM11 13.9995V8.99952H13L13.001 13.9995H11Z\" fill=\"#F5370D\"/>
</svg>
<span>Никогда не отправляйте предоплату!</span>
</p>
<p class=\"model-phone-info-green\">
<span>Не забудьте сказать, что звоните с сайта \"spbdosug\"</span>
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M20 10C20 15.5228 15.5228 20 10 20C4.47778 20 0 15.5228 0 10C0 4.47778 4.47778 0 10 0C15.5228 0 20 4.47778 20 10Z\" fill=\"#FFCC4D\"/>
<path d=\"M6.38889 11.1115C7.15595 11.1115 7.77778 10.241 7.77778 9.1671C7.77778 8.09321 7.15595 7.22266 6.38889 7.22266C5.62183 7.22266 5 8.09321 5 9.1671C5 10.241 5.62183 11.1115 6.38889 11.1115Z\" fill=\"#664500\"/>
<path d=\"M15.8095 9.88734C15.7761 9.81234 14.9767 8.05567 13.3334 8.05567C11.6906 8.05567 10.8906 9.81234 10.8572 9.88734C10.8061 10.0023 10.8395 10.1368 10.9378 10.2157C11.035 10.2946 11.1745 10.2973 11.2767 10.2234C11.2834 10.2184 11.9778 9.72234 13.3334 9.72234C14.6811 9.72234 15.3745 10.2118 15.39 10.2229C15.4389 10.2596 15.4978 10.2779 15.5556 10.2779C15.6167 10.2779 15.6784 10.2573 15.7289 10.2173C15.8272 10.1384 15.8611 10.0029 15.8095 9.88734ZM3.3328 6.92122C3.21725 6.92122 3.10003 6.88511 3.00003 6.81011C2.75447 6.62622 2.70503 6.27789 2.88892 6.03234C4.70114 3.61567 7.12003 3.58789 7.22225 3.58789C7.52892 3.58789 7.7778 3.83678 7.7778 4.14345C7.7778 4.44956 7.53058 4.69789 7.22447 4.699C7.1378 4.70011 5.24169 4.74678 3.77725 6.699C3.66892 6.84456 3.50169 6.92122 3.3328 6.92122ZM16.1117 8.10178C15.9422 8.10178 15.7761 8.02511 15.6667 7.87956C14.2267 5.959 11.7995 6.42011 11.7756 6.424C11.4717 6.484 11.1822 6.289 11.1217 5.98845C11.0617 5.68734 11.2567 5.39511 11.5572 5.33456C11.6856 5.30845 14.7 4.739 16.555 7.21234C16.7395 7.45789 16.6895 7.80622 16.4439 7.99011C16.3445 8.06622 16.2278 8.10178 16.1117 8.10178ZM12.9189 13.0984C12.8145 13.0373 12.6789 13.0501 12.5872 13.1318C12.5817 13.1362 12.0245 13.6112 10 13.6112C7.97725 13.6112 7.41892 13.1368 7.41892 13.1368C7.33058 13.0479 7.19447 13.0312 7.08558 13.0912C6.97725 13.1529 6.9228 13.2796 6.95336 13.4007C6.95892 13.4251 7.58892 15.8334 10 15.8334C12.4111 15.8334 13.0411 13.4251 13.0472 13.4007C13.0767 13.2823 13.0228 13.1612 12.9189 13.0984Z\" fill=\"#664500\"/>
</svg>
</p>
<div class=\"model-phone-info-work d-flex\">
<p class=\"\">Отвечаю на:<br/>
<span>
{% if profile.phoneCallRestrictions.answeringTo|length > 0 %}
{% for answeringTo in profile.phoneCallRestrictions.answeringTo %}
{{ answeringTo|answering_to|trans({}, 'phone_call_restrictions') }}{% if not loop.last %},{% endif %}
{% endfor %}
{% else %}
Не указано
{% endif %}
</span>
</p>
<p class=\"\">Удобное время для звонка:<br/><span>{{ _self._time_to_work(profile) }}</span></p>
</div>
</div>
{% set onlyPhoneNumber = profile.phoneNumber|replace({' ': '', '-': '', '(': '', ')': ''}) %}
<div class=\"telephone d-flex\">
<button class=\"telephone-number-btn number\" type=\"button\" onclick=\"this.classList.add('d-none');this.nextElementSibling.classList.remove('d-none')\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2802_159460)\">
<path d=\"M15.4825 10.8312C15.2851 10.6339 15.0175 10.5231 14.7385 10.5231C14.4594 10.5231 14.1918 10.6339 13.9944 10.8312L12.317 12.5086C11.5393 12.2771 10.0881 11.7509 9.16834 10.8312C8.24858 9.91149 7.7224 8.46036 7.49089 7.6827L9.16834 6.00531C9.36563 5.80798 9.47645 5.54037 9.47645 5.26133C9.47645 4.9823 9.36563 4.71468 9.16834 4.51735L4.95892 0.308102C4.76158 0.110824 4.49395 0 4.21491 0C3.93586 0 3.66824 0.110824 3.47089 0.308102L0.616908 3.16197C0.217013 3.56185 -0.00819095 4.11115 0.000227882 4.67204C0.024432 6.17053 0.42117 11.3753 4.52325 15.4772C8.62533 19.5791 13.8303 19.9747 15.3299 20H15.3593C15.915 20 16.4401 19.7811 16.8379 19.3833L19.6919 16.5295C19.8892 16.3321 20 16.0645 20 15.7855C20 15.5065 19.8892 15.2388 19.6919 15.0415L15.4825 10.8312ZM15.3488 17.8943C14.0355 17.8722 9.54193 17.5197 6.01128 13.9881C2.46905 10.4461 2.12598 5.93691 2.10494 4.64994L4.21491 2.54005L6.9363 5.26133L5.5756 6.62197C5.45191 6.74556 5.36097 6.89803 5.31099 7.06559C5.26101 7.23315 5.25358 7.41052 5.28936 7.58168C5.31462 7.70269 5.93235 10.5723 7.67926 12.3192C9.42617 14.066 12.2959 14.6837 12.417 14.709C12.588 14.7459 12.7656 14.7391 12.9333 14.6892C13.1011 14.6394 13.2536 14.5481 13.3767 14.4238L14.7385 13.0632L17.4598 15.7844L15.3488 17.8943Z\" fill=\"white\"/>
</g>
<defs>
<clipPath id=\"clip0_2802_159460\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<span class=\"button-click-first\">Показать телефон</span>
</button>
<!--noindex--><a href=\"tel:{{ onlyPhoneNumber }}\" rel=\"nofollow\" class=\"telephone-number-btn number d-none\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2802_159460)\">
<path d=\"M15.4825 10.8312C15.2851 10.6339 15.0175 10.5231 14.7385 10.5231C14.4594 10.5231 14.1918 10.6339 13.9944 10.8312L12.317 12.5086C11.5393 12.2771 10.0881 11.7509 9.16834 10.8312C8.24858 9.91149 7.7224 8.46036 7.49089 7.6827L9.16834 6.00531C9.36563 5.80798 9.47645 5.54037 9.47645 5.26133C9.47645 4.9823 9.36563 4.71468 9.16834 4.51735L4.95892 0.308102C4.76158 0.110824 4.49395 0 4.21491 0C3.93586 0 3.66824 0.110824 3.47089 0.308102L0.616908 3.16197C0.217013 3.56185 -0.00819095 4.11115 0.000227882 4.67204C0.024432 6.17053 0.42117 11.3753 4.52325 15.4772C8.62533 19.5791 13.8303 19.9747 15.3299 20H15.3593C15.915 20 16.4401 19.7811 16.8379 19.3833L19.6919 16.5295C19.8892 16.3321 20 16.0645 20 15.7855C20 15.5065 19.8892 15.2388 19.6919 15.0415L15.4825 10.8312ZM15.3488 17.8943C14.0355 17.8722 9.54193 17.5197 6.01128 13.9881C2.46905 10.4461 2.12598 5.93691 2.10494 4.64994L4.21491 2.54005L6.9363 5.26133L5.5756 6.62197C5.45191 6.74556 5.36097 6.89803 5.31099 7.06559C5.26101 7.23315 5.25358 7.41052 5.28936 7.58168C5.31462 7.70269 5.93235 10.5723 7.67926 12.3192C9.42617 14.066 12.2959 14.6837 12.417 14.709C12.588 14.7459 12.7656 14.7391 12.9333 14.6892C13.1011 14.6394 13.2536 14.5481 13.3767 14.4238L14.7385 13.0632L17.4598 15.7844L15.3488 17.8943Z\" fill=\"white\"/>
</g>
<defs>
<clipPath id=\"clip0_2802_159460\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
<span class=\"button-click-second\">{{- profile.phoneNumber -}}</span>
</a><!--/noindex-->
<!--noindex-->
{%- if profile.messengers.whatsApp -%}
<a href=\"https://wa.me/{{ onlyPhoneNumber|replace({'+': ''}) }}?text=Привет,%20{{ profile.name }}!%20Нашел%20твою%20анкету%20на%20Стрелочках.\" rel=\"nofollow\" class=\"whatsup\" target=\"_blank\">
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"20\" cy=\"20\" r=\"20\" fill=\"#48C95F\"/>
<path d=\"M27.9268 12.0625C25.9512 10.0937 23.3171 9 20.5366 9C14.7561 9 10.0732 13.6667 10.0732 19.4271C10.0732 21.25 10.5854 23.0729 11.4634 24.6042L10 30L15.561 28.5417C17.0976 29.3438 18.7805 29.7812 20.5366 29.7812C26.3171 29.7812 31 25.1146 31 19.3542C30.9268 16.6563 29.9024 14.0312 27.9268 12.0625ZM25.5854 23.1458C25.3659 23.7292 24.3415 24.3125 23.8293 24.3854C23.3902 24.4583 22.8049 24.4583 22.2195 24.3125C21.8537 24.1667 21.3415 24.0208 20.7561 23.7292C18.122 22.6354 16.439 20.0104 16.2927 19.7917C16.1463 19.6458 15.1951 18.4062 15.1951 17.0937C15.1951 15.7812 15.8537 15.1979 16.0732 14.9062C16.2927 14.6146 16.5854 14.6146 16.8049 14.6146C16.9512 14.6146 17.1707 14.6146 17.3171 14.6146C17.4634 14.6146 17.6829 14.5417 17.9024 15.0521C18.1219 15.5625 18.6341 16.875 18.7073 16.9479C18.7805 17.0938 18.7805 17.2396 18.7073 17.3854C18.6341 17.5312 18.561 17.6771 18.4146 17.8229C18.2683 17.9687 18.1219 18.1875 18.0488 18.2604C17.9024 18.4062 17.7561 18.5521 17.9024 18.7708C18.0488 19.0625 18.561 19.8646 19.3659 20.5937C20.3902 21.4687 21.1951 21.7604 21.4878 21.9063C21.7805 22.0521 21.9268 21.9792 22.0732 21.8333C22.2195 21.6875 22.7317 21.1042 22.878 20.8125C23.0244 20.5208 23.2439 20.5938 23.4634 20.6667C23.6829 20.7396 25 21.3958 25.2195 21.5417C25.5122 21.6875 25.6585 21.7604 25.7317 21.8333C25.8049 22.0521 25.8049 22.5625 25.5854 23.1458Z\" fill=\"white\"/>
</svg>
</a>
{%- endif -%}
{%- if profile.messengers.telegram and profile.messengers.telegramUsername -%}
<a href=\"https://t.me/{{ profile.messengers.telegramUsername }}\" rel=\"nofollow noindex\", target=\"_blank\" class=\"telegram\">
<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"20\" cy=\"20\" r=\"20\" fill=\"#2F89CE\"/>
<path d=\"M9.3507 20.3741L13.9488 22.0886L15.7413 27.8557C15.8192 28.2454 16.2868 28.3233 16.5985 28.0895L19.1703 25.9853C19.4041 25.7515 19.7938 25.7515 20.1055 25.9853L24.7036 29.3364C25.0154 29.5702 25.483 29.4144 25.5609 29.0247L28.99 12.6587C29.0679 12.269 28.6782 11.8793 28.2886 12.0352L9.3507 19.3609C8.8831 19.5168 8.8831 20.2182 9.3507 20.3741ZM15.5075 21.2313L24.5477 15.6981C24.7036 15.6201 24.8595 15.8539 24.7036 15.9319L17.2999 22.868C17.0661 23.1018 16.8323 23.4135 16.8323 23.8032L16.5985 25.6736C16.5985 25.9074 16.2089 25.9853 16.1309 25.6736L15.1957 22.2445C14.9619 21.8548 15.1178 21.3872 15.5075 21.2313Z\" fill=\"white\"/>
</svg>
</a>
{%- endif -%}
<!--/noindex-->
</div>
{% else %}
<p class=\"model-phone__arhive m-0 color-silver\">анкета в архиве</p>
{% endif %}
</div>
{% endblock %}
{% block javascripts %}
<script>
window._lD = {
setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
cityUrl: \"{{city.uriIdentity}}\"
};
window.comment_data = {
\t\t\t'urlCreate': '{{ path('profile.comment.create', {profile: profile.id}) }}',
\t\t\t'urlGet': '{{ path('profile.comment.comment_form', {profile: profile.id}) }}',
\t\t\t'sitekey': \"{{ ewz_recaptcha_site_key }}\",
\t\t\t'registrationUrl': \"{{ path('app_security_register') }}\"
\t\t};
window._spb_s = {
stations: {
{%- for station in stations() -%}
\"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
{%- endfor -%}
}
};
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
{% set excludeRecommendationProfileIds = [profile.id] %}
{{ parent() }}
{%- if not profile.deleted -%}
{{ include('ProfilePreview/components/media.js.twig') }}
{%- endif -%}
<script>
(function() {
let isRenderRecommendationsWidget = false;
let isRenderBotWidget = false;
let isRenderRecentlyViewedWidget = false;
function loadWidgets() {
if (!isRenderRecommendationsWidget) {
isRenderRecommendationsWidget = true;
window.Recommendations.addViewedProfile({{ profile.id }})
}
if (!isRenderBotWidget) {
isRenderBotWidget = true;
window.profileBotHelper.addViewedProfile({{ profile.id }});
}
if (!isRenderRecentlyViewedWidget) {
isRenderRecentlyViewedWidget = true;
window.recentlyViewed.addViewedProfile({{ profile.id }});
}
//const recentlyViewedProfiles = recentlyViewed.getViewedProfiles();
}
document.addEventListener('DOMContentLoaded', function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
}, {once:true});
document.addEventListener(\"recommendations:ready\", function() {
try {
loadWidgets();
} catch (error) {
console.error(error);
}
}, {once:true});
})();
\t</script>
{% endblock %}
", "ProfilePreview/page.html.twig", "/app/templates/ProfilePreview/page.html.twig");
}
}