<?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/Toyota/template.html.twig */
class __TwigTemplate_a053fb24aba5a551632ba9a4bb47a1ad 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/Toyota/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/Toyota/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>
";
// line 4
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.', 4, $this->source); })()), "environment", [], "any", false, false, false, 4) == "dev")) {
// line 5
yield " <meta name=\"robots\" content=\"noindex, nofollow\">
<meta name=\"google-site-verification\" content=\"FWJj2KVU8sswZ4I7nJAffMG7Tj8xgkCr3XX-FgBmAus\" />
";
}
// line 8
yield " <link rel=\"alternate\" type=\"application/rss+xml\" title=\"";
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.', 8, $this->source); })()), "name", [], "any", false, false, false, 8), "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.', 8, $this->source); })()), "domain", [], "any", false, false, false, 8), "html", null, true);
yield "/rss/\"/>
<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\">
<link rel=\"icon\" href=\"";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/favicon.ico"), "html", null, true);
yield "\" type=\"image/x-icon\">
<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/apple-touch-icon.png"), "html", null, true);
yield "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 13
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/favicon-32x32.png"), "html", null, true);
yield "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 14
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/favicon-16x16.png"), "html", null, true);
yield "\">
<link rel=\"manifest\" href=\"";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/site.webmanifest"), "html", null, true);
yield "\">
<link rel=\"mask-icon\" href=\"";
// line 16
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/toyota/favicon/safari-pinned-tab.svg"), "html", null, true);
yield "\" color=\"#da2728\">
<meta name=\"msapplication-TileColor\" content=\"#da2728\">
<meta name=\"theme-color\" content=\"#da2728\">
<link rel=\"preconnect\" href=\"https://accounts.google.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://connect.facebook.net\" crossorigin>
<link rel=\"preconnect\" href=\"https://maps.googleapis.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://maps.gstatic.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://stats.g.doubleclick.net\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.facebook.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.google-analytics.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.google.com.ua\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.google.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.googletagmanager.com\" crossorigin>
<link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
href=\"/dist/";
// line 32
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.', 32, $this->source); })()), "html", null, true);
yield "/dcsite/toyota/fonts/ToyotaType-Regular.woff2\">
<link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
href=\"/dist/";
// line 34
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.', 34, $this->source); })()), "html", null, true);
yield "/dcsite/toyota/fonts/ToyotaType-Book.woff2\">
<link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
href=\"/dist/";
// line 36
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.', 36, $this->source); })()), "html", null, true);
yield "/dcsite/toyota/fonts/ToyotaType-Semibold.woff2\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/";
// line 38
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.', 38, $this->source); })()), "html", null, true);
yield "/dcsite/toyota/css/toyota.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.', 38, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"dmca-site-verification\" content=\"MlgvM0V5b2lmbitDN1N5bHNqUmwrZz090\">
<meta name=\"facebook-domain-verification\" content=\"oiuuib78vzte2vdu28uxq9f5zycn0g\">
<meta name=\"google-site-verification\" content=\"gboUNadhhEyBztnrR7iBIU5BZf_sUV0rIuRsXq2bcH8\">
<meta name=\"google-site-verification\" content=\"XF69SDZL3figV8805mrNn-kE45qtxSP7CCEKliOYE1A\">
";
// line 45
yield from $this->unwrap()->yieldBlock('canonical', $context, $blocks);
// line 48
yield "
";
// line 49
yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
// line 51
yield "
";
// line 52
yield from $this->unwrap()->yieldBlock('ogtagStatic', $context, $blocks);
// line 55
yield "
";
// line 56
yield from $this->unwrap()->yieldBlock('ogtagDynamicImage', $context, $blocks);
// line 59
yield "
";
// line 60
yield from $this->unwrap()->yieldBlock('ogtagDynamic', $context, $blocks);
// line 62
yield "
";
// 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 " ";
yield from $this->load("@DcSite/Modules/pixel-code.html.twig", 64)->unwrap()->yield($context);
// line 65
yield " ";
yield from $this->load("@DcSite/Modules/google-tag-manager.html.twig", 65)->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.', 65, $this->source); })()), "domain", [], "any", false, false, false, 65), "gtmIdCode" => "GTM-N4CWV9G"]));
// line 66
yield " ";
}
// line 67
yield "</head>
<body>
";
// line 70
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.', 70, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 71
yield " <!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-N4CWV9G\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
}
// line 76
yield from $this->unwrap()->yieldBlock('socialPreview', $context, $blocks);
// line 78
yield "
<div class=\"wrapper\">
<div class=\"container-fluid h-100\">
<div class=\"row h-100 flex-column flex-nowrap scroll__model__line\">
";
// line 82
yield from $this->load("@DcSite/Toyota/header.html.twig", 82)->unwrap()->yield($context);
// line 83
yield "
<main class=\"main\">
";
// line 85
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 87
yield " </main>
";
// line 89
yield from $this->load("@DcSite/Toyota/leads.html.twig", 89)->unwrap()->yield($context);
// line 90
yield " ";
yield from $this->load("@DcSite/Toyota/footer-new.html.twig", 90)->unwrap()->yield($context);
// line 91
yield " ";
yield from $this->load("@DcSite/Modules/callback/widget.html.twig", 91)->unwrap()->yield($context);
// line 92
yield " ";
yield from $this->load("@DcSite/Modules/feedback-popup.html.twig", 92)->unwrap()->yield($context);
// line 93
yield " ";
yield from $this->load("@DcSite/Modules/sps-popup.html.twig", 93)->unwrap()->yield($context);
// line 94
yield " ";
yield from $this->load("@DcSite/Modules/vidiCoreMessageWrapper.html.twig", 94)->unwrap()->yield($context);
// line 95
yield " ";
// line 96
yield " ";
yield from $this->load("@My/Modules/auth.html.twig", 96)->unwrap()->yield($context);
// line 98
yield " </div>
</div>
</div>
";
// line 104
yield "
";
// line 105
$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.', 105, $this->source); })()))) ? ((isset($context["backLoginUrl"]) || array_key_exists("backLoginUrl", $context) ? $context["backLoginUrl"] : (function () { throw new RuntimeError('Variable "backLoginUrl" does not exist.', 105, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_about_car")));
// line 106
yield "<script>
window.INCLUDE_ANALYTICS = ";
// line 107
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.', 107, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("true") : ("false"));
yield ";
</script>
<script src=\"/dist/";
// line 109
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.', 109, $this->source); })()), "html", null, true);
yield "/dcsite/toyota/js/toyota.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.', 109, $this->source); })()), "html", null, true);
yield "\"></script>
<script>
window.dataLayer = window.dataLayer || [];
window.app = {
options: {
version: '";
// line 114
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.', 114, $this->source); })()), "html", null, true);
yield "',
locale: '";
// line 115
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.', 115, $this->source); })()), "request", [], "any", false, false, false, 115), "locale", [], "any", false, false, false, 115), "html", null, true);
yield "',
refererAuth: '";
// line 116
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_login_page");
yield "?referer=";
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.', 116, $this->source); })()), "request", [], "any", false, false, false, 116), "uri", [], "any", false, false, false, 116), "html", null, true);
yield "'
},
user: {
id: ";
// line 119
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.', 119, $this->source); })()), "user", [], "any", false, false, false, 119)) && $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.', 119, $this->source); })()), "user", [], "any", false, false, false, 119), "id", [], "any", false, false, false, 119), "html", null, true);
yield " ";
} else {
yield "null";
}
yield ",
name: ";
// line 120
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.', 120, $this->source); })()), "user", [], "any", false, false, false, 120)) && $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.', 120, $this->source); })()), "user", [], "any", false, false, false, 120), "fullName", [], "any", false, false, false, 120), "html", null, true);
yield "' ";
} else {
yield "null";
}
// line 121
yield " }
};
\$(() => {
window.app.message = core.modules.initMessage({
templateUrl: \"";
// line 126
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("core_message_load_template");
yield "\",
text: {
btnCancel: \"";
// line 128
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 132
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 135
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("core_preloader_load_template");
yield "\"
});
window.app.leadForms = core.modules.initLeadForms({
captchaUrl: '";
// line 138
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_capthcha_init");
yield "',
text: {
successTitle: '";
// line 140
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 141
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 142
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 149
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_add_favl");
yield "\",
removeUrl: \"";
// line 150
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_remove_favl");
yield "\"
});
window.app.Compare = core.modules.initCompare();
window.Track = core.modules.initTrack();
";
// line 158
yield " ";
// line 159
yield " ";
// line 160
yield " core.modules.initCallbacks({
initUrl: '";
// line 161
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_init");
yield "',
createUrl: '";
// line 162
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_create_request");
yield "',
getStateUrl: '";
// line 163
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_get_state");
yield "',
privacyUrl: '";
// line 164
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.', 164, $this->source); })()), "html", null, true);
yield "',
callBackMinute: '";
// line 165
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.title", [], "dc_base");
yield "',
callBackWorkingHours: '";
// line 166
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 170
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.', 170, $this->source); })()), "user", [], "any", false, false, false, 170)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 171
yield "<script type=\"text/javascript\">
window.dataLayer.push({'user_id': ";
// line 172
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.', 172, $this->source); })()), "user", [], "any", false, false, false, 172), "id", [], "any", false, false, false, 172), "html", null, true);
yield "});
</script>
";
}
// line 175
yield from $this->unwrap()->yieldBlock('script', $context, $blocks);
// line 177
yield "
";
// line 179
if (array_key_exists("helpCrunch", $context)) {
// line 180
yield "<script type=\"text/javascript\" defer>
window.helpcrunchSettings = {
organization: '";
// line 182
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["helpCrunch"]) || array_key_exists("helpCrunch", $context) ? $context["helpCrunch"] : (function () { throw new RuntimeError('Variable "helpCrunch" does not exist.', 182, $this->source); })()), "organization", [], "array", false, false, false, 182), "html", null, true);
yield "',
appId: '";
// line 183
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["helpCrunch"]) || array_key_exists("helpCrunch", $context) ? $context["helpCrunch"] : (function () { throw new RuntimeError('Variable "helpCrunch" does not exist.', 183, $this->source); })()), "appId", [], "array", false, false, false, 183), "html", null, true);
yield "',
};
const deferTime = 3000;
(function(w,d){var hS=w.helpcrunchSettings;if(!hS||!hS.organization){return;}var widgetSrc='https://'+hS.organization+'.widget.helpcrunch.com/';w.HelpCrunch=function(){w.HelpCrunch.q.push(arguments)};w.HelpCrunch.q=[];function r(){if (d.querySelector('script[src=\"' + widgetSrc + '\"')) { return; } core.modules.deferScript('https://";
// line 186
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["helpCrunch"]) || array_key_exists("helpCrunch", $context) ? $context["helpCrunch"] : (function () { throw new RuntimeError('Variable "helpCrunch" does not exist.', 186, $this->source); })()), "organization", [], "array", false, false, false, 186), "html", null, true);
yield ".widget.helpcrunch.com/', deferTime);}if(d.readyState === 'complete'||hS.loadImmediately){r();} else if(w.attachEvent){w.attachEvent('onload',r)}else{w.addEventListener('load',r,false)}})(window, document)
</script>
";
}
// line 193
yield "
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org/\",
\"@type\": \"WebSite\",
\"name\": \"";
// line 198
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.', 198, $this->source); })()), "brand", [], "any", false, false, false, 198), "name", [], "any", false, false, false, 198), "html", null, true);
yield "\",
\"url\": \"";
// line 199
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.', 199, $this->source); })()), "request", [], "any", false, false, false, 199), "uri", [], "any", false, false, false, 199), "html", null, true);
yield "\"
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AutoDealer\",
\"name\": \"";
// line 206
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.', 206, $this->source); })()), "brand", [], "any", false, false, false, 206), "name", [], "any", false, false, false, 206), "html", null, true);
yield "\",
\"image\": \"https://toyota-ua.com/bundles/dcsite/img/toyota/logo-toyota.png\",
\"url\": \"";
// line 208
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.', 208, $this->source); })()), "request", [], "any", false, false, false, 208), "uri", [], "any", false, false, false, 208), "html", null, true);
yield "\",
\"telephone\": \"";
// line 209
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.', 209, $this->source); })()), "phone", [], "any", false, false, false, 209), "html", null, true);
yield "\",
\"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \" ";
// line 212
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.', 212, $this->source); })()), "addressUa", [], "any", false, false, false, 212), "html", null, true);
yield "\",
\"addressLocality\": \"Київ\"
},
\"sameAs\": [
\"";
// line 216
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.', 216, $this->source); })()), "linkFacebook", [], "any", false, false, false, 216), "html", null, true);
yield "\",
\"";
// line 217
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.', 217, $this->source); })()), "linkInstagram", [], "any", false, false, false, 217), "html", null, true);
yield "\",
\"";
// line 218
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.', 218, $this->source); })()), "linkYoutube", [], "any", false, false, false, 218), "html", null, true);
yield "\"
]
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Organization\",
\"url\": \"";
// line 226
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.', 226, $this->source); })()), "request", [], "any", false, false, false, 226), "uri", [], "any", false, false, false, 226), "html", null, true);
yield "\",
\"logo\": \"https://toyota-ua.com/bundles/dcsite/img/toyota/logo-toyota.png\"
}
</script>
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 45
/**
* @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 46
yield " ";
yield from $this->load("@DcSite/Modules/canonical.html.twig", 46)->unwrap()->yield($context);
// line 47
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 49
/**
* @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 50
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 52
/**
* @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 53
yield " ";
yield from $this->load("@DcSite/Modules/og-tag.html.twig", 53)->unwrap()->yield($context);
// line 54
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 56
/**
* @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 57
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.', 57, $this->source); })()), "brand", [], "any", false, false, false, 57)) && $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.', 57, $this->source); })()), "request", [], "any", false, false, false, 57), "httpHost", [], "any", false, false, false, 57), "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.', 57, $this->source); })()), "brand", [], "any", false, false, false, 57), "logo", [], "any", false, false, false, 57), "reference"), "html", null, true);
yield "\">";
} else {
yield "<meta property=\"og:image\" content=\"/bundles/portal/img/front/logo.jpg\" />";
}
// line 58
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 60
/**
* @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 61
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 76
/**
* @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 85
/**
* @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 86
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 175
/**
* @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/Toyota/template.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 707 => 175, 696 => 86, 683 => 85, 661 => 76, 650 => 61, 637 => 60, 626 => 58, 616 => 57, 603 => 56, 592 => 54, 589 => 53, 576 => 52, 565 => 50, 552 => 49, 541 => 47, 538 => 46, 525 => 45, 507 => 226, 496 => 218, 492 => 217, 488 => 216, 481 => 212, 475 => 209, 471 => 208, 466 => 206, 456 => 199, 452 => 198, 445 => 193, 439 => 186, 433 => 183, 429 => 182, 425 => 180, 423 => 179, 420 => 177, 418 => 175, 412 => 172, 409 => 171, 407 => 170, 400 => 166, 396 => 165, 392 => 164, 388 => 163, 384 => 162, 380 => 161, 377 => 160, 375 => 159, 373 => 158, 363 => 150, 359 => 149, 349 => 142, 345 => 141, 341 => 140, 336 => 138, 330 => 135, 324 => 132, 317 => 128, 312 => 126, 305 => 121, 297 => 120, 287 => 119, 279 => 116, 275 => 115, 271 => 114, 261 => 109, 256 => 107, 253 => 106, 251 => 105, 248 => 104, 242 => 98, 239 => 96, 237 => 95, 234 => 94, 231 => 93, 228 => 92, 225 => 91, 222 => 90, 220 => 89, 216 => 87, 214 => 85, 210 => 83, 208 => 82, 202 => 78, 200 => 76, 193 => 71, 191 => 70, 186 => 67, 183 => 66, 180 => 65, 177 => 64, 175 => 63, 172 => 62, 170 => 60, 167 => 59, 165 => 56, 162 => 55, 160 => 52, 157 => 51, 155 => 49, 152 => 48, 150 => 45, 138 => 38, 133 => 36, 128 => 34, 123 => 32, 104 => 16, 100 => 15, 96 => 14, 92 => 13, 88 => 12, 84 => 11, 75 => 8, 70 => 5, 68 => 4, 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>
{% if app.environment == 'dev' %}
<meta name=\"robots\" content=\"noindex, nofollow\">
<meta name=\"google-site-verification\" content=\"FWJj2KVU8sswZ4I7nJAffMG7Tj8xgkCr3XX-FgBmAus\" />
{% endif %}
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ dealer.name }}\" href=\"https://{{ dealer.domain }}/rss/\"/>
<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\">
<link rel=\"icon\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/favicon.ico') }}\" type=\"image/x-icon\">
<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/apple-touch-icon.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/favicon-32x32.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/favicon-16x16.png') }}\">
<link rel=\"manifest\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/site.webmanifest') }}\">
<link rel=\"mask-icon\" href=\"{{ asset('bundles/dcsite/img/toyota/favicon/safari-pinned-tab.svg') }}\" color=\"#da2728\">
<meta name=\"msapplication-TileColor\" content=\"#da2728\">
<meta name=\"theme-color\" content=\"#da2728\">
<link rel=\"preconnect\" href=\"https://accounts.google.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://connect.facebook.net\" crossorigin>
<link rel=\"preconnect\" href=\"https://maps.googleapis.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://maps.gstatic.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://stats.g.doubleclick.net\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.facebook.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.google-analytics.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.google.com.ua\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.google.com\" crossorigin>
<link rel=\"preconnect\" href=\"https://www.googletagmanager.com\" crossorigin>
<link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
href=\"/dist/{{ MODE }}/dcsite/toyota/fonts/ToyotaType-Regular.woff2\">
<link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
href=\"/dist/{{ MODE }}/dcsite/toyota/fonts/ToyotaType-Book.woff2\">
<link rel=\"preload\" as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\"
href=\"/dist/{{ MODE }}/dcsite/toyota/fonts/ToyotaType-Semibold.woff2\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/{{ MODE }}/dcsite/toyota/css/toyota.css?{{ VERSION }}\">
<meta name=\"dmca-site-verification\" content=\"MlgvM0V5b2lmbitDN1N5bHNqUmwrZz090\">
<meta name=\"facebook-domain-verification\" content=\"oiuuib78vzte2vdu28uxq9f5zycn0g\">
<meta name=\"google-site-verification\" content=\"gboUNadhhEyBztnrR7iBIU5BZf_sUV0rIuRsXq2bcH8\">
<meta name=\"google-site-verification\" content=\"XF69SDZL3figV8805mrNn-kE45qtxSP7CCEKliOYE1A\">
{% 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 %}
{% include '@DcSite/Modules/pixel-code.html.twig' %}
{% include '@DcSite/Modules/google-tag-manager.html.twig' with { 'domain': dealer.domain, 'gtmIdCode': 'GTM-N4CWV9G' } %}
{% endif %}
</head>
<body>
{% if INCLUDE_ANALYTICS %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-N4CWV9G\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
{% block socialPreview %}
{% endblock socialPreview %}
<div class=\"wrapper\">
<div class=\"container-fluid h-100\">
<div class=\"row h-100 flex-column flex-nowrap scroll__model__line\">
{% include '@DcSite/Toyota/header.html.twig' %}
<main class=\"main\">
{% block content %}
{% endblock content %}
</main>
{% include '@DcSite/Toyota/leads.html.twig' %}
{% include '@DcSite/Toyota/footer-new.html.twig' %}
{% include '@DcSite/Modules/callback/widget.html.twig' %}
{% include '@DcSite/Modules/feedback-popup.html.twig' %}
{% include '@DcSite/Modules/sps-popup.html.twig' %}
{% include '@DcSite/Modules/vidiCoreMessageWrapper.html.twig' %}
{# {% include '@DcSite/Modules/vidiPulse.html.twig' with {'phone': '+380445915004'} %} #}
{% include '@My/Modules/auth.html.twig' %}
{# {% include '@My/Modules/cookies-warning.html.twig' %}#}
</div>
</div>
</div>
{# NOTE: Marked as unnecessary now #}
{# <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/toyota/js/toyota.js?{{ VERSION }}\"></script>
<script>
window.dataLayer = window.dataLayer || [];
window.app = {
options: {
version: '{{ VERSION }}',
locale: '{{ app.request.locale }}',
refererAuth: '{{ path('my_login_page') }}?referer={{ app.request.uri }}'
},
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.app.Compare = core.modules.initCompare();
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 %}
{% block script %}
{% endblock %}
{# {% if app.environment == 'prod' %} #}
{% if helpCrunch is defined %}
<script type=\"text/javascript\" defer>
window.helpcrunchSettings = {
organization: '{{ helpCrunch['organization'] }}',
appId: '{{ helpCrunch['appId'] }}',
};
const deferTime = 3000;
(function(w,d){var hS=w.helpcrunchSettings;if(!hS||!hS.organization){return;}var widgetSrc='https://'+hS.organization+'.widget.helpcrunch.com/';w.HelpCrunch=function(){w.HelpCrunch.q.push(arguments)};w.HelpCrunch.q=[];function r(){if (d.querySelector('script[src=\"' + widgetSrc + '\"')) { return; } core.modules.deferScript('https://{{ helpCrunch['organization'] }}.widget.helpcrunch.com/', deferTime);}if(d.readyState === 'complete'||hS.loadImmediately){r();} else if(w.attachEvent){w.attachEvent('onload',r)}else{w.addEventListener('load',r,false)}})(window, document)
</script>
{# <script type=\"text/javascript\" defer>
(function(w,d){var hS=w.helpcrunchSettings;if(!hS||!hS.organization){return;}var widgetSrc='https://'+hS.organization+'.widget.helpcrunch.com/';w.HelpCrunch=function(){w.HelpCrunch.q.push(arguments)};w.HelpCrunch.q=[];function r(){if (d.querySelector('script[src=\"' + widgetSrc + '\"')) { return; }var s=d.createElement('script');s.defer=1;s.type='text/javascript';s.src=widgetSrc;(d.body||d.head).appendChild(s);}if(d.readyState === 'complete'||hS.loadImmediately){r();} else if(w.attachEvent){w.attachEvent('onload',r)}else{w.addEventListener('load',r,false)}})(window, document)
</script> #}
{% endif %}
{# {% endif %} #}
<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\": \"https://toyota-ua.com/bundles/dcsite/img/toyota/logo-toyota.png\",
\"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\": \"https://toyota-ua.com/bundles/dcsite/img/toyota/logo-toyota.png\"
}
</script>
</body>
</html>
", "@DcSite/Toyota/template.html.twig", "/var/www/vidi.ua/releases/251103-152e0038/src/DcSiteBundle/Resources/views/Toyota/template.html.twig");
}
}