<?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;
/* __design/v2023/components/modal/subway.html.twig */
class __TwigTemplate_c0b2dd91531eba9fd53bd2935990b220 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "__design/v2023/components/modal/subway.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__design/v2023/components/modal/subway.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__design/v2023/components/modal/subway.html.twig"));
// line 1
if (($this->extensions['App\Twig\DefaultCityExtension']->defaultCity() == 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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "attributes", [], "any", false, false, false, 1), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 1))) {
// line 2
echo "<div
class=\"dialog-container subway-container\"
id=\"subway-dialog\"
aria-hidden=\"true\"
aria-labelledby=\"subway-dialog-title\"
aria-describedby=\"subway-dialog-description\"
>
\t\t<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
\t\t<div class=\"dialog-content subway-content d-flex\" role=\"document\">
\t\t\t<div class=\"dialog-heading fw-600 d-flex-c\">
\t\t\t\tПроститутки и индивидуалки по станциям метро
\t\t\t\t<button
\t\t\t\t\tdata-a11y-dialog-hide
\t\t\t\t\tclass=\"dialog-close ml-auto\"
\t\t\t\t\taria-label=\"Close this dialog window\"
\t\t\t\t>
\t\t\t\t\t<svg class=\"svg-icon\" viewBox=\"0 0 20 20\">
\t\t\t\t\t\t<path
\t\t\t\t\t\tfill=\"currentcolor\"
\t\t\t\t\t\td=\"M15.898,4.045c-0.271-0.272-0.713-0.272-0.986,0l-4.71,4.711L5.493,4.045c-0.272-0.272-0.714-0.272-0.986,0s-0.272,0.714,0,0.986l4.709,4.711l-4.71,4.711c-0.272,0.271-0.272,0.713,0,0.986c0.136,0.136,0.314,0.203,0.492,0.203c0.179,0,0.357-0.067,0.493-0.203l4.711-4.711l4.71,4.711c0.137,0.136,0.314,0.203,0.494,0.203c0.178,0,0.355-0.067,0.492-0.203c0.273-0.273,0.273-0.715,0-0.986l-4.711-4.711l4.711-4.711C16.172,4.759,16.172,4.317,15.898,4.045z\"
\t\t\t\t\t\t></path>
\t\t\t\t\t</svg>
\t\t\t\t</button>
\t\t\t</div>
\t\t\t";
// line 30
echo "\t\t\t";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi", Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\HttpCacheController::cityStations", ["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.', 30, $this->source); })()), "uriIdentity", [], "any", false, false, false, 30), "_route" => 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.', 30, $this->source); })()), "request", [], "any", false, false, false, 30), "get", ["_route"], "method", false, false, false, 30)]));
echo "
</div>
</div>
</div>
";
}
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "__design/v2023/components/modal/subway.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 77 => 30, 48 => 2, 46 => 1,);
}
public function getSourceContext()
{
return new Source("{% if default_city() == app.request.attributes.get('city', default_city()) %}
<div
class=\"dialog-container subway-container\"
id=\"subway-dialog\"
aria-hidden=\"true\"
aria-labelledby=\"subway-dialog-title\"
aria-describedby=\"subway-dialog-description\"
>
\t\t<div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
\t\t<div class=\"dialog-content subway-content d-flex\" role=\"document\">
\t\t\t<div class=\"dialog-heading fw-600 d-flex-c\">
\t\t\t\tПроститутки и индивидуалки по станциям метро
\t\t\t\t<button
\t\t\t\t\tdata-a11y-dialog-hide
\t\t\t\t\tclass=\"dialog-close ml-auto\"
\t\t\t\t\taria-label=\"Close this dialog window\"
\t\t\t\t>
\t\t\t\t\t<svg class=\"svg-icon\" viewBox=\"0 0 20 20\">
\t\t\t\t\t\t<path
\t\t\t\t\t\tfill=\"currentcolor\"
\t\t\t\t\t\td=\"M15.898,4.045c-0.271-0.272-0.713-0.272-0.986,0l-4.71,4.711L5.493,4.045c-0.272-0.272-0.714-0.272-0.986,0s-0.272,0.714,0,0.986l4.709,4.711l-4.71,4.711c-0.272,0.271-0.272,0.713,0,0.986c0.136,0.136,0.314,0.203,0.492,0.203c0.179,0,0.357-0.067,0.493-0.203l4.711-4.711l4.71,4.711c0.137,0.136,0.314,0.203,0.494,0.203c0.178,0,0.355-0.067,0.492-0.203c0.273-0.273,0.273-0.715,0-0.986l-4.711-4.711l4.711-4.711C16.172,4.759,16.172,4.317,15.898,4.045z\"
\t\t\t\t\t\t></path>
\t\t\t\t\t</svg>
\t\t\t\t</button>
\t\t\t</div>
\t\t\t{# Выбор метро только для москвы #}
\t\t\t{{ render_esi(controller('App\\\\Controller\\\\HttpCacheController::cityStations', {'city': city.uriIdentity,'_route': app.request.get('_route')})) }}
</div>
</div>
</div>
{% endif %}", "__design/v2023/components/modal/subway.html.twig", "/app/templates/__design/v2023/components/modal/subway.html.twig");
}
}