var/cache/dev/twig/ad/ad67a0f24462bae39e7ff9ffc9d42ec4.php line 144

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. /* @Portal/Catalog/catalog-main.html.twig */
  16. class __TwigTemplate_0d83b2404c8487310a5f5d61ea7527ee 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->parent false;
  28.         $this->blocks = [
  29.             'head' => [$this'block_head'],
  30.             'content' => [$this'block_content'],
  31.             'schema_catalog_product' => [$this'block_schema_catalog_product'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = []): iterable
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Portal/Catalog/catalog-main.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Portal/Catalog/catalog-main.html.twig"));
  41.         // line 1
  42.         $context["pageTitle"] = "";
  43.         // line 2
  44.         $context["pageDescription"] = "";
  45.         // line 3
  46.         if ((($tmp = (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'3$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  47.             // line 4
  48.             yield "    ";
  49.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'4$this->source); })()), "title", [], "any"falsefalsefalse4)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  50.                 // line 5
  51.                 yield "        ";
  52.                 $context["pageTitle"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'5$this->source); })()), "title", [], "any"falsefalsefalse5);
  53.                 // line 6
  54.                 yield "    ";
  55.             } elseif ((($tmp = (isset($context["year"]) || array_key_exists("year"$context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.'6$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  56.                 // line 7
  57.                 yield "        ";
  58.                 $context["pageTitle"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.catalog.year_title", ["%year%" => (isset($context["year"]) || array_key_exists("year"$context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.'7$this->source); })())], "portal_base");
  59.                 // line 8
  60.                 yield "    ";
  61.             } else {
  62.                 // line 9
  63.                 yield "        ";
  64.                 $context["pageTitle"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.catalog.title", [], "portal_base");
  65.                 // line 10
  66.                 yield "    ";
  67.             }
  68.             // line 11
  69.             yield "
  70.     ";
  71.             // line 12
  72.             if ((($tmp 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.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", ["page"], "method"falsefalsefalse12)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  73.                 // line 13
  74.                 yield "        ";
  75.                 $context["pageTitle"] = (((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.page", [], "portal_base") . " - ") . 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.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "get", ["page"], "method"falsefalsefalse13)) . " - ") . (isset($context["pageTitle"]) || array_key_exists("pageTitle"$context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.'13$this->source); })()));
  76.                 // line 14
  77.                 yield "    ";
  78.             }
  79.             // line 15
  80.             yield "
  81.     ";
  82.             // line 16
  83.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'16$this->source); })()), "description", [], "any"falsefalsefalse16)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  84.                 // line 17
  85.                 yield "        ";
  86.                 $context["pageDescription"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'17$this->source); })()), "description", [], "any"falsefalsefalse17);
  87.                 // line 18
  88.                 yield "    ";
  89.             } elseif ((($tmp = (isset($context["year"]) || array_key_exists("year"$context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.'18$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  90.                 // line 19
  91.                 yield "        ";
  92.                 $context["pageDescription"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.catalog.year_description", ["%year%" => (isset($context["year"]) || array_key_exists("year"$context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.'19$this->source); })())], "portal_base");
  93.                 // line 20
  94.                 yield "    ";
  95.             }
  96.         }
  97.         // line 22
  98.         yield "
  99. ";
  100.         // line 23
  101.         if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'23$this->source); })()), "h1", [], "any"falsefalsefalse23)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  102.             // line 24
  103.             yield "    ";
  104.             $context["pageH1"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["seoMeta"]) || array_key_exists("seoMeta"$context) ? $context["seoMeta"] : (function () { throw new RuntimeError('Variable "seoMeta" does not exist.'24$this->source); })()), "h1", [], "any"falsefalsefalse24);
  105.         } elseif ((        // line 25
  106. array_key_exists("valueParam"$context) && (isset($context["valueParam"]) || array_key_exists("valueParam"$context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.'25$this->source); })()))) {
  107.             // line 26
  108.             yield "    ";
  109.             $context["pageH1"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((("catalog.seo.h1_" . (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'26$this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'26$this->source); })())) . "_body_type"), ["%body_type%" => (isset($context["valueParam"]) || array_key_exists("valueParam"$context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.'26$this->source); })())], "portal_base");
  110.         } elseif ((($tmp =         // line 27
  111. (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'27$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  112.             // line 28
  113.             yield "    ";
  114.             $context["pageH1"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((("catalog.seo.h1_" . (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'28$this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'28$this->source); })())) . "_brand"), ["%brand%" => (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'28$this->source); })())], "portal_base");
  115.         } elseif ((($tmp =         // line 29
  116. (isset($context["model"]) || array_key_exists("model"$context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.'29$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  117.             // line 30
  118.             yield "    ";
  119.             $context["pageH1"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((("catalog.seo.h1_" . (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'30$this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'30$this->source); })())) . "_model"), ["%model%" => (isset($context["model"]) || array_key_exists("model"$context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.'30$this->source); })())], "portal_base");
  120.         } elseif ((($tmp =         // line 31
  121. (isset($context["year"]) || array_key_exists("year"$context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.'31$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  122.             // line 32
  123.             yield "    ";
  124.             $context["pageH1"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((("catalog.seo.h1_" . (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'32$this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'32$this->source); })())) . "_year"), ["%year%" => (isset($context["year"]) || array_key_exists("year"$context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.'32$this->source); })())], "portal_base");
  125.         }
  126.         // line 34
  127.         yield "
  128. ";
  129.         // line 35
  130.         yield from $this->unwrap()->yieldBlock('head'$context$blocks);
  131.         // line 50
  132.         yield "
  133. ";
  134.         // line 51
  135.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  136.         // line 254
  137.         yield "
  138. ";
  139.         // line 255
  140.         yield from $this->unwrap()->yieldBlock('schema_catalog_product'$context$blocks);
  141.         
  142.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  143.         
  144.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  145.         yield from [];
  146.     }
  147.     // line 35
  148.     /**
  149.      * @return iterable<null|scalar|\Stringable>
  150.      */
  151.     public function block_head(array $context, array $blocks = []): iterable
  152.     {
  153.         $macros $this->macros;
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  158.         // line 36
  159.         yield "    ";
  160.         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.'36$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  161.             // line 37
  162.             yield "    <!-- Google Tag Manager -->
  163.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  164.                 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  165.             j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  166.             'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  167.         })(window,document,'script','dataLayer','GTM-TK6DGWW');</script>
  168.     <!-- End Google Tag Manager -->
  169.     ";
  170.         }
  171.         // line 45
  172.         yield "    <title>";
  173.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageTitle"]) || array_key_exists("pageTitle"$context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.'45$this->source); })()), "html"nulltrue);
  174.         yield "</title>
  175.     <meta name=\"description\" content=\"";
  176.         // line 46
  177.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageDescription"]) || array_key_exists("pageDescription"$context) ? $context["pageDescription"] : (function () { throw new RuntimeError('Variable "pageDescription" does not exist.'46$this->source); })()), "html"nulltrue);
  178.         yield "\" />
  179.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/";
  180.         // line 48
  181.         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.'48$this->source); })()), "html"nulltrue);
  182.         yield "/portal/css/portalCarCatalog.css?";
  183.         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.'48$this->source); })()), "html"nulltrue);
  184.         yield "\">
  185. ";
  186.         
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  188.         
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  190.         yield from [];
  191.     }
  192.     // line 51
  193.     /**
  194.      * @return iterable<null|scalar|\Stringable>
  195.      */
  196.     public function block_content(array $context, array $blocks = []): iterable
  197.     {
  198.         $macros $this->macros;
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  200.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  203.         // line 52
  204.         yield "    ";
  205.         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.'52$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  206.             // line 53
  207.             yield "    <!-- Google Tag Manager (noscript) -->
  208.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TK6DGWW\"
  209.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  210.     <!-- End Google Tag Manager (noscript) -->
  211.     ";
  212.         }
  213.         // line 58
  214.         yield "    <div id=\"baseFilters\">
  215.         <section class=\"breadcrumbs__new\">
  216.             <div class=\"container\">
  217.                 <ol class=\"vidi_breadcrumbs__new\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  218.                     <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  219.                         itemtype=\"https://schema.org/ListItem\">
  220.                         <a itemprop=\"item\" href=\"";
  221.         // line 64
  222.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_homepage");
  223.         yield "\">
  224.                             <span class=\"breadcrumbs__link\" itemprop=\"name\">VIDI.UA</span></a>
  225.                         <meta itemprop=\"position\" content=\"1\"/>
  226.                     </li>
  227.                     <div class=\"arrow-bc\"></div>
  228.                     <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  229.                         itemtype=\"https://schema.org/ListItem\">
  230.                         <a itemprop=\"item\" href=\"";
  231.         // line 72
  232.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_catalog", ["state" => (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'72$this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'72$this->source); })())]), "html"nulltrue);
  233.         yield "\">
  234.                             <span class=\"breadcrumbs__link\" itemprop=\"name\">";
  235.         // line 73
  236.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(((("catalog." . (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'73$this->source); })())) . "_") . (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'73$this->source); })())), [], "portal_base"), "html"nulltrue);
  237.         yield "</span></a>
  238.                         <meta itemprop=\"position\" content=\"2\"/>
  239.                     </li>
  240.                     ";
  241.         // line 76
  242.         if ((array_key_exists("valueParam"$context) && (isset($context["valueParam"]) || array_key_exists("valueParam"$context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.'76$this->source); })()))) {
  243.             // line 77
  244.             yield "                        <div class=\"arrow-bc\"></div>
  245.                         <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  246.                             itemtype=\"https://schema.org/ListItem\">
  247.                             ";
  248.             // line 80
  249.             if (((array_key_exists("brand"$context) && (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'80$this->source); })())) && ((isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'80$this->source); })()) != "all"))) {
  250.                 // line 81
  251.                 yield "                                <a itemprop=\"item\" href=\"";
  252.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_catalog_by_params", ["state" => (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'81$this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'81$this->source); })()), "param" => (isset($context["param"]) || array_key_exists("param"$context) ? $context["param"] : (function () { throw new RuntimeError('Variable "param" does not exist.'81$this->source); })()), "value" => (isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'81$this->source); })())]), "html"nulltrue);
  253.                 yield "\">
  254.                                     <span class=\"breadcrumbs__link\" itemprop=\"name\">";
  255.                 // line 82
  256.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["valueParam"]) || array_key_exists("valueParam"$context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.'82$this->source); })()), "html"nulltrue);
  257.                 yield "</span></a>
  258.                             ";
  259.             } else {
  260.                 // line 84
  261.                 yield "                                <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">";
  262.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["valueParam"]) || array_key_exists("valueParam"$context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.'84$this->source); })()), "html"nulltrue);
  263.                 yield "</span>
  264.                             ";
  265.             }
  266.             // line 86
  267.             yield "                            <meta itemprop=\"position\" content=\"3\"/>
  268.                         </li>
  269.                     ";
  270.         }
  271.         // line 89
  272.         yield "                    ";
  273.         if (((array_key_exists("brand"$context) && (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'89$this->source); })())) && ((isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'89$this->source); })()) != "all"))) {
  274.             // line 90
  275.             yield "                        <div class=\"arrow-bc\"></div>
  276.                         <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  277.                             itemtype=\"https://schema.org/ListItem\">
  278.                             ";
  279.             // line 93
  280.             if ((array_key_exists("model"$context) && (isset($context["model"]) || array_key_exists("model"$context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.'93$this->source); })()))) {
  281.                 // line 94
  282.                 yield "                                ";
  283.                 if ((array_key_exists("valueParam"$context) && (isset($context["valueParam"]) || array_key_exists("valueParam"$context) ? $context["valueParam"] : (function () { throw new RuntimeError('Variable "valueParam" does not exist.'94$this->source); })()))) {
  284.                     // line 95
  285.                     yield "                                    <a itemprop=\"item\" href=\"";
  286.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_catalog_b_by_params", ["state" => (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'95$this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'95$this->source); })()), "param" => (isset($context["param"]) || array_key_exists("param"$context) ? $context["param"] : (function () { throw new RuntimeError('Variable "param" does not exist.'95$this->source); })()), "value" => (isset($context["value"]) || array_key_exists("value"$context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.'95$this->source); })()), "brand" => (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'95$this->source); })())]), "html"nulltrue);
  287.                     yield "\">
  288.                                         <span class=\"breadcrumbs__link\" itemprop=\"name\">";
  289.                     // line 96
  290.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'96$this->source); })()), "html"nulltrue);
  291.                     yield "</span>
  292.                                     </a>
  293.                                 ";
  294.                 } else {
  295.                     // line 99
  296.                     yield "                                    <a itemprop=\"item\" href=\"";
  297.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_catalog_b", ["state" => (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'99$this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'99$this->source); })()), "brand" => (isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'99$this->source); })())]), "html"nulltrue);
  298.                     yield "\">
  299.                                         <span class=\"breadcrumbs__link\" itemprop=\"name\">";
  300.                     // line 100
  301.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'100$this->source); })()), "html"nulltrue);
  302.                     yield "</span>
  303.                                     </a>
  304.                                 ";
  305.                 }
  306.                 // line 103
  307.                 yield "                            ";
  308.             } else {
  309.                 // line 104
  310.                 yield "                                <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">";
  311.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["brand"]) || array_key_exists("brand"$context) ? $context["brand"] : (function () { throw new RuntimeError('Variable "brand" does not exist.'104$this->source); })()), "html"nulltrue);
  312.                 yield "</span>
  313.                             ";
  314.             }
  315.             // line 106
  316.             yield "                            <meta itemprop=\"position\" content=\"3\"/>
  317.                         </li>
  318.                     ";
  319.         }
  320.         // line 109
  321.         yield "                    ";
  322.         if ((array_key_exists("model"$context) && (isset($context["model"]) || array_key_exists("model"$context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.'109$this->source); })()))) {
  323.             // line 110
  324.             yield "                        <div class=\"arrow-bc\"></div>
  325.                         <li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  326.                             itemtype=\"https://schema.org/ListItem\">
  327.                             <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">";
  328.             // line 113
  329.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["model"]) || array_key_exists("model"$context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.'113$this->source); })()), "html"nulltrue);
  330.             yield "</span>
  331.                             <meta itemprop=\"position\" content=\"4\"/>
  332.                         </li>
  333.                     ";
  334.         }
  335.         // line 117
  336.         yield "
  337.                     ";
  338.         // line 118
  339.         if ((array_key_exists("group"$context) && (isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'118$this->source); })()))) {
  340.             // line 119
  341.             yield "                        <div class=\"arrow-bc\"></div>
  342.                         <li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  343.                             itemtype=\"https://schema.org/ListItem\">
  344.                             <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">";
  345.             // line 122
  346.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1"$context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.'122$this->source); })()), "html"nulltrue);
  347.             yield "</span>
  348.                             <meta itemprop=\"position\" content=\"4\"/>
  349.                         </li>
  350.                     ";
  351.         }
  352.         // line 126
  353.         yield "                </ol>
  354.             </div>
  355.         </section>
  356.         <section class=\"selection__catalog__head\">
  357.             <div class=\"container\">
  358.                 <h1 class=\"catalog__title\">";
  359.         // line 132
  360.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1"$context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.'132$this->source); })()), "html"nulltrue);
  361.         yield "</h1>
  362.                 ";
  363.         // line 133
  364.         if ((((isset($context["catalogBanner"]) || array_key_exists("catalogBanner"$context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.'133$this->source); })()) && CoreExtension::getAttribute($this->env$this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner"$context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.'133$this->source); })()), "imageByLocale", [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.'133$this->source); })()), "request", [], "any"falsefalsefalse133), "locale", [], "any"falsefalsefalse133)], "method"falsefalsefalse133)) && CoreExtension::getAttribute($this->env$this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner"$context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.'133$this->source); })()), "imageMobileByLocale", [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.'133$this->source); })()), "request", [], "any"falsefalsefalse133), "locale", [], "any"falsefalsefalse133)], "method"falsefalsefalse133))) {
  365.             // line 134
  366.             yield "                    <a href=\"";
  367.             yield (((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner"$context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.'134$this->source); })()), "btnLink", [], "any"falsefalsefalse134)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner"$context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.'134$this->source); })()), "btnLink", [], "any"falsefalsefalse134), "html"nulltrue)) : ("#"));
  368.             yield "\"
  369.                         ";
  370.             // line 135
  371.             yield (((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner"$context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.'135$this->source); })()), "modal", [], "any"falsefalsefalse135)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ("data-toggle=\"modal\" data-bs-toggle=\"modal\" data-bs-target=\"#order-car\"") : (" "));
  372.             yield ">
  373.                         <img class=\"global_banner_img catalog-banner-pc\" src=\"";
  374.             // line 136
  375.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->path(CoreExtension::getAttribute($this->env$this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner"$context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.'136$this->source); })()), "imageByLocale", [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.'136$this->source); })()), "request", [], "any"falsefalsefalse136), "locale", [], "any"falsefalsefalse136)], "method"falsefalsefalse136), "reference"), "html"nulltrue);
  376.             yield "\" alt=\"\">
  377.                         <img class=\"global_banner_img catalog-banner-mobile\" src=\"";
  378.             // line 137
  379.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->path(CoreExtension::getAttribute($this->env$this->source, (isset($context["catalogBanner"]) || array_key_exists("catalogBanner"$context) ? $context["catalogBanner"] : (function () { throw new RuntimeError('Variable "catalogBanner" does not exist.'137$this->source); })()), "imageMobileByLocale", [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.'137$this->source); })()), "request", [], "any"falsefalsefalse137), "locale", [], "any"falsefalsefalse137)], "method"falsefalsefalse137), "reference"), "html"nulltrue);
  380.             yield "\" alt=\"\">
  381.                     </a>
  382.                 ";
  383.         }
  384.         // line 140
  385.         yield "
  386.                 ";
  387.         // line 141
  388.         if (array_key_exists("catalogNav"$context)) {
  389.             // line 142
  390.             yield "                    ";
  391.             yield from $this->load("@Portal/Catalog/catalog-nav.html.twig"142)->unwrap()->yield($context);
  392.             // line 143
  393.             yield "                ";
  394.         }
  395.         // line 144
  396.         yield "            </div>
  397.         </section>
  398.         ";
  399.         // line 147
  400.         yield from $this->load("@Portal/Catalog/catalog-vehicle.html.twig"147)->unwrap()->yield($context);
  401.         // line 148
  402.         yield "
  403.         <section class=\"section__salons\">
  404.             <div class=\"container\">
  405.                 <h2 class=\"site__main__title\">";
  406.         // line 151
  407.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.official_dealers", [], "portal_base"), "html"nulltrue);
  408.         yield " VIDI</h2>
  409.                 <div class=\"salons__wrapper\">
  410.                     <div v-for=\"dealer in dealers\" class=\"salons__box\">
  411.                         <div class=\"salons-img\" :style=\"{ backgroundImage: 'url(' + dealer.logo + ')' }\">
  412.                         </div>
  413.                         <div class=\"salons__info__wrapper\">
  414.                             <p class=\"salons__title\" v-html=\"dealer.name\"></p>
  415.                             <div class=\"salons__info__link__box\">
  416.                                 <img src=\"";
  417.         // line 159
  418.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/img/icon-svg/mappin.svg"), "html"nulltrue);
  419.         yield "\" :alt=\"dealer.address\" v-html=\"dealer.address\">
  420.                                 <a :href=\"dealer.mapUrl\" class=\"info__link__text\" target=\"_blank\" v-html=\"dealer.address\"></a>
  421.                             </div>
  422.                             <div class=\"salons__info__link__box\">
  423.                                 <img src=\"";
  424.         // line 163
  425.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/img/icon-svg/phone.svg"), "html"nulltrue);
  426.         yield "\" :alt=\"dealer.phone\">
  427.                                 <a :href=\"'tel:' + dealer.href_phone\" v-html=\"dealer.phone\" class=\"info__link__text\"></a>
  428.                             </div>
  429.                             <a class=\"go-website__link\" :href=\"'https://' + dealer.domain\">";
  430.         // line 166
  431.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.go_to_site", [], "portal_base"), "html"nulltrue);
  432.         yield "</a>
  433.                         </div>
  434.                     </div>
  435.                 </div>
  436.             </div>
  437.         </section>
  438.         <section class=\"section__price__new__car\" v-if=\"seoLinks.blocks\">
  439.             <div class=\"container\">
  440.                 ";
  441.         // line 175
  442.         if ((($tmp = (isset($context["modelEm"]) || array_key_exists("modelEm"$context) ? $context["modelEm"] : (function () { throw new RuntimeError('Variable "modelEm" does not exist.'175$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  443.             // line 176
  444.             yield "                    ";
  445.             $context["carName"] = ((CoreExtension::getAttribute($this->env$this->source, (isset($context["brandEm"]) || array_key_exists("brandEm"$context) ? $context["brandEm"] : (function () { throw new RuntimeError('Variable "brandEm" does not exist.'176$this->source); })()), "name", [], "any"falsefalsefalse176) . " ") . CoreExtension::getAttribute($this->env$this->source, (isset($context["modelEm"]) || array_key_exists("modelEm"$context) ? $context["modelEm"] : (function () { throw new RuntimeError('Variable "modelEm" does not exist.'176$this->source); })()), "title", [], "any"falsefalsefalse176));
  446.             // line 177
  447.             yield "                ";
  448.         } elseif ((($tmp = (isset($context["brandEm"]) || array_key_exists("brandEm"$context) ? $context["brandEm"] : (function () { throw new RuntimeError('Variable "brandEm" does not exist.'177$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  449.             // line 178
  450.             yield "                    ";
  451.             $context["carName"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["brandEm"]) || array_key_exists("brandEm"$context) ? $context["brandEm"] : (function () { throw new RuntimeError('Variable "brandEm" does not exist.'178$this->source); })()), "name", [], "any"falsefalsefalse178);
  452.             // line 179
  453.             yield "                ";
  454.         }
  455.         // line 180
  456.         yield "
  457.                 ";
  458.         // line 182
  459.         if ((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.'182$this->source); })()), "request", [], "any"falsefalsefalse182), "get", ["state"], "method"falsefalsefalse182) == "new")) {
  460.             // line 183
  461.             yield "                    <h2 class=\"site__main__title\">";
  462.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.prices", [], "portal_base"), "html"nulltrue);
  463.             yield " на ";
  464.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1"$context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.'183$this->source); })()), "html"nulltrue);
  465.             yield " ";
  466.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.in_ukraine", [], "portal_base"), "html"nulltrue);
  467.             yield " ";
  468.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now""d.m.Y"), "html"nulltrue);
  469.             yield "</h2>
  470.                 ";
  471.         } else {
  472.             // line 185
  473.             yield "                    <h2 class=\"site__main__title\">";
  474.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.prices", [], "portal_base"), "html"nulltrue);
  475.             yield " на ";
  476.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1"$context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.'185$this->source); })()), "html"nulltrue);
  477.             yield " ";
  478.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now""d.m.Y"), "html"nulltrue);
  479.             yield "</h2>
  480.                 ";
  481.         }
  482.         // line 187
  483.         yield "                <div class=\"price__new__car__wrapper\">
  484.                     <div class=\"price__new__car__name__box\">
  485.                         <p class=\"price__new__car__name\">";
  486.         // line 190
  487.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search.cars", [], "portal_base"), "html"nulltrue);
  488.         yield "</p>
  489.                         <p class=\"price__new__car__name\">";
  490.         // line 191
  491.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.prices", [], "portal_base"), "html"nulltrue);
  492.         yield "</p>
  493.                     </div>
  494.                     <table class=\"price__table__wrapper\">
  495.                         <tbody>
  496.                         ";
  497.         // line 196
  498.         $context['_parent'] = $context;
  499.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["vehicleTopViews"]) || array_key_exists("vehicleTopViews"$context) ? $context["vehicleTopViews"] : (function () { throw new RuntimeError('Variable "vehicleTopViews" does not exist.'196$this->source); })()));
  500.         foreach ($context['_seq'] as $context["_key"] => $context["vehicle"]) {
  501.             // line 197
  502.             yield "                            ";
  503.             if ((($tmp CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "isUsed", [], "any"falsefalsefalse197)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  504.                 // line 198
  505.                 yield "                                <tr>
  506.                                     <td>
  507.                                         <a href=\"";
  508.                 // line 200
  509.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_used_car", ["url" => CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "url", [], "any"falsefalsefalse200)]), "html"nulltrue);
  510.                 yield "\">
  511.                                             <p class=\"price__new__info__name\">";
  512.                 // line 201
  513.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "fullName", [], "any"falsefalsefalse201), "html"nulltrue);
  514.                 yield " ";
  515.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->engineVolumeShortFilter(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "engineVolume", [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.'201$this->source); })()), "request", [], "any"falsefalsefalse201), "locale", [], "any"falsefalsefalse201)], "method"falsefalsefalse201)), "html"nulltrue);
  516.                 yield " л., ";
  517.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "year", [], "any"falsefalsefalse201), "html"nulltrue);
  518.                 yield ", ";
  519.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "transmissionTypeName", [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.'201$this->source); })()), "request", [], "any"falsefalsefalse201), "locale", [], "any"falsefalsefalse201)], "method"falsefalsefalse201), "html"nulltrue);
  520.                 yield "</p>
  521.                                         </a>
  522.                                     </td>
  523.                                     <td>
  524.                                         <p class=\"price__new__info__price\">";
  525.                 // line 205
  526.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->priceFilter(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "price", [], "any"falsefalsefalse205)), "html"nulltrue);
  527.                 yield " грн</p>
  528.                                     </td>
  529.                                 </tr>
  530.                             ";
  531.             } else {
  532.                 // line 209
  533.                 yield "                                <tr>
  534.                                     <td>
  535.                                         <a href=\"";
  536.                 // line 211
  537.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_new_car", ["dealer" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["vehicle"], "dealer", [], "any"falsefalsefalse211), "url", [], "any"falsefalsefalse211), "url" => CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "url", [], "any"falsefalsefalse211), "variation" => CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "vehicleItemId", [], "any"falsefalsefalse211)]), "html"nulltrue);
  538.                 yield "\">
  539.                                             <p class=\"price__new__info__name\">";
  540.                 // line 212
  541.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "fullName", [], "any"falsefalsefalse212), "html"nulltrue);
  542.                 yield " ";
  543.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["vehicle"], "equipment", [], "any"falsefalsefalse212), "title", [], "any"falsefalsefalse212), "html"nulltrue);
  544.                 yield " ";
  545.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->engineVolumeShortFilter(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "engineVolume", [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.'212$this->source); })()), "request", [], "any"falsefalsefalse212), "locale", [], "any"falsefalsefalse212)], "method"falsefalsefalse212)), "html"nulltrue);
  546.                 yield " л., ";
  547.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "year", [], "any"falsefalsefalse212), "html"nulltrue);
  548.                 yield ", ";
  549.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "transmissionTypeName", [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.'212$this->source); })()), "request", [], "any"falsefalsefalse212), "locale", [], "any"falsefalsefalse212)], "method"falsefalsefalse212), "html"nulltrue);
  550.                 yield "</p>
  551.                                         </a>
  552.                                     </td>
  553.                                     <td>
  554.                                         <p class=\"price__new__info__price\">";
  555.                 // line 216
  556.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['DcSiteBundle\Twig\TwigDcExtension']->priceFilter(CoreExtension::getAttribute($this->env$this->source$context["vehicle"], "price", [], "any"falsefalsefalse216)), "html"nulltrue);
  557.                 yield " грн</p>
  558.                                     </td>
  559.                                 </tr>
  560.                             ";
  561.             }
  562.             // line 220
  563.             yield "                        ";
  564.         }
  565.         $_parent $context['_parent'];
  566.         unset($context['_seq'], $context['_key'], $context['vehicle'], $context['_parent']);
  567.         $context array_intersect_key($context$_parent) + $_parent;
  568.         // line 221
  569.         yield "                        </tbody>
  570.                     </table>
  571.                 </div>
  572.             </div>
  573.         </section>
  574.         <section class=\"section__select__cars__characteristics\" v-if=\"seoLinks.blocks\">
  575.             <div class=\"container\">
  576.                 ";
  577.         // line 229
  578.         if (((isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'229$this->source); })()) == "used")) {
  579.             // line 230
  580.             yield "                    <h2 class=\"site__main__title\">";
  581.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.select_used_characteristics", [], "portal_base"), "html"nulltrue);
  582.             yield "</h2>
  583.                 ";
  584.         } else {
  585.             // line 232
  586.             yield "                    ";
  587.             if (((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'232$this->source); })()) == "car")) {
  588.                 // line 233
  589.                 yield "                        <h2 class=\"site__main__title\">";
  590.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog.select_characteristics", [], "portal_base"), "html"nulltrue);
  591.                 yield "</h2>
  592.                     ";
  593.             } else {
  594.                 // line 235
  595.                 yield "                        <h2 class=\"site__main__title\">";
  596.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("catalog.select_characteristics_" . (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'235$this->source); })())), [], "portal_base"), "html"nulltrue);
  597.                 yield "</h2>
  598.                     ";
  599.             }
  600.             // line 237
  601.             yield "                ";
  602.         }
  603.         // line 238
  604.         yield "
  605.                 <table class=\"table__cars__characteristics\">
  606.                     <tbody>
  607.                         <tr v-for=\"(blok, key) in seoLinks.blocks\" v-if=\"key != 'model'\" class=\"select__cars__characteristics__box\">
  608.                             <td class=\"select__cars__characteristics__item-title\" v-html=\"blok.title\"></td>
  609.                             <td v-for=\"link in blok.links\">
  610.                                 <a v-if=\"link.url\" :href=\"link.url\"  class=\"select__cars__characteristics__item\" v-html=\"link.title\"></a>
  611.                             </td>
  612.                         </tr>
  613.                     </tbody>
  614.                 </table>
  615.             </div>
  616.         </section>
  617.     </div>
  618. ";
  619.         
  620.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  621.         
  622.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  623.         yield from [];
  624.     }
  625.     // line 255
  626.     /**
  627.      * @return iterable<null|scalar|\Stringable>
  628.      */
  629.     public function block_schema_catalog_product(array $context, array $blocks = []): iterable
  630.     {
  631.         $macros $this->macros;
  632.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  633.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""schema_catalog_product"));
  634.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  635.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""schema_catalog_product"));
  636.         // line 256
  637.         yield "    ";
  638.         if ((($tmp = (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'256$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  639.             // line 257
  640.             yield "        <script type=\"application/ld+json\">
  641.             {
  642.                 \"@context\": \"https://schema.org\",
  643.                 \"@type\": [\"Product\"],
  644.                 \"name\": \"1111";
  645.             // line 261
  646.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageH1"]) || array_key_exists("pageH1"$context) ? $context["pageH1"] : (function () { throw new RuntimeError('Variable "pageH1" does not exist.'261$this->source); })()), "html"nulltrue);
  647.             yield "\",
  648.                 \"description\": \"";
  649.             // line 262
  650.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pageDescription"]) || array_key_exists("pageDescription"$context) ? $context["pageDescription"] : (function () { throw new RuntimeError('Variable "pageDescription" does not exist.'262$this->source); })()), "html"nulltrue);
  651.             yield "\",
  652.                 \"image\": [
  653.             ";
  654.             // line 264
  655.             $context['_parent'] = $context;
  656.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["vehicles"]) || array_key_exists("vehicles"$context) ? $context["vehicles"] : (function () { throw new RuntimeError('Variable "vehicles" does not exist.'264$this->source); })()));
  657.             $context['loop'] = [
  658.               'parent' => $context['_parent'],
  659.               'index0' => 0,
  660.               'index'  => 1,
  661.               'first'  => true,
  662.             ];
  663.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  664.                 $length count($context['_seq']);
  665.                 $context['loop']['revindex0'] = $length 1;
  666.                 $context['loop']['revindex'] = $length;
  667.                 $context['loop']['length'] = $length;
  668.                 $context['loop']['last'] = === $length;
  669.             }
  670.             foreach ($context['_seq'] as $context["_key"] => $context["vehicle"]) {
  671.                 // line 265
  672.                 yield "                {
  673.                     \"@type\": \"ImageObject\",
  674.                     \"image\": \"";
  675.                 // line 267
  676.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["vehicle"], "vehiclePicture", [], "any"falsefalsefalse267), "img", [], "any"falsefalsefalse267), "html"nulltrue);
  677.                 yield "\",
  678.                     \"contentUrl\": \"";
  679.                 // line 268
  680.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["vehicle"], "vehiclePicture", [], "any"falsefalsefalse268), "img", [], "any"falsefalsefalse268), "html"nulltrue);
  681.                 yield "\"
  682.                 }";
  683.                 // line 269
  684.                 if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse269)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  685.                     yield ",";
  686.                 }
  687.                 // line 270
  688.                 yield "            ";
  689.                 ++$context['loop']['index0'];
  690.                 ++$context['loop']['index'];
  691.                 $context['loop']['first'] = false;
  692.                 if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  693.                     --$context['loop']['revindex0'];
  694.                     --$context['loop']['revindex'];
  695.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  696.                 }
  697.             }
  698.             $_parent $context['_parent'];
  699.             unset($context['_seq'], $context['_key'], $context['vehicle'], $context['_parent'], $context['loop']);
  700.             $context array_intersect_key($context$_parent) + $_parent;
  701.             // line 271
  702.             yield "            ],
  703.             \"offers\": {
  704.                 \"@type\": \"AggregateOffer\",
  705.                 \"priceCurrency\": \"UAH\",
  706.                 \"lowPrice\": \"";
  707.             // line 275
  708.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["minMaxPrice"]) || array_key_exists("minMaxPrice"$context) ? $context["minMaxPrice"] : (function () { throw new RuntimeError('Variable "minMaxPrice" does not exist.'275$this->source); })()), "minPrice", [], "any"falsefalsefalse275), "html"nulltrue);
  709.             yield "\",
  710.                     \"highPrice\": \"";
  711.             // line 276
  712.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["minMaxPrice"]) || array_key_exists("minMaxPrice"$context) ? $context["minMaxPrice"] : (function () { throw new RuntimeError('Variable "minMaxPrice" does not exist.'276$this->source); })()), "maxPrice", [], "any"falsefalsefalse276), "html"nulltrue);
  713.             yield "\",
  714.                     \"offerCount\": \"";
  715.             // line 277
  716.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'277$this->source); })()), "html"nulltrue);
  717.             yield "\"
  718.                 }
  719.             }
  720.         </script>
  721.     ";
  722.         }
  723.         
  724.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  725.         
  726.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  727.         yield from [];
  728.     }
  729.     /**
  730.      * @codeCoverageIgnore
  731.      */
  732.     public function getTemplateName(): string
  733.     {
  734.         return "@Portal/Catalog/catalog-main.html.twig";
  735.     }
  736.     /**
  737.      * @codeCoverageIgnore
  738.      */
  739.     public function isTraitable(): bool
  740.     {
  741.         return false;
  742.     }
  743.     /**
  744.      * @codeCoverageIgnore
  745.      */
  746.     public function getDebugInfo(): array
  747.     {
  748.         return array (  750 => 277,  746 => 276,  742 => 275,  736 => 271,  722 => 270,  718 => 269,  714 => 268,  710 => 267,  706 => 265,  689 => 264,  684 => 262,  680 => 261,  674 => 257,  671 => 256,  658 => 255,  632 => 238,  629 => 237,  623 => 235,  617 => 233,  614 => 232,  608 => 230,  606 => 229,  596 => 221,  590 => 220,  583 => 216,  568 => 212,  564 => 211,  560 => 209,  553 => 205,  540 => 201,  536 => 200,  532 => 198,  529 => 197,  525 => 196,  517 => 191,  513 => 190,  508 => 187,  498 => 185,  486 => 183,  484 => 182,  480 => 180,  477 => 179,  474 => 178,  471 => 177,  468 => 176,  466 => 175,  454 => 166,  448 => 163,  441 => 159,  430 => 151,  425 => 148,  423 => 147,  418 => 144,  415 => 143,  412 => 142,  410 => 141,  407 => 140,  401 => 137,  397 => 136,  393 => 135,  388 => 134,  386 => 133,  382 => 132,  374 => 126,  367 => 122,  362 => 119,  360 => 118,  357 => 117,  350 => 113,  345 => 110,  342 => 109,  337 => 106,  331 => 104,  328 => 103,  322 => 100,  317 => 99,  311 => 96,  306 => 95,  303 => 94,  301 => 93,  296 => 90,  293 => 89,  288 => 86,  282 => 84,  277 => 82,  272 => 81,  270 => 80,  265 => 77,  263 => 76,  257 => 73,  253 => 72,  242 => 64,  234 => 58,  227 => 53,  224 => 52,  211 => 51,  196 => 48,  191 => 46,  186 => 45,  176 => 37,  173 => 36,  160 => 35,  149 => 255,  146 => 254,  144 => 51,  141 => 50,  139 => 35,  136 => 34,  132 => 32,  130 => 31,  127 => 30,  125 => 29,  122 => 28,  120 => 27,  117 => 26,  115 => 25,  112 => 24,  110 => 23,  107 => 22,  103 => 20,  100 => 19,  97 => 18,  94 => 17,  92 => 16,  89 => 15,  86 => 14,  83 => 13,  81 => 12,  78 => 11,  75 => 10,  72 => 9,  69 => 8,  66 => 7,  63 => 6,  60 => 5,  57 => 4,  55 => 3,  53 => 2,  51 => 1,);
  749.     }
  750.     public function getSourceContext(): Source
  751.     {
  752.         return new Source("{% set pageTitle = '' %}
  753. {% set pageDescription = '' %}
  754. {% if seoMeta %}
  755.     {% if seoMeta.title %}
  756.         {% set pageTitle = seoMeta.title %}
  757.     {% elseif year %}
  758.         {% set pageTitle = 'seo.catalog.year_title'|trans({'%year%': year}, 'portal_base') %}
  759.     {% else %}
  760.         {% set pageTitle = 'seo.catalog.title'|trans({}, 'portal_base') %}
  761.     {% endif %}
  762.     {% if app.request.get('page') %}
  763.         {% set pageTitle = 'base.page'|trans({}, 'portal_base') ~ ' - ' ~ app.request.get('page') ~ ' - ' ~ pageTitle %}
  764.     {% endif %}
  765.     {% if seoMeta.description %}
  766.         {% set pageDescription = seoMeta.description %}
  767.     {% elseif year %}
  768.         {% set pageDescription = 'seo.catalog.year_description'|trans({'%year%': year}, 'portal_base') %}
  769.     {% endif %}
  770. {% endif %}
  771. {% if seoMeta.h1 %}
  772.     {% set pageH1 = seoMeta.h1 %}
  773. {% elseif valueParam is defined and valueParam %}
  774.     {% set pageH1 = ('catalog.seo.h1_' ~ state ~ '_' ~ type ~ '_body_type')|trans({'%body_type%': valueParam}, 'portal_base') %}
  775. {% elseif brand %}
  776.     {% set pageH1 = ('catalog.seo.h1_' ~ state ~ '_' ~ type ~ '_brand')|trans({'%brand%': brand}, 'portal_base') %}
  777. {% elseif model %}
  778.     {% set pageH1 = ('catalog.seo.h1_' ~ state ~ '_' ~ type ~ '_model')|trans({'%model%': model}, 'portal_base') %}
  779. {% elseif year %}
  780.     {% set pageH1 = ('catalog.seo.h1_' ~ state ~ '_' ~ type ~ '_year')|trans({'%year%': year}, 'portal_base') %}
  781. {% endif %}
  782. {% block head %}
  783.     {% if INCLUDE_ANALYTICS %}
  784.     <!-- Google Tag Manager -->
  785.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  786.                 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  787.             j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  788.             'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  789.         })(window,document,'script','dataLayer','GTM-TK6DGWW');</script>
  790.     <!-- End Google Tag Manager -->
  791.     {% endif %}
  792.     <title>{{ pageTitle }}</title>
  793.     <meta name=\"description\" content=\"{{ pageDescription }}\" />
  794.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/dist/{{ MODE }}/portal/css/portalCarCatalog.css?{{ VERSION }}\">
  795. {% endblock %}
  796. {% block content %}
  797.     {% if INCLUDE_ANALYTICS %}
  798.     <!-- Google Tag Manager (noscript) -->
  799.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TK6DGWW\"
  800.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  801.     <!-- End Google Tag Manager (noscript) -->
  802.     {% endif %}
  803.     <div id=\"baseFilters\">
  804.         <section class=\"breadcrumbs__new\">
  805.             <div class=\"container\">
  806.                 <ol class=\"vidi_breadcrumbs__new\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  807.                     <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  808.                         itemtype=\"https://schema.org/ListItem\">
  809.                         <a itemprop=\"item\" href=\"{{ path('portal_homepage') }}\">
  810.                             <span class=\"breadcrumbs__link\" itemprop=\"name\">VIDI.UA</span></a>
  811.                         <meta itemprop=\"position\" content=\"1\"/>
  812.                     </li>
  813.                     <div class=\"arrow-bc\"></div>
  814.                     <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  815.                         itemtype=\"https://schema.org/ListItem\">
  816.                         <a itemprop=\"item\" href=\"{{ path('portal_new_catalog',{state:state ,type:type}) }}\">
  817.                             <span class=\"breadcrumbs__link\" itemprop=\"name\">{{ ('catalog.' ~ state ~ '_' ~ type)|trans({}, 'portal_base') }}</span></a>
  818.                         <meta itemprop=\"position\" content=\"2\"/>
  819.                     </li>
  820.                     {% if valueParam is defined and valueParam %}
  821.                         <div class=\"arrow-bc\"></div>
  822.                         <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  823.                             itemtype=\"https://schema.org/ListItem\">
  824.                             {% if brand is defined and brand and brand != 'all'  %}
  825.                                 <a itemprop=\"item\" href=\"{{ path('portal_new_catalog_by_params',{state:state ,type:type, param: param, value: value}) }}\">
  826.                                     <span class=\"breadcrumbs__link\" itemprop=\"name\">{{ valueParam }}</span></a>
  827.                             {% else %}
  828.                                 <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ valueParam }}</span>
  829.                             {% endif %}
  830.                             <meta itemprop=\"position\" content=\"3\"/>
  831.                         </li>
  832.                     {% endif %}
  833.                     {% if brand is defined and brand and brand != 'all' %}
  834.                         <div class=\"arrow-bc\"></div>
  835.                         <li class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  836.                             itemtype=\"https://schema.org/ListItem\">
  837.                             {% if model is defined and model %}
  838.                                 {% if valueParam is defined and valueParam %}
  839.                                     <a itemprop=\"item\" href=\"{{ path('portal_new_catalog_b_by_params',{state:state ,type:type, param: param, value: value, brand: brand}) }}\">
  840.                                         <span class=\"breadcrumbs__link\" itemprop=\"name\">{{ brand }}</span>
  841.                                     </a>
  842.                                 {% else %}
  843.                                     <a itemprop=\"item\" href=\"{{ path('portal_new_catalog_b',{state:state ,type:type, brand: brand}) }}\">
  844.                                         <span class=\"breadcrumbs__link\" itemprop=\"name\">{{ brand }}</span>
  845.                                     </a>
  846.                                 {% endif %}
  847.                             {% else %}
  848.                                 <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ brand }}</span>
  849.                             {% endif %}
  850.                             <meta itemprop=\"position\" content=\"3\"/>
  851.                         </li>
  852.                     {% endif %}
  853.                     {% if model is defined and model %}
  854.                         <div class=\"arrow-bc\"></div>
  855.                         <li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  856.                             itemtype=\"https://schema.org/ListItem\">
  857.                             <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ model }}</span>
  858.                             <meta itemprop=\"position\" content=\"4\"/>
  859.                         </li>
  860.                     {% endif %}
  861.                     {% if group is defined and group %}
  862.                         <div class=\"arrow-bc\"></div>
  863.                         <li itemprop=\"item\" class=\"marker__none\" itemprop=\"itemListElement\" itemscope
  864.                             itemtype=\"https://schema.org/ListItem\">
  865.                             <span style=\"color: #ABABAB\" class=\"breadcrumbs__link\" itemprop=\"name\">{{ pageH1 }}</span>
  866.                             <meta itemprop=\"position\" content=\"4\"/>
  867.                         </li>
  868.                     {% endif %}
  869.                 </ol>
  870.             </div>
  871.         </section>
  872.         <section class=\"selection__catalog__head\">
  873.             <div class=\"container\">
  874.                 <h1 class=\"catalog__title\">{{ pageH1 }}</h1>
  875.                 {% if catalogBanner and catalogBanner.imageByLocale(app.request.locale) and catalogBanner.imageMobileByLocale(app.request.locale) %}
  876.                     <a href=\"{{ catalogBanner.btnLink ? catalogBanner.btnLink : '#' }}\"
  877.                         {{ catalogBanner.modal ? 'data-toggle=\"modal\" data-bs-toggle=\"modal\" data-bs-target=\"#order-car\"' : ' '  }}>
  878.                         <img class=\"global_banner_img catalog-banner-pc\" src=\"{{ sonata_path(catalogBanner.imageByLocale(app.request.locale), 'reference') }}\" alt=\"\">
  879.                         <img class=\"global_banner_img catalog-banner-mobile\" src=\"{{ sonata_path(catalogBanner.imageMobileByLocale(app.request.locale), 'reference') }}\" alt=\"\">
  880.                     </a>
  881.                 {% endif %}
  882.                 {% if catalogNav is defined %}
  883.                     {% include '@Portal/Catalog/catalog-nav.html.twig' %}
  884.                 {% endif %}
  885.             </div>
  886.         </section>
  887.         {% include '@Portal/Catalog/catalog-vehicle.html.twig' %}
  888.         <section class=\"section__salons\">
  889.             <div class=\"container\">
  890.                 <h2 class=\"site__main__title\">{{ 'catalog.official_dealers'|trans({}, 'portal_base') }} VIDI</h2>
  891.                 <div class=\"salons__wrapper\">
  892.                     <div v-for=\"dealer in dealers\" class=\"salons__box\">
  893.                         <div class=\"salons-img\" :style=\"{ backgroundImage: 'url(' + dealer.logo + ')' }\">
  894.                         </div>
  895.                         <div class=\"salons__info__wrapper\">
  896.                             <p class=\"salons__title\" v-html=\"dealer.name\"></p>
  897.                             <div class=\"salons__info__link__box\">
  898.                                 <img src=\"{{ asset('/bundles/portal/img/icon-svg/mappin.svg') }}\" :alt=\"dealer.address\" v-html=\"dealer.address\">
  899.                                 <a :href=\"dealer.mapUrl\" class=\"info__link__text\" target=\"_blank\" v-html=\"dealer.address\"></a>
  900.                             </div>
  901.                             <div class=\"salons__info__link__box\">
  902.                                 <img src=\"{{ asset('/bundles/portal/img/icon-svg/phone.svg') }}\" :alt=\"dealer.phone\">
  903.                                 <a :href=\"'tel:' + dealer.href_phone\" v-html=\"dealer.phone\" class=\"info__link__text\"></a>
  904.                             </div>
  905.                             <a class=\"go-website__link\" :href=\"'https://' + dealer.domain\">{{ 'catalog.go_to_site'|trans({}, 'portal_base') }}</a>
  906.                         </div>
  907.                     </div>
  908.                 </div>
  909.             </div>
  910.         </section>
  911.         <section class=\"section__price__new__car\" v-if=\"seoLinks.blocks\">
  912.             <div class=\"container\">
  913.                 {% if modelEm %}
  914.                     {% set carName = brandEm.name~' '~modelEm.title %}
  915.                 {% elseif brandEm %}
  916.                     {% set carName = brandEm.name %}
  917.                 {% endif%}
  918.                 {% if app.request.get('state') == 'new' %}
  919.                     <h2 class=\"site__main__title\">{{ 'catalog.prices'|trans({}, 'portal_base') }} на {{ pageH1 }} {{ 'catalog.in_ukraine'|trans({}, 'portal_base') }} {{ \"now\"|date(\"d.m.Y\") }}</h2>
  920.                 {% else %}
  921.                     <h2 class=\"site__main__title\">{{ 'catalog.prices'|trans({}, 'portal_base') }} на {{ pageH1 }} {{ \"now\"|date(\"d.m.Y\") }}</h2>
  922.                 {% endif %}
  923.                 <div class=\"price__new__car__wrapper\">
  924.                     <div class=\"price__new__car__name__box\">
  925.                         <p class=\"price__new__car__name\">{{ 'search.cars'|trans({}, 'portal_base') }}</p>
  926.                         <p class=\"price__new__car__name\">{{ 'catalog.prices'|trans({}, 'portal_base') }}</p>
  927.                     </div>
  928.                     <table class=\"price__table__wrapper\">
  929.                         <tbody>
  930.                         {% for vehicle in vehicleTopViews %}
  931.                             {% if vehicle.isUsed %}
  932.                                 <tr>
  933.                                     <td>
  934.                                         <a href=\"{{ path('portal_used_car',{url:vehicle.url}) }}\">
  935.                                             <p class=\"price__new__info__name\">{{ vehicle.fullName }} {{ vehicle.engineVolume(app.request.locale) | engine_volume_short }} л., {{ vehicle.year }}, {{ vehicle.transmissionTypeName(app.request.locale) }}</p>
  936.                                         </a>
  937.                                     </td>
  938.                                     <td>
  939.                                         <p class=\"price__new__info__price\">{{ vehicle.price|price }} грн</p>
  940.                                     </td>
  941.                                 </tr>
  942.                             {% else %}
  943.                                 <tr>
  944.                                     <td>
  945.                                         <a href=\"{{ path('portal_new_car',{dealer: vehicle.dealer.url, url:vehicle.url, variation: vehicle.vehicleItemId }) }}\">
  946.                                             <p class=\"price__new__info__name\">{{ vehicle.fullName }} {{ vehicle.equipment.title }} {{ vehicle.engineVolume(app.request.locale) | engine_volume_short }} л., {{ vehicle.year }}, {{ vehicle.transmissionTypeName(app.request.locale) }}</p>
  947.                                         </a>
  948.                                     </td>
  949.                                     <td>
  950.                                         <p class=\"price__new__info__price\">{{ vehicle.price|price }} грн</p>
  951.                                     </td>
  952.                                 </tr>
  953.                             {% endif %}
  954.                         {% endfor %}
  955.                         </tbody>
  956.                     </table>
  957.                 </div>
  958.             </div>
  959.         </section>
  960.         <section class=\"section__select__cars__characteristics\" v-if=\"seoLinks.blocks\">
  961.             <div class=\"container\">
  962.                 {% if state == 'used' %}
  963.                     <h2 class=\"site__main__title\">{{ 'catalog.select_used_characteristics'|trans({}, 'portal_base') }}</h2>
  964.                 {% else %}
  965.                     {% if type  == 'car' %}
  966.                         <h2 class=\"site__main__title\">{{ 'catalog.select_characteristics'|trans({}, 'portal_base') }}</h2>
  967.                     {% else %}
  968.                         <h2 class=\"site__main__title\">{{ ('catalog.select_characteristics_' ~ type)|trans({}, 'portal_base') }}</h2>
  969.                     {% endif %}
  970.                 {% endif %}
  971.                 <table class=\"table__cars__characteristics\">
  972.                     <tbody>
  973.                         <tr v-for=\"(blok, key) in seoLinks.blocks\" v-if=\"key != 'model'\" class=\"select__cars__characteristics__box\">
  974.                             <td class=\"select__cars__characteristics__item-title\" v-html=\"blok.title\"></td>
  975.                             <td v-for=\"link in blok.links\">
  976.                                 <a v-if=\"link.url\" :href=\"link.url\"  class=\"select__cars__characteristics__item\" v-html=\"link.title\"></a>
  977.                             </td>
  978.                         </tr>
  979.                     </tbody>
  980.                 </table>
  981.             </div>
  982.         </section>
  983.     </div>
  984. {% endblock %}
  985. {% block schema_catalog_product %}
  986.     {% if count %}
  987.         <script type=\"application/ld+json\">
  988.             {
  989.                 \"@context\": \"https://schema.org\",
  990.                 \"@type\": [\"Product\"],
  991.                 \"name\": \"1111{{ pageH1 }}\",
  992.                 \"description\": \"{{ pageDescription }}\",
  993.                 \"image\": [
  994.             {% for vehicle in vehicles %}
  995.                 {
  996.                     \"@type\": \"ImageObject\",
  997.                     \"image\": \"{{ vehicle.vehiclePicture.img }}\",
  998.                     \"contentUrl\": \"{{ vehicle.vehiclePicture.img }}\"
  999.                 }{% if not loop.last %}{{ ',' }}{% endif %}
  1000.             {% endfor %}
  1001.             ],
  1002.             \"offers\": {
  1003.                 \"@type\": \"AggregateOffer\",
  1004.                 \"priceCurrency\": \"UAH\",
  1005.                 \"lowPrice\": \"{{ minMaxPrice.minPrice }}\",
  1006.                     \"highPrice\": \"{{ minMaxPrice.maxPrice }}\",
  1007.                     \"offerCount\": \"{{ count }}\"
  1008.                 }
  1009.             }
  1010.         </script>
  1011.     {% endif %}
  1012. {% endblock %}
  1013. ""@Portal/Catalog/catalog-main.html.twig""/var/www/vidi.ua/releases/251023-65bd7d10/src/PortalBundle/Resources/views/Catalog/catalog-main.html.twig");
  1014.     }
  1015. }