var/cache/dev/twig/9f/9fcf4f8c4482b008804c12068327acac.php line 62

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @Automarket/base.html.twig */
  16. class __TwigTemplate_ca78e566c426ad336733681044f6a458 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'gtm' => [$this'block_gtm'],
  29.             'head' => [$this'block_head'],
  30.             'seo' => [$this'block_seo'],
  31.             'ogtagDynamic' => [$this'block_ogtagDynamic'],
  32.             'socialPreview' => [$this'block_socialPreview'],
  33.             'body' => [$this'block_body'],
  34.             'content' => [$this'block_content'],
  35.             'css' => [$this'block_css'],
  36.             'coreBottomJs' => [$this'block_coreBottomJs'],
  37.             'pageJS' => [$this'block_pageJS'],
  38.         ];
  39.     }
  40.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  41.     {
  42.         // line 1
  43.         return "@Core/DCSite/core-dc-template.html.twig";
  44.     }
  45.     protected function doDisplay(array $context, array $blocks = []): iterable
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Automarket/base.html.twig"));
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Automarket/base.html.twig"));
  52.         $this->parent $this->load("@Core/DCSite/core-dc-template.html.twig"1);
  53.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  54.         
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.     }
  59.     // line 3
  60.     /**
  61.      * @return iterable<null|scalar|\Stringable>
  62.      */
  63.     public function block_gtm(array $context, array $blocks = []): iterable
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""gtm"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""gtm"));
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.         yield from [];
  75.     }
  76.     // line 6
  77.     /**
  78.      * @return iterable<null|scalar|\Stringable>
  79.      */
  80.     public function block_head(array $context, array $blocks = []): iterable
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  87.         // line 7
  88.         yield "    <meta name=\"google-site-verification\" content=\"QcGxT9cC4ou8Nx5kyQoQaadEcSPvRKlhkz_Cp5d3k20\" />
  89.     <meta name=\"google-site-verification\" content=\"TcAmjzSVw39xvfOtJMCJbfgocg_T_31WEc1by8fiw4U\" />
  90.     <link rel=\"alternate\" type=\"application/rss+xml\" title=\"";
  91.         // line 9
  92.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.automarket_used_cars", [], "automarket_base"), "html"nulltrue);
  93.         yield "\" href=\"https://";
  94.         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"falsefalsefalse9), "html"nulltrue);
  95.         yield "/buy/rss/\"/>
  96.     ";
  97.         // line 11
  98.         yield from $this->unwrap()->yieldBlock('seo'$context$blocks);
  99.         // line 15
  100.         yield "     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.ico\">
  101.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icon-32x32.png\">
  102.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icon-16x16.png\">
  103.     <link rel=\"icon\" href=\"";
  104.         // line 18
  105.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/automarket/img/apple-touch-icon.ico"), "html"nulltrue);
  106.         yield "\" type=\"image/x-icon\" />
  107.     ";
  108.         // line 20
  109.         yield from $this->load("@Automarket/preloader-css.html.twig"20)->unwrap()->yield($context);
  110.         // line 21
  111.         yield "
  112.    <script type=\"text/javascript\">
  113.         (function (d,s,u,e,p) {
  114.           p=d.getElementsByTagName(s)[0],e=d.createElement(s),e.async=1,e.src=u,p.parentNode.insertBefore(e, p);
  115.         })(document, 'script', 'https://script.ringostat.com/v4/55/557c658554c2078009165f030e1839a193469d40.js');
  116.         var pw = function() {if (typeof(ringostatAnalytics) === \"undefined\") {setTimeout(pw,100);} else {ringostatAnalytics.sendHit('pageview');}};
  117.         pw();
  118.     </script>
  119.     ";
  120.         // line 30
  121.         yield from $this->unwrap()->yieldBlock('ogtagDynamic'$context$blocks);
  122.         // line 35
  123.         yield "
  124.     ";
  125.         // line 36
  126.         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"]));
  127.         
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.         yield from [];
  132.     }
  133.     // line 11
  134.     /**
  135.      * @return iterable<null|scalar|\Stringable>
  136.      */
  137.     public function block_seo(array $context, array $blocks = []): iterable
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  144.         // line 12
  145.         yield "        <title>";
  146.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.seo.title", [], "automarket_base"), "html"nulltrue);
  147.         yield "</title>
  148.         <meta name=\"description\" content=\"";
  149.         // line 13
  150.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.seo.description", [], "automarket_base"), "html"nulltrue);
  151.         yield "\"/>
  152.     ";
  153.         
  154.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  155.         
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  157.         yield from [];
  158.     }
  159.     // line 30
  160.     /**
  161.      * @return iterable<null|scalar|\Stringable>
  162.      */
  163.     public function block_ogtagDynamic(array $context, array $blocks = []): iterable
  164.     {
  165.         $macros $this->macros;
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagDynamic"));
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtagDynamic"));
  170.         // line 31
  171.         yield "        <meta property=\"og:title\" content=\"";
  172.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.seo.title", [], "automarket_base"), "html"nulltrue);
  173.         yield "\"/>
  174.         <meta property=\"og:description\" content=\"";
  175.         // line 32
  176.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.seo.description", [], "automarket_base"), "html"nulltrue);
  177.         yield "\"/>
  178.         <meta property=\"og:image\" content=\"";
  179.         // line 33
  180.         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"nulltrue);
  181.         yield "\"/>
  182.     ";
  183.         
  184.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  185.         
  186.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  187.         yield from [];
  188.     }
  189.     // line 39
  190.     /**
  191.      * @return iterable<null|scalar|\Stringable>
  192.      */
  193.     public function block_socialPreview(array $context, array $blocks = []): iterable
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""socialPreview"));
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""socialPreview"));
  200.         
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  202.         
  203.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  204.         yield from [];
  205.     }
  206.     // line 42
  207.     /**
  208.      * @return iterable<null|scalar|\Stringable>
  209.      */
  210.     public function block_body(array $context, array $blocks = []): iterable
  211.     {
  212.         $macros $this->macros;
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  214.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  216.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  217.         // line 43
  218.         yield "
  219. <!-- Google Tag Manager (noscript) -->
  220. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NG6MLQG\"
  221.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  222. <!-- End Google Tag Manager (noscript) -->
  223. ";
  224.         // line 48
  225.         yield from $this->load("@Automarket/header.html.twig"48)->unwrap()->yield($context);
  226.         // line 50
  227.         yield "
  228. ";
  229.         // line 51
  230.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  231.         // line 53
  232.         yield "
  233. ";
  234.         // line 54
  235.         yield from $this->load("@Automarket/leads.html.twig"54)->unwrap()->yield($context);
  236.         // line 55
  237.         yield from $this->load("@DcSite/Modules/order-call-popup.html.twig"55)->unwrap()->yield($context);
  238.         // line 56
  239.         yield from $this->load("@DcSite/Modules/sps-popup.html.twig"56)->unwrap()->yield($context);
  240.         // line 57
  241.         yield from $this->load("@DcSiteBundle/Modules/callback/widget.html.twig"57)->unwrap()->yield($context);
  242.         // line 58
  243.         yield from $this->load("@Automarket/footer.html.twig"58)->unwrap()->yield($context);
  244.         // line 60
  245.         yield "
  246. ";
  247.         // line 61
  248.         yield from $this->unwrap()->yieldBlock('css'$context$blocks);
  249.         // line 63
  250.         yield "
  251. ";
  252.         
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  254.         
  255.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  256.         yield from [];
  257.     }
  258.     // line 51
  259.     /**
  260.      * @return iterable<null|scalar|\Stringable>
  261.      */
  262.     public function block_content(array $context, array $blocks = []): iterable
  263.     {
  264.         $macros $this->macros;
  265.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  266.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  267.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  268.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  269.         
  270.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  271.         
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  273.         yield from [];
  274.     }
  275.     // line 61
  276.     /**
  277.      * @return iterable<null|scalar|\Stringable>
  278.      */
  279.     public function block_css(array $context, array $blocks = []): iterable
  280.     {
  281.         $macros $this->macros;
  282.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  283.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  284.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  285.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  286.         
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  288.         
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  290.         yield from [];
  291.     }
  292.     // line 66
  293.     /**
  294.      * @return iterable<null|scalar|\Stringable>
  295.      */
  296.     public function block_coreBottomJs(array $context, array $blocks = []): iterable
  297.     {
  298.         $macros $this->macros;
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  300.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""coreBottomJs"));
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  302.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""coreBottomJs"));
  303.         // line 67
  304.         yield "    <script>
  305.         app.onCustomEvent('appInit', function () {
  306.             app.loadCss('";
  307.         // line 69
  308.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/style.css"), "html"nulltrue);
  309.         yield "');
  310.             app.loadCss('";
  311.         // line 70
  312.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/header.css"), "html"nulltrue);
  313.         yield "');
  314.             app.loadCss('";
  315.         // line 71
  316.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/footer.css"), "html"nulltrue);
  317.         yield "');
  318.             app.loadCss('";
  319.         // line 72
  320.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/lead-magnets.css"), "html"nulltrue);
  321.         yield "');
  322.             app.loadCss('";
  323.         // line 73
  324.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/automarket/css/modules/btn.css"), "html"nulltrue);
  325.         yield "');
  326.             app.loadCss('";
  327.         // line 74
  328.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/css/nissan/icomoon/style.css"), "html"nulltrue);
  329.         yield "');
  330.             app.loadCss('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
  331.             app.loadCss('";
  332.         // line 76
  333.         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"nulltrue);
  334.         yield "');
  335.             app.loadJs('";
  336.         // line 78
  337.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/core/js/jquery.cookie.js"), "html"nulltrue);
  338.         yield "');
  339.             var toggles = document.querySelectorAll(\".c-hamburger\");
  340.             for (var i = toggles.length - 1; i >= 0; i--) {
  341.                 var toggle = toggles[i];
  342.                 toggleHandler(toggle);
  343.             };
  344.             function toggleHandler(toggle) {
  345.                 toggle.addEventListener( \"click\", function(e) {
  346.                     e.preventDefault();
  347.                     (this.classList.contains(\"is-active\") === true) ? this.classList.remove(\"is-active\") : this.classList.add(\"is-active\");
  348.                 });
  349.             }
  350.             \$(\"[data-toggle='popover']\").popover();
  351.             \$('.carousel').carousel({
  352.                 touch: true
  353.             })
  354.             app.loadJs('/bundles/dcsite/js/modules/callback/callback-vue.js', function () {
  355.                 callbackRequest({
  356.                     initUrl: '";
  357.         // line 99
  358.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_init");
  359.         yield "',
  360.                     createUrl: '";
  361.         // line 100
  362.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_create_request");
  363.         yield "',
  364.                     getStateUrl: '";
  365.         // line 101
  366.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_get_state");
  367.         yield "',
  368.                     callBackMinute: '";
  369.         // line 102
  370.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.title", [], "dc_base");
  371.         yield "',
  372.                     callBackWorkingHours: '";
  373.         // line 103
  374.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.working_hours", [], "dc_base"), "html"nulltrue);
  375.         yield "',
  376.                 });
  377.             });
  378.             ";
  379.         // line 108
  380.         yield "            ";
  381.         // line 109
  382.         yield "            ";
  383.         // line 110
  384.         yield "            ";
  385.         // line 111
  386.         yield "            ";
  387.         // line 112
  388.         yield "
  389.             /* Google Tag Manager */
  390.             app.loadJs('";
  391.         // line 114
  392.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/automarket/js/site.js"), "html"nulltrue);
  393.         yield "');
  394.         });
  395.     </script>
  396.     <script type=\"application/ld+json\">
  397.         {
  398.           \"@context\": \"https://schema.org\",
  399.           \"@type\": \"AutoDealer\",
  400.           \"name\": \"";
  401.         // line 123
  402.         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"falsefalsefalse123), "html"nulltrue);
  403.         yield "\",
  404.           \"image\": \"";
  405.         // line 124
  406.         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"nulltrue);
  407.         yield "\",
  408.           \"url\": \"";
  409.         // line 125
  410.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse125), "uri", [], "any"falsefalsefalse125), "html"nulltrue);
  411.         yield "\",
  412.           \"telephone\": \"";
  413.         // line 126
  414.         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"falsefalsefalse126), "html"nulltrue);
  415.         yield "\",
  416.           \"address\": {
  417.             \"@type\": \"PostalAddress\",
  418.             \"streetAddress\": \" ";
  419.         // line 129
  420.         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"falsefalsefalse129), "html"nulltrue);
  421.         yield "\",
  422.             \"addressLocality\": \"Київ\"
  423.           },
  424.           \"sameAs\": [
  425.             \"";
  426.         // line 133
  427.         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"falsefalsefalse133), "html"nulltrue);
  428.         yield "\",
  429.             \"";
  430.         // line 134
  431.         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"falsefalsefalse134), "html"nulltrue);
  432.         yield "\",
  433.             \"";
  434.         // line 135
  435.         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"falsefalsefalse135), "html"nulltrue);
  436.         yield "\"
  437.           ]
  438.         }
  439.     </script>
  440.     <script type=\"application/ld+json\">
  441.         {
  442.             \"@context\": \"https://schema.org\",
  443.             \"@type\": \"Organization\",
  444.             \"url\": \"";
  445.         // line 143
  446.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse143), "uri", [], "any"falsefalsefalse143), "html"nulltrue);
  447.         yield "\",
  448.             \"logo\": \"";
  449.         // line 144
  450.         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"nulltrue);
  451.         yield "\"
  452.         }
  453.     </script>
  454.     <script type=\"application/ld+json\">
  455.         {
  456.             \"@context\": \"https://schema.org/\",
  457.             \"@type\": \"WebSite\",
  458.             \"name\": \"";
  459.         // line 151
  460.         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"falsefalsefalse151), "html"nulltrue);
  461.         yield "\",
  462.             \"url\": \"";
  463.         // line 152
  464.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse152), "uri", [], "any"falsefalsefalse152), "html"nulltrue);
  465.         yield "\"
  466.         }
  467.     </script>
  468.     ";
  469.         // line 156
  470.         yield from $this->unwrap()->yieldBlock('pageJS'$context$blocks);
  471.         
  472.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  473.         
  474.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  475.         yield from [];
  476.     }
  477.     /**
  478.      * @return iterable<null|scalar|\Stringable>
  479.      */
  480.     public function block_pageJS(array $context, array $blocks = []): iterable
  481.     {
  482.         $macros $this->macros;
  483.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  484.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageJS"));
  485.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  486.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageJS"));
  487.         // line 157
  488.         yield "    ";
  489.         
  490.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  491.         
  492.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  493.         yield from [];
  494.     }
  495.     /**
  496.      * @codeCoverageIgnore
  497.      */
  498.     public function getTemplateName(): string
  499.     {
  500.         return "@Automarket/base.html.twig";
  501.     }
  502.     /**
  503.      * @codeCoverageIgnore
  504.      */
  505.     public function isTraitable(): bool
  506.     {
  507.         return false;
  508.     }
  509.     /**
  510.      * @codeCoverageIgnore
  511.      */
  512.     public function getDebugInfo(): array
  513.     {
  514.         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,);
  515.     }
  516.     public function getSourceContext(): Source
  517.     {
  518.         return new Source("{% extends '@Core/DCSite/core-dc-template.html.twig' %}
  519. {% block gtm  %}
  520. {% endblock gtm  %}
  521. {% block head %}
  522.     <meta name=\"google-site-verification\" content=\"QcGxT9cC4ou8Nx5kyQoQaadEcSPvRKlhkz_Cp5d3k20\" />
  523.     <meta name=\"google-site-verification\" content=\"TcAmjzSVw39xvfOtJMCJbfgocg_T_31WEc1by8fiw4U\" />
  524.     <link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ 'base.automarket_used_cars'|trans({}, 'automarket_base') }}\" href=\"https://{{ dealer.domain }}/buy/rss/\"/>
  525.     {% block seo %}
  526.         <title>{{ 'base.seo.title'|trans({},'automarket_base') }}</title>
  527.         <meta name=\"description\" content=\"{{ 'base.seo.description'|trans({},'automarket_base') }}\"/>
  528.     {% endblock seo %}
  529.      <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.ico\">
  530.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icon-32x32.png\">
  531.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icon-16x16.png\">
  532.     <link rel=\"icon\" href=\"{{ asset('bundles/automarket/img/apple-touch-icon.ico') }}\" type=\"image/x-icon\" />
  533.     {% include '@Automarket/preloader-css.html.twig' %}
  534.    <script type=\"text/javascript\">
  535.         (function (d,s,u,e,p) {
  536.           p=d.getElementsByTagName(s)[0],e=d.createElement(s),e.async=1,e.src=u,p.parentNode.insertBefore(e, p);
  537.         })(document, 'script', 'https://script.ringostat.com/v4/55/557c658554c2078009165f030e1839a193469d40.js');
  538.         var pw = function() {if (typeof(ringostatAnalytics) === \"undefined\") {setTimeout(pw,100);} else {ringostatAnalytics.sendHit('pageview');}};
  539.         pw();
  540.     </script>
  541.     {% block ogtagDynamic %}
  542.         <meta property=\"og:title\" content=\"{{ 'base.seo.title'|trans({}, 'automarket_base') }}\"/>
  543.         <meta property=\"og:description\" content=\"{{ 'base.seo.description'|trans({}, 'automarket_base') }}\"/>
  544.         <meta property=\"og:image\" content=\"{{ absolute_url(asset('bundles/automarket/img/logo.png')) }}\"/>
  545.     {% endblock ogtagDynamic %}
  546.     {% include '@DcSite/Modules/google-tag-manager.html.twig' with { 'domain': 'vidi-automarket.com.ua', 'gtmIdCode': 'GTM-NG6MLQG' } %}
  547. {% endblock head %}
  548. {% block socialPreview %}
  549. {% endblock socialPreview %}
  550. {% block body %}
  551. <!-- Google Tag Manager (noscript) -->
  552. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NG6MLQG\"
  553.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  554. <!-- End Google Tag Manager (noscript) -->
  555. {% include '@Automarket/header.html.twig' %}
  556. {# {% include '@Automarket/header-old.html.twig' %} #}
  557. {% block content %}
  558. {% endblock content %}
  559. {% include '@Automarket/leads.html.twig' %}
  560. {% include '@DcSite/Modules/order-call-popup.html.twig' %}
  561. {% include '@DcSite/Modules/sps-popup.html.twig' %}
  562. {% include '@DcSiteBundle/Modules/callback/widget.html.twig' %}
  563. {% include '@Automarket/footer.html.twig' %}
  564. {#{% include '@My/Modules/cookies-warning.html.twig' %}#}
  565. {% block css %}
  566. {% endblock  %}
  567. {% endblock body %}
  568. {% block coreBottomJs %}
  569.     <script>
  570.         app.onCustomEvent('appInit', function () {
  571.             app.loadCss('{{ asset('/bundles/automarket/css/style.css') }}');
  572.             app.loadCss('{{ asset('/bundles/automarket/css/header.css') }}');
  573.             app.loadCss('{{ asset('/bundles/automarket/css/footer.css') }}');
  574.             app.loadCss('{{ asset('/bundles/automarket/css/lead-magnets.css') }}');
  575.             app.loadCss('{{ asset('/bundles/automarket/css/modules/btn.css') }}');
  576.             app.loadCss('{{ asset('/bundles/dcsite/css/nissan/icomoon/style.css') }}');
  577.             app.loadCss('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
  578.             app.loadCss('{{ asset('/bundles/dcsite/css/modules/callback/timer-call.css') }}');
  579.             app.loadJs('{{ asset('/bundles/core/js/jquery.cookie.js') }}');
  580.             var toggles = document.querySelectorAll(\".c-hamburger\");
  581.             for (var i = toggles.length - 1; i >= 0; i--) {
  582.                 var toggle = toggles[i];
  583.                 toggleHandler(toggle);
  584.             };
  585.             function toggleHandler(toggle) {
  586.                 toggle.addEventListener( \"click\", function(e) {
  587.                     e.preventDefault();
  588.                     (this.classList.contains(\"is-active\") === true) ? this.classList.remove(\"is-active\") : this.classList.add(\"is-active\");
  589.                 });
  590.             }
  591.             \$(\"[data-toggle='popover']\").popover();
  592.             \$('.carousel').carousel({
  593.                 touch: true
  594.             })
  595.             app.loadJs('/bundles/dcsite/js/modules/callback/callback-vue.js', function () {
  596.                 callbackRequest({
  597.                     initUrl: '{{ path('callback_widget_init') }}',
  598.                     createUrl: '{{ path('callback_widget_create_request') }}',
  599.                     getStateUrl: '{{ path('callback_widget_get_state') }}',
  600.                     callBackMinute: '{{ 'callback_widget.title'|trans({}, 'dc_base')|raw }}',
  601.                     callBackWorkingHours: '{{ 'callback_widget.working_hours'|trans({}, 'dc_base') }}',
  602.                 });
  603.             });
  604.             {#app.loadJs('{{ asset('bundles/my/js/cookies-warning.js') }}', function () {#}
  605.             {#    initCookiesWarning({#}
  606.             {#        policyUrl: \"{{ path('automarket_personal_data_agreement') }}\"#}
  607.             {#    });#}
  608.             {#});#}
  609.             /* Google Tag Manager */
  610.             app.loadJs('{{ asset('bundles/automarket/js/site.js') }}');
  611.         });
  612.     </script>
  613.     <script type=\"application/ld+json\">
  614.         {
  615.           \"@context\": \"https://schema.org\",
  616.           \"@type\": \"AutoDealer\",
  617.           \"name\": \"{{ dealer.name }}\",
  618.           \"image\": \"{{ absolute_url(asset('bundles/automarket/img/logo.png')) }}\",
  619.           \"url\": \"{{ app.request.uri }}\",
  620.           \"telephone\": \"{{ dealer.phone }}\",
  621.           \"address\": {
  622.             \"@type\": \"PostalAddress\",
  623.             \"streetAddress\": \" {{ dealer.addressUa }}\",
  624.             \"addressLocality\": \"Київ\"
  625.           },
  626.           \"sameAs\": [
  627.             \"{{ dealer.linkFacebook }}\",
  628.             \"{{ dealer.linkInstagram }}\",
  629.             \"{{ dealer.linkYoutube }}\"
  630.           ]
  631.         }
  632.     </script>
  633.     <script type=\"application/ld+json\">
  634.         {
  635.             \"@context\": \"https://schema.org\",
  636.             \"@type\": \"Organization\",
  637.             \"url\": \"{{ app.request.uri }}\",
  638.             \"logo\": \"{{ absolute_url(asset('bundles/automarket/img/logo.png')) }}\"
  639.         }
  640.     </script>
  641.     <script type=\"application/ld+json\">
  642.         {
  643.             \"@context\": \"https://schema.org/\",
  644.             \"@type\": \"WebSite\",
  645.             \"name\": \"{{ dealer.name }}\",
  646.             \"url\": \"{{ app.request.uri }}\"
  647.         }
  648.     </script>
  649.     {% block pageJS %}
  650.     {% endblock pageJS %}
  651. {% endblock coreBottomJs %}
  652. ""@Automarket/base.html.twig""/var/www/vidi.ua/releases/251023-65bd7d10/src/AutomarketBundle/Resources/views/base.html.twig");
  653.     }
  654. }