<?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;
/* front/_common/_base.html.twig */
class __TwigTemplate_941adf098e597762b0a939671edb05ec extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'linkcanonical' => [$this, 'block_linkcanonical'],
'cssadicional' => [$this, 'block_cssadicional'],
'classbody' => [$this, 'block_classbody'],
'content' => [$this, 'block_content'],
'jsfinal' => [$this, 'block_jsfinal'],
];
}
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", "front/_common/_base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/_common/_base.html.twig"));
// line 1
$context["STATIC_URL"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/");
// line 2
$context["BUILD_ID"] = "1";
// line 3
echo "<!DOCTYPE html>
<html lang=\"";
// line 4
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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "locale", [], "any", false, false, false, 4), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>
";
// line 10
$context["seo"] = null;
// line 11
echo " ";
if ((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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "attributes", [], "any", false, false, false, 11), "get", [0 => "_route"], "method", false, false, false, 11) != "")) {
// line 12
echo " ";
$context["url_seo"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "attributes", [], "any", false, false, false, 12), "get", [0 => "_route"], "method", false, false, false, 12), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 13
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "attributes", [], "any", false, false, false, 13), "get", [0 => "_route_params"], "method", false, false, false, 13));
// line 14
echo " ";
$context["seo"] = $this->extensions['App\Twig\MetatagsExtension']->metatags((isset($context["url_seo"]) || array_key_exists("url_seo", $context) ? $context["url_seo"] : (function () { throw new RuntimeError('Variable "url_seo" does not exist.', 14, $this->source); })()));
// line 15
echo " ";
}
// line 16
echo "
";
// line 17
$this->displayBlock('linkcanonical', $context, $blocks);
// line 18
echo "
";
// line 19
$this->loadTemplate("front/_common/_metatags.html.twig", "front/_common/_base.html.twig", 19)->display($context);
// line 20
echo "
";
// line 21
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 21, $this->source); })()), "scriptsMeta", [], "any", false, false, false, 21)) {
// line 22
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 22, $this->source); })()), "scriptsMeta", [], "any", false, false, false, 22);
echo "
";
}
// line 24
echo " ";
if (( !(null === (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 24, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 24, $this->source); })()), "scriptsMeta", [], "any", false, false, false, 24))) {
// line 25
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 25, $this->source); })()), "scriptsMeta", [], "any", false, false, false, 25);
echo "
";
}
// line 27
echo "
";
// line 28
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 28, $this->source); })()), "seoFavicon", [], "any", false, false, false, 28)) {
// line 29
echo " <!-- inicio favicon iphone retina, ipad, iphone en orden-->
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 30, $this->source); })()), "seoFavicon", [], "any", false, false, false, 30))), "html", null, true);
echo "\"/>
<link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 31, $this->source); })()), "seoFavicon", [], "any", false, false, false, 31))), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 32, $this->source); })()), "seoFavicon", [], "any", false, false, false, 32))), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon-precomposed\" href=\"";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 33, $this->source); })()), "seoFavicon", [], "any", false, false, false, 33))), "html", null, true);
echo "\">
<!-- end favicon -->
";
}
// line 36
echo "
";
// line 37
$this->displayBlock('cssadicional', $context, $blocks);
// line 38
echo "
";
// line 40
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 40, $this->source); })()), "html", null, true);
echo "/css/styles.css?v=";
echo twig_escape_filter($this->env, (isset($context["BUILD_ID"]) || array_key_exists("BUILD_ID", $context) ? $context["BUILD_ID"] : (function () { throw new RuntimeError('Variable "BUILD_ID" does not exist.', 40, $this->source); })()), "html", null, true);
echo "\"/>
\t<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 41
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 41, $this->source); })()), "html", null, true);
echo "/css/blocks_styl.css?v=";
echo twig_escape_filter($this->env, (isset($context["BUILD_ID"]) || array_key_exists("BUILD_ID", $context) ? $context["BUILD_ID"] : (function () { throw new RuntimeError('Variable "BUILD_ID" does not exist.', 41, $this->source); })()), "html", null, true);
echo "\"/>
<!--[if lt IE 9]>
<script src=\"";
// line 44
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 44, $this->source); })()), "html", null, true);
echo "/js/html5.js\"></script>
<script src=\"";
// line 45
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 45, $this->source); })()), "html", null, true);
echo "/js/respond.js\" type=\"text/javascript\"></script>
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 46
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 46, $this->source); })()), "html", null, true);
echo "/css/ie.css\" />
<![endif]-->
";
// line 49
echo "
";
// line 50
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 50, $this->source); })()), "scriptsHeader", [], "any", false, false, false, 50)) {
// line 51
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 51, $this->source); })()), "scriptsHeader", [], "any", false, false, false, 51);
echo "
";
}
// line 53
echo " ";
if (( !(null === (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 53, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 53, $this->source); })()), "scriptsHeader", [], "any", false, false, false, 53))) {
// line 54
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 54, $this->source); })()), "scriptsHeader", [], "any", false, false, false, 54);
echo "
";
}
// line 56
echo "</head>
<body class=\"";
// line 58
$this->displayBlock('classbody', $context, $blocks);
echo "\">
";
// line 60
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 60, $this->source); })()), "scriptsBody", [], "any", false, false, false, 60)) {
// line 61
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 61, $this->source); })()), "scriptsBody", [], "any", false, false, false, 61);
echo "
";
}
// line 63
if (( !(null === (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 63, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 63, $this->source); })()), "scriptsBody", [], "any", false, false, false, 63))) {
// line 64
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 64, $this->source); })()), "scriptsBody", [], "any", false, false, false, 64);
echo "
";
}
// line 66
echo "
<div class=\"cnt-wrapper\">
";
// line 68
$this->loadTemplate("front/_common/_header.html.twig", "front/_common/_base.html.twig", 68)->display($context);
// line 69
echo " <div class=\"wrapper\">
";
// line 70
$this->displayBlock('content', $context, $blocks);
// line 71
echo " </div>
";
// line 72
$this->loadTemplate("front/_common/_footer.html.twig", "front/_common/_base.html.twig", 72)->display($context);
// line 73
echo "</div>
<div class=\"blockOverlay\"></div>
\t\t<!-- POPUP VIDEOS -->
\t\t<div class=\"gPopupVideo\">
\t\t\t<a href=\"#\" class=\"icon-close closePopup\"></a>
\t\t\t<iframe src=\"\" class=\"youtubePopup\" frameborder=\"0\"></iframe>
\t\t\t<video
\t\t\t\tsrc=\"\"
\t\t\t\tclass=\"mp4Popup\"
\t\t\t\tautoplay
\t\t\t\tloop
\t\t\t\tplaysinline
\t\t\t\tpreload=\"metadata\"
\t\t\t></video>
\t\t</div>
\t\t<!-- html solo para el menu responsive -->
\t\t<div class=\"menu-overlay\"></div>
\t\t<!-- html solo para el menu responsive -->
\t\t<!-- contenedor del menu responsive -->
\t\t<div class=\"responsive-tool\"></div>
\t\t<div class=\"menu-sidebar\" style=\"display: none\" data-menu=\"right-in\">
\t\t\t<div class=\"menu-sidebar-cnt\">
\t\t\t\t<img src=\"";
// line 99
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 99, $this->source); })()), "mnuHeaderImg", [], "any", false, false, false, 99))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImageAltExtension']->alt(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 99, $this->source); })()), "mnuHeaderImg", [], "any", false, false, false, 99)), "html", null, true);
echo "\" class=\"sidebar__img\"/>
<div class=\"sidebar__info\">
\t\t\t\t\t<ul class=\"sidebar__links\">
\t\t\t\t ";
// line 102
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 102, $this->source); })()), "socialShow", [], "any", false, false, false, 102) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 102, $this->source); })()), "socialHeaderShow", [], "any", false, false, false, 102))) {
// line 103
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 103, $this->source); })()), "socialFbShow", [], "any", false, false, false, 103) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 103, $this->source); })()), "socialFbUrl", [], "any", false, false, false, 103))) {
// line 104
echo "\t\t\t\t <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 104, $this->source); })()), "socialFbUrl", [], "any", false, false, false, 104), "html", null, true);
echo "\" target=\"_blank\"><img src=\"";
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 104, $this->source); })()), "html", null, true);
echo "img/facebook.png\" alt=\"facebook\" /></a></li>
\t\t\t\t ";
}
// line 106
echo "\t\t\t\t ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 106, $this->source); })()), "socialLdShow", [], "any", false, false, false, 106) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 106, $this->source); })()), "socialLdUrl", [], "any", false, false, false, 106))) {
// line 107
echo "\t\t\t\t <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 107, $this->source); })()), "socialLdUrl", [], "any", false, false, false, 107), "html", null, true);
echo "\" target=\"_blank\"><img src=\"";
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 107, $this->source); })()), "html", null, true);
echo "img/linkedin.png\" alt=\"linkedin\" /></a></li>
\t\t\t\t ";
}
// line 109
echo "\t\t\t\t ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 109, $this->source); })()), "socialIgShow", [], "any", false, false, false, 109) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 109, $this->source); })()), "socialIgUrl", [], "any", false, false, false, 109))) {
// line 110
echo "\t\t\t\t <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 110, $this->source); })()), "socialIgUrl", [], "any", false, false, false, 110), "html", null, true);
echo "\" target=\"_blank\"><img src=\"";
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 110, $this->source); })()), "html", null, true);
echo "img/instagram.png\" alt=\"instagram\" /></a></li>
\t\t\t\t ";
}
// line 112
echo "\t\t\t\t ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 112, $this->source); })()), "socialYtShow", [], "any", false, false, false, 112) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 112, $this->source); })()), "socialYtUrl", [], "any", false, false, false, 112))) {
// line 113
echo "\t\t\t\t <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 113, $this->source); })()), "socialYtUrl", [], "any", false, false, false, 113), "html", null, true);
echo "\" target=\"_blank\"><img src=\"";
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 113, $this->source); })()), "html", null, true);
echo "img/youtube.png\" alt=\"youtube\" /></a></li>
\t\t\t\t ";
}
// line 115
echo "\t\t\t\t ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 115, $this->source); })()), "socialTtShow", [], "any", false, false, false, 115) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 115, $this->source); })()), "socialTtUrl", [], "any", false, false, false, 115))) {
// line 116
echo "\t\t\t\t <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 116, $this->source); })()), "socialTtUrl", [], "any", false, false, false, 116), "html", null, true);
echo "\" target=\"_blank\"><img src=\"";
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 116, $this->source); })()), "html", null, true);
echo "img/tiktoklogo.png\" alt=\"tiktok\" /></a></li>
\t\t\t\t ";
}
// line 118
echo " ";
}
// line 119
echo "\t\t\t\t\t</ul>
\t\t\t\t</div>
\t\t\t\t<li class=\"sidebar-link menu-item\">
\t\t\t\t\t<a class=\"menu-link\" href=\"";
// line 123
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
echo "\">Nosotros</a>
\t\t\t\t</li>
";
// line 125
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 125, $this->source); })()), "blogShow", [], "any", false, false, false, 125) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 125, $this->source); })()), "blogUrl", [], "any", false, false, false, 125))) {
// line 126
echo " <li class=\"sidebar-link menu-item\">
\t\t\t\t\t<a class=\"menu-link\" href=\"";
// line 127
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 127, $this->source); })()), "blogUrl", [], "any", false, false, false, 127), "html", null, true);
echo "\" target=\"_blank\">Blog</a>
\t\t\t\t</li>
";
}
// line 130
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 130, $this->source); })()), "externalLinkSomenewsShow", [], "any", false, false, false, 130) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 130, $this->source); })()), "externalLinkSomenews", [], "any", false, false, false, 130))) {
// line 131
echo " <li class=\"sidebar-link menu-item\">
\t\t\t\t\t<a class=\"menu-link external\" href=\"";
// line 132
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 132, $this->source); })()), "externalLinkSomenews", [], "any", false, false, false, 132), "html", null, true);
echo "\" target=\"_blank\">Seminuevos</a>
\t\t\t\t</li>
";
}
// line 135
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 135, $this->source); })()), "externalLinkPartsShow", [], "any", false, false, false, 135) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 135, $this->source); })()), "externalLinkParts", [], "any", false, false, false, 135))) {
// line 136
echo " <li class=\"sidebar-link menu-item\">
\t\t\t\t\t<a class=\"menu-link external\" href=\"";
// line 137
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 137, $this->source); })()), "externalLinkParts", [], "any", false, false, false, 137), "html", null, true);
echo "\" target=\"_blank\">Tienda de repuestos</a>
\t\t\t\t</li>
";
}
// line 140
echo "\t\t\t</div>
\t\t</div>
\t\t<div class=\"b1Coockie\">
\t\t\t<div class=\"wancho flex aic\">
\t\t\t\t<div class=\"gParrafo\">
\t\t\t\t\t<p>Este sitio usa cookies. <a href=\"";
// line 145
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cookies");
echo "\" target=\"_blank\">Más información</a></p>
\t\t\t\t</div>
\t\t\t\t<div class=\"flex cookie__buttons\">
\t\t\t\t\t<a href=\"#\" class=\"general_button white\" id=\"noCookies\">Rechazar</a>
\t\t\t\t\t<a href=\"#\" class=\"general_button clickCookie\">Aceptar</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
";
// line 154
if ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 154, $this->source); })()), "whatsappShow", [], "any", false, false, false, 154) && twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 154, $this->source); })()), "whatsappNumber", [], "any", false, false, false, 154))) {
// line 155
echo " ";
$context["whatsapp_url"] = ("https://api.whatsapp.com/send?phone=" . $this->extensions['App\Twig\OnlyNumbersExtension']->replace(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 155, $this->source); })()), "whatsappNumber", [], "any", false, false, false, 155)));
// line 156
echo " ";
$context["whatsapp_url"] = ((isset($context["whatsapp_url"]) || array_key_exists("whatsapp_url", $context) ? $context["whatsapp_url"] : (function () { throw new RuntimeError('Variable "whatsapp_url" does not exist.', 156, $this->source); })()) . ((twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 156, $this->source); })()), "whatsappText", [], "any", false, false, false, 156)) ? (("&text=" . twig_urlencode_filter(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 156, $this->source); })()), "whatsappText", [], "any", false, false, false, 156)))) : ("")));
// line 157
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["whatsapp_url"]) || array_key_exists("whatsapp_url", $context) ? $context["whatsapp_url"] : (function () { throw new RuntimeError('Variable "whatsapp_url" does not exist.', 157, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\"
class=\"wsp__button icon-whatsapp1\">
</a>
";
}
// line 161
echo "
\t\t<script
\t\t\tsrc=\"";
// line 163
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 163, $this->source); })()), "html", null, true);
echo "/js/jquery-3.2.1.min.js\"
\t\t\ttype=\"text/javascript\"
\t\t></script>
\t\t<script src=\"";
// line 166
echo twig_escape_filter($this->env, (isset($context["STATIC_URL"]) || array_key_exists("STATIC_URL", $context) ? $context["STATIC_URL"] : (function () { throw new RuntimeError('Variable "STATIC_URL" does not exist.', 166, $this->source); })()), "html", null, true);
echo "/js/main.js\" type=\"text/javascript\"></script>
";
// line 168
$this->displayBlock('jsfinal', $context, $blocks);
// line 169
echo "
<script type=\"text/javascript\">
if (document.getElementsByClassName('clickCookie')[0]) {
let elCookie = document.getElementsByClassName('clickCookie')[0];
let elWrapCookie = document.getElementsByClassName('b1Coockie')[0];
\t\telCookie.addEventListener('click', function (e) {
\t\t\te.preventDefault();
\t\t\tthis.parentNode.parentNode.parentNode.classList.add('disabledWrap');
\t\t\tlocalStorage.setItem('#stateE2i', true);
\t\t});
if (localStorage.getItem('#stateE2i') === 'true') {
} else {
elWrapCookie.classList.add('active');
}
function deleteAllCookies() {
var cookies = document.cookie.split(\";\");
for (var i = 0; i < cookies.length; i++) {
var cookie = cookies[i];
var eqPos = cookie.indexOf(\"=\");
var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;
document.cookie = name + \"=;expires=Thu, 01 Jan 1970 00:00:00 GMT\";
}
}
if (localStorage.getItem('#stateE2i') === 'No') {
deleteAllCookies();
elWrapCookie.classList.remove('active');
}
\$('#noCookies').click(function(e){
e.preventDefault();
deleteAllCookies();
localStorage.setItem('#stateE2i', 'No');
elWrapCookie.classList.remove('active');
});
}
</script>
<script>
";
// line 213
echo "
";
// line 215
echo "
function storeUtms(\$data) {
\$.ajax({
url: '";
// line 218
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("store_utms");
echo "',
type: 'get',
dataType: 'json',
data: \$data,
success: function (data) {
updateUtm(data);
}
})
}
function updateUtm(data) {
if (data['utm_source']) {
\$('.form_utmsource').val(data['utm_source']);
}
if (data['utm_medium']) {
\$('.form_utmmedium').val(data['utm_medium']);
}
if (data['utm_source']) {
\$('.form_utmsource').val(data['utm_source']);
}
if (data['utm_campaign']) {
\$('.form_utmcampaign').val(data['utm_campaign']);
}
if (data['utm_term']) {
\$('.form_utmterm').val(data['utm_term']);
}
if (data['utm_content']) {
\$('.form_utmcontent').val(data['utm_content']);
}
if (data['utm_gclid']) {
\$('.form_gclid').val(data['utm_gclid']);
}
}
let utm_data = {};
";
// line 253
$context["utm_params"] = [0 => "utm_source", 1 => "utm_campaign", 2 => "utm_medium", 3 => "utm_term", 4 => "utm_content", 5 => "gclid"];
// line 254
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["utm_params"]) || array_key_exists("utm_params", $context) ? $context["utm_params"] : (function () { throw new RuntimeError('Variable "utm_params" does not exist.', 254, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["u"]) {
// line 255
echo " ";
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 255), "get", [0 => $context["u"]], "method", true, true, false, 255)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 255), "get", [0 => $context["u"]], "method", false, false, false, 255), "")) : (""))) {
// line 256
echo " utm_data['";
echo twig_escape_filter($this->env, $context["u"], "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["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 256, $this->source); })()), "request", [], "any", false, false, false, 256), "get", [0 => $context["u"]], "method", false, false, false, 256), "html", null, true);
echo "';
";
}
// line 258
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['u'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 259
echo " if (!\$.isEmptyObject(utm_data)) {
storeUtms(utm_data);
}
";
// line 263
$this->loadTemplate("front/templates/utms.html.twig", "front/_common/_base.html.twig", 263)->display($context);
// line 264
echo "</script>
";
// line 266
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 266, $this->source); })()), "scriptsFooter", [], "any", false, false, false, 266)) {
// line 267
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 267, $this->source); })()), "scriptsFooter", [], "any", false, false, false, 267);
echo "
";
}
// line 269
if (( !(null === (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 269, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 269, $this->source); })()), "scriptsFooter", [], "any", false, false, false, 269))) {
// line 270
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 270, $this->source); })()), "scriptsFooter", [], "any", false, false, false, 270);
echo "
";
}
// line 272
echo "
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 17
public function block_linkcanonical($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", "linkcanonical"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkcanonical"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 37
public function block_cssadicional($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", "cssadicional"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cssadicional"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 58
public function block_classbody($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", "classbody"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "classbody"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 70
public function block_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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 168
public function block_jsfinal($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", "jsfinal"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "jsfinal"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "front/_common/_base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 654 => 168, 636 => 70, 618 => 58, 600 => 37, 582 => 17, 569 => 272, 563 => 270, 561 => 269, 555 => 267, 553 => 266, 549 => 264, 547 => 263, 541 => 259, 535 => 258, 527 => 256, 524 => 255, 519 => 254, 517 => 253, 479 => 218, 474 => 215, 471 => 213, 426 => 169, 424 => 168, 419 => 166, 413 => 163, 409 => 161, 401 => 157, 398 => 156, 395 => 155, 393 => 154, 381 => 145, 374 => 140, 368 => 137, 365 => 136, 362 => 135, 356 => 132, 353 => 131, 350 => 130, 344 => 127, 341 => 126, 339 => 125, 334 => 123, 328 => 119, 325 => 118, 317 => 116, 314 => 115, 306 => 113, 303 => 112, 295 => 110, 292 => 109, 284 => 107, 281 => 106, 273 => 104, 270 => 103, 268 => 102, 260 => 99, 232 => 73, 230 => 72, 227 => 71, 225 => 70, 222 => 69, 220 => 68, 216 => 66, 210 => 64, 208 => 63, 202 => 61, 200 => 60, 195 => 58, 191 => 56, 185 => 54, 182 => 53, 176 => 51, 174 => 50, 171 => 49, 166 => 46, 162 => 45, 158 => 44, 150 => 41, 143 => 40, 140 => 38, 138 => 37, 135 => 36, 129 => 33, 125 => 32, 121 => 31, 117 => 30, 114 => 29, 112 => 28, 109 => 27, 103 => 25, 100 => 24, 94 => 22, 92 => 21, 89 => 20, 87 => 19, 84 => 18, 82 => 17, 79 => 16, 76 => 15, 73 => 14, 71 => 13, 69 => 12, 66 => 11, 64 => 10, 55 => 4, 52 => 3, 50 => 2, 48 => 1,);
}
public function getSourceContext()
{
return new Source("{% set STATIC_URL = asset('static/') %}
{% set BUILD_ID = '1' %}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>
{% set seo = null %}
{% if app.request.attributes.get('_route') != '' %}
{% set url_seo = path(app.request.attributes.get('_route'),
app.request.attributes.get('_route_params')) %}
{% set seo = url_seo|metatags %}
{% endif %}
{% block linkcanonical %}{% endblock %}
{% include 'front/_common/_metatags.html.twig' %}
{% if info.scriptsMeta %}
{{ info.scriptsMeta|raw }}
{% endif %}
{% if seo is not null and seo.scriptsMeta %}
{{ seo.scriptsMeta|raw }}
{% endif %}
{% if info.seoFavicon %}
<!-- inicio favicon iphone retina, ipad, iphone en orden-->
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset(info.seoFavicon|image_path) }}\"/>
<link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
<link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
<link rel=\"apple-touch-icon-precomposed\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
<!-- end favicon -->
{% endif %}
{% block cssadicional %}{% endblock %}
{# Start CSS Links #}
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{STATIC_URL}}/css/styles.css?v={{ BUILD_ID }}\"/>
\t<link rel=\"stylesheet\" type=\"text/css\" href=\"{{STATIC_URL}}/css/blocks_styl.css?v={{ BUILD_ID }}\"/>
<!--[if lt IE 9]>
<script src=\"{{STATIC_URL}}/js/html5.js\"></script>
<script src=\"{{STATIC_URL}}/js/respond.js\" type=\"text/javascript\"></script>
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{STATIC_URL}}/css/ie.css\" />
<![endif]-->
{# End CSS Links #}
{% if info.scriptsHeader %}
{{ info.scriptsHeader|raw }}
{% endif %}
{% if seo is not null and seo.scriptsHeader %}
{{ seo.scriptsHeader|raw }}
{% endif %}
</head>
<body class=\"{% block classbody %}{% endblock %}\">
{% if info.scriptsBody %}
{{ info.scriptsBody|raw }}
{% endif %}
{% if seo is not null and seo.scriptsBody %}
{{ seo.scriptsBody|raw }}
{% endif %}
<div class=\"cnt-wrapper\">
{% include 'front/_common/_header.html.twig' %}
<div class=\"wrapper\">
{% block content %}{% endblock %}
</div>
{% include 'front/_common/_footer.html.twig' %}
</div>
<div class=\"blockOverlay\"></div>
\t\t<!-- POPUP VIDEOS -->
\t\t<div class=\"gPopupVideo\">
\t\t\t<a href=\"#\" class=\"icon-close closePopup\"></a>
\t\t\t<iframe src=\"\" class=\"youtubePopup\" frameborder=\"0\"></iframe>
\t\t\t<video
\t\t\t\tsrc=\"\"
\t\t\t\tclass=\"mp4Popup\"
\t\t\t\tautoplay
\t\t\t\tloop
\t\t\t\tplaysinline
\t\t\t\tpreload=\"metadata\"
\t\t\t></video>
\t\t</div>
\t\t<!-- html solo para el menu responsive -->
\t\t<div class=\"menu-overlay\"></div>
\t\t<!-- html solo para el menu responsive -->
\t\t<!-- contenedor del menu responsive -->
\t\t<div class=\"responsive-tool\"></div>
\t\t<div class=\"menu-sidebar\" style=\"display: none\" data-menu=\"right-in\">
\t\t\t<div class=\"menu-sidebar-cnt\">
\t\t\t\t<img src=\"{{ asset(info.mnuHeaderImg|image_path) }}\" alt=\"{{ info.mnuHeaderImg|image_alt }}\" class=\"sidebar__img\"/>
<div class=\"sidebar__info\">
\t\t\t\t\t<ul class=\"sidebar__links\">
\t\t\t\t {% if info.socialShow and info.socialHeaderShow %}
{% if info.socialFbShow and info.socialFbUrl %}
\t\t\t\t <li><a href=\"{{ info.socialFbUrl }}\" target=\"_blank\"><img src=\"{{STATIC_URL}}img/facebook.png\" alt=\"facebook\" /></a></li>
\t\t\t\t {% endif %}
\t\t\t\t {% if info.socialLdShow and info.socialLdUrl %}
\t\t\t\t <li><a href=\"{{ info.socialLdUrl }}\" target=\"_blank\"><img src=\"{{STATIC_URL}}img/linkedin.png\" alt=\"linkedin\" /></a></li>
\t\t\t\t {% endif %}
\t\t\t\t {% if info.socialIgShow and info.socialIgUrl %}
\t\t\t\t <li><a href=\"{{ info.socialIgUrl }}\" target=\"_blank\"><img src=\"{{STATIC_URL}}img/instagram.png\" alt=\"instagram\" /></a></li>
\t\t\t\t {% endif %}
\t\t\t\t {% if info.socialYtShow and info.socialYtUrl %}
\t\t\t\t <li><a href=\"{{ info.socialYtUrl }}\" target=\"_blank\"><img src=\"{{STATIC_URL}}img/youtube.png\" alt=\"youtube\" /></a></li>
\t\t\t\t {% endif %}
\t\t\t\t {% if info.socialTtShow and info.socialTtUrl %}
\t\t\t\t <li><a href=\"{{ info.socialTtUrl }}\" target=\"_blank\"><img src=\"{{STATIC_URL}}img/tiktoklogo.png\" alt=\"tiktok\" /></a></li>
\t\t\t\t {% endif %}
{% endif %}
\t\t\t\t\t</ul>
\t\t\t\t</div>
\t\t\t\t<li class=\"sidebar-link menu-item\">
\t\t\t\t\t<a class=\"menu-link\" href=\"{{ path('about') }}\">Nosotros</a>
\t\t\t\t</li>
{% if info.blogShow and info.blogUrl %}
<li class=\"sidebar-link menu-item\">
\t\t\t\t\t<a class=\"menu-link\" href=\"{{ info.blogUrl }}\" target=\"_blank\">Blog</a>
\t\t\t\t</li>
{% endif %}
{% if info.externalLinkSomenewsShow and info.externalLinkSomenews %}
<li class=\"sidebar-link menu-item\">
\t\t\t\t\t<a class=\"menu-link external\" href=\"{{ info.externalLinkSomenews }}\" target=\"_blank\">Seminuevos</a>
\t\t\t\t</li>
{% endif %}
{% if info.externalLinkPartsShow and info.externalLinkParts %}
<li class=\"sidebar-link menu-item\">
\t\t\t\t\t<a class=\"menu-link external\" href=\"{{ info.externalLinkParts }}\" target=\"_blank\">Tienda de repuestos</a>
\t\t\t\t</li>
{% endif %}
\t\t\t</div>
\t\t</div>
\t\t<div class=\"b1Coockie\">
\t\t\t<div class=\"wancho flex aic\">
\t\t\t\t<div class=\"gParrafo\">
\t\t\t\t\t<p>Este sitio usa cookies. <a href=\"{{ path('cookies') }}\" target=\"_blank\">Más información</a></p>
\t\t\t\t</div>
\t\t\t\t<div class=\"flex cookie__buttons\">
\t\t\t\t\t<a href=\"#\" class=\"general_button white\" id=\"noCookies\">Rechazar</a>
\t\t\t\t\t<a href=\"#\" class=\"general_button clickCookie\">Aceptar</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
{% if info.whatsappShow and info.whatsappNumber %}
{% set whatsapp_url = 'https://api.whatsapp.com/send?phone=' ~ info.whatsappNumber|only_numbers %}
{% set whatsapp_url = whatsapp_url ~ (info.whatsappText ? '&text=' ~ info.whatsappText|url_encode : '' ) %}
<a href=\"{{ whatsapp_url }}\" target=\"_blank\"
class=\"wsp__button icon-whatsapp1\">
</a>
{% endif %}
\t\t<script
\t\t\tsrc=\"{{STATIC_URL}}/js/jquery-3.2.1.min.js\"
\t\t\ttype=\"text/javascript\"
\t\t></script>
\t\t<script src=\"{{STATIC_URL}}/js/main.js\" type=\"text/javascript\"></script>
{% block jsfinal %}{% endblock %}
<script type=\"text/javascript\">
if (document.getElementsByClassName('clickCookie')[0]) {
let elCookie = document.getElementsByClassName('clickCookie')[0];
let elWrapCookie = document.getElementsByClassName('b1Coockie')[0];
\t\telCookie.addEventListener('click', function (e) {
\t\t\te.preventDefault();
\t\t\tthis.parentNode.parentNode.parentNode.classList.add('disabledWrap');
\t\t\tlocalStorage.setItem('#stateE2i', true);
\t\t});
if (localStorage.getItem('#stateE2i') === 'true') {
} else {
elWrapCookie.classList.add('active');
}
function deleteAllCookies() {
var cookies = document.cookie.split(\";\");
for (var i = 0; i < cookies.length; i++) {
var cookie = cookies[i];
var eqPos = cookie.indexOf(\"=\");
var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;
document.cookie = name + \"=;expires=Thu, 01 Jan 1970 00:00:00 GMT\";
}
}
if (localStorage.getItem('#stateE2i') === 'No') {
deleteAllCookies();
elWrapCookie.classList.remove('active');
}
\$('#noCookies').click(function(e){
e.preventDefault();
deleteAllCookies();
localStorage.setItem('#stateE2i', 'No');
elWrapCookie.classList.remove('active');
});
}
</script>
<script>
{# Start Custom JS Links #}
{# End Custom JS Links #}
function storeUtms(\$data) {
\$.ajax({
url: '{{ path('store_utms') }}',
type: 'get',
dataType: 'json',
data: \$data,
success: function (data) {
updateUtm(data);
}
})
}
function updateUtm(data) {
if (data['utm_source']) {
\$('.form_utmsource').val(data['utm_source']);
}
if (data['utm_medium']) {
\$('.form_utmmedium').val(data['utm_medium']);
}
if (data['utm_source']) {
\$('.form_utmsource').val(data['utm_source']);
}
if (data['utm_campaign']) {
\$('.form_utmcampaign').val(data['utm_campaign']);
}
if (data['utm_term']) {
\$('.form_utmterm').val(data['utm_term']);
}
if (data['utm_content']) {
\$('.form_utmcontent').val(data['utm_content']);
}
if (data['utm_gclid']) {
\$('.form_gclid').val(data['utm_gclid']);
}
}
let utm_data = {};
{% set utm_params = ['utm_source', 'utm_campaign', 'utm_medium', 'utm_term', 'utm_content', 'gclid'] %}
{% for u in utm_params %}
{% if app.request.get(u)|default('') %}
utm_data['{{ u }}'] = '{{ app.request.get(u) }}';
{% endif %}
{% endfor %}
if (!\$.isEmptyObject(utm_data)) {
storeUtms(utm_data);
}
{% include 'front/templates/utms.html.twig' %}
</script>
{% if info.scriptsFooter %}
{{ info.scriptsFooter|raw }}
{% endif %}
{% if seo is not null and seo.scriptsFooter %}
{{ seo.scriptsFooter|raw }}
{% endif %}
</body>
</html>
", "front/_common/_base.html.twig", "/mnt/volume_nyc1_01/webapps/faw_new/templates/front/_common/_base.html.twig");
}
}