var/cache/review/twig/b0/b0c4a85e2141054c51e39de46a06b9a6.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ProfileList/filter/form.partial.twig */
  14. class __TwigTemplate_b9657c780d408097b4ba60ccee6173a2 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->parent = false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros = $this->macros;
  29.         $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  30.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/filter/form.partial.twig"));
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/filter/form.partial.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/filter/form.partial.twig"));
  35.         // line 1
  36.         echo "
  37. \t\t<div class=\"profile_filter\" id=\"filter-list\">
  38. \t\t\t<div class=\"profile_filter__mobile_header\">
  39. \t\t\t\t<div class=\"profile_filter__mobile_header\">
  40. \t\t\t\t\t<button class=\"profile_filter__mobile_header__reset\" type=\"button\" data-filter-list-button data-filter-type=\"reset\">
  41. \t\t\t\t\t\tСбросить
  42. \t\t\t\t\t</button>
  43. \t\t\t\t\t<div class=\"profile_filter__mobile_header__title\">Фильтры</div>
  44. \t\t\t\t\t<button class=\"profile_filter__mobile_header__close\" type=\"button\" data-filter-list-button data-filter-type=\"close-mobile\">
  45. \t\t\t\t\t\t<svg class=\"profile_filter__mobile_header__close_icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\" fill=\"#727272\"/></svg>
  46. \t\t\t\t\t</button>
  47. \t\t\t\t</div>
  48. \t\t\t</div>
  49. \t\t\t<button class=\"profile_filter__mobile_button\" type=\"button\" data-filter-list-button data-filter-type=\"mobile\">
  50.                 <svg class=\"profile_filter__mobile_button__icon\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><use xlink:href=\"#filter\"></use></svg>
  51.                 <span class=\"profile_filter__mobile_button__text\">Фильтры</span>
  52. \t\t\t\t<span class=\"profile_filter__mobile_button__count\">1</span>
  53.                 <svg class=\"profile_filter__mobile_button__icon profile_filter__mobile_button__icon-arrow\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" style=\"transform:rotate(180deg)\"><use xlink:href=\"#filter-arrow\"></use></svg>
  54.             </button>
  55. \t\t\t";
  56.         // line 25
  57.         $context["filters"] = twig_get_attribute($this->env, $this->source, (isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form", $context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.', 25, $this->source); })()), "filters", [], "any", false, false, false, 25);
  58.         // line 26
  59.         echo "
  60.             ";
  61.         // line 28
  62.         echo "            ";
  63.         echo twig_include($this->env, $context, "ProfileList/filter/_checkbox.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 29
  64. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 29, $this->source); })()), "approved", [], "any", false, false, false, 29), "label" => "Проверенные", "icon" => "<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><rect width=\"16.67\" height=\"16.67\" x=\"1.67\" y=\"1.67\" fill=\"#02a86c\" rx=\"3\"/><path fill=\"#fff\" d=\"M8.47 11.86 5.53 8.98l-1.7 1.65 4.64 4.54 7.86-7.69-1.68-1.65z\"/></svg>", "choisen" => (twig_get_attribute($this->env, $this->source,         // line 32
  65. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 32, $this->source); })()), "listing", [], "any", false, false, false, 32) == "listApproved")]);
  66.         // line 33
  67.         echo "
  68.             ";
  69.         // line 36
  70.         echo "            ";
  71.         echo twig_include($this->env, $context, "ProfileList/filter/_checkbox.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 37
  72. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 37, $this->source); })()), "withComments", [], "any", false, false, false, 37), "label" => "Отзывы", "icon" => "<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" d=\"M3.33 1.67h13.34c.92 0 1.66.75 1.66 1.66v15L15 15H3.33c-.92 0-1.66-.75-1.66-1.67v-10c0-.91.74-1.66 1.66-1.66m2.5 9.16h5.84V9.17H5.83zm0-3.33h8.34V5.83H5.83z\"/></svg>", "choisen" => (twig_get_attribute($this->env, $this->source,         // line 40
  73. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 40, $this->source); })()), "listing", [], "any", false, false, false, 40) == "listWithComments")]);
  74.         // line 42
  75.         echo "
  76.             ";
  77.         // line 45
  78.         echo "            ";
  79.         echo twig_include($this->env, $context, "ProfileList/filter/_checkbox.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 46
  80. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 46, $this->source); })()), "withVideo", [], "any", false, false, false, 46), "label" => "Видео", "icon" => "<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" d=\"M18.33 14.76V5.24c0-1.05-.88-1.9-1.96-1.9H3.63c-1.08 0-1.96.85-1.96 1.9v9.52c0 1.05.88 1.9 1.96 1.9h12.74c1.08 0 1.96-.85 1.96-1.9m-10.78-.95V6.19l5.88 3.8z\"/></svg>", "choisen" => (twig_get_attribute($this->env, $this->source,         // line 49
  81. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 49, $this->source); })()), "listing", [], "any", false, false, false, 49) == "listWithVideo")]);
  82.         // line 51
  83.         echo "
  84.             ";
  85.         // line 54
  86.         echo "            ";
  87.         echo twig_include($this->env, $context, "ProfileList/filter/_checkbox.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 55
  88. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 55, $this->source); })()), "withSelfie", [], "any", false, false, false, 55), "label" => "Селфи", "icon" => "<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" fill-rule=\"evenodd\" d=\"M6.12 1.67h7.75c.85 0 1.55.68 1.55 1.51v13.64c0 .83-.7 1.51-1.55 1.51H6.12c-.85 0-1.54-.68-1.54-1.51V3.18c0-.83.7-1.51 1.54-1.51m5.38 2.78c0 .43.34.77.75.77s.75-.34.75-.77a.76.76 0 0 0-.75-.78.76.76 0 0 0-.75.78M6.25 14.5c.57-.5 2-.9 3.75-.9 1.66 0 3.1.37 3.75.82v-2.32a9 9 0 0 0-3.75-.7c-1.51 0-2.82.26-3.75.7zm3.74-3.87a2.3 2.3 0 0 1-2.25-2.32A2.3 2.3 0 0 1 9.99 6a2.3 2.3 0 0 1 2.25 2.32 2.3 2.3 0 0 1-2.25 2.32\" clip-rule=\"evenodd\"/></svg>", "choisen" => (twig_get_attribute($this->env, $this->source,         // line 58
  89. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 58, $this->source); })()), "listing", [], "any", false, false, false, 58) == "listWithSelfie")]);
  90.         // line 59
  91.         echo "
  92.             ";
  93.         // line 63
  94.         echo "            ";
  95.         echo twig_include($this->env, $context, "ProfileList/filter/_range.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 64
  96. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 64, $this->source); })()), "oneHourPrice", [], "any", false, false, false, 64), "label" => "Цена за час", "min" => 500, "max" => 5000, "step" => 1, "utils" => "₽"]);
  97.         // line 70
  98.         echo "
  99.             ";
  100.         // line 73
  101.         echo "            ";
  102.         echo twig_include($this->env, $context, "ProfileList/filter/_selector.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 74
  103. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 74, $this->source); })()), "stations", [], "any", false, false, false, 74), "label" => "Метро", "trans" => null, "choisen" => (twig_get_attribute($this->env, $this->source,         // line 77
  104. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 77, $this->source); })()), "listing", [], "any", false, false, false, 77) == "listByStation"), "choisenParams" => twig_get_attribute($this->env, $this->source,         // line 78
  105. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 78, $this->source); })()), "listingParameters", [], "any", false, false, false, 78)]);
  106.         // line 79
  107.         echo "
  108.             ";
  109.         // line 83
  110.         echo "            ";
  111.         echo twig_include($this->env, $context, "ProfileList/filter/_checkboxMulti.partial.twig", ["formElements" => [twig_get_attribute($this->env, $this->source,         // line 84
  112. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 84, $this->source); })()), "hasApartment", [], "any", false, false, false, 84), twig_get_attribute($this->env, $this->source, (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 84, $this->source); })()), "hasTakeOut", [], "any", false, false, false, 84)], "formLabels" => ["У себя", "Выезд"], "label" => "Выезд или у себя"]);
  113.         // line 87
  114.         echo "
  115.             ";
  116.         // line 91
  117.         echo "            ";
  118.         echo twig_include($this->env, $context, "ProfileList/filter/_range.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 92
  119. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 92, $this->source); })()), "age", [], "any", false, false, false, 92), "label" => "Возраст", "min" => 18, "max" => 90, "step" => 1, "utils" => "лет"]);
  120.         // line 98
  121.         echo "
  122.             ";
  123.         // line 102
  124.         echo "            ";
  125.         echo twig_include($this->env, $context, "ProfileList/filter/_range.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 103
  126. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 103, $this->source); })()), "height", [], "any", false, false, false, 103), "label" => "Рост", "min" => 100, "max" => 250, "step" => 5, "utils" => "см"]);
  127.         // line 109
  128.         echo "
  129.             ";
  130.         // line 112
  131.         echo "            ";
  132.         echo twig_include($this->env, $context, "ProfileList/filter/_range.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 113
  133. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 113, $this->source); })()), "breastSize", [], "any", false, false, false, 113), "label" => "Грудь", "min" => 0, "max" => 13, "step" => 1, "utils" => ""]);
  134.         // line 119
  135.         echo "
  136.             ";
  137.         // line 123
  138.         echo "            ";
  139.         echo twig_include($this->env, $context, "ProfileList/filter/_checkboxMulti.partial.twig", ["formElements" => [twig_get_attribute($this->env, $this->source,         // line 124
  140. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 124, $this->source); })()), "hasTattoo", [], "any", false, false, false, 124), twig_get_attribute($this->env, $this->source, (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 124, $this->source); })()), "hasPiercing", [], "any", false, false, false, 124)], "formLabels" => ["Тату", "Пирсинг"], "label" => "Тату и пирсинг"]);
  141.         // line 127
  142.         echo "
  143.             ";
  144.         // line 131
  145.         echo "            ";
  146.         echo twig_include($this->env, $context, "ProfileList/filter/_selector.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 132
  147. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 132, $this->source); })()), "hairColor", [], "any", false, false, false, 132), "label" => "Цвет волос", "trans" => "hair_colors", "choisen" => (twig_get_attribute($this->env, $this->source,         // line 135
  148. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 135, $this->source); })()), "listing", [], "any", false, false, false, 135) == "listByHairColor"), "choisenParams" => twig_get_attribute($this->env, $this->source,         // line 136
  149. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 136, $this->source); })()), "listingParameters", [], "any", false, false, false, 136)]);
  150.         // line 137
  151.         echo "
  152.             ";
  153.         // line 140
  154.         echo "            ";
  155.         echo twig_include($this->env, $context, "ProfileList/filter/_selector.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 141
  156. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 141, $this->source); })()), "nationality", [], "any", false, false, false, 141), "label" => "Национальность", "trans" => "nationalities", "choisen" => (twig_get_attribute($this->env, $this->source,         // line 144
  157. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 144, $this->source); })()), "listing", [], "any", false, false, false, 144) == "listByNationality"), "choisenParams" => twig_get_attribute($this->env, $this->source,         // line 145
  158. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 145, $this->source); })()), "listingParameters", [], "any", false, false, false, 145)]);
  159.         // line 146
  160.         echo "
  161.             ";
  162.         // line 149
  163.         echo "            ";
  164.         echo twig_include($this->env, $context, "ProfileList/filter/_selector.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 150
  165. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 150, $this->source); })()), "bodyType", [], "any", false, false, false, 150), "label" => "Телосложение", "trans" => "body_types", "choisen" => (twig_get_attribute($this->env, $this->source,         // line 153
  166. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 153, $this->source); })()), "listing", [], "any", false, false, false, 153) == "listByBodyType"), "choisenParams" => twig_get_attribute($this->env, $this->source,         // line 154
  167. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 154, $this->source); })()), "listingParameters", [], "any", false, false, false, 154)]);
  168.         // line 155
  169.         echo "
  170.             ";
  171.         // line 158
  172.         echo "            ";
  173.         echo twig_include($this->env, $context, "ProfileList/filter/_services.partial.twig", ["formElement" => twig_get_attribute($this->env, $this->source,         // line 159
  174. (isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 159, $this->source); })()), "services", [], "any", false, false, false, 159), "label" => "Услуги", "trans" => "body_types", "choisen" => (twig_get_attribute($this->env, $this->source,         // line 162
  175. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 162, $this->source); })()), "listing", [], "any", false, false, false, 162) == "listByProvidedService"), "choisenParams" => twig_get_attribute($this->env, $this->source,         // line 163
  176. (isset($context["filterData"]) || array_key_exists("filterData", $context) ? $context["filterData"] : (function () { throw new RuntimeError('Variable "filterData" does not exist.', 163, $this->source); })()), "listingParameters", [], "any", false, false, false, 163)]);
  177.         // line 164
  178.         echo "
  179. \t\t\t<div class=\"profile_filter__mobile_footer\">
  180. \t\t\t\t";
  181.         // line 169
  182.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["profile_filter_form"]) || array_key_exists("profile_filter_form", $context) ? $context["profile_filter_form"] : (function () { throw new RuntimeError('Variable "profile_filter_form" does not exist.', 169, $this->source); })()), "submit", [], "any", false, false, false, 169), 'widget', ["label" => "Показать", "attr" => ["class" => "profile_filter__mobile_footer__apply", "data-filter-list-button" => "", "data-filter-type" => "apply-filter"]]);
  183.         // line 175
  184.         echo "
  185. \t\t\t</div>
  186. \t\t</div>
  187. ";
  188.         
  189.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  190.         
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  192.         
  193.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  194.     }
  195.     /**
  196.      * @codeCoverageIgnore
  197.      */
  198.     public function getTemplateName()
  199.     {
  200.         return "ProfileList/filter/form.partial.twig";
  201.     }
  202.     /**
  203.      * @codeCoverageIgnore
  204.      */
  205.     public function isTraitable()
  206.     {
  207.         return false;
  208.     }
  209.     /**
  210.      * @codeCoverageIgnore
  211.      */
  212.     public function getDebugInfo()
  213.     {
  214.         return array (  222 => 175,  220 => 169,  213 => 164,  211 => 163,  210 => 162,  209 => 159,  207 => 158,  203 => 155,  201 => 154,  200 => 153,  199 => 150,  197 => 149,  193 => 146,  191 => 145,  190 => 144,  189 => 141,  187 => 140,  183 => 137,  181 => 136,  180 => 135,  179 => 132,  177 => 131,  172 => 127,  170 => 124,  168 => 123,  163 => 119,  161 => 113,  159 => 112,  155 => 109,  153 => 103,  151 => 102,  146 => 98,  144 => 92,  142 => 91,  137 => 87,  135 => 84,  133 => 83,  128 => 79,  126 => 78,  125 => 77,  124 => 74,  122 => 73,  118 => 70,  116 => 64,  114 => 63,  109 => 59,  107 => 58,  106 => 55,  104 => 54,  100 => 51,  98 => 49,  97 => 46,  95 => 45,  91 => 42,  89 => 40,  88 => 37,  86 => 36,  82 => 33,  80 => 32,  79 => 29,  77 => 28,  74 => 26,  72 => 25,  46 => 1,);
  215.     }
  216.     public function getSourceContext()
  217.     {
  218.         return new Source("
  219. \t\t<div class=\"profile_filter\" id=\"filter-list\">
  220. \t\t\t<div class=\"profile_filter__mobile_header\">
  221. \t\t\t\t<div class=\"profile_filter__mobile_header\">
  222. \t\t\t\t\t<button class=\"profile_filter__mobile_header__reset\" type=\"button\" data-filter-list-button data-filter-type=\"reset\">
  223. \t\t\t\t\t\tСбросить
  224. \t\t\t\t\t</button>
  225. \t\t\t\t\t<div class=\"profile_filter__mobile_header__title\">Фильтры</div>
  226. \t\t\t\t\t<button class=\"profile_filter__mobile_header__close\" type=\"button\" data-filter-list-button data-filter-type=\"close-mobile\">
  227. \t\t\t\t\t\t<svg class=\"profile_filter__mobile_header__close_icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.7 1.7A1 1 0 0 0 12.3.3L7 5.58 1.7.29A1 1 0 0 0 .3 1.71L5.58 7l-5.3 5.3a1 1 0 1 0 1.42 1.4L7 8.42l5.3 5.3a1 1 0 0 0 1.4-1.42L8.42 7l5.3-5.3Z\" fill=\"#727272\"/></svg>
  228. \t\t\t\t\t</button>
  229. \t\t\t\t</div>
  230. \t\t\t</div>
  231. \t\t\t<button class=\"profile_filter__mobile_button\" type=\"button\" data-filter-list-button data-filter-type=\"mobile\">
  232.                 <svg class=\"profile_filter__mobile_button__icon\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><use xlink:href=\"#filter\"></use></svg>
  233.                 <span class=\"profile_filter__mobile_button__text\">Фильтры</span>
  234. \t\t\t\t<span class=\"profile_filter__mobile_button__count\">1</span>
  235.                 <svg class=\"profile_filter__mobile_button__icon profile_filter__mobile_button__icon-arrow\" fill=\"#666\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" style=\"transform:rotate(180deg)\"><use xlink:href=\"#filter-arrow\"></use></svg>
  236.             </button>
  237. \t\t\t{% set filters = profile_filter_form.filters %}
  238.             {# ПРОВЕРЕННЫЕ #}
  239.             {{ include('ProfileList/filter/_checkbox.partial.twig',  {
  240.                 formElement: filters.approved,
  241.                 label: 'Проверенные',
  242.                 icon: '<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><rect width=\"16.67\" height=\"16.67\" x=\"1.67\" y=\"1.67\" fill=\"#02a86c\" rx=\"3\"/><path fill=\"#fff\" d=\"M8.47 11.86 5.53 8.98l-1.7 1.65 4.64 4.54 7.86-7.69-1.68-1.65z\"/></svg>',
  243.                 choisen: filterData.listing == 'listApproved',
  244.             }) }}
  245.             {# КОМЕНТЫ #}
  246.             {{ include('ProfileList/filter/_checkbox.partial.twig',  {
  247.                 formElement: filters.withComments,
  248.                 label: 'Отзывы',
  249.                 icon: '<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" d=\"M3.33 1.67h13.34c.92 0 1.66.75 1.66 1.66v15L15 15H3.33c-.92 0-1.66-.75-1.66-1.67v-10c0-.91.74-1.66 1.66-1.66m2.5 9.16h5.84V9.17H5.83zm0-3.33h8.34V5.83H5.83z\"/></svg>',
  250.                 choisen: filterData.listing == 'listWithComments',
  251.             }) }}
  252.             {# ВИДЕО #}
  253.             {{ include('ProfileList/filter/_checkbox.partial.twig',  {
  254.                 formElement: filters.withVideo,
  255.                 label: 'Видео',
  256.                 icon: '<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" d=\"M18.33 14.76V5.24c0-1.05-.88-1.9-1.96-1.9H3.63c-1.08 0-1.96.85-1.96 1.9v9.52c0 1.05.88 1.9 1.96 1.9h12.74c1.08 0 1.96-.85 1.96-1.9m-10.78-.95V6.19l5.88 3.8z\"/></svg>',
  257.                 choisen: filterData.listing == 'listWithVideo',
  258.             }) }}
  259.             {# СЕЛФИ #}
  260.             {{ include('ProfileList/filter/_checkbox.partial.twig',  {
  261.                 formElement: filters.withSelfie,
  262.                 label: 'Селфи',
  263.                 icon: '<svg class=\"profile_filter__item__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"#9d9d9d\" fill-rule=\"evenodd\" d=\"M6.12 1.67h7.75c.85 0 1.55.68 1.55 1.51v13.64c0 .83-.7 1.51-1.55 1.51H6.12c-.85 0-1.54-.68-1.54-1.51V3.18c0-.83.7-1.51 1.54-1.51m5.38 2.78c0 .43.34.77.75.77s.75-.34.75-.77a.76.76 0 0 0-.75-.78.76.76 0 0 0-.75.78M6.25 14.5c.57-.5 2-.9 3.75-.9 1.66 0 3.1.37 3.75.82v-2.32a9 9 0 0 0-3.75-.7c-1.51 0-2.82.26-3.75.7zm3.74-3.87a2.3 2.3 0 0 1-2.25-2.32A2.3 2.3 0 0 1 9.99 6a2.3 2.3 0 0 1 2.25 2.32 2.3 2.3 0 0 1-2.25 2.32\" clip-rule=\"evenodd\"/></svg>',
  264.                 choisen: filterData.listing == 'listWithSelfie',
  265.             }) }}
  266.             {# ЦЕНА #}
  267.             {{ include('ProfileList/filter/_range.partial.twig',  {
  268.                 formElement: filters.oneHourPrice,
  269.                 label: 'Цена за час',
  270.                 min: 500,
  271.                 max: 5000,
  272.                 step: 1,
  273.                 utils: \"₽\",
  274.             }) }}
  275.             {# МЕТРО #}
  276.             {{ include('ProfileList/filter/_selector.partial.twig',  {
  277.                 formElement: filters.stations,
  278.                 label: 'Метро',
  279.                 trans: null,
  280.                 choisen: filterData.listing == 'listByStation',
  281.                 choisenParams: filterData.listingParameters,
  282.             }) }}
  283.             {# ВЫЕЗД #}
  284.             {{ include('ProfileList/filter/_checkboxMulti.partial.twig',  {
  285.                 formElements: [filters.hasApartment, filters.hasTakeOut],
  286.                 formLabels: ['У себя', 'Выезд'],
  287.                 label: 'Выезд или у себя',
  288.             }) }}
  289.             {# ВОЗРАСТ #}
  290.             {{ include('ProfileList/filter/_range.partial.twig',  {
  291.                 formElement: filters.age,
  292.                 label: 'Возраст',
  293.                 min: 18,
  294.                 max: 90,
  295.                 step: 1,
  296.                 utils: \"лет\",
  297.             }) }}
  298.             {# РОСТ #}
  299.             {{ include('ProfileList/filter/_range.partial.twig',  {
  300.                 formElement: filters.height,
  301.                 label: 'Рост',
  302.                 min: 100,
  303.                 max: 250,
  304.                 step: 5,
  305.                 utils: \"см\",
  306.             }) }}
  307.             {# СИСЬКИ #}
  308.             {{ include('ProfileList/filter/_range.partial.twig',  {
  309.                 formElement: filters.breastSize,
  310.                 label: 'Грудь',
  311.                 min: 0,
  312.                 max: 13,
  313.                 step: 1,
  314.                 utils: \"\",
  315.             }) }}
  316.             {# Тату и пирсинг #}
  317.             {{ include('ProfileList/filter/_checkboxMulti.partial.twig',  {
  318.                 formElements: [filters.hasTattoo, filters.hasPiercing],
  319.                 formLabels: ['Тату', 'Пирсинг'],
  320.                 label: 'Тату и пирсинг',
  321.             }) }}
  322.             {# ЦВЕТ ВОЛОС #}
  323.             {{ include('ProfileList/filter/_selector.partial.twig',  {
  324.                 formElement: filters.hairColor,
  325.                 label: 'Цвет волос',
  326.                 trans: 'hair_colors',
  327.                 choisen: filterData.listing == 'listByHairColor',
  328.                 choisenParams: filterData.listingParameters,
  329.             }) }}
  330.             {# Национальность #}
  331.             {{ include('ProfileList/filter/_selector.partial.twig',  {
  332.                 formElement: filters.nationality,
  333.                 label: 'Национальность',
  334.                 trans: 'nationalities',
  335.                 choisen: filterData.listing == 'listByNationality',
  336.                 choisenParams: filterData.listingParameters,
  337.             }) }}
  338.             {# Телосложение #}
  339.             {{ include('ProfileList/filter/_selector.partial.twig',  {
  340.                 formElement: filters.bodyType,
  341.                 label: 'Телосложение',
  342.                 trans: 'body_types',
  343.                 choisen: filterData.listing == 'listByBodyType',
  344.                 choisenParams: filterData.listingParameters,
  345.             }) }}
  346.             {# УСЛУГИ #}
  347.             {{ include('ProfileList/filter/_services.partial.twig',  {
  348.                 formElement: filters.services,
  349.                 label: 'Услуги',
  350.                 trans: 'body_types',
  351.                 choisen: filterData.listing == 'listByProvidedService',
  352.                 choisenParams: filterData.listingParameters,
  353.             }) }}
  354. \t\t\t<div class=\"profile_filter__mobile_footer\">
  355. \t\t\t\t{{ form_widget(profile_filter_form.submit, {
  356. \t\t\t\t\t'label': 'Показать',
  357. \t\t\t\t\t'attr': {
  358. \t\t\t\t\t\t'class': 'profile_filter__mobile_footer__apply',
  359. \t\t\t\t\t\t'data-filter-list-button': '',
  360. \t\t\t\t\t\t\"data-filter-type\": \"apply-filter\"
  361. \t\t\t\t\t}}) }}
  362. \t\t\t</div>
  363. \t\t</div>
  364. ", "ProfileList/filter/form.partial.twig", "/app/templates/ProfileList/filter/form.partial.twig");
  365.     }
  366. }