<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @Automarket/base.html.twig */
class __TwigTemplate_ca78e566c426ad336733681044f6a458 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'gtm' => [$this, 'block_gtm'],
'head' => [$this, 'block_head'],
'seo' => [$this, 'block_seo'],
'ogtagDynamic' => [$this, 'block_ogtagDynamic'],
'socialPreview' => [$this, 'block_socialPreview'],
'body' => [$this, 'block_body'],
'content' => [$this, 'block_content'],
'css' => [$this, 'block_css'],
'coreBottomJs' => [$this, 'block_coreBottomJs'],
'pageJS' => [$this, 'block_pageJS'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@Core/DCSite/core-dc-template.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Automarket/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Automarket/base.html.twig"));
$this->parent = $this->load("@Core/DCSite/core-dc-template.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_gtm(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", "gtm"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gtm"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 6
/**
* @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 7
yield " <meta name=\"google-site-verification\" content=\"QcGxT9cC4ou8Nx5kyQoQaadEcSPvRKlhkz_Cp5d3k20\" />
<meta name=\"google-site-verification\" content=\"TcAmjzSVw39xvfOtJMCJbfgocg_T_31WEc1by8fiw4U\" />
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.automarket_used_cars", [], "automarket_base"), "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.', 9, $this->source); })()), "domain", [], "any", false, false, false, 9), "html", null, true);
yield "/buy/rss/\"/>
";
// line 11
yield from $this->unwrap()->yieldBlock('seo', $context, $blocks);
// line 15
yield " <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.ico\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icon-16x16.png\">
<link rel=\"icon\" href=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/automarket/img/apple-touch-icon.ico"), "html", null, true);
yield "\" type=\"image/x-icon\" />
";
// line 20
yield from $this->load("@Automarket/preloader-css.html.twig", 20)->unwrap()->yield($context);
// line 21
yield "
<script type=\"text/javascript\">
(function (d,s,u,e,p) {
p=d.getElementsByTagName(s)[0],e=d.createElement(s),e.async=1,e.src=u,p.parentNode.insertBefore(e, p);
})(document, 'script', 'https://script.ringostat.com/v4/55/557c658554c2078009165f030e1839a193469d40.js');
var pw = function() {if (typeof(ringostatAnalytics) === \"undefined\") {setTimeout(pw,100);} else {ringostatAnalytics.sendHit('pageview');}};
pw();
</script>
";
// line 30
yield from $this->unwrap()->yieldBlock('ogtagDynamic', $context, $blocks);
// line 35
yield "
";
// line 36
yield from $this->load("@DcSite/Modules/google-tag-manager.html.twig", 36)->unwrap()->yield(CoreExtension::merge($context, ["domain" => "vidi-automarket.com.ua", "gtmIdCode" => "GTM-NG6MLQG"]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 11
/**
* @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 12
yield " <title>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.seo.title", [], "automarket_base"), "html", null, true);
yield "</title>
<meta name=\"description\" content=\"";
// line 13
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.seo.description", [], "automarket_base"), "html", null, true);
yield "\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 30
/**
* @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 31
yield " <meta property=\"og:title\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.seo.title", [], "automarket_base"), "html", null, true);
yield "\"/>
<meta property=\"og:description\" content=\"";
// line 32
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.seo.description", [], "automarket_base"), "html", null, true);
yield "\"/>
<meta property=\"og:image\" content=\"";
// line 33
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/automarket/img/logo.png")), "html", null, true);
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_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 42
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 43
yield "
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NG6MLQG\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
// line 48
yield from $this->load("@Automarket/header.html.twig", 48)->unwrap()->yield($context);
// line 50
yield "
";
// line 51
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 53
yield "
";
// line 54
yield from $this->load("@Automarket/leads.html.twig", 54)->unwrap()->yield($context);
// line 55
yield from $this->load("@DcSite/Modules/order-call-popup.html.twig", 55)->unwrap()->yield($context);
// line 56
yield from $this->load("@DcSite/Modules/sps-popup.html.twig", 56)->unwrap()->yield($context);
// line 57
yield from $this->load("@DcSiteBundle/Modules/callback/widget.html.twig", 57)->unwrap()->yield($context);
// line 58
yield from $this->load("@Automarket/footer.html.twig", 58)->unwrap()->yield($context);
// line 60
yield "
";
// line 61
yield from $this->unwrap()->yieldBlock('css', $context, $blocks);
// line 63
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_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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 61
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_css(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 66
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_coreBottomJs(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", "coreBottomJs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "coreBottomJs"));
// line 67
yield " <script>
app.onCustomEvent('appInit', function () {
app.loadCss('";
// line 69
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/style.css"), "html", null, true);
yield "');
app.loadCss('";
// line 70
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/header.css"), "html", null, true);
yield "');
app.loadCss('";
// line 71
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/footer.css"), "html", null, true);
yield "');
app.loadCss('";
// line 72
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/lead-magnets.css"), "html", null, true);
yield "');
app.loadCss('";
// line 73
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/modules/btn.css"), "html", null, true);
yield "');
app.loadCss('";
// line 74
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/css/nissan/icomoon/style.css"), "html", null, true);
yield "');
app.loadCss('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
app.loadCss('";
// line 76
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/css/modules/callback/timer-call.css"), "html", null, true);
yield "');
app.loadJs('";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/core/js/jquery.cookie.js"), "html", null, true);
yield "');
var toggles = document.querySelectorAll(\".c-hamburger\");
for (var i = toggles.length - 1; i >= 0; i--) {
var toggle = toggles[i];
toggleHandler(toggle);
};
function toggleHandler(toggle) {
toggle.addEventListener( \"click\", function(e) {
e.preventDefault();
(this.classList.contains(\"is-active\") === true) ? this.classList.remove(\"is-active\") : this.classList.add(\"is-active\");
});
}
\$(\"[data-toggle='popover']\").popover();
\$('.carousel').carousel({
touch: true
})
app.loadJs('/bundles/dcsite/js/modules/callback/callback-vue.js', function () {
callbackRequest({
initUrl: '";
// line 99
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_init");
yield "',
createUrl: '";
// line 100
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_create_request");
yield "',
getStateUrl: '";
// line 101
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_get_state");
yield "',
callBackMinute: '";
// line 102
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.title", [], "dc_base");
yield "',
callBackWorkingHours: '";
// line 103
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 "',
});
});
";
// line 108
yield " ";
// line 109
yield " ";
// line 110
yield " ";
// line 111
yield " ";
// line 112
yield "
/* Google Tag Manager */
app.loadJs('";
// line 114
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/automarket/js/site.js"), "html", null, true);
yield "');
});
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AutoDealer\",
\"name\": \"";
// line 123
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.', 123, $this->source); })()), "name", [], "any", false, false, false, 123), "html", null, true);
yield "\",
\"image\": \"";
// line 124
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/automarket/img/logo.png")), "html", null, true);
yield "\",
\"url\": \"";
// line 125
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.', 125, $this->source); })()), "request", [], "any", false, false, false, 125), "uri", [], "any", false, false, false, 125), "html", null, true);
yield "\",
\"telephone\": \"";
// line 126
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.', 126, $this->source); })()), "phone", [], "any", false, false, false, 126), "html", null, true);
yield "\",
\"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \" ";
// line 129
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.', 129, $this->source); })()), "addressUa", [], "any", false, false, false, 129), "html", null, true);
yield "\",
\"addressLocality\": \"Київ\"
},
\"sameAs\": [
\"";
// line 133
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.', 133, $this->source); })()), "linkFacebook", [], "any", false, false, false, 133), "html", null, true);
yield "\",
\"";
// line 134
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.', 134, $this->source); })()), "linkInstagram", [], "any", false, false, false, 134), "html", null, true);
yield "\",
\"";
// line 135
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.', 135, $this->source); })()), "linkYoutube", [], "any", false, false, false, 135), "html", null, true);
yield "\"
]
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Organization\",
\"url\": \"";
// line 143
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.', 143, $this->source); })()), "request", [], "any", false, false, false, 143), "uri", [], "any", false, false, false, 143), "html", null, true);
yield "\",
\"logo\": \"";
// line 144
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/automarket/img/logo.png")), "html", null, true);
yield "\"
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org/\",
\"@type\": \"WebSite\",
\"name\": \"";
// line 151
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.', 151, $this->source); })()), "name", [], "any", false, false, false, 151), "html", null, true);
yield "\",
\"url\": \"";
// line 152
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.', 152, $this->source); })()), "request", [], "any", false, false, false, 152), "uri", [], "any", false, false, false, 152), "html", null, true);
yield "\"
}
</script>
";
// line 156
yield from $this->unwrap()->yieldBlock('pageJS', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_pageJS(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageJS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageJS"));
// line 157
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@Automarket/base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 558 => 157, 535 => 156, 528 => 152, 524 => 151, 514 => 144, 510 => 143, 499 => 135, 495 => 134, 491 => 133, 484 => 129, 478 => 126, 474 => 125, 470 => 124, 466 => 123, 454 => 114, 450 => 112, 448 => 111, 446 => 110, 444 => 109, 442 => 108, 435 => 103, 431 => 102, 427 => 101, 423 => 100, 419 => 99, 395 => 78, 390 => 76, 385 => 74, 381 => 73, 377 => 72, 373 => 71, 369 => 70, 365 => 69, 361 => 67, 348 => 66, 326 => 61, 304 => 51, 292 => 63, 290 => 61, 287 => 60, 285 => 58, 283 => 57, 281 => 56, 279 => 55, 277 => 54, 274 => 53, 272 => 51, 269 => 50, 267 => 48, 260 => 43, 247 => 42, 225 => 39, 212 => 33, 208 => 32, 203 => 31, 190 => 30, 177 => 13, 172 => 12, 159 => 11, 148 => 36, 145 => 35, 143 => 30, 132 => 21, 130 => 20, 125 => 18, 120 => 15, 118 => 11, 111 => 9, 107 => 7, 94 => 6, 72 => 3, 49 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@Core/DCSite/core-dc-template.html.twig' %}
{% block gtm %}
{% endblock gtm %}
{% block head %}
<meta name=\"google-site-verification\" content=\"QcGxT9cC4ou8Nx5kyQoQaadEcSPvRKlhkz_Cp5d3k20\" />
<meta name=\"google-site-verification\" content=\"TcAmjzSVw39xvfOtJMCJbfgocg_T_31WEc1by8fiw4U\" />
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ 'base.automarket_used_cars'|trans({}, 'automarket_base') }}\" href=\"https://{{ dealer.domain }}/buy/rss/\"/>
{% block seo %}
<title>{{ 'base.seo.title'|trans({},'automarket_base') }}</title>
<meta name=\"description\" content=\"{{ 'base.seo.description'|trans({},'automarket_base') }}\"/>
{% endblock seo %}
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.ico\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icon-16x16.png\">
<link rel=\"icon\" href=\"{{ asset('bundles/automarket/img/apple-touch-icon.ico') }}\" type=\"image/x-icon\" />
{% include '@Automarket/preloader-css.html.twig' %}
<script type=\"text/javascript\">
(function (d,s,u,e,p) {
p=d.getElementsByTagName(s)[0],e=d.createElement(s),e.async=1,e.src=u,p.parentNode.insertBefore(e, p);
})(document, 'script', 'https://script.ringostat.com/v4/55/557c658554c2078009165f030e1839a193469d40.js');
var pw = function() {if (typeof(ringostatAnalytics) === \"undefined\") {setTimeout(pw,100);} else {ringostatAnalytics.sendHit('pageview');}};
pw();
</script>
{% block ogtagDynamic %}
<meta property=\"og:title\" content=\"{{ 'base.seo.title'|trans({}, 'automarket_base') }}\"/>
<meta property=\"og:description\" content=\"{{ 'base.seo.description'|trans({}, 'automarket_base') }}\"/>
<meta property=\"og:image\" content=\"{{ absolute_url(asset('bundles/automarket/img/logo.png')) }}\"/>
{% endblock ogtagDynamic %}
{% include '@DcSite/Modules/google-tag-manager.html.twig' with { 'domain': 'vidi-automarket.com.ua', 'gtmIdCode': 'GTM-NG6MLQG' } %}
{% endblock head %}
{% block socialPreview %}
{% endblock socialPreview %}
{% block body %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NG6MLQG\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% include '@Automarket/header.html.twig' %}
{# {% include '@Automarket/header-old.html.twig' %} #}
{% block content %}
{% endblock content %}
{% include '@Automarket/leads.html.twig' %}
{% include '@DcSite/Modules/order-call-popup.html.twig' %}
{% include '@DcSite/Modules/sps-popup.html.twig' %}
{% include '@DcSiteBundle/Modules/callback/widget.html.twig' %}
{% include '@Automarket/footer.html.twig' %}
{#{% include '@My/Modules/cookies-warning.html.twig' %}#}
{% block css %}
{% endblock %}
{% endblock body %}
{% block coreBottomJs %}
<script>
app.onCustomEvent('appInit', function () {
app.loadCss('{{ asset('/bundles/automarket/css/style.css') }}');
app.loadCss('{{ asset('/bundles/automarket/css/header.css') }}');
app.loadCss('{{ asset('/bundles/automarket/css/footer.css') }}');
app.loadCss('{{ asset('/bundles/automarket/css/lead-magnets.css') }}');
app.loadCss('{{ asset('/bundles/automarket/css/modules/btn.css') }}');
app.loadCss('{{ asset('/bundles/dcsite/css/nissan/icomoon/style.css') }}');
app.loadCss('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
app.loadCss('{{ asset('/bundles/dcsite/css/modules/callback/timer-call.css') }}');
app.loadJs('{{ asset('/bundles/core/js/jquery.cookie.js') }}');
var toggles = document.querySelectorAll(\".c-hamburger\");
for (var i = toggles.length - 1; i >= 0; i--) {
var toggle = toggles[i];
toggleHandler(toggle);
};
function toggleHandler(toggle) {
toggle.addEventListener( \"click\", function(e) {
e.preventDefault();
(this.classList.contains(\"is-active\") === true) ? this.classList.remove(\"is-active\") : this.classList.add(\"is-active\");
});
}
\$(\"[data-toggle='popover']\").popover();
\$('.carousel').carousel({
touch: true
})
app.loadJs('/bundles/dcsite/js/modules/callback/callback-vue.js', function () {
callbackRequest({
initUrl: '{{ path('callback_widget_init') }}',
createUrl: '{{ path('callback_widget_create_request') }}',
getStateUrl: '{{ path('callback_widget_get_state') }}',
callBackMinute: '{{ 'callback_widget.title'|trans({}, 'dc_base')|raw }}',
callBackWorkingHours: '{{ 'callback_widget.working_hours'|trans({}, 'dc_base') }}',
});
});
{#app.loadJs('{{ asset('bundles/my/js/cookies-warning.js') }}', function () {#}
{# initCookiesWarning({#}
{# policyUrl: \"{{ path('automarket_personal_data_agreement') }}\"#}
{# });#}
{#});#}
/* Google Tag Manager */
app.loadJs('{{ asset('bundles/automarket/js/site.js') }}');
});
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AutoDealer\",
\"name\": \"{{ dealer.name }}\",
\"image\": \"{{ absolute_url(asset('bundles/automarket/img/logo.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/automarket/img/logo.png')) }}\"
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org/\",
\"@type\": \"WebSite\",
\"name\": \"{{ dealer.name }}\",
\"url\": \"{{ app.request.uri }}\"
}
</script>
{% block pageJS %}
{% endblock pageJS %}
{% endblock coreBottomJs %}
", "@Automarket/base.html.twig", "/var/www/vidi.ua/releases/251023-65bd7d10/src/AutomarketBundle/Resources/views/base.html.twig");
}
}