var/cache/dev/twig/82/82d8ea09fbe8284754d3da3d7d80a79e.php line 42
<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;use Twig\Extension\SandboxExtension;use Twig\Markup;use Twig\Sandbox\SecurityError;use Twig\Sandbox\SecurityNotAllowedTagError;use Twig\Sandbox\SecurityNotAllowedFilterError;use Twig\Sandbox\SecurityNotAllowedFunctionError;use Twig\Source;use Twig\Template;/* homepage/detailVehicle.html.twig */class __TwigTemplate_a890a2093426288cc9b6a51da8a3f4e2 extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['title' => [$this, 'block_title'],'desc' => [$this, 'block_desc'],'javascripts' => [$this, 'block_javascripts'],'mobileBranding' => [$this, 'block_mobileBranding'],'body' => [$this, 'block_body'],];}protected function doGetParent(array $context){// line 1return "base.html.twig";}protected function doDisplay(array $context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homepage/detailVehicle.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homepage/detailVehicle.html.twig"));$this->parent = $this->loadTemplate("base.html.twig", "homepage/detailVehicle.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 3public function block_title($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getVehicleSeoTitle((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 3, $this->source); })())), "html", null, true);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 5public function block_desc($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "desc"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "desc"));echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getVehicleSeoDescription((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 5, $this->source); })())), "html", null, true);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 7public function block_javascripts($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));// line 8echo " ";echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");echo "<script src=\"https://www.google.com/recaptcha/api.js?render=";// line 9echo twig_escape_filter($this->env, (isset($context["google_recaptcha_site_key"]) || array_key_exists("google_recaptcha_site_key", $context) ? $context["google_recaptcha_site_key"] : (function () { throw new RuntimeError('Variable "google_recaptcha_site_key" does not exist.', 9, $this->source); })()), "html", null, true);echo "\"></script>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 12public function block_mobileBranding($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mobileBranding"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mobileBranding"));echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 13public function block_body($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));// line 14echo "<br><section class=\"container\"><nav class=\"container__back\">";// line 18if (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 18, $this->source); })()), "kind", [], "any", false, false, false, 18)) {// line 19echo " <a class=\"container__back-link\" href=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "headers", [], "any", false, false, false, 19), "get", [0 => "referer"], "method", false, false, false, 19), "html", null, true);echo "\">Zpět na seznam inzerátů</a>";}// line 21echo " </nav><section class=\"gallery js-gallery\">";// line 23$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 23, $this->source); })()), "vehicleImages", [], "any", false, false, false, 23));$context['loop'] = ['parent' => $context['_parent'],'index0' => 0,'index' => 1,'first' => true,];if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {$length = count($context['_seq']);$context['loop']['revindex0'] = $length - 1;$context['loop']['revindex'] = $length;$context['loop']['length'] = $length;$context['loop']['last'] = 1 === $length;}foreach ($context['_seq'] as $context["_key"] => $context["img"]) {// line 24echo "";// line 25if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 25) < 2)) {// line 26echo " <a class=\"gallery__item gallery__item--large\" href=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\VehicleImageExtension']->getImageUrl($context["img"])), "html", null, true);echo "\" title=\"";echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleImageExtension']->getImageAlt($context["img"]), "html", null, true);echo "\"><img src=\"";// line 27echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\VehicleImageExtension']->getImageUrl($context["img"])), "html", null, true);echo "\"alt=\"";// line 28echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleImageExtension']->getImageAlt($context["img"]), "html", null, true);echo "\"";// line 29echo $this->extensions['Symfony\UX\StimulusBundle\Twig\StimulusTwigExtension']->renderStimulusController("symfony/ux-lazy-image/lazy-image", ["src" => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\VehicleImageExtension']->getImageUrl( // line 30$context["img"]))]);// line 31echo " width=\"400\" >";// line 37echo " </a>";} else {// line 39echo " <a ";if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 39) > 5)) {echo " style=\"display: none\" ";}echo " class=\"gallery__item ";if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 39) == 5)) {echo " gallery__item--hidden-sm ";}echo " \" href=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\VehicleImageExtension']->getImageUrl($context["img"])), "html", null, true);echo "\" title=\"";echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleImageExtension']->getImageAlt($context["img"]), "html", null, true);echo "\"><img src=\"";// line 40echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\VehicleImageExtension']->getImageUrl($context["img"])), "html", null, true);echo "\"alt=\"";// line 41echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleImageExtension']->getImageAlt($context["img"]), "html", null, true);echo "\"";// line 42echo $this->extensions['Symfony\UX\StimulusBundle\Twig\StimulusTwigExtension']->renderStimulusController("symfony/ux-lazy-image/lazy-image", ["src" => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\VehicleImageExtension']->getImageUrl( // line 43$context["img"]))]);// line 44echo " width=\"200\" > </a>";}// line 46echo "";++$context['loop']['index0'];++$context['loop']['index'];$context['loop']['first'] = false;if (isset($context['loop']['length'])) {--$context['loop']['revindex0'];--$context['loop']['revindex'];$context['loop']['last'] = 0 === $context['loop']['revindex0'];}}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 48echo " ";if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 48, $this->source); })()), "vehicleImages", [], "any", false, false, false, 48)) > 5)) {// line 49echo " <div class=\"gallery__show\"><i class=\"icon icon-camera\"></i>+";// line 51echo twig_escape_filter($this->env, (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 51, $this->source); })()), "vehicleImages", [], "any", false, false, false, 51)) - 5), "html", null, true);echo "</div>";}// line 54echo " </section></section><div id=\"blueimp-gallery\" class=\"blueimp-gallery blueimp-gallery-controls\" aria-label=\"image gallery\"aria-modal=\"true\" role=\"dialog\"><div class=\"slides\" aria-live=\"polite\"></div><a class=\"prev\" aria-controls=\"blueimp-gallery\" aria-label=\"previous slide\" aria-keyshortcuts=\"ArrowLeft\"></a><a class=\"next\" aria-controls=\"blueimp-gallery\" aria-label=\"next slide\" aria-keyshortcuts=\"ArrowRight\"></a><a class=\"close\" aria-controls=\"blueimp-gallery\" aria-label=\"close\" aria-keyshortcuts=\"Escape\"></a></div><section class=\"grid grid--gap40 grid--row-gap20 grid--padding-top0\"><div><section class=\"detail\"><h1 class=\"margin-bottom-0\">";// line 72echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getVehicleSeoH1((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 72, $this->source); })())), "html", null, true);echo "</h1><div class=\"detail__price\">";// line 74((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 74, $this->source); })()), "price", [], "any", false, false, false, 74)) ? (print (twig_escape_filter($this->env, (twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 74, $this->source); })()), "price", [], "any", false, false, false, 74), 0, null, " ") . " Kč"), "html", null, true))) : (print ("dohodou")));echo "";// line 75if (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 75, $this->source); })()), "vat", [], "any", false, false, false, 75)) {// line 76echo " <div class=\"detail__price-label\">Odpočet DPH možný</div>";}// line 78echo " </div><div class=\"detail__info\"><div class=\"detail__info-item\">Rok výroby<strong class=\"detail__info-strong\"><i class=\"icon icon-calendar\"></i>";// line 84((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 84, $this->source); })()), "madeDate", [], "any", false, false, false, 84)) ? (print (twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 84, $this->source); })()), "madeDate", [], "any", false, false, false, 84), 0, 4), "html", null, true))) : (print ("neuvedeno")));echo "</strong></div><div class=\"detail__info-item\">Tachometr<strong class=\"detail__info-strong\"><i class=\"icon icon-tachometer\"></i>";// line 91((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 91, $this->source); })()), "mileage", [], "any", false, false, false, 91)) ? (print (twig_escape_filter($this->env, ((twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 91, $this->source); })()), "mileage", [], "any", false, false, false, 91), null, " ", " ") . " ") . twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 91, $this->source); })()), "mileageUnit", [], "any", false, false, false, 91)), "html", null, true))) : (print ("neuvedeno")));echo "</strong></div><div class=\"detail__info-item\">Palivo<strong class=\"detail__info-strong\"><i class=\"icon icon-gas\"></i>";// line 98((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 98, $this->source); })()), "fuel", [], "any", false, false, false, 98)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 98, $this->source); })()), "fuel", [], "any", false, false, false, 98), "name", [], "any", false, false, false, 98), "html", null, true))) : (print ("neuvedeno")));echo "</strong></div><div class=\"detail__info-item\">Převodovka<strong class=\"detail__info-strong\"><i class=\"icon icon-settings\"></i>";// line 105((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 105, $this->source); })()), "gearbox", [], "any", false, false, false, 105)) ? (print (twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 105, $this->source); })()), "gearbox", [], "any", false, false, false, 105)), "html", null, true))) : (print ("neuvedeno")));echo "</strong></div><div class=\"detail__info-item\">Výkon<strong class=\"detail__info-strong\"><i class=\"icon icon-power\"></i>";// line 112((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 112, $this->source); })()), "enginePower", [], "any", false, false, false, 112)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 112, $this->source); })()), "enginePower", [], "any", false, false, false, 112) . " kW"), "html", null, true))) : (print ("neuvedeno")));echo "</strong></div><div class=\"detail__info-item\">Karoserie<strong class=\"detail__info-strong\"><i class=\"icon icon-car\"></i>";// line 119((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 119, $this->source); })()), "body", [], "any", false, false, false, 119)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 119, $this->source); })()), "body", [], "any", false, false, false, 119), "name", [], "any", false, false, false, 119), "html", null, true))) : (print ("neuvedeno")));echo "</strong></div></div><h2>Popis</h2><div class=\"detail__more js-detail__more\"><div class=\"detail__more-content js-detail__more-content\"><p> ";// line 127echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 127, $this->source); })()), "note", [], "any", false, false, false, 127), "html", null, true);echo " </p></div><div class=\"detail__more-control\"><button class=\"button detail__more-toggler js-detail__more-toggler\" type=\"button\"><span class=\"detail__more-toggler-show\">Zobrazit více</span><span class=\"detail__more-toggler-hide\">Zobrazit méně</span></button></div></div><h2>Informace o vozu</h2><div class=\"detail__columns detail__hidden--mobile\"><table><tbody><tr><th>Prodejní cena</th><td> ";// line 144((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 144, $this->source); })()), "price", [], "any", false, false, false, 144)) ? (print (twig_escape_filter($this->env, (twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 144, $this->source); })()), "price", [], "any", false, false, false, 144), 0, null, " ") . " Kč"), "html", null, true))) : (print ("dohodou")));echo "</td></tr>";// line 146if (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 146, $this->source); })()), "vat", [], "any", false, false, false, 146)) {// line 147echo " <tr><th> Cena bez DPH</th><td>";// line 150if (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 150, $this->source); })()), "price", [], "any", false, false, false, 150)) {// line 151echo " ";echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 151, $this->source); })()), "price", [], "any", false, false, false, 151) / 1.21), 0, null, " "), "html", null, true);echo " Kč";} else {// line 153echo " neuvedeno";}// line 154echo " </td></tr>";}// line 157echo " <tr><th>Odpočet DPH </th><td>";// line 159echo ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 159, $this->source); })()), "vat", [], "any", false, false, false, 159)) ? ("ano") : ("ne"));echo " </td></tr><tr><th> VIN</th><td> ";// line 163((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 163, $this->source); })()), "vin", [], "any", false, false, false, 163)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 163, $this->source); })()), "vin", [], "any", false, false, false, 163), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr>";// line 165if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 165, $this->source); })()), "dealer", [], "any", false, false, false, 165), "checkVin", [], "any", false, false, false, 165)) {// line 166echo " <tr><th>Historie</th><td><a target=\"_blank\"href=\"https://cz.cebia.com/?utm_source=affilbox&utm_medium=affiliate&utm_campaign=Autanet_2013&a_box=j49grgww&vin=";// line 170echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 170, $this->source); })()), "vin", [], "any", false, false, false, 170), "html", null, true);echo "\">Zobrazit historii vozu</a></td></tr>";}// line 175echo " <tr><th>Tachometr</th><td> ";// line 177((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 177, $this->source); })()), "mileage", [], "any", false, false, false, 177)) ? (print (twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 177, $this->source); })()), "mileage", [], "any", false, false, false, 177) . " ") . twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 177, $this->source); })()), "mileageUnit", [], "any", false, false, false, 177)), "html", null, true))) : (print ("neuvedeno")));echo " </td></tr><tr><th>Druh paliva</th><td> ";// line 181((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 181, $this->source); })()), "fuel", [], "any", false, false, false, 181)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 181, $this->source); })()), "fuel", [], "any", false, false, false, 181), "name", [], "any", false, false, false, 181), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr><tr><th>Objem</th><td>";// line 186((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 186, $this->source); })()), "engineVolume", [], "any", false, false, false, 186)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 186, $this->source); })()), "engineVolume", [], "any", false, false, false, 186) . " ccm"), "html", null, true))) : (print ("neuvedeno")));echo " </td></tr></tbody></table><table><tbody><tr><th>Karoserie</th><td> ";// line 194((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 194, $this->source); })()), "body", [], "any", false, false, false, 194)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 194, $this->source); })()), "body", [], "any", false, false, false, 194), "name", [], "any", false, false, false, 194), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr><tr><th>Počet dveří</th><td> ";// line 198((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 198, $this->source); })()), "doors", [], "any", false, false, false, 198)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 198, $this->source); })()), "doors", [], "any", false, false, false, 198), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr><tr><th>Počet míst</th><td> ";// line 202((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 202, $this->source); })()), "places", [], "any", false, false, false, 202)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 202, $this->source); })()), "places", [], "any", false, false, false, 202), "html", null, true))) : (print ("neuvedeno")));echo " </td></tr><tr><th>Barva</th><td>";// line 206echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 206, $this->source); })()), "color", [], "any", false, false, false, 206), "name", [], "any", false, false, false, 206), "html", null, true);echo " </td></tr><tr><th>STK ";// line 209if ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 209, $this->source); })()), "stkTo", [], "any", false, false, false, 209) != 1)) {echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 209, $this->source); })()), "stkTo", [], "any", false, false, false, 209), "html", null, true);}echo "</th><td>";// line 210if ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 210, $this->source); })()), "stkTo", [], "any", false, false, false, 210) == 1)) {echo "neuvedeno";} else {((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 210, $this->source); })()), "stkTo", [], "any", false, false, false, 210)) ? (print (twig_escape_filter($this->env, ((twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 210, $this->source); })()), "stkTo", [], "any", false, false, false, 210), 4, 6) . "/") . twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 210, $this->source); })()), "stkTo", [], "any", false, false, false, 210), 0, 4)), "html", null, true))) : (print ("neuvedeno")));}echo " </td></tr><tr><th>Země původu</th><td>";// line 214((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 214, $this->source); })()), "state", [], "any", false, false, false, 214)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 214, $this->source); })()), "state", [], "any", false, false, false, 214), "html", null, true))) : (print ("neuvedeno")));echo " </td></tr><tr><th>První majitel</th><td>";// line 218echo ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 218, $this->source); })()), "firstOwner", [], "any", false, false, false, 218)) ? ("ano") : ("ne"));echo "</td></tr></tbody></table></div><div class=\"detail__hidden--desktop\"><table><tbody><tr><th>Prodejní cena</th><td> ";// line 228((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 228, $this->source); })()), "price", [], "any", false, false, false, 228)) ? (print (twig_escape_filter($this->env, (twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 228, $this->source); })()), "price", [], "any", false, false, false, 228), 0, null, " ") . " Kč"), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr>";// line 230if (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 230, $this->source); })()), "vat", [], "any", false, false, false, 230)) {// line 231echo " <tr><th> Cena bez DPH</th><td>";// line 234if (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 234, $this->source); })()), "price", [], "any", false, false, false, 234)) {// line 235echo " ";echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 235, $this->source); })()), "price", [], "any", false, false, false, 235) / 1.21), 0, null, " "), "html", null, true);echo " Kč";} else {// line 237echo " neuvedeno";}// line 238echo " </td></tr>";}// line 241echo " <tr><th>Odpočet DPH</th><td>";// line 243echo ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 243, $this->source); })()), "vat", [], "any", false, false, false, 243)) ? ("ano") : ("ne"));echo " </td></tr><tr><th> VIN</th><td> ";// line 247((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 247, $this->source); })()), "vin", [], "any", false, false, false, 247)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 247, $this->source); })()), "vin", [], "any", false, false, false, 247), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr>";// line 249if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 249, $this->source); })()), "dealer", [], "any", false, false, false, 249), "checkVin", [], "any", false, false, false, 249)) {// line 250echo " <tr><th>Historie</th><td><a target=\"_blank\"href=\"https://cz.cebia.com/?utm_source=affilbox&utm_medium=affiliate&utm_campaign=Autanet_2013&a_box=j49grgww&vin=";// line 254echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 254, $this->source); })()), "vin", [], "any", false, false, false, 254), "html", null, true);echo "\">Zobrazit historii vozu</a></td></tr>";}// line 259echo " <tr><th>Tachometr</th><td> ";// line 261((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 261, $this->source); })()), "mileage", [], "any", false, false, false, 261)) ? (print (twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 261, $this->source); })()), "mileage", [], "any", false, false, false, 261) . " ") . twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 261, $this->source); })()), "mileageUnit", [], "any", false, false, false, 261)), "html", null, true))) : (print ("neuvedeno")));echo " </td></tr><tr><th>Druh paliva</th><td> ";// line 265((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 265, $this->source); })()), "fuel", [], "any", false, false, false, 265)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 265, $this->source); })()), "fuel", [], "any", false, false, false, 265), "name", [], "any", false, false, false, 265), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr><tr><th>Objem</th><td>";// line 270((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 270, $this->source); })()), "engineVolume", [], "any", false, false, false, 270)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 270, $this->source); })()), "engineVolume", [], "any", false, false, false, 270) . " ccm"), "html", null, true))) : (print ("neuvedeno")));echo " </td></tr><tr><th>Karoserie</th><td> ";// line 275((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 275, $this->source); })()), "body", [], "any", false, false, false, 275)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 275, $this->source); })()), "body", [], "any", false, false, false, 275), "name", [], "any", false, false, false, 275), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr><tr><th>Počet dveří</th><td> ";// line 279((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 279, $this->source); })()), "doors", [], "any", false, false, false, 279)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 279, $this->source); })()), "doors", [], "any", false, false, false, 279), "html", null, true))) : (print ("neuvedeno")));echo "</td></tr><tr><th>Počet míst</th><td> ";// line 283((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 283, $this->source); })()), "places", [], "any", false, false, false, 283)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 283, $this->source); })()), "places", [], "any", false, false, false, 283), "html", null, true))) : (print ("neuvedeno")));echo " </td></tr><tr><th>Barva</th><td>";// line 287echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 287, $this->source); })()), "color", [], "any", false, false, false, 287), "name", [], "any", false, false, false, 287), "html", null, true);echo " </td></tr><tr><th>STK ";// line 290if ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 290, $this->source); })()), "stkTo", [], "any", false, false, false, 290) != 1)) {echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 290, $this->source); })()), "stkTo", [], "any", false, false, false, 290), "html", null, true);}echo "</th><td>";// line 291if ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 291, $this->source); })()), "stkTo", [], "any", false, false, false, 291) == 1)) {echo "neuvedeno";} else {((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 291, $this->source); })()), "stkTo", [], "any", false, false, false, 291)) ? (print (twig_escape_filter($this->env, ((twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 291, $this->source); })()), "stkTo", [], "any", false, false, false, 291), 4, 6) . "/") . twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 291, $this->source); })()), "stkTo", [], "any", false, false, false, 291), 0, 4)), "html", null, true))) : (print ("neuvedeno")));}echo " </td></tr><tr><th>Země původu</th><td>";// line 295((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 295, $this->source); })()), "state", [], "any", false, false, false, 295)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 295, $this->source); })()), "state", [], "any", false, false, false, 295), "html", null, true))) : (print ("neuvedeno")));echo " </td></tr><tr><th>První majitel</th><td>";// line 299echo ((twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 299, $this->source); })()), "firstOwner", [], "any", false, false, false, 299)) ? ("ano") : ("ne"));echo "</td></tr></tbody></table></div><h2>Výbava vozu</h2><div class=\"detail__more js-detail__more\"><div class=\"detail__more-content js-detail__more-content\"><div class=\"detail__columns\"><ul>";// line 314$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 314, $this->source); })()), "equipments", [], "any", false, false, false, 314));$context['loop'] = ['parent' => $context['_parent'],'index0' => 0,'index' => 1,'first' => true,];if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {$length = count($context['_seq']);$context['loop']['revindex0'] = $length - 1;$context['loop']['revindex'] = $length;$context['loop']['length'] = $length;$context['loop']['last'] = 1 === $length;}foreach ($context['_seq'] as $context["_key"] => $context["e"]) {// line 315echo " <li>";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["e"], "name", [], "any", false, false, false, 315), "html", null, true);echo "</li>";// line 316if ((twig_round((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 316, $this->source); })()), "equipments", [], "any", false, false, false, 316)) / 2)) == twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 316))) {// line 317echo " </ul> <ul>";}// line 319echo " ";++$context['loop']['index0'];++$context['loop']['index'];$context['loop']['first'] = false;if (isset($context['loop']['length'])) {--$context['loop']['revindex0'];--$context['loop']['revindex'];$context['loop']['last'] = 0 === $context['loop']['revindex0'];}}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 320echo " </ul></div></div><div class=\"detail__more-control\"><button class=\"button detail__more-toggler js-detail__more-toggler\" type=\"button\"><span class=\"detail__more-toggler-show\">Zobrazit více</span><span class=\"detail__more-toggler-hide\">Zobrazit méně</span></button></div></div></section><!-- Mobile contact section --><div class=\"dealer dealer--mobile\" style=\"display: none;\"><h2>Kontakt na prodejce</h2>";// line 336if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 336, $this->source); })()), "dealer", [], "any", false, false, false, 336), "basicAdvertising", [], "any", false, false, false, 336)) {// line 337echo " <figure class=\"dealer__logo\">";// line 338if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 338, $this->source); })()), "dealer", [], "any", false, false, false, 338), "logo", [], "any", false, false, false, 338)) {// line 339echo " <imgsrc=\"";// line 340echo twig_escape_filter($this->env, ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img-dealer/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 340, $this->source); })()), "dealer", [], "any", false, false, false, 340), "logo", [], "any", false, false, false, 340)), "html", null, true);echo "\"";// line 341echo $this->extensions['Symfony\UX\StimulusBundle\Twig\StimulusTwigExtension']->renderStimulusController("symfony/ux-lazy-image/lazy-image", ["src" => ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img-dealer/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 342(isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 342, $this->source); })()), "dealer", [], "any", false, false, false, 342), "logo", [], "any", false, false, false, 342))]);// line 343echo "width=\"170\">";}// line 347echo " </figure>";}// line 349echo " <h3>";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 349, $this->source); })()), "dealer", [], "any", false, false, false, 349), "name", [], "any", false, false, false, 349), "html", null, true);echo "</h3><p>";// line 350echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 350, $this->source); })()), "dealer", [], "any", false, false, false, 350), "street", [], "any", false, false, false, 350), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 350, $this->source); })()), "dealer", [], "any", false, false, false, 350), "city", [], "any", false, false, false, 350), "html", null, true);echo "<br>";// line 351echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 351, $this->source); })()), "dealer", [], "any", false, false, false, 351), "district", [], "any", false, false, false, 351), "name", [], "any", false, false, false, 351), "html", null, true);echo "</p><a class=\"dealer__link\" href=\"https://www.google.com/maps/search/?api=1&query=";// line 352echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 352, $this->source); })()), "dealer", [], "any", false, false, false, 352), "lat", [], "any", false, false, false, 352), "html", null, true);echo ",";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 352, $this->source); })()), "dealer", [], "any", false, false, false, 352), "lng", [], "any", false, false, false, 352), "html", null, true);echo "\" target=\"_blank\"><i class=\"icon icon-map\"></i>Zobrazit na mapě</a><div class=\"dealer__opening-hours\"><h4 class=\"detail__opening-hours-heading\"><i class=\"icon icon-hours\"></i>Provozní doba</h4><div class=\"dealer__opening\">";// line 361$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((isset($context["openTime"]) || array_key_exists("openTime", $context) ? $context["openTime"] : (function () { throw new RuntimeError('Variable "openTime" does not exist.', 361, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["t"]) {// line 362echo " <div>";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["t"], "day", [], "any", false, false, false, 362), "value", [], "any", false, false, false, 362), "html", null, true);echo "</div><div>";// line 363echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["t"], "description", [], "any", false, false, false, 363), "html", null, true);echo "</div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 365echo " </div></div><a class=\"dealer__button dealer__button--green js-modal-show\" href=\"#modal--call\"><i class=\"icon icon-phone\"></i>Zavolat prodejci</a><a class=\"dealer__button js-modal-show\" href=\"#modal--write\"><i class=\"icon icon-email\"></i>Napsat prodejci</a></div>";// line 376if ((twig_length_filter($this->env, (isset($context["vehicleOthers"]) || array_key_exists("vehicleOthers", $context) ? $context["vehicleOthers"] : (function () { throw new RuntimeError('Variable "vehicleOthers" does not exist.', 376, $this->source); })())) > 0)) {// line 377echo " <h4 class=\"detail__dealer-vehicles-heading\">Další inzeráty prodejce</h4>";// line 379$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((isset($context["vehicleOthers"]) || array_key_exists("vehicleOthers", $context) ? $context["vehicleOthers"] : (function () { throw new RuntimeError('Variable "vehicleOthers" does not exist.', 379, $this->source); })()));$context['loop'] = ['parent' => $context['_parent'],'index0' => 0,'index' => 1,'first' => true,];if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {$length = count($context['_seq']);$context['loop']['revindex0'] = $length - 1;$context['loop']['revindex'] = $length;$context['loop']['length'] = $length;$context['loop']['last'] = 1 === $length;}foreach ($context['_seq'] as $context["_key"] => $context["v"]) {// line 380echo " ";$this->loadTemplate("vehicle/_vehicle.html.twig", "homepage/detailVehicle.html.twig", 380)->display(twig_array_merge($context, ["vehicle" => $context["v"]]));// line 381echo "";// line 382if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 382) == 1)) {// line 383echo " <div id=\"banner-mobile-container\" class=\"banner-mobile\"></div>";}// line 385echo "";// line 386if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 386) == 2)) {// line 387echo " <div id=\"adform_squarem\"></div>";}// line 389echo "";// line 390if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 390) == 8)) {// line 391echo " <div id=\"adform_squarem2\"></div>";}// line 393echo "";++$context['loop']['index0'];++$context['loop']['index'];$context['loop']['first'] = false;if (isset($context['loop']['length'])) {--$context['loop']['revindex0'];--$context['loop']['revindex'];$context['loop']['last'] = 0 === $context['loop']['revindex0'];}}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['v'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 395echo "";}// line 397echo "";// line 398if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 398, $this->source); })()), "dealer", [], "any", false, false, false, 398), "basicAdvertising", [], "any", false, false, false, 398)) {// line 399echo " <footer class=\"grid__buttons\"><a class=\"button\" href=\"";// line 400echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_dealer_vehicle", ["url" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 400, $this->source); })()), "dealer", [], "any", false, false, false, 400), "url", [], "any", false, false, false, 400)]), "html", null, true);echo "\">Zobrazit všechny inzeráty prodejce<i class=\"icon icon-chevron-right\"></i></a></footer>";}// line 406echo "<hr></div><div><div class=\"grid__buttons\">";// line 417echo "<a class=\"button js-modal-show\" href=\"#modal--share\">Sdílet inzerát<i class=\"icon icon-forward\"></i></a></div><div class=\"dealer\"><h2>Kontakt na prodejce</h2>";// line 427if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 427, $this->source); })()), "dealer", [], "any", false, false, false, 427), "basicAdvertising", [], "any", false, false, false, 427)) {// line 428echo " <figure class=\"dealer__logo\">";// line 429if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 429, $this->source); })()), "dealer", [], "any", false, false, false, 429), "logo", [], "any", false, false, false, 429)) {// line 430echo " <imgsrc=\"";// line 431echo twig_escape_filter($this->env, ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img-dealer/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 431, $this->source); })()), "dealer", [], "any", false, false, false, 431), "logo", [], "any", false, false, false, 431)), "html", null, true);echo "\"";// line 432echo $this->extensions['Symfony\UX\StimulusBundle\Twig\StimulusTwigExtension']->renderStimulusController("symfony/ux-lazy-image/lazy-image", ["src" => ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img-dealer/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 433(isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 433, $this->source); })()), "dealer", [], "any", false, false, false, 433), "logo", [], "any", false, false, false, 433))]);// line 434echo "width=\"170\">";}// line 438echo " </figure>";}// line 440echo " <h3>";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 440, $this->source); })()), "dealer", [], "any", false, false, false, 440), "name", [], "any", false, false, false, 440), "html", null, true);echo "</h3><p>";// line 441echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 441, $this->source); })()), "dealer", [], "any", false, false, false, 441), "street", [], "any", false, false, false, 441), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 441, $this->source); })()), "dealer", [], "any", false, false, false, 441), "city", [], "any", false, false, false, 441), "html", null, true);echo "<br>";// line 442echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 442, $this->source); })()), "dealer", [], "any", false, false, false, 442), "district", [], "any", false, false, false, 442), "name", [], "any", false, false, false, 442), "html", null, true);echo "</p><a class=\"dealer__link\" href=\"https://www.google.com/maps/search/?api=1&query=";// line 443echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 443, $this->source); })()), "dealer", [], "any", false, false, false, 443), "lat", [], "any", false, false, false, 443), "html", null, true);echo ",";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 443, $this->source); })()), "dealer", [], "any", false, false, false, 443), "lng", [], "any", false, false, false, 443), "html", null, true);echo "\" target=\"_blank\"><i class=\"icon icon-map\"></i>Zobrazit na mapě</a><div class=\"dealer__opening-hours\"><h4 class=\"detail__opening-hours-heading\"><i class=\"icon icon-hours\"></i>Provozní doba</h4><div class=\"dealer__opening\">";// line 452$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((isset($context["openTime"]) || array_key_exists("openTime", $context) ? $context["openTime"] : (function () { throw new RuntimeError('Variable "openTime" does not exist.', 452, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["t"]) {// line 453echo " <div>";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["t"], "day", [], "any", false, false, false, 453), "value", [], "any", false, false, false, 453), "html", null, true);echo "</div><div>";// line 454echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["t"], "description", [], "any", false, false, false, 454), "html", null, true);echo "</div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 456echo " </div></div><a class=\"dealer__button dealer__button--green js-modal-show\" href=\"#modal--call\"><i class=\"icon icon-phone\"></i>Zavolat prodejci</a><a class=\"dealer__button js-modal-show\" href=\"#modal--write\"><i class=\"icon icon-email\"></i>Napsat prodejci</a></div><div id=\"banner-container\" class=\"banner\"></div><div id=\"adform_halfpage\"></div></div></section><div class=\"mobile-buttons\"><a class=\"mobile-buttons__item mobile-buttons__item--green js-modal-show\" href=\"#modal--call\"><i class=\"icon icon-phone\"></i>Zavolat</a></a><a class=\"mobile-buttons__item js-modal-show\" href=\"#modal--write\"><i class=\"icon icon-email\"></i>Napsat</a></div><div class=\"modal\" id=\"modal--share\"><div class=\"modal__overlay js-modal-close\"></div><article class=\"modal__body\"><button class=\"modal__close js-modal-close\" type=\"button\"></button><div class=\"modal__header\"><h2>Sdílet inzerci</h2></div><div class=\"share\"><a target=\"_blank\" class=\"share__item\" href=\"https://www.facebook.com/sharer/sharer.php?u=";// line 498echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 498, $this->source); })()), "request", [], "any", false, false, false, 498), "uri", [], "any", false, false, false, 498), "html", null, true);echo "\"><img src=\"";// line 499echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/share__icon--facebook.svg"), "html", null, true);echo "\" alt=\"\">Facebook</a><a target=\"_blank\" class=\"share__item\" href=\"\"><img src=\"";// line 504echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/share__icon--messenger.svg"), "html", null, true);echo "\" alt=\"fb-messenger://share/?link=";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 504, $this->source); })()), "request", [], "any", false, false, false, 504), "uri", [], "any", false, false, false, 504), "html", null, true);echo "\">Messenger</a><a target=\"_blank\" class=\"share__item\" href=\"whatsapp://send?text=";// line 509echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 509, $this->source); })()), "request", [], "any", false, false, false, 509), "uri", [], "any", false, false, false, 509), "html", null, true);echo "\"><img src=\"";// line 510echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/share__icon--whatsapp.svg"), "html", null, true);echo "\" alt=\"\">Whatsapp</a><a target=\"_blank\" class=\"share__item\" href=\"https://twitter.com/intent/tweet?url=";// line 513echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 513, $this->source); })()), "request", [], "any", false, false, false, 513), "uri", [], "any", false, false, false, 513), "html", null, true);echo "&text=";echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getCleanVehicleName((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 513, $this->source); })())), "html", null, true);echo " - ";echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 513, $this->source); })()), "madeDate", [], "any", false, false, false, 513), 0, 4), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 513, $this->source); })()), "mileage", [], "any", false, false, false, 513), "html", null, true);echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 513, $this->source); })()), "mileageUnit", [], "any", false, false, false, 513), "html", null, true);echo "\"><img src=\"";// line 514echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/share__icon--twitter.svg"), "html", null, true);echo "\" alt=\"\">Twitter</a><a target=\"_blank\" class=\"share__item\"href=\"mailto:?subject=";// line 518echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getCleanVehicleName((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 518, $this->source); })())), "html", null, true);echo " - ";echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 518, $this->source); })()), "madeDate", [], "any", false, false, false, 518), 0, 4), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 518, $this->source); })()), "mileage", [], "any", false, false, false, 518), "html", null, true);echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 518, $this->source); })()), "mileageUnit", [], "any", false, false, false, 518), "html", null, true);echo "&body=Podívej se na ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 518, $this->source); })()), "request", [], "any", false, false, false, 518), "uri", [], "any", false, false, false, 518), "html", null, true);echo "\"><img src=\"";// line 519echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/share__icon--envelope.svg"), "html", null, true);echo "\" alt=\"\">E-mail</a></div><footer class=\"modal__footer\"><button class=\"modal__link js-modal-close\" type=\"button\">zavřít okno</button></footer></article></div><div class=\"modal\" id=\"modal--call\"><div class=\"modal__overlay js-modal-close\"></div><article class=\"modal__body\"><button class=\"modal__close js-modal-close\" type=\"button\"></button><div class=\"modal__header\"><h2>Zavolat prodejci</h2></div><div class=\"share\">";// line 539$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 539, $this->source); })()), "dealer", [], "any", false, false, false, 539), "dealerPhones", [], "any", false, false, false, 539));foreach ($context['_seq'] as $context["_key"] => $context["p"]) {// line 540echo " <a class=\"share__item\" href=\"tel:";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["p"], "name", [], "any", false, false, false, 540), "html", null, true);echo "\"><img src=\"";// line 541echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/share__icon--phone.svg"), "html", null, true);echo "\" alt=\"telefon\">";// line 542echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["p"], "name", [], "any", false, false, false, 542), "html", null, true);echo "</a>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 545echo " </div><footer class=\"modal__footer\"><button class=\"modal__link js-modal-close\" type=\"button\">zavřít okno</button></footer></article></div><div class=\"modal\" id=\"modal--write\"><div class=\"modal__overlay js-modal-close\"></div><article class=\"modal__body modal__body--large\"><button class=\"modal__close js-modal-close\" type=\"button\"></button><div class=\"modal__header\"><h2>Napsat prodejci</h2></div><section><article><form class=\"form\"><input type=\"hidden\" value=\"";// line 564echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 564, $this->source); })()), "id", [], "any", false, false, false, 564), "html", null, true);echo "\" name=\"vehicleId\"><div class=\"form__group form__group--strong\"><input placeholder=\"Vaše jméno\" name=\"name\" required></div><div class=\"form__group form__group--strong\"><input type=\"email\" placeholder=\"Váš e-mail\" name=\"email\" required></div><div class=\"form__group form__group--strong\"><input type=\"tel\" placeholder=\"Vaše telefonní číslo\" name=\"phone\" required></div><div class=\"form__group form__group--strong\"><textarea class=\"textarea_changer_target\" placeholder=\"Vaše zpráva\" rows=\"5\" name=\"message\"data-variants='{\"1\":\"Dobrý den, mám zájem o vaši nabídku „";// line 578echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getCleanVehicleName((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 578, $this->source); })())), "html", null, true);echo " - Rok ";echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 578, $this->source); })()), "madeDate", [], "any", false, false, false, 578), 0, 4), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 578, $this->source); })()), "mileage", [], "any", false, false, false, 578), "html", null, true);echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 578, $this->source); })()), "mileageUnit", [], "any", false, false, false, 578), "html", null, true);echo "\". Můžete mi prosím zavolat? Děkuji\",\"2\":\"Dobrý den, je vozidlo „";// line 579echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getCleanVehicleName((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 579, $this->source); })())), "html", null, true);echo " - Rok ";echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 579, $this->source); })()), "madeDate", [], "any", false, false, false, 579), 0, 4), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 579, $this->source); })()), "mileage", [], "any", false, false, false, 579), "html", null, true);echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 579, $this->source); })()), "mileageUnit", [], "any", false, false, false, 579), "html", null, true);echo "\" stále k dispozici? Kontaktujte mě prosím. Děkuji.\",\"3\":\"Dobrý den, mám vážný zájem o vozidlo „";// line 580echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getCleanVehicleName((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 580, $this->source); })())), "html", null, true);echo " - Rok ";echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 580, $this->source); })()), "madeDate", [], "any", false, false, false, 580), 0, 4), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 580, $this->source); })()), "mileage", [], "any", false, false, false, 580), "html", null, true);echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 580, $this->source); })()), "mileageUnit", [], "any", false, false, false, 580), "html", null, true);echo "\". Je možné jej zarezervovat? Děkuji.\",\"4\":\"Dobrý den, mám vážný zájem o vozidlo „";// line 581echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getCleanVehicleName((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 581, $this->source); })())), "html", null, true);echo " - Rok ";echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 581, $this->source); })()), "madeDate", [], "any", false, false, false, 581), 0, 4), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 581, $this->source); })()), "mileage", [], "any", false, false, false, 581), "html", null, true);echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 581, $this->source); })()), "mileageUnit", [], "any", false, false, false, 581), "html", null, true);echo "\". Můžeme se dohodnout na nižší ceně? Je to reálné? Děkuji za odpověď.\"}'>Dobrý den, mám zájem o vaši nabídku „";// line 582echo twig_escape_filter($this->env, $this->extensions['App\Twig\VehicleSeoExtension']->getCleanVehicleName((isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 582, $this->source); })())), "html", null, true);echo " - Rok ";echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 582, $this->source); })()), "madeDate", [], "any", false, false, false, 582), 0, 4), "html", null, true);echo ", ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 582, $this->source); })()), "mileage", [], "any", false, false, false, 582), "html", null, true);echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 582, $this->source); })()), "mileageUnit", [], "any", false, false, false, 582), "html", null, true);echo "\". Můžete mi prosím zavolat? Děkuji</textarea></div><p class=\"form__info\">Kliknutím na tlačítko Odeslat zprávu vyjadřujete svůj souhlas se zásadami<a target=\"_blank\" href=\"/ochrana-osobnich-udaju\">Ochrany osobních údajů</a>.</p><button class=\"form__submit form__submit--block\" type=\"submit\"><i class=\"icon icon-email\"></i>Odeslat zprávu</button></form></article></section></article></div><script>const forms = document.querySelectorAll('form')forms.forEach((form)=> {form.addEventListener('submit', (e)=> {e.preventDefault()let formData = new FormData(form);grecaptcha.ready(function() {grecaptcha.execute('";// line 609echo twig_escape_filter($this->env, (isset($context["google_recaptcha_site_key"]) || array_key_exists("google_recaptcha_site_key", $context) ? $context["google_recaptcha_site_key"] : (function () { throw new RuntimeError('Variable "google_recaptcha_site_key" does not exist.', 609, $this->source); })()), "html", null, true);echo "', { action: 'submit' }).then(function(token) {formData.append('token', token)const data = new URLSearchParams(formData);(async () => {const rawResponse = await fetch('";// line 616echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_vehicle_form_new");echo "', {method: 'POST',body: data});const content = await rawResponse.json();const button = form.querySelector('button')if(content.error === false) {form.reset()button.innerText = 'Odesláno, děkujeme za poptávku.'button.classList.add(\"back-green\")} else {button.innerText = content.errorbutton.classList.add(\"back-red\")}})();});});})})</script>";// line 655echo "<script src=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js\"></script><script>\$(\".js-select2\").select2({language: \"cs\",minimumResultsForSearch: -1,width: \"100%\",});function handleMobileContact() {const isMobile = window.innerWidth <= 768;const mobileContact = document.querySelector('.dealer--mobile');const desktopContact = document.querySelector('.dealer:not(.dealer--mobile)');if (isMobile) {mobileContact.style.display = 'block';desktopContact.style.display = 'none';} else {mobileContact.style.display = 'none';desktopContact.style.display = 'block';}}handleMobileContact();window.addEventListener('resize', handleMobileContact);// === VEHICLE STATISTICS TRACKING ===// Trackování zobrazení stránkytrackVehicleAction('view');// Trackování \"Zavolat prodejci\" tlačítekdocument.querySelectorAll('.js-modal-show[href=\"#modal--call\"]').forEach(button => {button.addEventListener('click', () => {trackVehicleAction('call_dealer');});});// Trackování \"Napsat prodejci\" tlačítekdocument.querySelectorAll('.js-modal-show[href=\"#modal--write\"]').forEach(button => {button.addEventListener('click', () => {trackVehicleAction('message_dealer');});});// Trackování kliků na tel. číslasetTimeout(() => {document.querySelectorAll('a[href^=\"tel:\"]').forEach(link => {link.addEventListener('click', () => {trackVehicleAction('phone_click');});});}, 100);function trackVehicleAction(action) {const formData = new FormData();formData.append('vehicle_id', '";// line 715echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vehicle"]) || array_key_exists("vehicle", $context) ? $context["vehicle"] : (function () { throw new RuntimeError('Variable "vehicle" does not exist.', 715, $this->source); })()), "id", [], "any", false, false, false, 715), "html", null, true);echo "');formData.append('action', action);fetch('";// line 718echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_vehicle_statistics_track");echo "', {method: 'POST',body: formData}).catch(error => {console.log('Tracking error:', error);});}</script>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "homepage/detailVehicle.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 1418 => 718, 1412 => 715, 1350 => 655, 1318 => 616, 1308 => 609, 1272 => 582, 1262 => 581, 1252 => 580, 1242 => 579, 1232 => 578, 1215 => 564, 1194 => 545, 1185 => 542, 1181 => 541, 1176 => 540, 1172 => 539, 1149 => 519, 1137 => 518, 1130 => 514, 1118 => 513, 1112 => 510, 1108 => 509, 1098 => 504, 1090 => 499, 1086 => 498, 1042 => 456, 1034 => 454, 1029 => 453, 1025 => 452, 1011 => 443, 1007 => 442, 1001 => 441, 996 => 440, 992 => 438, 986 => 434, 984 => 433, 983 => 432, 979 => 431, 976 => 430, 974 => 429, 971 => 428, 969 => 427, 957 => 417, 950 => 406, 941 => 400, 938 => 399, 936 => 398, 933 => 397, 929 => 395, 914 => 393, 910 => 391, 908 => 390, 905 => 389, 901 => 387, 899 => 386, 896 => 385, 892 => 383, 890 => 382, 887 => 381, 884 => 380, 867 => 379, 863 => 377, 861 => 376, 848 => 365, 840 => 363, 835 => 362, 831 => 361, 817 => 352, 813 => 351, 807 => 350, 802 => 349, 798 => 347, 792 => 343, 790 => 342, 789 => 341, 785 => 340, 782 => 339, 780 => 338, 777 => 337, 775 => 336, 757 => 320, 743 => 319, 739 => 317, 737 => 316, 732 => 315, 715 => 314, 697 => 299, 690 => 295, 679 => 291, 673 => 290, 667 => 287, 660 => 283, 653 => 279, 646 => 275, 638 => 270, 630 => 265, 623 => 261, 619 => 259, 611 => 254, 605 => 250, 603 => 249, 598 => 247, 591 => 243, 587 => 241, 582 => 238, 578 => 237, 572 => 235, 570 => 234, 565 => 231, 563 => 230, 558 => 228, 545 => 218, 538 => 214, 527 => 210, 521 => 209, 515 => 206, 508 => 202, 501 => 198, 494 => 194, 483 => 186, 475 => 181, 468 => 177, 464 => 175, 456 => 170, 450 => 166, 448 => 165, 443 => 163, 436 => 159, 432 => 157, 427 => 154, 423 => 153, 417 => 151, 415 => 150, 410 => 147, 408 => 146, 403 => 144, 383 => 127, 372 => 119, 362 => 112, 352 => 105, 342 => 98, 332 => 91, 322 => 84, 314 => 78, 310 => 76, 308 => 75, 304 => 74, 299 => 72, 279 => 54, 273 => 51, 269 => 49, 266 => 48, 251 => 46, 247 => 44, 245 => 43, 244 => 42, 240 => 41, 236 => 40, 221 => 39, 217 => 37, 214 => 31, 212 => 30, 211 => 29, 207 => 28, 203 => 27, 196 => 26, 194 => 25, 191 => 24, 174 => 23, 170 => 21, 164 => 19, 162 => 18, 156 => 14, 146 => 13, 127 => 12, 115 => 9, 110 => 8, 100 => 7, 81 => 5, 62 => 3, 39 => 1,);}public function getSourceContext(){return new Source("{% extends 'base.html.twig' %}{% block title %}{{ vehicle_seo_title(vehicle) }}{% endblock %}{% block desc %}{{ vehicle_seo_description(vehicle) }}{% endblock %}{% block javascripts %}{{ encore_entry_script_tags('app') }}<script src=\"https://www.google.com/recaptcha/api.js?render={{ google_recaptcha_site_key }}\"></script>{% endblock %}{% block mobileBranding %} {% endblock %}{% block body %}<br><section class=\"container\"><nav class=\"container__back\">{% if vehicle.kind %}<a class=\"container__back-link\" href=\"{{ app.request.headers.get('referer') }}\">Zpět na seznam inzerátů</a>{% endif %}</nav><section class=\"gallery js-gallery\">{% for img in vehicle.vehicleImages %}{% if loop.index < 2 %}<a class=\"gallery__item gallery__item--large\" href=\"{{ asset(vehicle_image_url(img)) }}\" title=\"{{ vehicle_image_alt(img) }}\"><img src=\"{{ asset(vehicle_image_url(img)) }}\"alt=\"{{ vehicle_image_alt(img) }}\"{{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {src: asset(vehicle_image_url(img))}) }} width=\"400\" >{#<div class=\"gallery__favorite\"><i class=\"icon icon-heart\"></i></div>#}</a>{% else %}<a {% if loop.index > 5 %} style=\"display: none\" {% endif %} class=\"gallery__item {% if loop.index == 5 %} gallery__item--hidden-sm {% endif %} \" href=\"{{ asset(vehicle_image_url(img)) }}\" title=\"{{ vehicle_image_alt(img) }}\"><img src=\"{{ asset(vehicle_image_url(img)) }}\"alt=\"{{ vehicle_image_alt(img) }}\"{{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {src: asset(vehicle_image_url(img))}) }} width=\"200\" > </a>{% endif %}{% endfor %}{% if vehicle.vehicleImages|length > 5 %}<div class=\"gallery__show\"><i class=\"icon icon-camera\"></i>+{{ vehicle.vehicleImages|length - 5 }}</div>{% endif %}</section></section><div id=\"blueimp-gallery\" class=\"blueimp-gallery blueimp-gallery-controls\" aria-label=\"image gallery\"aria-modal=\"true\" role=\"dialog\"><div class=\"slides\" aria-live=\"polite\"></div><a class=\"prev\" aria-controls=\"blueimp-gallery\" aria-label=\"previous slide\" aria-keyshortcuts=\"ArrowLeft\"></a><a class=\"next\" aria-controls=\"blueimp-gallery\" aria-label=\"next slide\" aria-keyshortcuts=\"ArrowRight\"></a><a class=\"close\" aria-controls=\"blueimp-gallery\" aria-label=\"close\" aria-keyshortcuts=\"Escape\"></a></div><section class=\"grid grid--gap40 grid--row-gap20 grid--padding-top0\"><div><section class=\"detail\"><h1 class=\"margin-bottom-0\">{{ vehicle_seo_h1(vehicle) }}</h1><div class=\"detail__price\">{{ vehicle.price ? vehicle.price|number_format(0, null, ' ')~' Kč' : 'dohodou' }}{% if vehicle.vat %}<div class=\"detail__price-label\">Odpočet DPH možný</div>{% endif %}</div><div class=\"detail__info\"><div class=\"detail__info-item\">Rok výroby<strong class=\"detail__info-strong\"><i class=\"icon icon-calendar\"></i>{{ vehicle.madeDate ? vehicle.madeDate|slice(0,4) : 'neuvedeno' }}</strong></div><div class=\"detail__info-item\">Tachometr<strong class=\"detail__info-strong\"><i class=\"icon icon-tachometer\"></i>{{ vehicle.mileage ? vehicle.mileage|number_format(null, ' ', ' ') ~' '~vehicle.mileageUnit : 'neuvedeno' }}</strong></div><div class=\"detail__info-item\">Palivo<strong class=\"detail__info-strong\"><i class=\"icon icon-gas\"></i>{{ vehicle.fuel ? vehicle.fuel.name : 'neuvedeno' }}</strong></div><div class=\"detail__info-item\">Převodovka<strong class=\"detail__info-strong\"><i class=\"icon icon-settings\"></i>{{ vehicle.gearbox ? vehicle.gearbox|trans : 'neuvedeno' }}</strong></div><div class=\"detail__info-item\">Výkon<strong class=\"detail__info-strong\"><i class=\"icon icon-power\"></i>{{ vehicle.enginePower ? vehicle.enginePower ~' kW' : 'neuvedeno' }}</strong></div><div class=\"detail__info-item\">Karoserie<strong class=\"detail__info-strong\"><i class=\"icon icon-car\"></i>{{ vehicle.body ? vehicle.body.name : 'neuvedeno' }}</strong></div></div><h2>Popis</h2><div class=\"detail__more js-detail__more\"><div class=\"detail__more-content js-detail__more-content\"><p> {{ vehicle.note }} </p></div><div class=\"detail__more-control\"><button class=\"button detail__more-toggler js-detail__more-toggler\" type=\"button\"><span class=\"detail__more-toggler-show\">Zobrazit více</span><span class=\"detail__more-toggler-hide\">Zobrazit méně</span></button></div></div><h2>Informace o vozu</h2><div class=\"detail__columns detail__hidden--mobile\"><table><tbody><tr><th>Prodejní cena</th><td> {{ vehicle.price ? vehicle.price|number_format(0, null, ' ')~' Kč' : 'dohodou' }}</td></tr>{% if vehicle.vat %}<tr><th> Cena bez DPH</th><td>{% if vehicle.price %}{{ (vehicle.price / 1.21)|number_format(0, null, ' ') }} Kč{% else %}neuvedeno{% endif %} </td></tr>{% endif %}<tr><th>Odpočet DPH </th><td>{{ vehicle.vat ? 'ano' : 'ne' }} </td></tr><tr><th> VIN</th><td> {{ vehicle.vin ? vehicle.vin : 'neuvedeno' }}</td></tr>{% if vehicle.dealer.checkVin %}<tr><th>Historie</th><td><a target=\"_blank\"href=\"https://cz.cebia.com/?utm_source=affilbox&utm_medium=affiliate&utm_campaign=Autanet_2013&a_box=j49grgww&vin={{ vehicle.vin }}\">Zobrazit historii vozu</a></td></tr>{% endif %}<tr><th>Tachometr</th><td> {{ vehicle.mileage ? vehicle.mileage~' '~vehicle.mileageUnit : 'neuvedeno' }} </td></tr><tr><th>Druh paliva</th><td> {{ vehicle.fuel ? vehicle.fuel.name : 'neuvedeno' }}</td></tr><tr><th>Objem</th><td>{{ vehicle.engineVolume ? vehicle.engineVolume~' ccm' : 'neuvedeno' }} </td></tr></tbody></table><table><tbody><tr><th>Karoserie</th><td> {{ vehicle.body ? vehicle.body.name : 'neuvedeno' }}</td></tr><tr><th>Počet dveří</th><td> {{ vehicle.doors ? vehicle.doors : 'neuvedeno' }}</td></tr><tr><th>Počet míst</th><td> {{ vehicle.places ? vehicle.places : 'neuvedeno' }} </td></tr><tr><th>Barva</th><td>{{ vehicle.color.name }} </td></tr><tr><th>STK {% if vehicle.stkTo != 1 %}{{ vehicle.stkTo }}{% endif %}</th><td>{% if vehicle.stkTo == 1 %}neuvedeno{% else %}{{ vehicle.stkTo ? vehicle.stkTo|slice(4,6)~'/'~vehicle.stkTo|slice(0,4) : 'neuvedeno' }}{% endif %} </td></tr><tr><th>Země původu</th><td>{{ vehicle.state ? vehicle.state : 'neuvedeno' }} </td></tr><tr><th>První majitel</th><td>{{ vehicle.firstOwner ? 'ano' : 'ne' }}</td></tr></tbody></table></div><div class=\"detail__hidden--desktop\"><table><tbody><tr><th>Prodejní cena</th><td> {{ vehicle.price ? vehicle.price|number_format(0, null, ' ')~' Kč' : 'neuvedeno' }}</td></tr>{% if vehicle.vat %}<tr><th> Cena bez DPH</th><td>{% if vehicle.price %}{{ (vehicle.price / 1.21)|number_format(0, null, ' ') }} Kč{% else %}neuvedeno{% endif %} </td></tr>{% endif %}<tr><th>Odpočet DPH</th><td>{{ vehicle.vat ? 'ano' : 'ne' }} </td></tr><tr><th> VIN</th><td> {{ vehicle.vin ? vehicle.vin : 'neuvedeno' }}</td></tr>{% if vehicle.dealer.checkVin %}<tr><th>Historie</th><td><a target=\"_blank\"href=\"https://cz.cebia.com/?utm_source=affilbox&utm_medium=affiliate&utm_campaign=Autanet_2013&a_box=j49grgww&vin={{ vehicle.vin }}\">Zobrazit historii vozu</a></td></tr>{% endif %}<tr><th>Tachometr</th><td> {{ vehicle.mileage ? vehicle.mileage~' '~vehicle.mileageUnit : 'neuvedeno' }} </td></tr><tr><th>Druh paliva</th><td> {{ vehicle.fuel ? vehicle.fuel.name : 'neuvedeno' }}</td></tr><tr><th>Objem</th><td>{{ vehicle.engineVolume ? vehicle.engineVolume~' ccm' : 'neuvedeno' }} </td></tr><tr><th>Karoserie</th><td> {{ vehicle.body ? vehicle.body.name : 'neuvedeno' }}</td></tr><tr><th>Počet dveří</th><td> {{ vehicle.doors ? vehicle.doors : 'neuvedeno' }}</td></tr><tr><th>Počet míst</th><td> {{ vehicle.places ? vehicle.places : 'neuvedeno' }} </td></tr><tr><th>Barva</th><td>{{ vehicle.color.name }} </td></tr><tr><th>STK {% if vehicle.stkTo != 1 %}{{ vehicle.stkTo }}{% endif %}</th><td>{% if vehicle.stkTo == 1 %}neuvedeno{% else %}{{ vehicle.stkTo ? vehicle.stkTo|slice(4,6)~'/'~vehicle.stkTo|slice(0,4) : 'neuvedeno' }}{% endif %} </td></tr><tr><th>Země původu</th><td>{{ vehicle.state ? vehicle.state : 'neuvedeno' }} </td></tr><tr><th>První majitel</th><td>{{ vehicle.firstOwner ? 'ano' : 'ne' }}</td></tr></tbody></table></div><h2>Výbava vozu</h2><div class=\"detail__more js-detail__more\"><div class=\"detail__more-content js-detail__more-content\"><div class=\"detail__columns\"><ul>{% for e in vehicle.equipments %}<li>{{ e.name }}</li>{% if (vehicle.equipments|length / 2)|round == loop.index %}</ul> <ul>{% endif %}{% endfor %}</ul></div></div><div class=\"detail__more-control\"><button class=\"button detail__more-toggler js-detail__more-toggler\" type=\"button\"><span class=\"detail__more-toggler-show\">Zobrazit více</span><span class=\"detail__more-toggler-hide\">Zobrazit méně</span></button></div></div></section><!-- Mobile contact section --><div class=\"dealer dealer--mobile\" style=\"display: none;\"><h2>Kontakt na prodejce</h2>{% if not vehicle.dealer.basicAdvertising %}<figure class=\"dealer__logo\">{% if vehicle.dealer.logo %}<imgsrc=\"{{ asset('img-dealer/')~vehicle.dealer.logo }}\"{{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {src: asset('img-dealer/')~vehicle.dealer.logo}) }}width=\"170\">{% endif %}</figure>{% endif %}<h3>{{ vehicle.dealer.name }}</h3><p>{{ vehicle.dealer.street }}, {{ vehicle.dealer.city }}<br>{{ vehicle.dealer.district.name }}</p><a class=\"dealer__link\" href=\"https://www.google.com/maps/search/?api=1&query={{ vehicle.dealer.lat }},{{ vehicle.dealer.lng }}\" target=\"_blank\"><i class=\"icon icon-map\"></i>Zobrazit na mapě</a><div class=\"dealer__opening-hours\"><h4 class=\"detail__opening-hours-heading\"><i class=\"icon icon-hours\"></i>Provozní doba</h4><div class=\"dealer__opening\">{% for t in openTime %}<div>{{ t.day.value }}</div><div>{{ t.description }}</div>{% endfor %}</div></div><a class=\"dealer__button dealer__button--green js-modal-show\" href=\"#modal--call\"><i class=\"icon icon-phone\"></i>Zavolat prodejci</a><a class=\"dealer__button js-modal-show\" href=\"#modal--write\"><i class=\"icon icon-email\"></i>Napsat prodejci</a></div>{% if vehicleOthers|length > 0 %}<h4 class=\"detail__dealer-vehicles-heading\">Další inzeráty prodejce</h4>{% for v in vehicleOthers %}{% include 'vehicle/_vehicle.html.twig' with { vehicle: v } %}{% if loop.index == 1 %}<div id=\"banner-mobile-container\" class=\"banner-mobile\"></div>{% endif %}{% if loop.index == 2 %}<div id=\"adform_squarem\"></div>{% endif %}{% if loop.index == 8 %}<div id=\"adform_squarem2\"></div>{% endif %}{% endfor %}{% endif %}{% if not vehicle.dealer.basicAdvertising %}<footer class=\"grid__buttons\"><a class=\"button\" href=\"{{ path('page_dealer_vehicle', { url: vehicle.dealer.url }) }}\">Zobrazit všechny inzeráty prodejce<i class=\"icon icon-chevron-right\"></i></a></footer>{% endif %}<hr></div><div><div class=\"grid__buttons\">{#<a class=\"button\" href=\"\">Přidat k oblíbeným<i class=\"icon icon-heart\"></i></a>#}<a class=\"button js-modal-show\" href=\"#modal--share\">Sdílet inzerát<i class=\"icon icon-forward\"></i></a></div><div class=\"dealer\"><h2>Kontakt na prodejce</h2>{% if not vehicle.dealer.basicAdvertising %}<figure class=\"dealer__logo\">{% if vehicle.dealer.logo %}<imgsrc=\"{{ asset('img-dealer/')~vehicle.dealer.logo }}\"{{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {src: asset('img-dealer/')~vehicle.dealer.logo}) }}width=\"170\">{% endif %}</figure>{% endif %}<h3>{{ vehicle.dealer.name }}</h3><p>{{ vehicle.dealer.street }}, {{ vehicle.dealer.city }}<br>{{ vehicle.dealer.district.name }}</p><a class=\"dealer__link\" href=\"https://www.google.com/maps/search/?api=1&query={{ vehicle.dealer.lat }},{{ vehicle.dealer.lng }}\" target=\"_blank\"><i class=\"icon icon-map\"></i>Zobrazit na mapě</a><div class=\"dealer__opening-hours\"><h4 class=\"detail__opening-hours-heading\"><i class=\"icon icon-hours\"></i>Provozní doba</h4><div class=\"dealer__opening\">{% for t in openTime %}<div>{{ t.day.value }}</div><div>{{ t.description }}</div>{% endfor %}</div></div><a class=\"dealer__button dealer__button--green js-modal-show\" href=\"#modal--call\"><i class=\"icon icon-phone\"></i>Zavolat prodejci</a><a class=\"dealer__button js-modal-show\" href=\"#modal--write\"><i class=\"icon icon-email\"></i>Napsat prodejci</a></div><div id=\"banner-container\" class=\"banner\"></div><div id=\"adform_halfpage\"></div></div></section><div class=\"mobile-buttons\"><a class=\"mobile-buttons__item mobile-buttons__item--green js-modal-show\" href=\"#modal--call\"><i class=\"icon icon-phone\"></i>Zavolat</a></a><a class=\"mobile-buttons__item js-modal-show\" href=\"#modal--write\"><i class=\"icon icon-email\"></i>Napsat</a></div><div class=\"modal\" id=\"modal--share\"><div class=\"modal__overlay js-modal-close\"></div><article class=\"modal__body\"><button class=\"modal__close js-modal-close\" type=\"button\"></button><div class=\"modal__header\"><h2>Sdílet inzerci</h2></div><div class=\"share\"><a target=\"_blank\" class=\"share__item\" href=\"https://www.facebook.com/sharer/sharer.php?u={{ app.request.uri }}\"><img src=\"{{ asset('img/share__icon--facebook.svg') }}\" alt=\"\">Facebook</a><a target=\"_blank\" class=\"share__item\" href=\"\"><img src=\"{{ asset('img/share__icon--messenger.svg') }}\" alt=\"fb-messenger://share/?link={{ app.request.uri }}\">Messenger</a><a target=\"_blank\" class=\"share__item\" href=\"whatsapp://send?text={{ app.request.uri }}\"><img src=\"{{ asset('img/share__icon--whatsapp.svg') }}\" alt=\"\">Whatsapp</a><a target=\"_blank\" class=\"share__item\" href=\"https://twitter.com/intent/tweet?url={{ app.request.uri }}&text={{ vehicle_clean_name(vehicle) }} - {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}\"><img src=\"{{ asset('img/share__icon--twitter.svg') }}\" alt=\"\">Twitter</a><a target=\"_blank\" class=\"share__item\"href=\"mailto:?subject={{ vehicle_clean_name(vehicle) }} - {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}&body=Podívej se na {{ app.request.uri }}\"><img src=\"{{ asset('img/share__icon--envelope.svg') }}\" alt=\"\">E-mail</a></div><footer class=\"modal__footer\"><button class=\"modal__link js-modal-close\" type=\"button\">zavřít okno</button></footer></article></div><div class=\"modal\" id=\"modal--call\"><div class=\"modal__overlay js-modal-close\"></div><article class=\"modal__body\"><button class=\"modal__close js-modal-close\" type=\"button\"></button><div class=\"modal__header\"><h2>Zavolat prodejci</h2></div><div class=\"share\">{% for p in vehicle.dealer.dealerPhones %}<a class=\"share__item\" href=\"tel:{{ p.name }}\"><img src=\"{{ asset('img/share__icon--phone.svg') }}\" alt=\"telefon\">{{ p.name }}</a>{% endfor %}</div><footer class=\"modal__footer\"><button class=\"modal__link js-modal-close\" type=\"button\">zavřít okno</button></footer></article></div><div class=\"modal\" id=\"modal--write\"><div class=\"modal__overlay js-modal-close\"></div><article class=\"modal__body modal__body--large\"><button class=\"modal__close js-modal-close\" type=\"button\"></button><div class=\"modal__header\"><h2>Napsat prodejci</h2></div><section><article><form class=\"form\"><input type=\"hidden\" value=\"{{ vehicle.id }}\" name=\"vehicleId\"><div class=\"form__group form__group--strong\"><input placeholder=\"Vaše jméno\" name=\"name\" required></div><div class=\"form__group form__group--strong\"><input type=\"email\" placeholder=\"Váš e-mail\" name=\"email\" required></div><div class=\"form__group form__group--strong\"><input type=\"tel\" placeholder=\"Vaše telefonní číslo\" name=\"phone\" required></div><div class=\"form__group form__group--strong\"><textarea class=\"textarea_changer_target\" placeholder=\"Vaše zpráva\" rows=\"5\" name=\"message\"data-variants='{\"1\":\"Dobrý den, mám zájem o vaši nabídku „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}\". Můžete mi prosím zavolat? Děkuji\",\"2\":\"Dobrý den, je vozidlo „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}\" stále k dispozici? Kontaktujte mě prosím. Děkuji.\",\"3\":\"Dobrý den, mám vážný zájem o vozidlo „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}\". Je možné jej zarezervovat? Děkuji.\",\"4\":\"Dobrý den, mám vážný zájem o vozidlo „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}\". Můžeme se dohodnout na nižší ceně? Je to reálné? Děkuji za odpověď.\"}'>Dobrý den, mám zájem o vaši nabídku „{{ vehicle_clean_name(vehicle) }} - Rok {{ vehicle.madeDate|slice(0,4) }}, {{ vehicle.mileage }} {{ vehicle.mileageUnit }}\". Můžete mi prosím zavolat? Děkuji</textarea></div><p class=\"form__info\">Kliknutím na tlačítko Odeslat zprávu vyjadřujete svůj souhlas se zásadami<a target=\"_blank\" href=\"/ochrana-osobnich-udaju\">Ochrany osobních údajů</a>.</p><button class=\"form__submit form__submit--block\" type=\"submit\"><i class=\"icon icon-email\"></i>Odeslat zprávu</button></form></article></section></article></div><script>const forms = document.querySelectorAll('form')forms.forEach((form)=> {form.addEventListener('submit', (e)=> {e.preventDefault()let formData = new FormData(form);grecaptcha.ready(function() {grecaptcha.execute('{{ google_recaptcha_site_key }}', { action: 'submit' }).then(function(token) {formData.append('token', token)const data = new URLSearchParams(formData);(async () => {const rawResponse = await fetch('{{ path('app_vehicle_form_new') }}', {method: 'POST',body: data});const content = await rawResponse.json();const button = form.querySelector('button')if(content.error === false) {form.reset()button.innerText = 'Odesláno, děkujeme za poptávku.'button.classList.add(\"back-green\")} else {button.innerText = content.errorbutton.classList.add(\"back-red\")}})();});});})})</script>{#<div class=\"modal\" id=\"modal--map\"><div class=\"modal__overlay js-modal-close\"></div><article class=\"modal__body\" style=\"padding: 5px; max-width: none; height: 75%;\"><iframesrc=\"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1318529.0090685813!2d14.353945871812089!3d49.80013041918973!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470b948fd7dd8243%3A0xf8661c75d3db586f!2sCzechia!5e0!3m2!1sen!2ses!4v1677857037662!5m2!1sen!2ses\"style=\"border:0; width: 100%; height: 100%;\" allowfullscreen=\"\" loading=\"lazy\" referrerpolicy=\"no-referrer-when-downgrade\"></iframe></article></div>#}<script src=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js\"></script><script>\$(\".js-select2\").select2({language: \"cs\",minimumResultsForSearch: -1,width: \"100%\",});function handleMobileContact() {const isMobile = window.innerWidth <= 768;const mobileContact = document.querySelector('.dealer--mobile');const desktopContact = document.querySelector('.dealer:not(.dealer--mobile)');if (isMobile) {mobileContact.style.display = 'block';desktopContact.style.display = 'none';} else {mobileContact.style.display = 'none';desktopContact.style.display = 'block';}}handleMobileContact();window.addEventListener('resize', handleMobileContact);// === VEHICLE STATISTICS TRACKING ===// Trackování zobrazení stránkytrackVehicleAction('view');// Trackování \"Zavolat prodejci\" tlačítekdocument.querySelectorAll('.js-modal-show[href=\"#modal--call\"]').forEach(button => {button.addEventListener('click', () => {trackVehicleAction('call_dealer');});});// Trackování \"Napsat prodejci\" tlačítekdocument.querySelectorAll('.js-modal-show[href=\"#modal--write\"]').forEach(button => {button.addEventListener('click', () => {trackVehicleAction('message_dealer');});});// Trackování kliků na tel. číslasetTimeout(() => {document.querySelectorAll('a[href^=\"tel:\"]').forEach(link => {link.addEventListener('click', () => {trackVehicleAction('phone_click');});});}, 100);function trackVehicleAction(action) {const formData = new FormData();formData.append('vehicle_id', '{{ vehicle.id }}');formData.append('action', action);fetch('{{ path('app_vehicle_statistics_track') }}', {method: 'POST',body: formData}).catch(error => {console.log('Tracking error:', error);});}</script>{% endblock %}", "homepage/detailVehicle.html.twig", "/www/hosting/autanet.cz/test/templates/homepage/detailVehicle.html.twig");}}