<?php
use 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;
/* Live/Portal/next_sales_pro.html.twig */
class __TwigTemplate_50711c71bf3a648aa24dd65f4c9004a2 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta_robot' => [$this, 'block_meta_robot'],
'javascripts' => [$this, 'block_javascripts'],
'body_content' => [$this, 'block_body_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/frontend_pro.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", "Live/Portal/next_sales_pro.html.twig"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Live/Portal/next_sales_pro.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Live/Portal/next_sales_pro.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontend_pro.html.twig", "Live/Portal/next_sales_pro.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_meta_robot($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", "meta_robot"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_robot"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_robot"));
// line 4
echo " ";
$this->displayParentBlock("meta_robot", $context, $blocks);
echo "
<link rel=\"canonical\" href=\"";
// line 5
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("live_portal_next_sales_pro");
echo "\"/>
";
// line 6
echo twig_source($this->env, "stubs/seo/robots_noindex_nofollow.html.twig");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public 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_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_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 10
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script type=\"text/javascript\" src=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/js/lib/jquery.countdown.live.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/js/frontend/live_portal.js"), "html", null, true);
echo "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 15
public function block_body_content($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_content"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
// line 16
echo " <div class=\"live-prochaines-vente\">
<div class=\"landing-header\">
<h1 class=\"titre05\">
<span class=\"block\">
";
// line 20
if ((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.', 20, $this->source); })()), "request", [], "any", false, false, false, 20), "locale", [], "any", false, false, false, 20) == twig_constant("App\\Twig\\Extension\\CountryExtension::LOCALE_PORTUGUESE"))) {
// line 21
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/icones/icon-live-pt.webp"), "html", null, true);
echo "\" alt=\"\">
";
} else {
// line 23
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/icones/icon-live-fr.webp"), "html", null, true);
echo "\" alt=\"\">
";
}
// line 25
echo " </span>
";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.header.subtitle"), "html", null, true);
echo "
</h1>
</div>
<div class=\"landing-content\">
<div>
<div>
<h2 class=\"titre01\">";
// line 32
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.title01");
echo "</h2>
<p class=\"marginT20\">";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.text01"), "html", null, true);
echo " <span data-o=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\UserExtension']->base64Encode($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vpauto_frontend_live")), "html", null, true);
echo "\" class=\"obflink lien03\" role=\"link\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.link01"), "html", null, true);
echo "</span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.text02"), "html", null, true);
echo "
</p>
";
// line 35
if ( !$this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL"))) {
// line 36
echo " <p class=\"marginT10\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.text03"), "html", null, true);
echo "</p>
";
}
// line 38
echo " </div>
<div class=\"grid-container block-bg01\">
<h2 class=\"titre04\">
<strong>";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.title"), "html", null, true);
echo "</strong></h2>
<div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
<div>
<img src=\"";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/img-avantage-live01.png"), "html", null, true);
echo "\"
alt=\"picto vehicules testés\">
<p>";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.item01"), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
<div>
<img src=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/img-avantage-live02.png"), "html", null, true);
echo "\"
alt=\"picto prix\">
<p>";
// line 54
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.item02"), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
<div>
<img src=\"";
// line 59
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/img-avantage-live03.png"), "html", null, true);
echo "\"
alt=\"picto garantie\">
<p>";
// line 61
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.item03", ["%href%" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_guarantee")]);
echo "</p>
</div>
</div>
<div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
<div>
<img src=\"";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/img-avantage-live04.png"), "html", null, true);
echo "\"
alt=\"picto disponibilité\">
<p>";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.item04"), "html", null, true);
echo "</p>
</div>
</div>
</div>
<h2 class=\"titre01 marginT60 txtcenter\">
<strong>";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.title02"), "html", null, true);
echo "</strong></h2>
<div class=\"video-container\">
";
// line 76
$this->loadTemplate("/Frontend/pro/_movie_live.html.twig", "Live/Portal/next_sales_pro.html.twig", 76)->display($context);
// line 77
echo " </div>
<div class=\"separateur\"></div>
<h2 class=\"titre01 marginT60 txtcenter color01\">
<strong>";
// line 81
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.next_sales"), "html", null, true);
echo "</strong></h2>
";
// line 82
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["todaysLive"]) || array_key_exists("todaysLive", $context) ? $context["todaysLive"] : (function () { throw new RuntimeError('Variable "todaysLive" does not exist.', 82, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 83
echo " <div class=\"block01 marginT20\">
<p class=\"titre01\"><strong>";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.sale_ended"), "html", null, true);
echo "</strong>
</p>
<p class=\"titre03 marginT10\"><strong>";
// line 86
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "room", [], "any", false, false, false, 86), "code", [], "any", false, false, false, 86)), "html", null, true);
echo "
- ";
// line 87
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['App\Twig\Extension\IntlExtension']->localeDateFilter(twig_get_attribute($this->env, $this->source, $context["item"], "startDate", [], "any", false, false, false, 87), "medium", "short", 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.', 87, $this->source); })()), "request", [], "any", false, false, false, 87), "locale", [], "any", false, false, false, 87), "EEEE d LLLL")), "html", null, true);
echo "</strong>
</p>
</div>
<div class=\"separateur\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 92
echo " <div class=\"marginT20\">
<div>
";
// line 94
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["sales"]) || array_key_exists("sales", $context) ? $context["sales"] : (function () { throw new RuntimeError('Variable "sales" does not exist.', 94, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["sale"]) {
// line 95
echo " <div class=\"txtcenter\">
<h1 class=\"titre01\">
<strong>";
// line 97
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["sale"], "room", [], "any", false, false, false, 97), "code", [], "any", false, false, false, 97)), "html", null, true);
echo "
- ";
// line 98
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sale"], "activeVehicles", [], "any", false, false, false, 98)), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.vehicles"), "html", null, true);
echo "</strong>
</h1>
<h2 class=\"date\">";
// line 100
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\IntlExtension']->localeDateFilter(twig_get_attribute($this->env, $this->source, $context["sale"], "startDate", [], "any", false, false, false, 100), "medium", "short", 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.', 100, $this->source); })()), "request", [], "any", false, false, false, 100), "locale", [], "any", false, false, false, 100), "EEEE d LLLL yyyy"), "html", null, true);
echo "</h2>
<div class=\"block01\">
<p class=\"titre04 opening-in\">";
// line 102
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.open_in"), "html", null, true);
echo "</p>
<div class=\"counter must-fade fade-title clearfix\"
data-end=\"";
// line 104
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env, $this->extensions['App\Twig\Extension\LiveExtension']->getRealStartingHour($context["sale"]), "Y/m/d H:i:s"), "html", null, true);
echo "\">
<ul class=\"counter-block\">
<li class=\"m-hide\"><i class=\"icon-chrono01\"></i></li>
<li>
<span class=\"number days\">00</span>
<span>";
// line 109
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.timer.days"), "html", null, true);
echo "</span>
</li>
<li>
<span class=\"number hours\">00</span>
<span>";
// line 113
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.timer.hours"), "html", null, true);
echo "</span>
</li>
<li>
<span class=\"number minutes\">00</span>
<span>";
// line 117
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.timer.minutes"), "html", null, true);
echo "</span>
</li>
</ul>
</div>
</div>
";
// line 122
if ((($this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env, twig_get_attribute($this->env, $this->source, $context["sale"], "endDate", [], "any", false, false, false, 122), "U") > $this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env, "now", "U")) && ($this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env, $this->extensions['App\Twig\Extension\LiveExtension']->getRealStartingHour($context["sale"]), "U") < $this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env, "now", "U")))) {
// line 123
echo " <p class=\"marginT10 titre04\">
";
// line 124
if ((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.', 124, $this->source); })()), "request", [], "any", false, false, false, 124), "locale", [], "any", false, false, false, 124) == twig_constant("App\\Twig\\Extension\\CountryExtension::LOCALE_PORTUGUESE"))) {
// line 125
echo " <img
src=\"";
// line 126
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/icones/icon-live-pt.webp"), "html", null, true);
echo "\"
class=\"icon-live w-26\" alt=\"\">
";
} else {
// line 129
echo " <img
src=\"";
// line 130
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/icones/icon-live-fr.webp"), "html", null, true);
echo "\"
class=\"icon-live w-26\" alt=\"\">
";
}
// line 133
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.button.running"), "html", null, true);
echo "
</p>
";
}
// line 136
echo " </div>
<div class=\"separateur\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sale'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 139
echo " </div>
<div class=\"clearfix\"></div>
</div>
<p class=\"txtcenter\"><a href=\"";
// line 143
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_sale_online_pro");
echo "\" class=\"lien11\"
title=\"\">";
// line 144
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.button01.online_sale"), "html", null, true);
echo "</a>
</p>
<p class=\"marginT10\">";
// line 146
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.text04"), "html", null, true);
echo "</p>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Live/Portal/next_sales_pro.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 435 => 146, 430 => 144, 426 => 143, 420 => 139, 412 => 136, 405 => 133, 399 => 130, 396 => 129, 390 => 126, 387 => 125, 385 => 124, 382 => 123, 380 => 122, 372 => 117, 365 => 113, 358 => 109, 350 => 104, 345 => 102, 340 => 100, 333 => 98, 329 => 97, 325 => 95, 321 => 94, 317 => 92, 306 => 87, 302 => 86, 297 => 84, 294 => 83, 290 => 82, 286 => 81, 280 => 77, 278 => 76, 273 => 74, 264 => 68, 259 => 66, 251 => 61, 246 => 59, 238 => 54, 233 => 52, 225 => 47, 220 => 45, 214 => 42, 208 => 38, 202 => 36, 200 => 35, 189 => 33, 185 => 32, 176 => 26, 173 => 25, 167 => 23, 161 => 21, 159 => 20, 153 => 16, 140 => 15, 125 => 12, 121 => 11, 116 => 10, 103 => 9, 88 => 6, 84 => 5, 79 => 4, 66 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontend_pro.html.twig' %}
{% block meta_robot %}
{{ parent() }}
<link rel=\"canonical\" href=\"{{ url('live_portal_next_sales_pro') }}\"/>
{{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type=\"text/javascript\" src=\"{{ asset('bundles/vpauto/js/lib/jquery.countdown.live.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('bundles/vpauto/js/frontend/live_portal.js') }}\"></script>
{% endblock %}
{% block body_content %}
<div class=\"live-prochaines-vente\">
<div class=\"landing-header\">
<h1 class=\"titre05\">
<span class=\"block\">
{% if app.request.locale == constant('App\\\\Twig\\\\Extension\\\\CountryExtension::LOCALE_PORTUGUESE') %}
<img src=\"{{ asset('bundles/vpauto/frontend/images/icones/icon-live-pt.webp') }}\" alt=\"\">
{% else %}
<img src=\"{{ asset('bundles/vpauto/frontend/images/icones/icon-live-fr.webp') }}\" alt=\"\">
{% endif %}
</span>
{{ 'frontend.live.next-sales-pro.header.subtitle'|trans }}
</h1>
</div>
<div class=\"landing-content\">
<div>
<div>
<h2 class=\"titre01\">{{ 'frontend.live.next-sales-pro.content.title01'|trans|raw }}</h2>
<p class=\"marginT20\">{{ 'frontend.live.next-sales-pro.content.text01'|trans }} <span data-o=\"{{ base64_encode(path('vpauto_frontend_live')) }}\" class=\"obflink lien03\" role=\"link\">{{ 'frontend.live.next-sales-pro.content.link01'|trans }}</span> {{ 'frontend.live.next-sales-pro.content.text02'|trans }}
</p>
{% if not is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
<p class=\"marginT10\">{{ 'frontend.live.next-sales-pro.content.text03'|trans }}</p>
{% endif %}
</div>
<div class=\"grid-container block-bg01\">
<h2 class=\"titre04\">
<strong>{{ 'frontend.live.next-sales-pro.content.block01.title'|trans }}</strong></h2>
<div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
<div>
<img src=\"{{ asset('bundles/vpauto/frontend/images/pro/img-avantage-live01.png') }}\"
alt=\"picto vehicules testés\">
<p>{{ 'frontend.live.next-sales-pro.content.block01.item01'|trans }}</p>
</div>
</div>
<div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
<div>
<img src=\"{{ asset('bundles/vpauto/frontend/images/pro/img-avantage-live02.png') }}\"
alt=\"picto prix\">
<p>{{ 'frontend.live.next-sales-pro.content.block01.item02'|trans }}</p>
</div>
</div>
<div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
<div>
<img src=\"{{ asset('bundles/vpauto/frontend/images/pro/img-avantage-live03.png') }}\"
alt=\"picto garantie\">
<p>{{ 'frontend.live.next-sales-pro.content.block01.item03'|trans({ '%href%': path('frontend_guarantee') })|raw }}</p>
</div>
</div>
<div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
<div>
<img src=\"{{ asset('bundles/vpauto/frontend/images/pro/img-avantage-live04.png') }}\"
alt=\"picto disponibilité\">
<p>{{ 'frontend.live.next-sales-pro.content.block01.item04'|trans }}</p>
</div>
</div>
</div>
<h2 class=\"titre01 marginT60 txtcenter\">
<strong>{{ 'frontend.live.next-sales-pro.content.title02'|trans }}</strong></h2>
<div class=\"video-container\">
{% include '/Frontend/pro/_movie_live.html.twig' %}
</div>
<div class=\"separateur\"></div>
<h2 class=\"titre01 marginT60 txtcenter color01\">
<strong>{{ 'frontend.live.next-sales-pro.content.next_sales'|trans }}</strong></h2>
{% for item in todaysLive %}
<div class=\"block01 marginT20\">
<p class=\"titre01\"><strong>{{ 'frontend.live.next-sales.content.sale_ended'|trans }}</strong>
</p>
<p class=\"titre03 marginT10\"><strong>{{ item.room.code|upper }}
- {{ item.startDate|locale_date(pattern='EEEE d LLLL', locale=app.request.locale)|capitalize }}</strong>
</p>
</div>
<div class=\"separateur\"></div>
{% endfor %}
<div class=\"marginT20\">
<div>
{% for sale in sales %}
<div class=\"txtcenter\">
<h1 class=\"titre01\">
<strong>{{ sale.room.code|upper }}
- {{ sale.activeVehicles|length }} {{ 'frontend.live.next-sales.content.vehicles'|trans }}</strong>
</h1>
<h2 class=\"date\">{{ sale.startDate|locale_date(pattern='EEEE d LLLL yyyy', locale=app.request.locale) }}</h2>
<div class=\"block01\">
<p class=\"titre04 opening-in\">{{ 'frontend.live.next-sales.content.open_in'|trans }}</p>
<div class=\"counter must-fade fade-title clearfix\"
data-end=\"{{ get_real_starting_hour(sale)|date('Y/m/d H:i:s') }}\">
<ul class=\"counter-block\">
<li class=\"m-hide\"><i class=\"icon-chrono01\"></i></li>
<li>
<span class=\"number days\">00</span>
<span>{{ 'frontend.live.next-sales.content.timer.days'|trans }}</span>
</li>
<li>
<span class=\"number hours\">00</span>
<span>{{ 'frontend.live.next-sales.content.timer.hours'|trans }}</span>
</li>
<li>
<span class=\"number minutes\">00</span>
<span>{{ 'frontend.live.next-sales.content.timer.minutes'|trans }}</span>
</li>
</ul>
</div>
</div>
{% if sale.endDate|date('U') > 'now'|date('U') and get_real_starting_hour(sale)|date('U') < 'now'|date('U') %}
<p class=\"marginT10 titre04\">
{% if app.request.locale == constant('App\\\\Twig\\\\Extension\\\\CountryExtension::LOCALE_PORTUGUESE') %}
<img
src=\"{{ asset('bundles/vpauto/frontend/images/icones/icon-live-pt.webp') }}\"
class=\"icon-live w-26\" alt=\"\">
{% else %}
<img
src=\"{{ asset('bundles/vpauto/frontend/images/icones/icon-live-fr.webp') }}\"
class=\"icon-live w-26\" alt=\"\">
{% endif %}
{{ 'frontend.live.next-sales.content.button.running'|trans }}
</p>
{% endif %}
</div>
<div class=\"separateur\"></div>
{% endfor %}
</div>
<div class=\"clearfix\"></div>
</div>
<p class=\"txtcenter\"><a href=\"{{ path('frontend_sale_online_pro') }}\" class=\"lien11\"
title=\"\">{{ 'frontend.live.next-sales-pro.content.button01.online_sale'|trans }}</a>
</p>
<p class=\"marginT10\">{{ 'frontend.live.next-sales-pro.content.text04'|trans }}</p>
</div>
</div>
</div>
{% endblock body_content %}
", "Live/Portal/next_sales_pro.html.twig", "/srv/src/Resources/views/Live/Portal/next_sales_pro.html.twig");
}
}