<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* @Automarket/Post/news-single.html.twig */
class __TwigTemplate_aa9dfdc9df4bec9936a8abaaf40f3f88 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'seo' => [$this, 'block_seo'],
'ogtagDynamic' => [$this, 'block_ogtagDynamic'],
'css' => [$this, 'block_css'],
'socialPreview' => [$this, 'block_socialPreview'],
'content' => [$this, 'block_content'],
'pageJS' => [$this, 'block_pageJS'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@Automarket/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Automarket/Post/news-single.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Automarket/Post/news-single.html.twig"));
$this->parent = $this->load("@Automarket/base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_seo(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
// line 4
yield " <title>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 4, $this->source); })()), "title", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "locale", [], "any", false, false, false, 4)], "method", false, false, false, 4), "html", null, true);
yield "</title>
<meta name=\"description\" content=\"description\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 8
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_ogtagDynamic(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogtagDynamic"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogtagDynamic"));
// line 9
yield " <meta property=\"og:title\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 9, $this->source); })()), "title", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 9, $this->source); })()), "request", [], "any", false, false, false, 9), "locale", [], "any", false, false, false, 9)], "method", false, false, false, 9), "html", null, true);
yield "\"/>
<meta property=\"og:description\" content=\"\"/>
<meta property=\"og:image\" content=\"";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->mediaURL(CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 11, $this->source); })()), "image", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "locale", [], "any", false, false, false, 11)], "method", false, false, false, 11), "small")), "html", null, true);
yield "\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 14
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_css(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
// line 15
yield " <link rel=\"stylesheet\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/automarket/css/news-single.css"), "html", null, true);
yield "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 18
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_socialPreview(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "socialPreview"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "socialPreview"));
// line 19
yield " <img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->mediaURL(CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 19, $this->source); })()), "image", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "locale", [], "any", false, false, false, 19)], "method", false, false, false, 19), "small")), "html", null, true);
yield "\" class=\"d-none\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 22
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 23
yield "
<section class=\"breadcrumbs\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12\">
<div class=\"vidi_breadcrumbs\">
<span>
<a href=\"\">
<span class=\"bc_title\">";
// line 31
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.main", [], "automarket_base"), "html", null, true);
yield "</span>
</a>
</span>
<span class=\"bc_sep\"><img src=\"";
// line 34
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/automarket/img/arrow-bc.png"), "html", null, true);
yield "\"></span>
<span>
<a href=\"";
// line 36
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("automarket_news");
yield "\">
<span class=\"bc_title\">";
// line 37
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.news", [], "automarket_base"), "html", null, true);
yield "</span>
</a>
</span>
<span class=\"bc_sep\"><img src=\"";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/automarket/img/arrow-bc.png"), "html", null, true);
yield "\"></span>
<span class=\"bc_title\">";
// line 41
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 41, $this->source); })()), "title", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "request", [], "any", false, false, false, 41), "locale", [], "any", false, false, false, 41)], "method", false, false, false, 41), "html", null, true);
yield "</span>
</div>
</div>
</div>
</div>
</section>
<section class=\"news-single\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8 custom-padd\">
<h1 class=\"news-single-title\">";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 52, $this->source); })()), "title", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "locale", [], "any", false, false, false, 52)], "method", false, false, false, 52), "html", null, true);
yield "</h1>
</div>
<div class=\"col-md-4 custom-padd recomendation\">
<div class=\"date-news\">
<p class=\"date\">
<span class=\"date-box-ico\"></span>
<small class=\"text-muted\">";
// line 58
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("small_words.publication", [], "automarket_base"), "html", null, true);
yield ": ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 58, $this->source); })()), "dateCreate", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "request", [], "any", false, false, false, 58), "locale", [], "any", false, false, false, 58)], "method", false, false, false, 58), "d.m.Y"), "html", null, true);
yield "</small>
</p>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col-md-8 custom-padd\">
<div class=\"image-news\">
";
// line 66
yield $this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->media(CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 66, $this->source); })()), "image", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "request", [], "any", false, false, false, 66), "locale", [], "any", false, false, false, 66)], "method", false, false, false, 66), "big");
yield "
</div>
<div class=\"decs-news\">
<p>";
// line 69
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 69, $this->source); })()), "contentByLocale", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 69, $this->source); })()), "request", [], "any", false, false, false, 69), "locale", [], "any", false, false, false, 69)], "method", false, false, false, 69), "content", [], "any", false, false, false, 69);
yield "</p>
</div>
<div class=\"decs-news\">
";
// line 72
if ((($tmp = (isset($context["partnerFbForm"]) || array_key_exists("partnerFbForm", $context) ? $context["partnerFbForm"] : (function () { throw new RuntimeError('Variable "partnerFbForm" does not exist.', 72, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 73
yield " <h2 style=\"width: 100%; text-align: center\">Отправить завку</h2>
";
// line 74
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["partnerFbForm"]) || array_key_exists("partnerFbForm", $context) ? $context["partnerFbForm"] : (function () { throw new RuntimeError('Variable "partnerFbForm" does not exist.', 74, $this->source); })()), 'form_start', ["attr" => ["class" => "lead-form pop-up pages-form-wrap", "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("automarket_feedback_form")]]);
yield "
";
// line 75
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["partnerFbForm"]) || array_key_exists("partnerFbForm", $context) ? $context["partnerFbForm"] : (function () { throw new RuntimeError('Variable "partnerFbForm" does not exist.', 75, $this->source); })()), "name", [], "any", false, false, false, 75), 'row');
yield "
";
// line 76
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["partnerFbForm"]) || array_key_exists("partnerFbForm", $context) ? $context["partnerFbForm"] : (function () { throw new RuntimeError('Variable "partnerFbForm" does not exist.', 76, $this->source); })()), "email", [], "any", false, false, false, 76), 'row');
yield "
";
// line 77
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["partnerFbForm"]) || array_key_exists("partnerFbForm", $context) ? $context["partnerFbForm"] : (function () { throw new RuntimeError('Variable "partnerFbForm" does not exist.', 77, $this->source); })()), "phone", [], "any", false, false, false, 77), 'row');
yield "
<div style=\"display: none;\">
";
// line 79
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["partnerFbForm"]) || array_key_exists("partnerFbForm", $context) ? $context["partnerFbForm"] : (function () { throw new RuntimeError('Variable "partnerFbForm" does not exist.', 79, $this->source); })()), 'rest');
yield "
</div>
<button type=\"submit\" class=\"pages-form-wrap-send\">";
// line 81
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("small_words.send_lead", [], "automarket_base"), "html", null, true);
yield "</button>
";
// line 82
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["partnerFbForm"]) || array_key_exists("partnerFbForm", $context) ? $context["partnerFbForm"] : (function () { throw new RuntimeError('Variable "partnerFbForm" does not exist.', 82, $this->source); })()), 'form_end');
yield "
";
}
// line 84
yield " </div>
</div>
<div class=\"col-md-4 custom-padd recomendation\">
<span class=\"recomendation-title\">";
// line 87
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("small_words.interesting", [], "automarket_base"), "html", null, true);
yield "</span>
";
// line 88
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["interesting"]) || array_key_exists("interesting", $context) ? $context["interesting"] : (function () { throw new RuntimeError('Variable "interesting" does not exist.', 88, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["interest"]) {
// line 89
yield " <div class=\"card\">
<div class=\"card-body\">
<a class=\"recomendation-title-news\" href=";
// line 91
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("automarket_news_single", ["url" => CoreExtension::getAttribute($this->env, $this->source, $context["interest"], "url", [], "any", false, false, false, 91)]), "html", null, true);
yield ">
<p class=\"card-title\">";
// line 92
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["interest"], "title", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 92, $this->source); })()), "request", [], "any", false, false, false, 92), "locale", [], "any", false, false, false, 92)], "method", false, false, false, 92), "html", null, true);
yield "</p>
</a>
<p class=\"date\"><span class=\"date-box-ico\"></span>
<small class=\"text-muted\">";
// line 95
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["interest"], "dateCreate", [], "any", false, false, false, 95), "d.m.Y"), "html", null, true);
yield "</small>
</p>
<a href=\"";
// line 97
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("automarket_news_single", ["url" => CoreExtension::getAttribute($this->env, $this->source, $context["interest"], "url", [], "any", false, false, false, 97)]), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("small_words.detail", [], "automarket_base"), "html", null, true);
yield "</a>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['interest'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 101
yield " </div>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 109
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_pageJS(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageJS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageJS"));
// line 110
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@Automarket/Post/news-single.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 387 => 110, 374 => 109, 358 => 101, 346 => 97, 341 => 95, 335 => 92, 331 => 91, 327 => 89, 323 => 88, 319 => 87, 314 => 84, 309 => 82, 305 => 81, 300 => 79, 295 => 77, 291 => 76, 287 => 75, 283 => 74, 280 => 73, 278 => 72, 272 => 69, 266 => 66, 253 => 58, 244 => 52, 230 => 41, 226 => 40, 220 => 37, 216 => 36, 211 => 34, 205 => 31, 195 => 23, 182 => 22, 168 => 19, 155 => 18, 141 => 15, 128 => 14, 115 => 11, 109 => 9, 96 => 8, 81 => 4, 68 => 3, 45 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@Automarket/base.html.twig' %}
{% block seo %}
<title>{{ news.title(app.request.locale) }}</title>
<meta name=\"description\" content=\"description\"/>
{% endblock seo %}
{% block ogtagDynamic %}
<meta property=\"og:title\" content=\"{{ news.title(app.request.locale) }}\"/>
<meta property=\"og:description\" content=\"\"/>
<meta property=\"og:image\" content=\"{{ absolute_url(media_url(news.image(app.request.locale), 'small')) }}\"/>
{% endblock ogtagDynamic %}
{% block css %}
<link rel=\"stylesheet\" href=\"{{ asset('bundles/automarket/css/news-single.css') }}\">
{% endblock %}
{% block socialPreview %}
<img src=\"{{ absolute_url(media_url(news.image(app.request.locale), 'small')) }}\" class=\"d-none\">
{% endblock %}
{% block content %}
<section class=\"breadcrumbs\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12\">
<div class=\"vidi_breadcrumbs\">
<span>
<a href=\"\">
<span class=\"bc_title\">{{ 'menu.main'|trans({}, 'automarket_base') }}</span>
</a>
</span>
<span class=\"bc_sep\"><img src=\"{{ asset('bundles/automarket/img/arrow-bc.png') }}\"></span>
<span>
<a href=\"{{ path('automarket_news') }}\">
<span class=\"bc_title\">{{ 'menu.news'|trans({}, 'automarket_base') }}</span>
</a>
</span>
<span class=\"bc_sep\"><img src=\"{{ asset('bundles/automarket/img/arrow-bc.png') }}\"></span>
<span class=\"bc_title\">{{ news.title(app.request.locale) }}</span>
</div>
</div>
</div>
</div>
</section>
<section class=\"news-single\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8 custom-padd\">
<h1 class=\"news-single-title\">{{ news.title(app.request.locale) }}</h1>
</div>
<div class=\"col-md-4 custom-padd recomendation\">
<div class=\"date-news\">
<p class=\"date\">
<span class=\"date-box-ico\"></span>
<small class=\"text-muted\">{{ 'small_words.publication'|trans({}, 'automarket_base') }}: {{ news.dateCreate(app.request.locale)|date('d.m.Y') }}</small>
</p>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col-md-8 custom-padd\">
<div class=\"image-news\">
{{ sonata_media(news.image(app.request.locale), 'big') }}
</div>
<div class=\"decs-news\">
<p>{{ news.contentByLocale(app.request.locale).content|raw }}</p>
</div>
<div class=\"decs-news\">
{% if partnerFbForm %}
<h2 style=\"width: 100%; text-align: center\">Отправить завку</h2>
{{ form_start(partnerFbForm, { attr: { class: 'lead-form pop-up pages-form-wrap', action: path('automarket_feedback_form') } }) }}
{{ form_row(partnerFbForm.name) }}
{{ form_row(partnerFbForm.email) }}
{{ form_row(partnerFbForm.phone) }}
<div style=\"display: none;\">
{{ form_rest(partnerFbForm) }}
</div>
<button type=\"submit\" class=\"pages-form-wrap-send\">{{ 'small_words.send_lead'|trans({}, 'automarket_base') }}</button>
{{ form_end(partnerFbForm) }}
{% endif %}
</div>
</div>
<div class=\"col-md-4 custom-padd recomendation\">
<span class=\"recomendation-title\">{{ 'small_words.interesting'|trans({}, 'automarket_base') }}</span>
{% for interest in interesting %}
<div class=\"card\">
<div class=\"card-body\">
<a class=\"recomendation-title-news\" href={{ path('automarket_news_single', {url: interest.url}) }}>
<p class=\"card-title\">{{ interest.title(app.request.locale) }}</p>
</a>
<p class=\"date\"><span class=\"date-box-ico\"></span>
<small class=\"text-muted\">{{ interest.dateCreate|date('d.m.Y') }}</small>
</p>
<a href=\"{{ path('automarket_news_single', {url: interest.url}) }}\">{{ 'small_words.detail'|trans({}, 'automarket_base') }}</a>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</section>
{# {% include '@Automarket/Modules/contacts.html.twig' %}#}
{% endblock %}
{% block pageJS %}
{% endblock pageJS %}
", "@Automarket/Post/news-single.html.twig", "/var/www/vidi.ua/releases/251023-65bd7d10/src/AutomarketBundle/Resources/views/Post/news-single.html.twig");
}
}