<?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;
/* @DcSite/Nissan/Car/car-card.html.twig */
class __TwigTemplate_c1d7dd51aeb3590d3e7d297a971cfcc1 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 = [
'head' => [$this, 'block_head'],
'ogtagDynamicImage' => [$this, 'block_ogtagDynamicImage'],
'ogtagDynamic' => [$this, 'block_ogtagDynamic'],
'socialPreview' => [$this, 'block_socialPreview'],
'content' => [$this, 'block_content'],
'script' => [$this, 'block_script'],
'scriptCreditCard' => [$this, 'block_scriptCreditCard'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@DcSite/Nissan/template.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", "@DcSite/Nissan/Car/car-card.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@DcSite/Nissan/Car/car-card.html.twig"));
$this->parent = $this->load("@DcSite/Nissan/template.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_head(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", "head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 4
yield "\t<title>
\t\t";
// line 5
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 5, $this->source); })()), "seoTitle", [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.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "locale", [], "any", false, false, false, 5)], "method", false, false, false, 5)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 6
yield "\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 6, $this->source); })()), "seoTitle", [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.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "locale", [], "any", false, false, false, 6)], "method", false, false, false, 6), "html", null, true);
yield "
\t\t";
} else {
// line 8
yield "\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.seo.title", [], "dc_nissan"), "html", null, true);
yield "
\t\t";
}
// line 10
yield "\t</title>
\t<meta name=\"description\" content=\"";
// line 11
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 11, $this->source); })()), "seoDescription", [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)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 11, $this->source); })()), "seoDescription", [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), "html", null, true);
} else {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.seo.description", [], "dc_nissan"), "html", null, true);
}
yield "\"/>
\t";
// line 12
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 12, $this->source); })()), "seoKeywords", [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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "locale", [], "any", false, false, false, 12)], "method", false, false, false, 12)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 13
yield "\t\t<meta name=\"keywords\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 13, $this->source); })()), "seoKeywords", [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.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "locale", [], "any", false, false, false, 13)], "method", false, false, false, 13), "html", null, true);
yield "\"/>
\t";
}
// line 15
yield "\t";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 15, $this->source); })()), "noindexFollow", [], "any", false, false, false, 15)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 16
yield "\t\t<meta name=\"robots\" content=\"noindex, follow\"/>
\t";
}
// line 18
yield "\t<link rel=\"preload\" as=\"image\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->webpUrl(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 18, $this->source); })()), "getFirstGalleryImage", [], "any", false, false, false, 18), "new_slider"), "html", null, true);
yield "\">
\t<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/";
// line 19
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["MODE"]) || array_key_exists("MODE", $context) ? $context["MODE"] : (function () { throw new RuntimeError('Variable "MODE" does not exist.', 19, $this->source); })()), "html", null, true);
yield "/dcsite/nissan/css/nissanCarCard.css?";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["VERSION"]) || array_key_exists("VERSION", $context) ? $context["VERSION"] : (function () { throw new RuntimeError('Variable "VERSION" does not exist.', 19, $this->source); })()), "html", null, true);
yield "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 23
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_ogtagDynamicImage(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", "ogtagDynamicImage"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogtagDynamicImage"));
// line 24
yield "\t<meta property=\"og:image\" content=\"";
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["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 24, $this->source); })()), "galleryImageOrPreview", [], "any", false, false, false, 24), "reference")), "html", null, true);
yield "\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 27
/**
* @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 28
yield "\t<meta property=\"og:title\" content=\"";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 28, $this->source); })()), "seoTitle", [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.', 28, $this->source); })()), "request", [], "any", false, false, false, 28), "locale", [], "any", false, false, false, 28)], "method", false, false, false, 28)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 28, $this->source); })()), "seoTitle", [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.', 28, $this->source); })()), "request", [], "any", false, false, false, 28), "locale", [], "any", false, false, false, 28)], "method", false, false, false, 28), "html", null, true);
} else {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.seo.title", [], "dc_nissan"), "html", null, true);
}
yield "\"/>
\t<meta property=\"og:description\" content=\"";
// line 29
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 29, $this->source); })()), "seoDescription", [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.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "locale", [], "any", false, false, false, 29)], "method", false, false, false, 29)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 29, $this->source); })()), "seoDescription", [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.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "locale", [], "any", false, false, false, 29)], "method", false, false, false, 29), "html", null, true);
} else {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.seo.description", [], "dc_nissan"), "html", null, true);
}
yield "\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 32
/**
* @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 33
yield "\t<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["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 33, $this->source); })()), "galleryImageOrPreview", [], "any", false, false, false, 33), "reference")), "html", null, true);
yield "\" class=\"d-none\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 36
/**
* @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 37
yield "
\t<div style=\"display: none\" class=\"breadcrumbs__shadow\">
\t\t<section class=\"breadcrumbs__new\">
\t\t\t<div class=\"container\">
\t\t\t\t<ol class=\"global_breadcrumbs__new\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
\t\t\t\t\t<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
\t\t\t\t\t\t<a itemprop=\"item\" href=\"";
// line 43
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("nissan_homepage");
yield "\">
\t\t\t\t\t\t\t<span class=\"breadcrumbs__link\" itemprop=\"name\">NISSAN</span>
\t\t\t\t\t\t</a>
\t\t\t\t\t\t<meta itemprop=\"position\" content=\"1\"/>
\t\t\t\t\t</li>
\t\t\t\t\t<div class=\"arrow-bcs\">
\t\t\t\t\t\t❯
\t\t\t\t\t</div>
\t\t\t\t\t<li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
\t\t\t\t\t\t<span class=\"breadcrumbs__link\" itemprop=\"name\">";
// line 53
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.base_names.model_lineup", [], "dc_base"), "html", null, true);
yield "</span>
\t\t\t\t\t\t<meta itemprop=\"position\" content=\"2\"/>
\t\t\t\t\t</li>
\t\t\t\t\t<div class=\"arrow-bcs\">
\t\t\t\t\t\t❯
\t\t\t\t\t</div>
\t\t\t\t\t<li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
\t\t\t\t\t\t<span class=\"breadcrumbs__link\" itemprop=\"name\">";
// line 61
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 61, $this->source); })()), "customName", [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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "locale", [], "any", false, false, false, 61)], "method", false, false, false, 61), "html", null, true);
yield "</span>
\t\t\t\t\t\t<meta itemprop=\"position\" content=\"3\"/>
\t\t\t\t\t</li>
\t\t\t\t</ol>
\t\t\t</div>
\t\t</section>
\t</div>
\t<section class=\"title-breadcrumbs\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"vidi_breadcrumbs\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\">
\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t<a href=\"";
// line 75
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("nissan_homepage");
yield "\" itemprop=\"item\">
\t\t\t\t\t\t\t\t<span itemprop=\"name\">NISSAN</span>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"1\">
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span class=\"bc_sep\">
\t\t\t\t\t\t\t→
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t<a itemprop=\"item\" href=\"";
// line 84
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("nissan_catalog");
yield "\">
\t\t\t\t\t\t\t\t<span itemprop=\"name\">";
// line 85
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.base_names.model_lineup", [], "dc_base"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"2\">
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span class=\"bc_sep\">
\t\t\t\t\t\t\t→
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t<a itemprop=\"item\" href=\"";
// line 93
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("nissan_category_catalog", ["category" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 93, $this->source); })()), "category", [], "any", false, false, false, 93), "url", [], "any", false, false, false, 93)]), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t<span itemprop=\"name\">";
// line 94
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 94, $this->source); })()), "category", [], "any", false, false, false, 94), "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.', 94, $this->source); })()), "request", [], "any", false, false, false, 94), "locale", [], "any", false, false, false, 94)], "method", false, false, false, 94), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"3\">
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span class=\"bc_sep\">
\t\t\t\t\t\t\t→
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t<span class=\"last-breadcrumbs\" itemprop=\"name\">";
// line 102
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 102, $this->source); })()), "customName", [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.', 102, $this->source); })()), "request", [], "any", false, false, false, 102), "locale", [], "any", false, false, false, 102)], "method", false, false, false, 102), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"4\">
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<main class=\"new__car-car\">
\t\t<section class=\"main-card-car section-padding\" id=\"gallery\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12 car-name\">
\t\t\t\t\t\t<h1 class=\"text-uppercase\">
\t\t\t\t\t\t\t";
// line 118
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 118, $this->source); })()), "slogan", [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.', 118, $this->source); })()), "request", [], "any", false, false, false, 118), "locale", [], "any", false, false, false, 118)], "method", false, false, false, 118), "html", null, true);
yield "
\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t";
// line 120
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 120, $this->source); })()), "customName", [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.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "locale", [], "any", false, false, false, 120)], "method", false, false, false, 120), "html", null, true);
yield "
\t\t\t\t\t\t</h1>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row align-items-center\">
\t\t\t\t\t";
// line 127
yield from $this->load("@DcSite/Modules/car/car-gallery.html.twig", 127)->unwrap()->yield($context);
// line 128
yield "
\t\t\t\t\t<div class=\"col-sm-12 col-md-12 col-lg-3 col-xl-3\">
\t\t\t\t\t\t<div class=\"mb30\">
\t\t\t\t\t\t\t";
// line 131
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 131, $this->source); })()), "showDisabled", [], "any", false, false, false, 131) == 1)) {
// line 132
yield "\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t<span class=\"car-price mb20\">";
// line 133
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("archive.title_one", [], "dc_base"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 137
yield "\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 137, $this->source); })()), "showDisabled", [], "any", false, false, false, 137) == 0)) {
// line 138
yield "\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t<span class=\"d-block\">
\t\t\t\t\t\t\t\t\t\t";
// line 140
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.car.prices_start", [], "dc_nissan"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t<span class=\"car-price-main\">
\t\t\t\t\t\t\t\t\t\t";
// line 143
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 143, $this->source); })()), "price", [], "any", false, false, false, 143) > 0)) {
// line 144
yield "\t\t\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main.from", [], "dc_jaguar"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 145
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->priceFilter(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 145, $this->source); })()), "price", [], "any", false, false, false, 145)), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 146
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main.uah", [], "dc_jaguar");
yield "
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 148
yield "\t\t\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.base.no-price", [], "dc_toyota"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t";
}
// line 150
yield "\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t";
// line 151
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 151, $this->source); })()), "hasActionPrice", [], "any", false, false, false, 151)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 152
yield "\t\t\t\t\t\t\t\t\t\t<span class=\"car-price-old mb20\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 153
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->priceFilter(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 153, $this->source); })()), "fullPrice", [], "any", false, false, false, 153)), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 154
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main.uah", [], "dc_jaguar");
yield "
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t";
}
// line 157
yield "\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
// line 159
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 159, $this->source); })()), "preorderPrice", [], "any", false, false, false, 159)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 160
yield "\t\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t\t<span class=\"d-block\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 162
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.car_card.price_in_production", [], "dc_base"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t<span class=\"car-price mb20\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 165
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main.from", [], "dc_jaguar"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 166
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->priceFilter(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 166, $this->source); })()), "preorderPrice", [], "any", false, false, false, 166)), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 167
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main.uah", [], "dc_jaguar");
yield "
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 172
yield "\t\t\t\t\t\t\t";
}
// line 173
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"\">
\t\t\t\t\t\t\t";
// line 175
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 175, $this->source); })()), "showDisabled", [], "any", false, false, false, 175) == 0)) {
// line 176
yield "\t\t\t\t\t\t\t\t<button class=\"btn btn-primary w-100 mb-3\" type=\"button\" data-toggle=\"modal\" data-target=\"#order-car\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.car_card.btn_buy", [], "dc_base"), "html", null, true);
yield "</button>
\t\t\t\t\t\t\t\t<a href=\"";
// line 177
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("nissan_service_consultation_form_online", ["vehicleId" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 177, $this->source); })()), "vehicleId", [], "any", false, false, false, 177)]), "html", null, true);
yield "\" class=\"btn btn-outline-primary w-100 mb20\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("car_page.consultation", [], "dc_base"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t";
}
// line 179
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t<div class=\"navs sticky-top mobile-static\" id=\"nav-manu\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t<ul class=\"navs-list mobile-scroll cancel-mobile-scroll\">
\t\t\t\t\t\t\t";
// line 190
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 190, $this->source); })()), "hasInStock", [], "any", false, false, false, 190)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 191
yield "\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"#car-in-stock\" class=\"navs-list-link \">";
// line 192
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("car_page.new.in_stock", [], "dc_base"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
// line 195
yield "\t\t\t\t\t\t\t";
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["vehicleColor"]) || array_key_exists("vehicleColor", $context) ? $context["vehicleColor"] : (function () { throw new RuntimeError('Variable "vehicleColor" does not exist.', 195, $this->source); })()), "colors", [], "any", false, false, false, 195))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 196
yield "\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"#select-vehicle-color\" class=\"navs-list-link active\">";
// line 197
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("car_page.new.color", [], "dc_base"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
// line 200
yield " ";
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 200, $this->source); })()), "firstYoutubeUrl", [], "any", false, false, false, 200))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 201
yield " <li class=\"navs-list-li\">
<a href=\"#videoReview\" class=\"navs-list-link\">";
// line 202
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("vehicles.video", [], "dc_base"), "html", null, true);
yield "</a>
</li>
";
}
// line 205
yield "\t\t\t\t\t\t\t";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 205, $this->source); })()), "hasFeatures", [], "any", false, false, false, 205)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 206
yield "\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"#overview\" class=\"navs-list-link\">";
// line 207
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("car_page.new.overview", [], "dc_base"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
// line 210
yield "\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 210, $this->source); })()), "vehicleId", [], "any", false, false, false, 210) == "1911")) {
// line 211
yield "\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 212
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("nissan_leaf");
yield " \" class=\"navs-list-link\">Nissan Intelligent Mobility</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
// line 215
yield "\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t<a href=\"";
// line 216
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("nissan_one_car_configuraion", ["category" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 216, $this->source); })()), "category", [], "any", false, false, false, 216), "url", [], "any", false, false, false, 216), "car" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 216, $this->source); })()), "url", [], "any", false, false, false, 216)]), "html", null, true);
yield "\" class=\"navs-list-link\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("car_page.new.complectation", [], "dc_base"), "html", null, true);
yield ",
\t\t\t\t\t\t\t\t\t";
// line 217
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("car_page.new.price", [], "dc_base"), "html", null, true);
yield ",
\t\t\t\t\t\t\t\t\t";
// line 218
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("car_page.new.tech", [], "dc_base"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
// line 220
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 220, $this->source); })()), "files", [], "any", false, false, false, 220), "count", [], "any", false, false, false, 220)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 221
yield "\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a class=\"dropdown-toggle navs-list-link\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">";
// line 222
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("car_page.new.broshurs", [], "dc_base"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t<div class=\"dropdown-menu dropdown-menu-broshure\">
\t\t\t\t\t\t\t\t\t\t";
// line 224
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 224, $this->source); })()), "files", [], "any", false, false, false, 224));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 225
yield "\t\t\t\t\t\t\t\t\t\t\t<a class=\"dropdown-item\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_download_file", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["file"], "id", [], "any", false, false, false, 225)]), "html", null, true);
yield "\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"broshure-name\">";
// line 227
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["file"], "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.', 227, $this->source); })()), "request", [], "any", false, false, false, 227), "locale", [], "any", false, false, false, 227)], "method", false, false, false, 227), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['file'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 231
yield "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
// line 234
yield "\t\t\t\t\t\t\t";
if ((($tmp = (isset($context["faqs"]) || array_key_exists("faqs", $context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.', 234, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 235
yield "\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"#faqs\" class=\"navs-list-link\">";
// line 236
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.car_card.nav.faq", [], "dc_base"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
// line 239
yield "
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t";
// line 245
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 245, $this->source); })()), "showDisabled", [], "any", false, false, false, 245) != 1)) {
// line 246
yield "\t\t\t";
yield from $this->load("@DcSite/Modules/car/finance-services.html.twig", 246)->unwrap()->yield(CoreExtension::merge($context, ["newCreditCalc" => true]));
// line 247
yield "\t\t";
}
// line 248
yield "
\t\t";
// line 249
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 249, $this->source); })()), "hasInStock", [], "any", false, false, false, 249) || (CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 249, $this->source); })()), "showDisabled", [], "any", false, false, false, 249) == 1))) {
// line 250
yield "\t\t\t";
yield from $this->load("@DcSite/Modules/car/card-in-stock-block.html.twig", 250)->unwrap()->yield($context);
// line 251
yield "\t\t\t";
yield from $this->load("@DcSite/Modules/n-buy-in-stock-car-popup.html.twig", 251)->unwrap()->yield($context);
// line 252
yield "\t\t";
}
// line 253
yield "
\t\t";
// line 255
yield from $this->load("@DcSite/Modules/vehicle/vehicle-color.html.twig", 255)->unwrap()->yield($context);
// line 256
yield "
";
// line 257
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 257, $this->source); })()), "firstYoutubeUrl", [], "any", false, false, false, 257))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 258
yield " <section class=\"section_car_video\" id=\"videoReview\">
<div class=\"container\">
";
// line 260
yield from $this->load("@DcSite/Modules/vehicle/video-block.html.twig", 260)->unwrap()->yield(CoreExtension::merge($context, ["videoPath" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 260, $this->source); })()), "firstYoutubeUrl", [], "any", false, false, false, 260), "brand" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 260, $this->source); })()), "brand", [], "any", false, false, false, 260), "name", [], "any", false, false, false, 260), "model" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 260, $this->source); })()), "modelName", [], "any", false, false, false, 260)]));
// line 261
yield " </div>
</section>
";
}
// line 264
yield "
\t\t";
// line 265
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 265, $this->source); })()), "hasFeatures", [], "any", false, false, false, 265)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 266
yield "\t\t\t";
yield from $this->load("@DcSite/Modules/car/car-feature.html.twig", 266)->unwrap()->yield(CoreExtension::merge($context, ["lazyLoad" => true]));
// line 267
yield "\t\t";
}
// line 268
yield "
\t\t";
// line 269
if ((($tmp = (isset($context["faqs"]) || array_key_exists("faqs", $context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.', 269, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 270
yield "\t\t\t<section id=\"faqs\" class=\"faq__wrapper\">
\t\t\t\t";
// line 271
yield from $this->load("@DcSite/Modules/car/car-faq_v3.html.twig", 271)->unwrap()->yield($context);
// line 272
yield "\t\t\t</section>
\t\t";
}
// line 274
yield "
\t\t<section class=\"seo-block section-padding section-grey\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12 section-title text-left\">
\t\t\t\t\t\t<span>";
// line 279
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.car.details_about", [], "dc_nissan"), "html", null, true);
yield "
\t\t\t\t\t\t\t";
// line 280
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 280, $this->source); })()), "customName", [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.', 280, $this->source); })()), "request", [], "any", false, false, false, 280), "locale", [], "any", false, false, false, 280)], "method", false, false, false, 280), "html", null, true);
yield "</span>
\t\t\t\t\t\t";
// line 284
yield "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t<div class=\"seo-wrap\" id=\"seo-content\">
\t\t\t\t\t\t\t";
// line 289
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 289, $this->source); })()), "content", [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.', 289, $this->source); })()), "request", [], "any", false, false, false, 289), "locale", [], "any", false, false, false, 289)], "method", false, false, false, 289);
yield "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t";
// line 296
yield from $this->load("@DcSiteBundle/Modules/n-buy-car-popup.html.twig", 296)->unwrap()->yield($context);
// line 297
yield "
\t\t";
// line 299
yield from $this->load("@DcSite/Modules/n-buy-acc-popup.html.twig", 299)->unwrap()->yield($context);
// line 300
yield "
\t\t";
// line 301
yield from $this->load("@DcSite/Modules/call-me-popup.html.twig", 301)->unwrap()->yield(CoreExtension::merge($context, ["route" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("form_call_me", ["formType" => 4])]));
// line 304
yield "
\t\t";
// line 305
yield from $this->load("@DcSite/Modules/sps-popup-credit.html.twig", 305)->unwrap()->yield(CoreExtension::merge($context, ["homePage" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("nissan_homepage")]));
// line 306
yield "
\t</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 312
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_script(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", "script"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "script"));
// line 313
yield " <script src=\"/dist/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["MODE"]) || array_key_exists("MODE", $context) ? $context["MODE"] : (function () { throw new RuntimeError('Variable "MODE" does not exist.', 313, $this->source); })()), "html", null, true);
yield "/dcsite/nissan/js/nissanCarCard.js?";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["VERSION"]) || array_key_exists("VERSION", $context) ? $context["VERSION"] : (function () { throw new RuntimeError('Variable "VERSION" does not exist.', 313, $this->source); })()), "html", null, true);
yield "\"></script>
<script>
\$(() => {
window.initCarGallery({
firstImage: '";
// line 317
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->webpUrl(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 317, $this->source); })()), "getFirstGalleryImage", [], "any", false, false, false, 317), "new_slider"), "html", null, true);
yield "',
hasVideo: '";
// line 318
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 318, $this->source); })()), "hasVideo", [], "any", false, false, false, 318), "html", null, true);
yield "',
loadDataUrl: '";
// line 319
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("car-card-load-gallery", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 319, $this->source); })()), "vehicleId", [], "any", false, false, false, 319)]), "html", null, true);
yield "',
lightGalleryUrl: '";
// line 320
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/core/js/modules/gallery/lightgallery.js"), "html", null, true);
yield "',
lightGalleryCss: '";
// line 321
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/core/css/modules/gallery/lightgallery.css"), "html", null, true);
yield "',
galleryCss: '";
// line 322
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/core/css/bootstrap_build/carousel.css"), "html", null, true);
yield "',
});
window.initVehicleColors({
vehicleColor: '";
// line 325
yield $this->extensions['DcSiteBundle\Twig\TwigDcExtension']->jsonEncodeReplaceFilter((isset($context["vehicleColor"]) || array_key_exists("vehicleColor", $context) ? $context["vehicleColor"] : (function () { throw new RuntimeError('Variable "vehicleColor" does not exist.', 325, $this->source); })()));
yield "',
});
window.initInStock({
dataCarInStock: '";
// line 328
yield $this->extensions['DcSiteBundle\Twig\TwigDcExtension']->jsonEncodeReplaceFilter((isset($context["carInStock"]) || array_key_exists("carInStock", $context) ? $context["carInStock"] : (function () { throw new RuntimeError('Variable "carInStock" does not exist.', 328, $this->source); })()));
yield "',
});
window.initTradeIn({
initUrl: '";
// line 332
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_ti_init");
yield "',
dealer: ";
// line 333
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 333, $this->source); })()), "dealer", [], "any", false, false, false, 333), "id", [], "any", false, false, false, 333), "html", null, true);
yield ",
carId: ";
// line 334
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 334, $this->source); })()), "vehicleId", [], "any", false, false, false, 334), "html", null, true);
yield ",
variationId: ";
// line 335
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 335, $this->source); })()), "vehicleItemId", [], "any", false, false, false, 335), "html", null, true);
yield ",
agreementUrl: '";
// line 336
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["privacyUrl"]) || array_key_exists("privacyUrl", $context) ? $context["privacyUrl"] : (function () { throw new RuntimeError('Variable "privacyUrl" does not exist.', 336, $this->source); })()), "html", null, true);
yield "',
});
window.initCasco({
initUrl : '";
// line 339
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_casco_init");
yield "',
initByDealerUrl : '";
// line 340
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_casco_init_by_dealer");
yield "',
optionsUrl : '";
// line 341
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_casco_options");
yield "',
formUrl : '";
// line 342
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_casco_save_form");
yield "',
privacyUrl: '";
// line 343
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["privacyUrl"]) || array_key_exists("privacyUrl", $context) ? $context["privacyUrl"] : (function () { throw new RuntimeError('Variable "privacyUrl" does not exist.', 343, $this->source); })()), "html", null, true);
yield "',
dealer: ";
// line 344
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 344, $this->source); })()), "dealer", [], "any", false, false, false, 344), "id", [], "any", false, false, false, 344), "html", null, true);
yield ",
carId: ";
// line 345
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 345, $this->source); })()), "vehicleId", [], "any", false, false, false, 345), "html", null, true);
yield ",
variationId: ";
// line 346
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 346, $this->source); })()), "vehicleItemId", [], "any", false, false, false, 346), "html", null, true);
yield ",
disableCarChange: true
});
window.initAccessory({
dealer: ";
// line 351
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 351, $this->source); })()), "dealer", [], "any", false, false, false, 351), "id", [], "any", false, false, false, 351), "html", null, true);
yield ",
carId: ";
// line 352
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 352, $this->source); })()), "vehicleId", [], "any", false, false, false, 352), "html", null, true);
yield ",
initUrl: '";
// line 353
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_accessories_widget_init");
yield "',
initByDealerUrl: '";
// line 354
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_accessories_widget_by_dealer");
yield "',
withoutModelFilter: true,
});
window.initRegCost({
initUrl: '";
// line 359
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_reg_cost_init");
yield "',
carId: ";
// line 360
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 360, $this->source); })()), "vehicleId", [], "any", false, false, false, 360), "html", null, true);
yield ",
});
const obj = new dcsite.nissanCarCard.Credit();
obj.initCreditCalc({
getVehicleBrandUrl: '";
// line 366
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_credit_find_brand");
yield "',
getVehicleModelUrl: '";
// line 367
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_credit_find_model");
yield "',
getVehicleEquipmentUrl: '";
// line 368
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_credit_find_equipment");
yield "',
getVehicleVariationUrl: '";
// line 369
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_credit_find_variation");
yield "',
getVehicleUrl: '";
// line 370
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_credit_get_vehicle");
yield "',
initCreditCalcUrl: '";
// line 371
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_finance_credit_init");
yield "',
initTradeInUrl: '";
// line 372
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_ti_init");
yield "',
agreementUrl: '";
// line 373
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("automarket_personal_data_agreement");
yield "',
loadListDocumentUrl: '";
// line 374
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_credit_load_documents");
yield "',
schedulePaymentUrl: '";
// line 375
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_credit_load_schedule_credit_pdf");
yield "',
getVehiclesByWalletUrl: '";
// line 376
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_finance_credit_by_price");
yield "',
getVehiclesWithMinPriceUrl: '";
// line 377
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_finance_credit_by_price_min");
yield "',
getCrmUUIDUrl: '";
// line 378
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_finance_crm_lead_by_uuid");
yield "',
getCrmDataUrl: '";
// line 379
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_finance_crm_create_lead");
yield "',
sendLeadUrl: '";
// line 380
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dc_credit_save");
yield "',
ks: '";
// line 381
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.k_s", [], "portal_base"), "html", null, true);
yield "',
enginePower: '";
// line 382
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cars.engine", [], "portal_base"), "html", null, true);
yield "',
translate_month: '";
// line 383
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.credit_month_short", [], "portal_base"), "html", null, true);
yield "',
translate_under: '";
// line 384
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.credit_under", [], "portal_base"), "html", null, true);
yield "',
translate_first_payment: '";
// line 385
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("form.first_give", [], "portal_base"), "html", null, true);
yield "',
translate_uah: ' грн',
translate_not_enough_money: '";
// line 387
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.not_enough_money", [], "portal_base"), "html", null, true);
yield "',
translate_not_estimate_vehicle: '";
// line 388
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.not_estimate_vehicle", [], "portal_base"), "html", null, true);
yield "',
translate_min_first_payment_for_car: '";
// line 389
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.min_first_payment_for_car", [], "portal_base"), "html", null, true);
yield "',
translate_unfortunately_not_enough: '";
// line 390
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.unfortunately_not_enough", [], "portal_base"), "html", null, true);
yield "',
translate_price_of_your_car: '";
// line 391
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.price_of_your_car", [], "portal_base"), "html", null, true);
yield "',
translate_estimate_vehicle_more_1: '";
// line 392
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.translate_estimate_vehicle_more_1", [], "portal_base"), "html", null, true);
yield "',
translate_estimate_vehicle_more_2: '";
// line 393
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.translate_estimate_vehicle_more_2", [], "portal_base"), "html", null, true);
yield "',
translate_min: '";
// line 394
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.min", [], "portal_base"), "html", null, true);
yield "',
translate_min_first_payment: '";
// line 395
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.min_first_payment", [], "portal_base"), "html", null, true);
yield "',
translate_min_month_payment: '";
// line 396
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.min_month_payment", [], "portal_base"), "html", null, true);
yield "',
translate_month_term_credit: '";
// line 397
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.month_term_credit", [], "portal_base"), "html", null, true);
yield "',
continue_first_least: '";
// line 398
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.continue_first_least", [], "portal_base"), "html", null, true);
yield "',
translate_term_months: '";
// line 399
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.term_months", [], "portal_base"), "html", null, true);
yield "',
translate_term_months_short: '";
// line 400
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.term_months_short", [], "portal_base"), "html", null, true);
yield "',
translate_price_from: '";
// line 401
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.price_from", [], "portal_base"), "html", null, true);
yield "',
credit_coplectation: '";
// line 402
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.credit_coplectation", [], "portal_base"), "html", null, true);
yield "',
credit_modification: '";
// line 403
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("finance.credit.credit_modification", [], "portal_base"), "html", null, true);
yield "',
privacyUrl: '";
// line 404
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["privacyUrl"]) || array_key_exists("privacyUrl", $context) ? $context["privacyUrl"] : (function () { throw new RuntimeError('Variable "privacyUrl" does not exist.', 404, $this->source); })()), "html", null, true);
yield "',
name: '";
// line 405
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 405), "name", [], "any", true, true, false, 405)) ? (Twig\Extension\CoreExtension::default(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.', 405, $this->source); })()), "user", [], "any", false, false, false, 405), "name", [], "any", false, false, false, 405), null)) : (null)), "html", null, true);
yield "',
phone: '";
// line 406
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 406), "phone", [], "any", true, true, false, 406)) ? (Twig\Extension\CoreExtension::default(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.', 406, $this->source); })()), "user", [], "any", false, false, false, 406), "phone", [], "any", false, false, false, 406), null)) : (null)), "html", null, true);
yield "',
unsetUsedTypeVehicle: true,
unsetFlow2: true,
newCarUrl: 'nissan_one_car',
usedCarUrl: '',
brand_id: ";
// line 411
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 411, $this->source); })()), "brand", [], "any", false, false, false, 411), "id", [], "any", false, false, false, 411), "html", null, true);
yield ",
dealer_id: ";
// line 412
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 412, $this->source); })()), "dealer", [], "any", false, false, false, 412), "id", [], "any", false, false, false, 412), "html", null, true);
yield ",
model_id: ";
// line 413
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["model"]) || array_key_exists("model", $context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.', 413, $this->source); })()), "model", [], "any", false, false, false, 413), "id", [], "any", false, false, false, 413), "html", null, true);
yield ",
newCarCard: true,
});
});
</script>
<script type=\"application/ld+json\">
";
// line 420
yield (isset($context["structuredData"]) || array_key_exists("structuredData", $context) ? $context["structuredData"] : (function () { throw new RuntimeError('Variable "structuredData" does not exist.', 420, $this->source); })());
yield "
</script>
";
// line 422
yield from $this->unwrap()->yieldBlock('scriptCreditCard', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_scriptCreditCard(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", "scriptCreditCard"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scriptCreditCard"));
// line 423
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@DcSite/Nissan/Car/car-card.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 1144 => 423, 1121 => 422, 1116 => 420, 1106 => 413, 1102 => 412, 1098 => 411, 1090 => 406, 1086 => 405, 1082 => 404, 1078 => 403, 1074 => 402, 1070 => 401, 1066 => 400, 1062 => 399, 1058 => 398, 1054 => 397, 1050 => 396, 1046 => 395, 1042 => 394, 1038 => 393, 1034 => 392, 1030 => 391, 1026 => 390, 1022 => 389, 1018 => 388, 1014 => 387, 1009 => 385, 1005 => 384, 1001 => 383, 997 => 382, 993 => 381, 989 => 380, 985 => 379, 981 => 378, 977 => 377, 973 => 376, 969 => 375, 965 => 374, 961 => 373, 957 => 372, 953 => 371, 949 => 370, 945 => 369, 941 => 368, 937 => 367, 933 => 366, 924 => 360, 920 => 359, 912 => 354, 908 => 353, 904 => 352, 900 => 351, 892 => 346, 888 => 345, 884 => 344, 880 => 343, 876 => 342, 872 => 341, 868 => 340, 864 => 339, 858 => 336, 854 => 335, 850 => 334, 846 => 333, 842 => 332, 835 => 328, 829 => 325, 823 => 322, 819 => 321, 815 => 320, 811 => 319, 807 => 318, 803 => 317, 793 => 313, 780 => 312, 766 => 306, 764 => 305, 761 => 304, 759 => 301, 756 => 300, 754 => 299, 750 => 297, 748 => 296, 738 => 289, 731 => 284, 727 => 280, 723 => 279, 716 => 274, 712 => 272, 710 => 271, 707 => 270, 705 => 269, 702 => 268, 699 => 267, 696 => 266, 694 => 265, 691 => 264, 686 => 261, 684 => 260, 680 => 258, 678 => 257, 675 => 256, 673 => 255, 669 => 253, 666 => 252, 663 => 251, 660 => 250, 658 => 249, 655 => 248, 652 => 247, 649 => 246, 647 => 245, 639 => 239, 633 => 236, 630 => 235, 627 => 234, 622 => 231, 612 => 227, 606 => 225, 602 => 224, 597 => 222, 594 => 221, 592 => 220, 587 => 218, 583 => 217, 577 => 216, 574 => 215, 568 => 212, 565 => 211, 562 => 210, 556 => 207, 553 => 206, 550 => 205, 544 => 202, 541 => 201, 538 => 200, 532 => 197, 529 => 196, 526 => 195, 520 => 192, 517 => 191, 515 => 190, 502 => 179, 495 => 177, 490 => 176, 488 => 175, 484 => 173, 481 => 172, 473 => 167, 469 => 166, 465 => 165, 459 => 162, 455 => 160, 453 => 159, 449 => 157, 443 => 154, 439 => 153, 436 => 152, 434 => 151, 431 => 150, 425 => 148, 420 => 146, 416 => 145, 411 => 144, 409 => 143, 403 => 140, 399 => 138, 396 => 137, 389 => 133, 386 => 132, 384 => 131, 379 => 128, 377 => 127, 367 => 120, 362 => 118, 343 => 102, 332 => 94, 328 => 93, 317 => 85, 313 => 84, 301 => 75, 284 => 61, 273 => 53, 260 => 43, 252 => 37, 239 => 36, 225 => 33, 212 => 32, 195 => 29, 186 => 28, 173 => 27, 159 => 24, 146 => 23, 130 => 19, 125 => 18, 121 => 16, 118 => 15, 112 => 13, 110 => 12, 102 => 11, 99 => 10, 93 => 8, 87 => 6, 85 => 5, 82 => 4, 69 => 3, 46 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@DcSite/Nissan/template.html.twig' %}
{% block head %}
\t<title>
\t\t{% if model.seoTitle(app.request.locale) %}
\t\t\t{{ model.seoTitle(app.request.locale) }}
\t\t{% else %}
\t\t\t{{ 'pages.seo.title'|trans({},'dc_nissan') }}
\t\t{% endif %}
\t</title>
\t<meta name=\"description\" content=\"{% if model.seoDescription(app.request.locale) %}{{ model.seoDescription(app.request.locale) }}{% else %}{{ 'pages.seo.description'|trans({},'dc_nissan') }}{% endif %}\"/>
\t{% if model.seoKeywords(app.request.locale) %}
\t\t<meta name=\"keywords\" content=\"{{ model.seoKeywords(app.request.locale) }}\"/>
\t{% endif %}
\t{% if model.noindexFollow %}
\t\t<meta name=\"robots\" content=\"noindex, follow\"/>
\t{% endif %}
\t<link rel=\"preload\" as=\"image\" href=\"{{ webpUrl(model.getFirstGalleryImage,'new_slider') }}\">
\t<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/{{ MODE }}/dcsite/nissan/css/nissanCarCard.css?{{ VERSION }}\">
{% endblock %}
{% block ogtagDynamicImage %}
\t<meta property=\"og:image\" content=\"{{ absolute_url(media_url(model.galleryImageOrPreview, 'reference')) }}\"/>
{% endblock %}
{% block ogtagDynamic %}
\t<meta property=\"og:title\" content=\"{% if model.seoTitle(app.request.locale) %}{{ model.seoTitle(app.request.locale) }}{% else %}{{ 'pages.seo.title'|trans({},'dc_nissan') }}{% endif %}\"/>
\t<meta property=\"og:description\" content=\"{% if model.seoDescription(app.request.locale) %}{{ model.seoDescription(app.request.locale) }}{% else %}{{ 'pages.seo.description'|trans({},'dc_nissan') }}{% endif %}\"/>
{% endblock %}
{% block socialPreview %}
\t<img src=\"{{ absolute_url(media_url(model.galleryImageOrPreview, 'reference')) }}\" class=\"d-none\">
{% endblock %}
{% block content %}
\t<div style=\"display: none\" class=\"breadcrumbs__shadow\">
\t\t<section class=\"breadcrumbs__new\">
\t\t\t<div class=\"container\">
\t\t\t\t<ol class=\"global_breadcrumbs__new\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
\t\t\t\t\t<li class=\"marker__none\" itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
\t\t\t\t\t\t<a itemprop=\"item\" href=\"{{ path('nissan_homepage') }}\">
\t\t\t\t\t\t\t<span class=\"breadcrumbs__link\" itemprop=\"name\">NISSAN</span>
\t\t\t\t\t\t</a>
\t\t\t\t\t\t<meta itemprop=\"position\" content=\"1\"/>
\t\t\t\t\t</li>
\t\t\t\t\t<div class=\"arrow-bcs\">
\t\t\t\t\t\t❯
\t\t\t\t\t</div>
\t\t\t\t\t<li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
\t\t\t\t\t\t<span class=\"breadcrumbs__link\" itemprop=\"name\">{{ 'pages.base_names.model_lineup'|trans({}, 'dc_base') }}</span>
\t\t\t\t\t\t<meta itemprop=\"position\" content=\"2\"/>
\t\t\t\t\t</li>
\t\t\t\t\t<div class=\"arrow-bcs\">
\t\t\t\t\t\t❯
\t\t\t\t\t</div>
\t\t\t\t\t<li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
\t\t\t\t\t\t<span class=\"breadcrumbs__link\" itemprop=\"name\">{{ model.customName(app.request.locale) }}</span>
\t\t\t\t\t\t<meta itemprop=\"position\" content=\"3\"/>
\t\t\t\t\t</li>
\t\t\t\t</ol>
\t\t\t</div>
\t\t</section>
\t</div>
\t<section class=\"title-breadcrumbs\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"vidi_breadcrumbs\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\">
\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t<a href=\"{{ path('nissan_homepage') }}\" itemprop=\"item\">
\t\t\t\t\t\t\t\t<span itemprop=\"name\">NISSAN</span>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"1\">
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span class=\"bc_sep\">
\t\t\t\t\t\t\t→
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t<a itemprop=\"item\" href=\"{{ path('nissan_catalog') }}\">
\t\t\t\t\t\t\t\t<span itemprop=\"name\">{{ 'pages.base_names.model_lineup'|trans({}, 'dc_base') }}</span>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"2\">
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span class=\"bc_sep\">
\t\t\t\t\t\t\t→
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t<a itemprop=\"item\" href=\"{{ path('nissan_category_catalog', {category: model.category.url}) }}\">
\t\t\t\t\t\t\t\t<span itemprop=\"name\">{{ model.category.title(app.request.locale) }}</span>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"3\">
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span class=\"bc_sep\">
\t\t\t\t\t\t\t→
\t\t\t\t\t\t</span>
\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t<span class=\"last-breadcrumbs\" itemprop=\"name\">{{ model.customName(app.request.locale) }}</span>
\t\t\t\t\t\t\t<meta itemprop=\"position\" content=\"4\">
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<main class=\"new__car-car\">
\t\t<section class=\"main-card-car section-padding\" id=\"gallery\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12 car-name\">
\t\t\t\t\t\t<h1 class=\"text-uppercase\">
\t\t\t\t\t\t\t{{ model.slogan(app.request.locale) }}
\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t{{ model.customName(app.request.locale) }}
\t\t\t\t\t\t</h1>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row align-items-center\">
\t\t\t\t\t{% include '@DcSite/Modules/car/car-gallery.html.twig' %}
\t\t\t\t\t<div class=\"col-sm-12 col-md-12 col-lg-3 col-xl-3\">
\t\t\t\t\t\t<div class=\"mb30\">
\t\t\t\t\t\t\t{% if model.showDisabled == 1 %}
\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t<span class=\"car-price mb20\">{{ 'archive.title_one'|trans({}, 'dc_base') }}</span>
\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if model.showDisabled == 0 %}
\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t<span class=\"d-block\">
\t\t\t\t\t\t\t\t\t\t{{ 'pages.car.prices_start'|trans({},'dc_nissan') }}
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t<span class=\"car-price-main\">
\t\t\t\t\t\t\t\t\t\t{% if model.price > 0 %}
\t\t\t\t\t\t\t\t\t\t\t{{ 'main.from'|trans({}, 'dc_jaguar') }}
\t\t\t\t\t\t\t\t\t\t\t{{ model.price|price }}
\t\t\t\t\t\t\t\t\t\t\t{{ 'main.uah'|trans({}, 'dc_jaguar')|raw }}
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t{{ 'pages.base.no-price'|trans({},'dc_toyota') }}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t{% if model.hasActionPrice %}
\t\t\t\t\t\t\t\t\t\t<span class=\"car-price-old mb20\">
\t\t\t\t\t\t\t\t\t\t\t{{ model.fullPrice|price }}
\t\t\t\t\t\t\t\t\t\t\t{{ 'main.uah'|trans({}, 'dc_jaguar')|raw }}
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% if model.preorderPrice %}
\t\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t\t<span class=\"d-block\">
\t\t\t\t\t\t\t\t\t\t\t{{ 'pages.car_card.price_in_production'|trans({},'dc_base') }}
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t<span class=\"car-price mb20\">
\t\t\t\t\t\t\t\t\t\t\t{{ 'main.from'|trans({}, 'dc_jaguar') }}
\t\t\t\t\t\t\t\t\t\t\t{{ model.preorderPrice|price }}
\t\t\t\t\t\t\t\t\t\t\t{{ 'main.uah'|trans({}, 'dc_jaguar')|raw }}
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"\">
\t\t\t\t\t\t\t{% if model.showDisabled == 0 %}
\t\t\t\t\t\t\t\t<button class=\"btn btn-primary w-100 mb-3\" type=\"button\" data-toggle=\"modal\" data-target=\"#order-car\">{{ 'pages.car_card.btn_buy'|trans({}, 'dc_base') }}</button>
\t\t\t\t\t\t\t\t<a href=\"{{ path('nissan_service_consultation_form_online',{ vehicleId : model.vehicleId })}}\" class=\"btn btn-outline-primary w-100 mb20\">{{ 'car_page.consultation'|trans({}, 'dc_base') }}</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t<div class=\"navs sticky-top mobile-static\" id=\"nav-manu\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t<ul class=\"navs-list mobile-scroll cancel-mobile-scroll\">
\t\t\t\t\t\t\t{% if model.hasInStock %}
\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"#car-in-stock\" class=\"navs-list-link \">{{ 'car_page.new.in_stock'|trans({}, 'dc_base') }}</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if vehicleColor.colors is not empty %}
\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"#select-vehicle-color\" class=\"navs-list-link active\">{{ 'car_page.new.color'|trans({}, 'dc_base') }}</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endif %}
{% if model.firstYoutubeUrl is not empty %}
<li class=\"navs-list-li\">
<a href=\"#videoReview\" class=\"navs-list-link\">{{ 'vehicles.video'|trans({}, 'dc_base') }}</a>
</li>
{% endif %}
\t\t\t\t\t\t\t{% if model.hasFeatures %}
\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"#overview\" class=\"navs-list-link\">{{ 'car_page.new.overview'|trans({}, 'dc_base') }}</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if model.vehicleId == '1911' %}
\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"{{ path('nissan_leaf') }} \" class=\"navs-list-link\">Nissan Intelligent Mobility</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t<a href=\"{{ path('nissan_one_car_configuraion', {category: model.category.url, car: model.url}) }}\" class=\"navs-list-link\">{{ 'car_page.new.complectation'|trans({}, 'dc_base') }},
\t\t\t\t\t\t\t\t\t{{ 'car_page.new.price'|trans({}, 'dc_base') }},
\t\t\t\t\t\t\t\t\t{{ 'car_page.new.tech'|trans({}, 'dc_base') }}</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% if model.files.count %}
\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a class=\"dropdown-toggle navs-list-link\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">{{ 'car_page.new.broshurs'|trans({}, 'dc_base') }}</a>
\t\t\t\t\t\t\t\t\t<div class=\"dropdown-menu dropdown-menu-broshure\">
\t\t\t\t\t\t\t\t\t\t{% for file in model.files %}
\t\t\t\t\t\t\t\t\t\t\t<a class=\"dropdown-item\" href=\"{{ path('base_download_file',{ id : file.id }) }}\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"broshure-name\">{{ file.title(app.request.locale) }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if faqs %}
\t\t\t\t\t\t\t\t<li class=\"navs-list-li\">
\t\t\t\t\t\t\t\t\t<a href=\"#faqs\" class=\"navs-list-link\">{{ 'pages.car_card.nav.faq'|trans({}, 'dc_base') }}</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t{% if model.showDisabled != 1 %}
\t\t\t{% include '@DcSite/Modules/car/finance-services.html.twig' with {newCreditCalc: true} %}
\t\t{% endif %}
\t\t{% if model.hasInStock or model.showDisabled == 1 %}
\t\t\t{% include '@DcSite/Modules/car/card-in-stock-block.html.twig' %}
\t\t\t{% include '@DcSite/Modules/n-buy-in-stock-car-popup.html.twig' %}
\t\t{% endif %}
\t\t{% include '@DcSite/Modules/vehicle/vehicle-color.html.twig' %}
{% if model.firstYoutubeUrl is not empty %}
<section class=\"section_car_video\" id=\"videoReview\">
<div class=\"container\">
{% include '@DcSite/Modules/vehicle/video-block.html.twig' with {'videoPath': model.firstYoutubeUrl, 'brand':model.brand.name,'model':model.modelName } %}
</div>
</section>
{% endif %}
\t\t{% if model.hasFeatures %}
\t\t\t{% include '@DcSite/Modules/car/car-feature.html.twig' with {lazyLoad:true} %}
\t\t{% endif %}
\t\t{% if faqs %}
\t\t\t<section id=\"faqs\" class=\"faq__wrapper\">
\t\t\t\t{% include '@DcSite/Modules/car/car-faq_v3.html.twig' %}
\t\t\t</section>
\t\t{% endif %}
\t\t<section class=\"seo-block section-padding section-grey\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12 section-title text-left\">
\t\t\t\t\t\t<span>{{ 'pages.car.details_about'|trans({},'dc_nissan') }}
\t\t\t\t\t\t\t{{ model.customName(app.request.locale) }}</span>
\t\t\t\t\t\t{#{% if model.hasHybrid %}
\t\t\t\t\t\t <span class=\"car-hybrid\" style=\"color: #30A4C8;\"> {{ 'base.car_cat.hubrid'|trans({}, 'dc_toyota') }}</span>
\t\t\t\t\t\t {% endif %}#}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t<div class=\"seo-wrap\" id=\"seo-content\">
\t\t\t\t\t\t\t{{ model.content(app.request.locale)|raw }}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t{% include '@DcSiteBundle/Modules/n-buy-car-popup.html.twig' %}
\t\t{% include '@DcSite/Modules/n-buy-acc-popup.html.twig' %}
\t\t{% include '@DcSite/Modules/call-me-popup.html.twig' with {
'route': path('form_call_me', {'formType': 4}),
} %}
\t\t{% include '@DcSite/Modules/sps-popup-credit.html.twig' with {'homePage' : path('nissan_homepage') } %}
\t</main>
{% endblock %}
{% block script %}
<script src=\"/dist/{{ MODE }}/dcsite/nissan/js/nissanCarCard.js?{{ VERSION }}\"></script>
<script>
\$(() => {
window.initCarGallery({
firstImage: '{{ webpUrl(model.getFirstGalleryImage,'new_slider') }}',
hasVideo: '{{ model.hasVideo }}',
loadDataUrl: '{{ path('car-card-load-gallery', {id: model.vehicleId}) }}',
lightGalleryUrl: '{{ asset('/bundles/core/js/modules/gallery/lightgallery.js') }}',
lightGalleryCss: '{{ asset('/bundles/core/css/modules/gallery/lightgallery.css') }}',
galleryCss: '{{ asset('/bundles/core/css/bootstrap_build/carousel.css') }}',
});
window.initVehicleColors({
vehicleColor: '{{ vehicleColor|json_encode_replace|raw }}',
});
window.initInStock({
dataCarInStock: '{{ carInStock|json_encode_replace|raw }}',
});
window.initTradeIn({
initUrl: '{{ path('dc_ti_init') }}',
dealer: {{ model.dealer.id }},
carId: {{ model.vehicleId }},
variationId: {{ model.vehicleItemId }},
agreementUrl: '{{ privacyUrl }}',
});
window.initCasco({
initUrl : '{{ path('base_casco_init') }}',
initByDealerUrl : '{{ path('base_casco_init_by_dealer') }}',
optionsUrl : '{{ path('base_casco_options') }}',
formUrl : '{{ path('base_casco_save_form') }}',
privacyUrl: '{{ privacyUrl }}',
dealer: {{ model.dealer.id }},
carId: {{ model.vehicleId }},
variationId: {{ model.vehicleItemId }},
disableCarChange: true
});
window.initAccessory({
dealer: {{ model.dealer.id }},
carId: {{ model.vehicleId }},
initUrl: '{{ path('base_accessories_widget_init') }}',
initByDealerUrl: '{{ path('base_accessories_widget_by_dealer') }}',
withoutModelFilter: true,
});
window.initRegCost({
initUrl: '{{ path('base_reg_cost_init') }}',
carId: {{ model.vehicleId }},
});
const obj = new dcsite.nissanCarCard.Credit();
obj.initCreditCalc({
getVehicleBrandUrl: '{{ path('dc_credit_find_brand') }}',
getVehicleModelUrl: '{{ path('dc_credit_find_model') }}',
getVehicleEquipmentUrl: '{{ path('dc_credit_find_equipment') }}',
getVehicleVariationUrl: '{{ path('dc_credit_find_variation') }}',
getVehicleUrl: '{{ path('dc_credit_get_vehicle') }}',
initCreditCalcUrl: '{{ path('dc_finance_credit_init') }}',
initTradeInUrl: '{{ path('dc_ti_init') }}',
agreementUrl: '{{ path('automarket_personal_data_agreement') }}',
loadListDocumentUrl: '{{ path('dc_credit_load_documents') }}',
schedulePaymentUrl: '{{ path('dc_credit_load_schedule_credit_pdf') }}',
getVehiclesByWalletUrl: '{{ path('dc_finance_credit_by_price') }}',
getVehiclesWithMinPriceUrl: '{{ path('dc_finance_credit_by_price_min') }}',
getCrmUUIDUrl: '{{ path('dc_finance_crm_lead_by_uuid') }}',
getCrmDataUrl: '{{ path('dc_finance_crm_create_lead') }}',
sendLeadUrl: '{{ path('dc_credit_save') }}',
ks: '{{ 'catalog.k_s'|trans({}, 'portal_base') }}',
enginePower: '{{ 'cars.engine'|trans({}, 'portal_base') }}',
translate_month: '{{ 'finance.credit.credit_month_short'|trans({}, 'portal_base') }}',
translate_under: '{{ 'finance.credit.credit_under'|trans({}, 'portal_base') }}',
translate_first_payment: '{{ 'form.first_give'|trans({}, 'portal_base') }}',
translate_uah: ' грн',
translate_not_enough_money: '{{ 'finance.credit.not_enough_money'|trans({}, 'portal_base') }}',
translate_not_estimate_vehicle: '{{ 'finance.credit.not_estimate_vehicle'|trans({}, 'portal_base') }}',
translate_min_first_payment_for_car: '{{ 'finance.credit.min_first_payment_for_car'|trans({}, 'portal_base') }}',
translate_unfortunately_not_enough: '{{ 'finance.credit.unfortunately_not_enough'|trans({}, 'portal_base') }}',
translate_price_of_your_car: '{{ 'finance.credit.price_of_your_car'|trans({}, 'portal_base') }}',
translate_estimate_vehicle_more_1: '{{ 'finance.credit.translate_estimate_vehicle_more_1'|trans({}, 'portal_base') }}',
translate_estimate_vehicle_more_2: '{{ 'finance.credit.translate_estimate_vehicle_more_2'|trans({}, 'portal_base') }}',
translate_min: '{{ 'finance.credit.min'|trans({}, 'portal_base') }}',
translate_min_first_payment: '{{ 'finance.credit.min_first_payment'|trans({}, 'portal_base') }}',
translate_min_month_payment: '{{ 'finance.credit.min_month_payment'|trans({}, 'portal_base') }}',
translate_month_term_credit: '{{ 'finance.credit.month_term_credit'|trans({}, 'portal_base') }}',
continue_first_least: '{{ 'finance.credit.continue_first_least'|trans({}, 'portal_base') }}',
translate_term_months: '{{ 'finance.credit.term_months'|trans({}, 'portal_base') }}',
translate_term_months_short: '{{ 'finance.credit.term_months_short'|trans({}, 'portal_base') }}',
translate_price_from: '{{ 'finance.credit.price_from'|trans({}, 'portal_base') }}',
credit_coplectation: '{{ 'finance.credit.credit_coplectation'|trans({}, 'portal_base') }}',
credit_modification: '{{ 'finance.credit.credit_modification'|trans({}, 'portal_base') }}',
privacyUrl: '{{ privacyUrl }}',
name: '{{ app.user.name | default(null) }}',
phone: '{{ app.user.phone | default(null) }}',
unsetUsedTypeVehicle: true,
unsetFlow2: true,
newCarUrl: 'nissan_one_car',
usedCarUrl: '',
brand_id: {{model.brand.id }},
dealer_id: {{model.dealer.id}},
model_id: {{ model.model.id }},
newCarCard: true,
});
});
</script>
<script type=\"application/ld+json\">
{{ structuredData|raw }}
</script>
{% block scriptCreditCard %}
{% endblock %}
{% endblock script %}
", "@DcSite/Nissan/Car/car-card.html.twig", "/var/www/vidi.ua/releases/251023-65bd7d10/src/DcSiteBundle/Resources/views/Nissan/Car/car-card.html.twig");
}
}