<?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/Morris_Garage/template.html.twig */
class __TwigTemplate_663f87e63545a56424b4bb776f1b35ae 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'],
'seo' => [$this, 'block_seo'],
'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/Morris_Garage/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/Morris_Garage/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 6
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.', 6, $this->source); })()), "name", [], "any", false, false, false, 6), "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.', 6, $this->source); })()), "domain", [], "any", false, false, false, 6), "html", null, true);
yield "/rss/\"/>
";
// line 7
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.', 7, $this->source); })()), "environment", [], "any", false, false, false, 7) == "dev")) {
// line 8
yield " <meta name=\"robots\" content=\"noindex\">
<meta name=\"google-site-verification\" content=\"FWJj2KVU8sswZ4I7nJAffMG7Tj8xgkCr3XX-FgBmAus\"/>
";
}
// line 11
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\">
<link rel=\"icon\" href=\"";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/morris_garage/favicon/favicon.ico"), "html", null, true);
yield "\" type=\"image/x-icon\"/>
<link rel=\"apple-touch-icon\" sizes=\"76x76\"
href=\"";
// line 17
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/morris_garage/favicon/apple-touch-icon.png"), "html", null, true);
yield "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\"
href=\"";
// line 19
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/morris_garage/favicon/favicon-32x32.png"), "html", null, true);
yield "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\"
href=\"";
// line 21
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/morris_garage/favicon/favicon-16x16.png"), "html", null, true);
yield "\">
<link rel=\"manifest\" href=\"";
// line 22
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/morris_garage/favicon/site.webmanifest"), "html", null, true);
yield "\">
<link rel=\"mask-icon\" href=\"";
// line 23
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/dcsite/img/morris_garage/favicon/safari-pinned-tab.svg"), "html", null, true);
yield "\"
color=\"#000000\">
<meta name=\"msapplication-TileColor\" content=\"#000000\">
<meta name=\"theme-color\" content=\"#000000\">
<meta name=\"google-site-verification\" content=\"oz0OZyBUzEuuw136QQplq1ZAJf0f_lW5N_qaukBjNV4\">
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/";
// line 30
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.', 30, $this->source); })()), "html", null, true);
yield "/dcsite/mg/css/mg.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.', 30, $this->source); })()), "html", null, true);
yield "\">
";
// line 32
yield from $this->unwrap()->yieldBlock('canonical', $context, $blocks);
// line 35
yield "
";
// line 36
yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
// line 38
yield "
";
// line 39
yield from $this->unwrap()->yieldBlock('seo', $context, $blocks);
// line 41
yield "
";
// line 42
yield from $this->unwrap()->yieldBlock('ogtagStatic', $context, $blocks);
// line 45
yield " ";
yield from $this->unwrap()->yieldBlock('ogtagDynamicImage', $context, $blocks);
// line 51
yield " ";
yield from $this->unwrap()->yieldBlock('ogtagDynamic', $context, $blocks);
// line 53
yield " ";
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.', 53, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 54
yield " <noscript><img alt=\"facebook\" height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=1052051525341604&ev=PageView&noscript=1\"/></noscript>
<noscript>
<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-M6HDCTJ\" height=\"0\" width=\"0\"
style=\"display:none;visibility:hidden\"></iframe>
</noscript>
";
// line 61
yield from $this->load("@DcSite/Modules/pixel-code.html.twig", 61)->unwrap()->yield($context);
// line 62
yield " ";
yield from $this->load("@DcSite/Modules/google-tag-manager.html.twig", 62)->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.', 62, $this->source); })()), "domain", [], "any", false, false, false, 62), "gtmIdCode" => "GTM-M6HDCTJ"]));
// line 63
yield " ";
}
// line 64
yield "</head>
<body>
";
// line 67
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.', 67, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 68
yield "<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-M6HDCTJ\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
";
}
// line 75
yield from $this->unwrap()->yieldBlock('socialPreview', $context, $blocks);
// line 77
yield "
<div class=\"wrapper\">
<div class=\"container-fluid h-100\">
<div class=\"row flex-column flex-nowrap page-wrapper\">
";
// line 81
yield from $this->load("@DcSite/Morris_Garage/header.html.twig", 81)->unwrap()->yield($context);
// line 82
yield "
<main class=\"main\">
";
// line 84
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 86
yield " </main>
";
// line 88
yield from $this->load("@DcSite/Morris_Garage/leads.html.twig", 88)->unwrap()->yield($context);
// line 89
yield " ";
yield from $this->load("@DcSite/Morris_Garage/footer.html.twig", 89)->unwrap()->yield($context);
// line 90
yield " ";
yield from $this->load("@DcSite/Modules/order-call-popup.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/sps-popup.html.twig", 92)->unwrap()->yield($context);
// line 93
yield " ";
yield from $this->load("@DcSite/Modules/vidiCoreMessageWrapper.html.twig", 93)->unwrap()->yield($context);
// line 94
yield " ";
yield from $this->load("@DcSite/Modules/vidiPulse.html.twig", 94)->unwrap()->yield(CoreExtension::merge($context, ["phone" => 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.', 94, $this->source); })()), "phone", [], "any", false, false, false, 94)]));
// line 95
yield " ";
yield from $this->load("@My/Modules/auth.html.twig", 95)->unwrap()->yield($context);
// line 96
yield " </div>
</div>
</div>
<iframe style=\"display: none\" src=\"";
// line 100
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_ios_cross_domain_auth");
yield "\"></iframe>
";
// line 102
$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.', 102, $this->source); })()))) ? ((isset($context["backLoginUrl"]) || array_key_exists("backLoginUrl", $context) ? $context["backLoginUrl"] : (function () { throw new RuntimeError('Variable "backLoginUrl" does not exist.', 102, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_about_car")));
// line 103
yield "
<script src=\"/dist/";
// line 104
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.', 104, $this->source); })()), "html", null, true);
yield "/dcsite/mg/js/mg.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.', 104, $this->source); })()), "html", null, true);
yield "\"></script>
<script>
window.dataLayer = window.dataLayer || [];
window.app = {
options: {
version: '";
// line 109
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 "',
locale: '";
// line 110
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.', 110, $this->source); })()), "request", [], "any", false, false, false, 110), "locale", [], "any", false, false, false, 110), "html", null, true);
yield "'
},
user: {
id: ";
// line 113
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.', 113, $this->source); })()), "user", [], "any", false, false, false, 113)) && $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.', 113, $this->source); })()), "user", [], "any", false, false, false, 113), "id", [], "any", false, false, false, 113), "html", null, true);
yield " ";
} else {
yield "null";
}
yield ",
name: ";
// line 114
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.', 114, $this->source); })()), "user", [], "any", false, false, false, 114)) && $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.', 114, $this->source); })()), "user", [], "any", false, false, false, 114), "fullName", [], "any", false, false, false, 114), "html", null, true);
yield "' ";
} else {
yield "null";
}
// line 115
yield " }
};
\$(() => {
window.app.message = core.modules.initMessage({
templateUrl: \"";
// line 120
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("core_message_load_template");
yield "\",
text: {
btnCancel: \"";
// line 122
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 126
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 129
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("core_preloader_load_template");
yield "\"
});
window.app.leadForms = core.modules.initLeadForms({
captchaUrl: '";
// line 132
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("base_capthcha_init");
yield "',
text: {
successTitle: '";
// line 134
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 135
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 136
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 143
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_add_favl");
yield "\",
removeUrl: \"";
// line 144
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_remove_favl");
yield "\"
});
window.Track = core.modules.initTrack();
core.modules.initCallbacks({
initUrl: '";
// line 149
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_init");
yield "',
createUrl: '";
// line 150
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_create_request");
yield "',
getStateUrl: '";
// line 151
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_get_state");
yield "',
privacyUrl: '";
// line 152
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.', 152, $this->source); })()), "html", null, true);
yield "',
callBackMinute: '";
// line 153
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.title", [], "dc_base");
yield "',
callBackWorkingHours: '";
// line 154
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 158
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.', 158, $this->source); })()), "user", [], "any", false, false, false, 158)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 159
yield " <script type=\"text/javascript\">
window.dataLayer.push({'user_id': ";
// line 160
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.', 160, $this->source); })()), "user", [], "any", false, false, false, 160), "id", [], "any", false, false, false, 160), "html", null, true);
yield "});
</script>
";
}
// line 163
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($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/img/morris_garage/logo-vidi.png")), "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/morris_garage/logo.png")), "html", null, true);
yield "\"
}
</script>
";
// line 200
yield from $this->load("@DcSite/Modules/suChat/index.html.twig", 200)->unwrap()->yield(CoreExtension::merge($context, ["chatCode" => "117dcd42-3f5d-4c4e-8a99-3aa98a8d5ab7"]));
// line 201
yield "
";
// line 202
yield from $this->unwrap()->yieldBlock('script', $context, $blocks);
// line 204
yield "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 32
/**
* @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 33
yield " ";
yield from $this->load("@DcSite/Modules/canonical.html.twig", 33)->unwrap()->yield($context);
// line 34
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 36
/**
* @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 37
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 39
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_seo(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
// line 40
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 42
/**
* @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 43
yield " ";
yield from $this->load("@DcSite/Modules/og-tag.html.twig", 43)->unwrap()->yield($context);
// line 44
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 45
/**
* @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 46
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.', 46, $this->source); })()), "brand", [], "any", false, false, false, 46)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 47
yield " <meta property=\"og:image\"
content=\"";
// line 48
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.', 48, $this->source); })()), "request", [], "any", false, false, false, 48), "httpHost", [], "any", false, false, false, 48), "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.', 48, $this->source); })()), "brand", [], "any", false, false, false, 48), "logo", [], "any", false, false, false, 48), "reference"), "html", null, true);
yield "\">";
} else {
// line 49
yield " <meta property=\"og:image\" content=\"/bundles/portal/img/front/logo.jpg\"/>";
}
// line 50
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 51
/**
* @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 52
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 75
/**
* @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 84
/**
* @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 85
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 202
/**
* @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/Morris_Garage/template.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 695 => 202, 684 => 85, 671 => 84, 649 => 75, 638 => 52, 625 => 51, 614 => 50, 611 => 49, 606 => 48, 603 => 47, 600 => 46, 587 => 45, 576 => 44, 573 => 43, 560 => 42, 549 => 40, 536 => 39, 525 => 37, 512 => 36, 501 => 34, 498 => 33, 485 => 32, 472 => 204, 470 => 202, 467 => 201, 465 => 200, 458 => 196, 454 => 195, 443 => 187, 439 => 186, 435 => 185, 428 => 181, 422 => 178, 418 => 177, 414 => 176, 410 => 175, 400 => 168, 396 => 167, 390 => 163, 384 => 160, 381 => 159, 379 => 158, 372 => 154, 368 => 153, 364 => 152, 360 => 151, 356 => 150, 352 => 149, 344 => 144, 340 => 143, 330 => 136, 326 => 135, 322 => 134, 317 => 132, 311 => 129, 305 => 126, 298 => 122, 293 => 120, 286 => 115, 278 => 114, 268 => 113, 262 => 110, 258 => 109, 248 => 104, 245 => 103, 243 => 102, 238 => 100, 232 => 96, 229 => 95, 226 => 94, 223 => 93, 220 => 92, 217 => 91, 214 => 90, 211 => 89, 209 => 88, 205 => 86, 203 => 84, 199 => 82, 197 => 81, 191 => 77, 189 => 75, 180 => 68, 178 => 67, 173 => 64, 170 => 63, 167 => 62, 165 => 61, 156 => 54, 153 => 53, 150 => 51, 147 => 45, 145 => 42, 142 => 41, 140 => 39, 137 => 38, 135 => 36, 132 => 35, 130 => 32, 123 => 30, 113 => 23, 109 => 22, 105 => 21, 100 => 19, 95 => 17, 90 => 15, 84 => 11, 79 => 8, 77 => 7, 71 => 6, 60 => 2, 57 => 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\">
<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\">
<link rel=\"icon\" href=\"{{ asset('bundles/dcsite/img/morris_garage/favicon/favicon.ico') }}\" type=\"image/x-icon\"/>
<link rel=\"apple-touch-icon\" sizes=\"76x76\"
href=\"{{ asset('bundles/dcsite/img/morris_garage/favicon/apple-touch-icon.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\"
href=\"{{ asset('bundles/dcsite/img/morris_garage/favicon/favicon-32x32.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\"
href=\"{{ asset('bundles/dcsite/img/morris_garage/favicon/favicon-16x16.png') }}\">
<link rel=\"manifest\" href=\"{{ asset('bundles/dcsite/img/morris_garage/favicon/site.webmanifest') }}\">
<link rel=\"mask-icon\" href=\"{{ asset('bundles/dcsite/img/morris_garage/favicon/safari-pinned-tab.svg') }}\"
color=\"#000000\">
<meta name=\"msapplication-TileColor\" content=\"#000000\">
<meta name=\"theme-color\" content=\"#000000\">
<meta name=\"google-site-verification\" content=\"oz0OZyBUzEuuw136QQplq1ZAJf0f_lW5N_qaukBjNV4\">
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/{{ MODE }}/dcsite/mg/css/mg.css?{{ VERSION }}\">
{% block canonical %}
{% include '@DcSite/Modules/canonical.html.twig' %}
{% endblock canonical %}
{% block head %}
{% endblock head %}
{% block seo %}
{% endblock seo %}
{% 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 %}
<noscript><img alt=\"facebook\" height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=1052051525341604&ev=PageView&noscript=1\"/></noscript>
<noscript>
<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-M6HDCTJ\" 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-M6HDCTJ' } %}
{% endif %}
</head>
<body>
{% if INCLUDE_ANALYTICS %}
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-M6HDCTJ\"
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 flex-column flex-nowrap page-wrapper\">
{% include '@DcSite/Morris_Garage/header.html.twig' %}
<main class=\"main\">
{% block content %}
{% endblock content %}
</main>
{% include '@DcSite/Morris_Garage/leads.html.twig' %}
{% include '@DcSite/Morris_Garage/footer.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': dealer.phone} %}
{% include '@My/Modules/auth.html.twig' %}
</div>
</div>
</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 src=\"/dist/{{ MODE }}/dcsite/mg/js/mg.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.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 %}
<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\": \"{{ absolute_url(asset( '/bundles/dcsite/img/morris_garage/logo-vidi.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\": \"{{ absolute_url(asset('bundles/dcsite/img/morris_garage/logo.png')) }}\"
}
</script>
{% include '@DcSite/Modules/suChat/index.html.twig' with {'chatCode' : '117dcd42-3f5d-4c4e-8a99-3aa98a8d5ab7'} %}
{% block script %}
{% endblock script %}
</body>
</html>
", "@DcSite/Morris_Garage/template.html.twig", "/var/www/vidi.ua/releases/251027-872b0c76/src/DcSiteBundle/Resources/views/Morris_Garage/template.html.twig");
}
}