<?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/template.html.twig */
class __TwigTemplate_d8366f2cf46ecc614f0601a188dc4158 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->parent = false;
$this->blocks = [
'canonical' => [$this, 'block_canonical'],
'head' => [$this, 'block_head'],
'ogtagStatic' => [$this, 'block_ogtagStatic'],
'ogtagDynamicImage' => [$this, 'block_ogtagDynamicImage'],
'ogtagDynamic' => [$this, 'block_ogtagDynamic'],
'socialPreview' => [$this, 'block_socialPreview'],
'content' => [$this, 'block_content'],
'script' => [$this, 'block_script'],
];
}
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/template.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/template.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"";
// line 2
if ((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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2) == "ua")) {
yield "uk-ua";
} else {
yield "ru-ua";
}
yield "\">
<head>
<link rel=\"preconnect\" href=\"https://www.googletagmanager.com\">
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"";
// line 5
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 5, $this->source); })()), "name", [], "any", false, false, false, 5), "html", null, true);
yield "\" href=\"https://";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 5, $this->source); })()), "domain", [], "any", false, false, false, 5), "html", null, true);
yield "/rss/\"/>
";
// line 6
if ((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); })()), "environment", [], "any", false, false, false, 6) == "dev")) {
// line 7
yield " <meta name=\"robots\" content=\"noindex, nofollow\">
<meta name=\"google-site-verification\" content=\"FWJj2KVU8sswZ4I7nJAffMG7Tj8xgkCr3XX-FgBmAus\" />
";
}
// line 10
yield "
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
<meta name=viewport content=\"width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=0\">
<meta http-equiv=X-UA-Compatible content=\"IE=edge\">
<meta name=\"facebook-domain-verification\" content=\"0j54j7m1rl4nfltylelm819so0te9r\">
<meta name=\"theme-color\" content=\"#000000\">
<meta name=\"google-site-verification\" content=\"kSITOD3CzQTwikEVRyC_S6uDY8sHU2mv3Uo8KckRM-c\">
<meta name=\"google-site-verification\" content=\"sw0IXmrFlcX_EYOnpC72-AZGB4E6QD6jczSyQPNZTBo\">
<meta name=\"msapplication-TileColor\" content=\"#c3092e\">
<link rel=\"icon\" href=\"";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/nissan/favicon/48x48.ico"), "html", null, true);
yield "\" type=\"image/x-icon\">
<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"";
// line 21
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/nissan/favicon/76x76.png"), "html", null, true);
yield "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 22
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/nissan/favicon/32x32.png"), "html", null, true);
yield "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 23
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/nissan/favicon/16x16.png"), "html", null, true);
yield "\">
<link rel=\"manifest\" href=\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/nissan/favicon/site.webmanifest"), "html", null, true);
yield "\">
<link rel=\"mask-icon\" href=\"";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/nissan/favicon/safari-pinned-tab.svg"), "html", null, true);
yield "\" color=\"#c3092e\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/";
// line 27
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.', 27, $this->source); })()), "html", null, true);
yield "/dcsite/nissan/css/nissan.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.', 27, $this->source); })()), "html", null, true);
yield "\">
<script type=\"text/javascript\" src=\"";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/core/js/vue/vue.js"), "html", null, true);
yield "\"></script>
";
// line 30
yield from $this->unwrap()->yieldBlock('canonical', $context, $blocks);
// line 33
yield "
";
// line 34
yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
// line 36
yield "
";
// line 37
yield from $this->unwrap()->yieldBlock('ogtagStatic', $context, $blocks);
// line 40
yield " ";
yield from $this->unwrap()->yieldBlock('ogtagDynamicImage', $context, $blocks);
// line 43
yield " ";
yield from $this->unwrap()->yieldBlock('ogtagDynamic', $context, $blocks);
// line 45
yield "
";
// line 46
if ((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS", $context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.', 46, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 47
yield " <script type=\"text/javascript\">
(function (d,s,u,e,p) {
p=d.getElementsByTagName(s)[0],e=d.createElement(s),e.async=1,e.src=u,p.parentNode.insertBefore(e, p);
})(document, 'script', 'https://script.ringostat.com/v4/d5/d5689c038b577e4b24bf08b0a65a1786d8b61ce6.js');
var pw = function() {if (typeof(ringostatAnalytics) === \"undefined\") {setTimeout(pw,100);} else {ringostatAnalytics.sendHit('pageview');}};
pw();
</script>
<noscript><img alt=\"facebook\" height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=1402879063213035&ev=PageView&noscript=1\"/></noscript>
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WDS9XVD\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
";
// line 57
yield from $this->load("@DcSite/Modules/pixel-code.html.twig", 57)->unwrap()->yield($context);
// line 58
yield " ";
yield from $this->load("@DcSite/Modules/google-tag-manager.html.twig", 58)->unwrap()->yield(CoreExtension::merge($context, ["domain" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 58, $this->source); })()), "domain", [], "any", false, false, false, 58), "gtmIdCode" => "GTM-WDS9XVD"]));
// line 59
yield " ";
}
// line 60
yield "</head>
<body>
";
// line 63
if ((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS", $context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.', 63, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 64
yield " <!-- NT (noscript)-->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WDS9XVD\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End NT (noscript) -->
";
}
// line 69
yield from $this->unwrap()->yieldBlock('socialPreview', $context, $blocks);
// line 71
yield "
<div class=\"wrapper\">
";
// line 73
yield from $this->load("@DcSite/Nissan/header.html.twig", 73)->unwrap()->yield($context);
// line 74
yield "
<main class=\"main\">
";
// line 76
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 78
yield " </main>
";
// line 80
yield from $this->load("@DcSite/Nissan/Modules/leads.html.twig", 80)->unwrap()->yield($context);
// line 81
yield " ";
yield from $this->load("@DcSite/Nissan/footer-webpack.html.twig", 81)->unwrap()->yield($context);
// line 82
yield " ";
yield from $this->load("@DcSite/Modules/order-call-popup.html.twig", 82)->unwrap()->yield($context);
// line 83
yield " ";
yield from $this->load("@DcSite/Modules/callback/widget.html.twig", 83)->unwrap()->yield($context);
// line 84
yield " ";
yield from $this->load("@DcSite/Modules/sps-popup.html.twig", 84)->unwrap()->yield($context);
// line 85
yield " ";
yield from $this->load("@DcSite/Modules/vidiCoreMessageWrapper.html.twig", 85)->unwrap()->yield($context);
// line 86
yield " ";
yield from $this->load("@DcSite/Modules/vidiPulse.html.twig", 86)->unwrap()->yield(CoreExtension::merge($context, ["phone" => "+380445070007"]));
// line 87
yield " ";
yield from $this->load("@My/Modules/auth.html.twig", 87)->unwrap()->yield($context);
// line 89
yield " <button class=\"scroll-top\"></button>
</div>
<iframe style=\"display: none\" src=\"";
// line 92
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_ios_cross_domain_auth");
yield "\"></iframe>
";
// line 94
$context["urlResult"] = (((array_key_exists("backLoginUrl", $context) && (isset($context["backLoginUrl"]) || array_key_exists("backLoginUrl", $context) ? $context["backLoginUrl"] : (function () { throw new RuntimeError('Variable "backLoginUrl" does not exist.', 94, $this->source); })()))) ? ((isset($context["backLoginUrl"]) || array_key_exists("backLoginUrl", $context) ? $context["backLoginUrl"] : (function () { throw new RuntimeError('Variable "backLoginUrl" does not exist.', 94, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_about_car")));
// line 95
yield "<script>
window.INCLUDE_ANALYTICS = ";
// line 96
yield (((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS", $context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.', 96, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("true") : ("false"));
yield ";
</script>
<script src=\"/dist/";
// line 98
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.', 98, $this->source); })()), "html", null, true);
yield "/dcsite/nissan/js/nissan.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.', 98, $this->source); })()), "html", null, true);
yield "\"></script>
<script>
window.dataLayer = window.dataLayer || [];
window.app = {
options: {
version: '";
// line 103
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.', 103, $this->source); })()), "html", null, true);
yield "',
locale: '";
// line 104
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 104, $this->source); })()), "request", [], "any", false, false, false, 104), "locale", [], "any", false, false, false, 104), "html", null, true);
yield "'
},
user: {
id: ";
// line 107
if ((($tmp = 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.', 107, $this->source); })()), "user", [], "any", false, false, false, 107)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 107, $this->source); })()), "user", [], "any", false, false, false, 107), "id", [], "any", false, false, false, 107), "html", null, true);
yield " ";
} else {
yield "null";
}
yield ",
name: ";
// line 108
if ((($tmp = 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.', 108, $this->source); })()), "user", [], "any", false, false, false, 108)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 108, $this->source); })()), "user", [], "any", false, false, false, 108), "fullName", [], "any", false, false, false, 108), "html", null, true);
yield "' ";
} else {
yield "null";
}
// line 109
yield " }
};
\$(() => {
window.app.message = core.modules.initMessage({
templateUrl: \"";
// line 114
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("core_message_load_template");
yield "\",
text: {
btnCancel: \"";
// line 116
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.message.cancel", [], "core"), "html", null, true);
yield "\"
}
});
window.app.http = core.modules.initHttp({
requestErrorText: \"";
// line 120
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.http.server_error", [], "core"), "html", null, true);
yield "\"
});
window.app.preLoader = core.modules.initPreloader({
templateUrl: \"";
// line 123
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("core_preloader_load_template");
yield "\"
});
window.app.leadForms = core.modules.initLeadForms({
captchaUrl: '";
// line 126
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_capthcha_init");
yield "',
text: {
successTitle: '";
// line 128
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modules.sps_form_title", [], "dc_base"), "html", null, true);
yield "',
successText: '";
// line 129
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modules.sps_form_subtitle", [], "dc_base"), "html", null, true);
yield "',
buttonText: '";
// line 130
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.base.ok", [], "dc_base"), "html", null, true);
yield "'
},
href: {
buttonSuccess: null,
},
});
window.app.Favorit = core.modules.initFavorite({
addUrl: \"";
// line 137
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_add_favl");
yield "\",
removeUrl: \"";
// line 138
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_remove_favl");
yield "\"
});
window.Track = core.modules.initTrack();
";
// line 143
yield " ";
// line 144
yield " ";
// line 145
yield " core.modules.initCallbacks({
initUrl: '";
// line 146
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_init");
yield "',
createUrl: '";
// line 147
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_create_request");
yield "',
getStateUrl: '";
// line 148
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_get_state");
yield "',
privacyUrl: '";
// line 149
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.', 149, $this->source); })()), "html", null, true);
yield "',
callBackMinute: '";
// line 150
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.title", [], "dc_base");
yield "',
callBackWorkingHours: '";
// line 151
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.working_hours", [], "dc_base"), "html", null, true);
yield "'
});
});
</script>
";
// line 155
if ((($tmp = 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.', 155, $this->source); })()), "user", [], "any", false, false, false, 155)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 156
yield " <script type=\"text/javascript\">
window.dataLayer.push({'user_id': ";
// line 157
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 157, $this->source); })()), "user", [], "any", false, false, false, 157), "id", [], "any", false, false, false, 157), "html", null, true);
yield "});
</script>
";
}
// line 160
yield "
";
// line 161
yield from $this->load("@DcSite/Modules/suChat/index.html.twig", 161)->unwrap()->yield(CoreExtension::merge($context, ["chatCode" => "976d1cb0-57eb-4784-97d0-4cb38384d524"]));
// line 162
yield "
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org/\",
\"@type\": \"WebSite\",
\"name\": \"";
// line 167
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 167, $this->source); })()), "brand", [], "any", false, false, false, 167), "name", [], "any", false, false, false, 167), "html", null, true);
yield "\",
\"url\": \"";
// line 168
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 168, $this->source); })()), "request", [], "any", false, false, false, 168), "uri", [], "any", false, false, false, 168), "html", null, true);
yield "\"
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AutoDealer\",
\"name\": \"";
// line 175
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 175, $this->source); })()), "brand", [], "any", false, false, false, 175), "name", [], "any", false, false, false, 175), "html", null, true);
yield "\",
\"image\": \"//";
// line 176
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 176, $this->source); })()), "request", [], "any", false, false, false, 176), "httpHost", [], "any", false, false, false, 176), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->path(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 176, $this->source); })()), "brand", [], "any", false, false, false, 176), "logo", [], "any", false, false, false, 176), "reference"), "html", null, true);
yield "\",
\"url\": \"";
// line 177
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 177, $this->source); })()), "request", [], "any", false, false, false, 177), "uri", [], "any", false, false, false, 177), "html", null, true);
yield "\",
\"telephone\": \"";
// line 178
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 178, $this->source); })()), "phone", [], "any", false, false, false, 178), "html", null, true);
yield "\",
\"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \" ";
// line 181
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 181, $this->source); })()), "addressUa", [], "any", false, false, false, 181), "html", null, true);
yield "\",
\"addressLocality\": \"Київ\"
},
\"sameAs\": [
\"";
// line 185
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 185, $this->source); })()), "linkFacebook", [], "any", false, false, false, 185), "html", null, true);
yield "\",
\"";
// line 186
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 186, $this->source); })()), "linkInstagram", [], "any", false, false, false, 186), "html", null, true);
yield "\",
\"";
// line 187
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 187, $this->source); })()), "linkYoutube", [], "any", false, false, false, 187), "html", null, true);
yield "\"
]
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Organization\",
\"url\": \"";
// line 195
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 195, $this->source); })()), "request", [], "any", false, false, false, 195), "uri", [], "any", false, false, false, 195), "html", null, true);
yield "\",
\"logo\": \"";
// line 196
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/nissan/logo-new.png")), "html", null, true);
yield "\"
}
</script>
";
// line 199
yield from $this->unwrap()->yieldBlock('script', $context, $blocks);
// line 201
yield "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 30
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_canonical(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", "canonical"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
// line 31
yield " ";
yield from $this->load("@DcSite/Modules/canonical.html.twig", 31)->unwrap()->yield($context);
// line 32
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 34
/**
* @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 35
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 37
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_ogtagStatic(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", "ogtagStatic"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogtagStatic"));
// line 38
yield " ";
yield from $this->load("@DcSite/Modules/og-tag.html.twig", 38)->unwrap()->yield($context);
// line 39
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 40
/**
* @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 41
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 41, $this->source); })()), "brand", [], "any", false, false, false, 41)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield "<meta property=\"og:image\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "request", [], "any", false, false, false, 41), "httpHost", [], "any", false, false, false, 41), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->path(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["dealer"]) || array_key_exists("dealer", $context) ? $context["dealer"] : (function () { throw new RuntimeError('Variable "dealer" does not exist.', 41, $this->source); })()), "brand", [], "any", false, false, false, 41), "logo", [], "any", false, false, false, 41), "reference"), "html", null, true);
yield "\">";
} else {
yield "<meta property=\"og:image\" content=\"/bundles/portal/img/front/logo.jpg\" />";
}
// line 42
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 43
/**
* @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 44
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 69
/**
* @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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 76
/**
* @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 77
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 199
/**
* @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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@DcSite/Nissan/template.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 674 => 199, 663 => 77, 650 => 76, 628 => 69, 617 => 44, 604 => 43, 593 => 42, 583 => 41, 570 => 40, 559 => 39, 556 => 38, 543 => 37, 532 => 35, 519 => 34, 508 => 32, 505 => 31, 492 => 30, 479 => 201, 477 => 199, 471 => 196, 467 => 195, 456 => 187, 452 => 186, 448 => 185, 441 => 181, 435 => 178, 431 => 177, 426 => 176, 422 => 175, 412 => 168, 408 => 167, 401 => 162, 399 => 161, 396 => 160, 390 => 157, 387 => 156, 385 => 155, 378 => 151, 374 => 150, 370 => 149, 366 => 148, 362 => 147, 358 => 146, 355 => 145, 353 => 144, 351 => 143, 344 => 138, 340 => 137, 330 => 130, 326 => 129, 322 => 128, 317 => 126, 311 => 123, 305 => 120, 298 => 116, 293 => 114, 286 => 109, 278 => 108, 268 => 107, 262 => 104, 258 => 103, 248 => 98, 243 => 96, 240 => 95, 238 => 94, 233 => 92, 228 => 89, 225 => 87, 222 => 86, 219 => 85, 216 => 84, 213 => 83, 210 => 82, 207 => 81, 205 => 80, 201 => 78, 199 => 76, 195 => 74, 193 => 73, 189 => 71, 187 => 69, 180 => 64, 178 => 63, 173 => 60, 170 => 59, 167 => 58, 165 => 57, 153 => 47, 151 => 46, 148 => 45, 145 => 43, 142 => 40, 140 => 37, 137 => 36, 135 => 34, 132 => 33, 130 => 30, 125 => 28, 119 => 27, 115 => 26, 111 => 25, 106 => 23, 102 => 22, 98 => 21, 94 => 20, 82 => 10, 77 => 7, 75 => 6, 69 => 5, 59 => 2, 56 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html lang=\"{% if app.request.locale == 'ua' %}uk-ua{% else %}ru-ua{% endif %}\">
<head>
<link rel=\"preconnect\" href=\"https://www.googletagmanager.com\">
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ dealer.name }}\" href=\"https://{{ dealer.domain }}/rss/\"/>
{% if app.environment == 'dev' %}
<meta name=\"robots\" content=\"noindex, nofollow\">
<meta name=\"google-site-verification\" content=\"FWJj2KVU8sswZ4I7nJAffMG7Tj8xgkCr3XX-FgBmAus\" />
{% endif %}
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
<meta name=viewport content=\"width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=0\">
<meta http-equiv=X-UA-Compatible content=\"IE=edge\">
<meta name=\"facebook-domain-verification\" content=\"0j54j7m1rl4nfltylelm819so0te9r\">
<meta name=\"theme-color\" content=\"#000000\">
<meta name=\"google-site-verification\" content=\"kSITOD3CzQTwikEVRyC_S6uDY8sHU2mv3Uo8KckRM-c\">
<meta name=\"google-site-verification\" content=\"sw0IXmrFlcX_EYOnpC72-AZGB4E6QD6jczSyQPNZTBo\">
<meta name=\"msapplication-TileColor\" content=\"#c3092e\">
<link rel=\"icon\" href=\"{{ asset('bundles/dcsite/img/nissan/favicon/48x48.ico') }}\" type=\"image/x-icon\">
<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"{{ asset('bundles/dcsite/img/nissan/favicon/76x76.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('bundles/dcsite/img/nissan/favicon/32x32.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('bundles/dcsite/img/nissan/favicon/16x16.png') }}\">
<link rel=\"manifest\" href=\"{{ asset('bundles/dcsite/img/nissan/favicon/site.webmanifest') }}\">
<link rel=\"mask-icon\" href=\"{{ asset('bundles/dcsite/img/nissan/favicon/safari-pinned-tab.svg') }}\" color=\"#c3092e\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/{{ MODE }}/dcsite/nissan/css/nissan.css?{{ VERSION }}\">
<script type=\"text/javascript\" src=\"{{ asset('bundles/core/js/vue/vue.js') }}\"></script>
{% block canonical %}
{% include '@DcSite/Modules/canonical.html.twig' %}
{% endblock canonical %}
{% block head %}
{% endblock head %}
{% block ogtagStatic %}
{% include '@DcSite/Modules/og-tag.html.twig' %}
{% endblock ogtagStatic %}
{% block ogtagDynamicImage %}
{% if dealer.brand %}<meta property=\"og:image\" content=\"{{ app.request.httpHost }}{{ sonata_path(dealer.brand.logo, 'reference') }}\">{% else %}<meta property=\"og:image\" content=\"/bundles/portal/img/front/logo.jpg\" />{% endif %}
{% endblock ogtagDynamicImage %}
{% block ogtagDynamic %}
{% endblock ogtagDynamic %}
{% if INCLUDE_ANALYTICS %}
<script type=\"text/javascript\">
(function (d,s,u,e,p) {
p=d.getElementsByTagName(s)[0],e=d.createElement(s),e.async=1,e.src=u,p.parentNode.insertBefore(e, p);
})(document, 'script', 'https://script.ringostat.com/v4/d5/d5689c038b577e4b24bf08b0a65a1786d8b61ce6.js');
var pw = function() {if (typeof(ringostatAnalytics) === \"undefined\") {setTimeout(pw,100);} else {ringostatAnalytics.sendHit('pageview');}};
pw();
</script>
<noscript><img alt=\"facebook\" height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=1402879063213035&ev=PageView&noscript=1\"/></noscript>
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WDS9XVD\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
{% include '@DcSite/Modules/pixel-code.html.twig' %}
{% include '@DcSite/Modules/google-tag-manager.html.twig' with { 'domain': dealer.domain, 'gtmIdCode': 'GTM-WDS9XVD' } %}
{% endif %}
</head>
<body>
{% if INCLUDE_ANALYTICS %}
<!-- NT (noscript)-->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WDS9XVD\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End NT (noscript) -->
{% endif %}
{% block socialPreview %}
{% endblock socialPreview %}
<div class=\"wrapper\">
{% include '@DcSite/Nissan/header.html.twig' %}
<main class=\"main\">
{% block content %}
{% endblock content %}
</main>
{% include '@DcSite/Nissan/Modules/leads.html.twig' %}
{% include '@DcSite/Nissan/footer-webpack.html.twig' %}
{% include '@DcSite/Modules/order-call-popup.html.twig' %}
{% include '@DcSite/Modules/callback/widget.html.twig' %}
{% include '@DcSite/Modules/sps-popup.html.twig' %}
{% include '@DcSite/Modules/vidiCoreMessageWrapper.html.twig' %}
{% include '@DcSite/Modules/vidiPulse.html.twig' with {'phone': '+380445070007'} %}
{% include '@My/Modules/auth.html.twig' %}
{# {% include '@My/Modules/cookies-warning.html.twig' %}#}
<button class=\"scroll-top\"></button>
</div>
<iframe style=\"display: none\" src=\"{{ path('my_ios_cross_domain_auth') }}\"></iframe>
{% set urlResult = backLoginUrl is defined and backLoginUrl ? backLoginUrl : path('my_about_car') %}
<script>
window.INCLUDE_ANALYTICS = {{ INCLUDE_ANALYTICS ? 'true' : 'false' }};
</script>
<script src=\"/dist/{{ MODE }}/dcsite/nissan/js/nissan.js?{{ VERSION }}\"></script>
<script>
window.dataLayer = window.dataLayer || [];
window.app = {
options: {
version: '{{ VERSION }}',
locale: '{{ app.request.locale }}'
},
user: {
id: {% if app.user %} {{ app.user.id }} {% else %}null{% endif %},
name: {% if app.user %} '{{ app.user.fullName }}' {% else %}null{% endif %}
}
};
\$(() => {
window.app.message = core.modules.initMessage({
templateUrl: \"{{ path('core_message_load_template') }}\",
text: {
btnCancel: \"{{ 'app.message.cancel'|trans({},'core') }}\"
}
});
window.app.http = core.modules.initHttp({
requestErrorText: \"{{ 'app.http.server_error'|trans({},'core') }}\"
});
window.app.preLoader = core.modules.initPreloader({
templateUrl: \"{{ path('core_preloader_load_template') }}\"
});
window.app.leadForms = core.modules.initLeadForms({
captchaUrl: '{{ path('base_capthcha_init') }}',
text: {
successTitle: '{{ 'modules.sps_form_title'|trans({}, 'dc_base') }}',
successText: '{{ 'modules.sps_form_subtitle'|trans({}, 'dc_base') }}',
buttonText: '{{ 'pages.base.ok'|trans({}, 'dc_base') }}'
},
href: {
buttonSuccess: null,
},
});
window.app.Favorit = core.modules.initFavorite({
addUrl: \"{{ path('portal_add_favl') }}\",
removeUrl: \"{{ path('portal_remove_favl') }}\"
});
window.Track = core.modules.initTrack();
{#core.modules.initCookies({#}
{# policyUrl: \"{{ privacyUrl }}\"#}
{#});#}
core.modules.initCallbacks({
initUrl: '{{ path('callback_widget_init') }}',
createUrl: '{{ path('callback_widget_create_request') }}',
getStateUrl: '{{ path('callback_widget_get_state') }}',
privacyUrl: '{{ privacyUrl }}',
callBackMinute: '{{ 'callback_widget.title'|trans({}, 'dc_base')|raw }}',
callBackWorkingHours: '{{ 'callback_widget.working_hours'|trans({}, 'dc_base') }}'
});
});
</script>
{% if app.user %}
<script type=\"text/javascript\">
window.dataLayer.push({'user_id': {{ app.user.id }}});
</script>
{% endif %}
{% include '@DcSite/Modules/suChat/index.html.twig' with {'chatCode' : '976d1cb0-57eb-4784-97d0-4cb38384d524'} %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org/\",
\"@type\": \"WebSite\",
\"name\": \"{{ dealer.brand.name }}\",
\"url\": \"{{ app.request.uri }}\"
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AutoDealer\",
\"name\": \"{{ dealer.brand.name }}\",
\"image\": \"//{{ app.request.httpHost }}{{ sonata_path(dealer.brand.logo, 'reference') }}\",
\"url\": \"{{ app.request.uri }}\",
\"telephone\": \"{{ dealer.phone }}\",
\"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \" {{ dealer.addressUa }}\",
\"addressLocality\": \"Київ\"
},
\"sameAs\": [
\"{{ dealer.linkFacebook }}\",
\"{{ dealer.linkInstagram }}\",
\"{{ dealer.linkYoutube }}\"
]
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Organization\",
\"url\": \"{{ app.request.uri }}\",
\"logo\": \"{{ absolute_url(asset('bundles/dcsite/img/nissan/logo-new.png')) }}\"
}
</script>
{% block script %}
{% endblock script %}
</body>
</html>
", "@DcSite/Nissan/template.html.twig", "/var/www/vidi.ua/releases/251023-65bd7d10/src/DcSiteBundle/Resources/views/Nissan/template.html.twig");
}
}