var/cache/dev/twig/1e/1e434cf86b493f97957b8332713988e7.php line 57
<?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;/* default/index.html.twig */class __TwigTemplate_78e9724f005863859b13f846616de735 extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['title' => [$this, 'block_title'],'metadescription' => [$this, 'block_metadescription'],'metakeywords' => [$this, 'block_metakeywords'],'metarobots' => [$this, 'block_metarobots'],'canonical' => [$this, 'block_canonical'],'bodyId' => [$this, 'block_bodyId'],'modalDniCaducado' => [$this, 'block_modalDniCaducado'],'body' => [$this, 'block_body'],'empresas' => [$this, 'block_empresas'],'funciones_eventos' => [$this, 'block_funciones_eventos'],];}protected function doGetParent(array $context){// line 2return "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", "default/index.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/index.html.twig"));$this->parent = $this->loadTemplate("base.html.twig", "default/index.html.twig", 2);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 4public 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, twig_replace_filter(((twig_get_attribute($this->env, $this->source, ($context["contenido"] ?? null), "metaTitle", [], "any", true, true, false, 4)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["contenido"] ?? null), "metaTitle", [], "any", false, false, false, 4), twig_get_attribute($this->env, $this->source, (isset($context["contenido"]) || array_key_exists("contenido", $context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.', 4, $this->source); })()), "titulo", [], "any", false, false, false, 4))) : (twig_get_attribute($this->env, $this->source, (isset($context["contenido"]) || array_key_exists("contenido", $context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.', 4, $this->source); })()), "titulo", [], "any", false, false, false, 4))), ["| Eurochange.es" => ""]), "html", null, true);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 5public function block_metadescription($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", "metadescription"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["contenido"] ?? null), "metaDescription", [], "any", true, true, false, 5)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["contenido"] ?? null), "metaDescription", [], "any", false, false, false, 5), twig_get_attribute($this->env, $this->source, (isset($context["contenido"]) || array_key_exists("contenido", $context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.', 5, $this->source); })()), "intro", [], "any", false, false, false, 5))) : (twig_get_attribute($this->env, $this->source, (isset($context["contenido"]) || array_key_exists("contenido", $context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.', 5, $this->source); })()), "intro", [], "any", false, false, false, 5))), "html", null, true);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 6public function block_metakeywords($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", "metakeywords"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metakeywords"));echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["contenido"]) || array_key_exists("contenido", $context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.', 6, $this->source); })()), "metaKeywords", [], "any", false, false, false, 6), "html", null, true);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 7public function block_metarobots($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", "metarobots"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metarobots"));echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["contenido"] ?? null), "metaRobots", [], "any", true, true, false, 7)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["contenido"] ?? null), "metaRobots", [], "any", false, false, false, 7), $this->renderParentBlock("metarobots", $context, $blocks))) : ($this->renderParentBlock("metarobots", $context, $blocks))), "html", null, true);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 8public function block_canonical($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", "canonical"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));if (twig_get_attribute($this->env, $this->source, (isset($context["contenido"]) || array_key_exists("contenido", $context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.', 8, $this->source); })()), "canonical", [], "any", false, false, false, 8)) {echo "<link rel=\"canonical\" href=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["contenido"]) || array_key_exists("contenido", $context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.', 8, $this->source); })()), "canonical", [], "any", false, false, false, 8), "html", null, true);echo "\" />";}$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 10public function block_bodyId($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", "bodyId"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyId"));echo "home";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 12public function block_modalDniCaducado($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", "modalDniCaducado"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modalDniCaducado"));// line 13echo " <div id=\"modalDniCaducado\" class=\"modal\" ";if (((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.', 13, $this->source); })()), "user", [], "any", false, false, false, 13) && (isset($context["caducado"]) || array_key_exists("caducado", $context) ? $context["caducado"] : (function () { throw new RuntimeError('Variable "caducado" does not exist.', 13, $this->source); })())) && ((isset($context["bodyId"]) || array_key_exists("bodyId", $context) ? $context["bodyId"] : (function () { throw new RuntimeError('Variable "bodyId" does not exist.', 13, $this->source); })()) != "perfil"))) {echo "style=\"display: block;\"";}echo "><div class=\"modal-dialog\"><div class=\"modal-content\"><div class=\"modal-header\"><h5 class=\"modal-title\">Documento de identidad caducado</h5><button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\">X</button></div><div class=\"modal-body\"><p>Tiene el documento de identidad caducado. Debe actualizarlo para poder realizar compras en la web.</p></div><div class=\"modal-footer\"><a href=\"";// line 24echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_profile");echo "\" class=\"btn btn-primary\">Actualizar</a></div></div></div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 31public 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 32echo " <div class=\"title container\"><h1>";// line 33echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cambio de divisas online sin comisiones"), "html", null, true);echo "</h1></div><div class=\"top-main container\"><div class=\"row\"><div class=\"col-12 col-xl-8 order-xl-1 order-5 carousel-images\">";// line 40echo $this->extensions['App\Twig\ShortcodesExtension']->doShortcode("banner", ["nombre" => "home", "auto" => "true", "pause" => "10000", "speed" => "1000"]);echo "</div><div id=\"cambio\" class=\"col-12 col-xl-4 order-xl-5 order-1 cambio\"><ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\"><li class=\"nav-item\" role=\"presentation\"><button class=\"nav-link active\" id=\"home-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#cotizaciones-main\" type=\"button\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">";// line 47echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cotizaciones"), "html", null, true);echo "</button></li><li class=\"nav-item\" role=\"presentation\"><button class=\"nav-link\" id=\"comprar-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#calcular_cambio\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">";// line 50echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comprar_online"), "html", null, true);echo "</button></li><li class=\"nav-item\" id=\"calc\" role=\"presentation\"><button class=\"nav-link\" id=\"calcular-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#calcular_cambio\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\"><i class=\"fa-solid fa-calculator\"></i></button></li></ul><div class=\"tab-content\" id=\"myTabContent\"><div class=\"tab-pane fade show active\" id=\"cotizaciones-main\" role=\"tabpanel\" aria-labelledby=\"home-tab\">";// line 60echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::oficinaAction", ["select_id" => "select_ofi3"]));echo "";// line 62echo "<p class=\"precios\">";// line 63echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Precios"), "html", null, true);echo "</p><div class=\"cont-table\"><table id=\"tabla-cot\"><tr><th>";// line 67echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Divisa"), "html", null, true);echo "</th><th>";// line 68echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Compramos"), "html", null, true);echo "</th><th>";// line 69echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Vendemos"), "html", null, true);echo "</th></tr>";// line 71$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((isset($context["cotizaciones"]) || array_key_exists("cotizaciones", $context) ? $context["cotizaciones"] : (function () { throw new RuntimeError('Variable "cotizaciones" does not exist.', 71, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["cotizacion"]) {// line 72echo " <tr data-oficina=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "oficina", [], "any", false, false, false, 72), "html", null, true);echo "\"><td><a href=\"";// line 74echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("divisas", ["nombre" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "shortName", [], "any", false, false, false, 74), "slug", [0 => 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.', 74, $this->source); })()), "request", [], "any", false, false, false, 74), "locale", [], "any", false, false, false, 74)], "method", false, false, false, 74)]), "html", null, true);echo "\" title=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "shortName", [], "any", false, false, false, 74), "nombre", [], "any", false, false, false, 74), "html", null, true);echo "\"><span class=\"banderas\">";// line 75if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "shortName", [], "any", false, false, false, 75), "imagen", [], "any", false, false, false, 75)) {// line 76echo " ";echo $this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->thumbnail(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "shortName", [], "any", false, false, false, 76), "imagen", [], "any", false, false, false, 76), "flag", ["title" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "shortName", [], "any", false, false, false, 76), "nombre", [], "any", false, false, false, 76)]);echo "";}// line 78echo " </span>";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "shortName", [], "any", false, false, false, 78), "html", null, true);echo "</a></td><td>";// line 81if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "oficina", [], "any", false, false, false, 81), "id", [], "any", false, false, false, 81) == 66)) {// line 82echo " -";} elseif (twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 83$context["cotizacion"], "oficina", [], "any", false, false, false, 83), "franjas", [], "any", false, false, false, 83))) {// line 84echo " -";} else {// line 86echo " ";echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "precioCompra", [], "any", false, false, false, 86), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "shortName", [], "any", false, false, false, 86), "numDecimales", [], "any", false, false, false, 86)), "html", null, true);echo "";}// line 88echo " </td><td>";// line 90if (twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "oficina", [], "any", false, false, false, 90), "franjas", [], "any", false, false, false, 90))) {// line 91echo " -";} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 92$context["cotizacion"], "oficina", [], "any", false, false, false, 92), "permiteCompra", [], "any", false, false, false, 92) == 1)) {// line 93echo " ";echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "precioVenta", [], "any", false, false, false, 93), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["cotizacion"], "shortName", [], "any", false, false, false, 93), "numDecimales", [], "any", false, false, false, 93)), "html", null, true);echo "";} else {// line 95echo " -";}// line 97echo " </td></tr>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cotizacion'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 100echo " </table></div>";// line 102if (((isset($context["of"]) || array_key_exists("of", $context) ? $context["of"] : (function () { throw new RuntimeError('Variable "of" does not exist.', 102, $this->source); })()) != "")) {echo "<p class=\"info-select\">";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Precios para"), "html", null, true);echo " ";echo twig_escape_filter($this->env, (isset($context["diaMax"]) || array_key_exists("diaMax", $context) ? $context["diaMax"] : (function () { throw new RuntimeError('Variable "diaMax" does not exist.', 102, $this->source); })()), "html", null, true);echo "</p>";}// line 103echo " </div><div class=\"tab-pane fade\" id=\"calcular_cambio\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">";// line 107echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::oficinaAction", ["select_id" => "select_ofi2"]));echo "";// line 110echo "</div></div></div></div></div><div class=\"container\" style=\"margin-top:200px;\">";// line 119echo $this->extensions['App\Twig\ShortcodesExtension']->doShortcode("banner", ["nombre" => "home2", "auto" => "true", "pause" => "10000", "speed" => "1000"]);echo "</div><div id=\"garantia\" class=\"container\"><h2>";// line 123echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Garantía Eurochange"), "html", null, true);echo "</h2><div id=\"car-garantia\" class=\"owl-carousel owl-theme cuadrados\"><div class=\"item\"><div class=\"cuadrado\"><img src=\"/img/icono1.svg\"/><span>";// line 130echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Con Eurochange obtendrás la mejor tarifa de tus reservas en cambio de moneda online en el mercado porque no te cobramos comisiones."), "html", null, true);echo "</span></div></div><div class=\"item\"><div class=\"cuadrado\"><img src=\"/img/icono2.svg\"/><span>";// line 136echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Contamos con 42 oficinas de cambio de divisas repartidas por la costa mediterránea y principales capitales."), "html", null, true);echo "</span></div></div><div class=\"item\"><div class=\"cuadrado\"><img src=\"/img/icono3.svg\"/><span>";// line 142echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Haz tu reserva online y asegúrate tener efectivo en la divisa que necesites en un plazo máximo de 24 ó 48 horas."), "html", null, true);echo "</span></div></div></div></div>";// line 150$this->displayBlock('empresas', $context, $blocks);// line 153echo "<div id=\"servicios\" class=\"container\"><h2>";// line 155echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nuestros servicios"), "html", null, true);echo "</h2><div id=\"car-servicios\" class=\"owl-carousel owl-theme\">";// line 157$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((isset($context["servicios"]) || array_key_exists("servicios", $context) ? $context["servicios"] : (function () { throw new RuntimeError('Variable "servicios" does not exist.', 157, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["servicio"]) {// line 158echo " <a class=\"item\" href=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["servicio"], "url", [], "any", false, false, false, 158), "html", null, true);echo "\"><div class=\"head\"><div>";// line 161if (twig_get_attribute($this->env, $this->source, $context["servicio"], "imagen", [], "any", false, false, false, 161)) {// line 162echo " ";echo $this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->thumbnail(twig_get_attribute($this->env, $this->source, $context["servicio"], "imagen", [], "any", false, false, false, 162), "servicio");echo "";}// line 164echo " </div></div><div class=\"bod\"><p class=\"tit col-8\">";// line 167echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["servicio"], "titulo", [], "any", false, false, false, 167), "html", null, true);echo "</p><p class=\"text\">";// line 168echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["servicio"], "intro", [], "any", false, false, false, 168), "html", null, true);echo "</p><p class=\"enl\" href=\"";// line 169echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["servicio"], "url", [], "any", false, false, false, 169), "html", null, true);echo "\">Más info</p></div></a>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['servicio'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 173echo " </div></div><div id=\"destacamos\"><div class=\"container\"><div class=\"row\"><div class=\"izquierda col-12 col-lg-6\"><h2>";// line 180echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Destacamos"), "html", null, true);echo "</h2><p class=\"d-none d-sm-block\">";// line 181echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En nuestro blog podrás aprender algo más sobre las monedas de los países que visitas, estar al tanto de todo lo que sucede en Eurochange (nuevas promociones, aperturas, nuevos servicios) y recibir consejos de viaje para los destinos más demandados."), "html", null, true);echo "</p><p class=\"d-block d-sm-none\">";// line 182echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En nuestro blog estarás al tanto de todo lo que sucede en Eurochange."), "html", null, true);echo "</p><a class=\"boton-azul d-none d-sm-block\" href=\"/blog\">";// line 183echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ver todas las publicaciones"), "html", null, true);echo "</a></div><div class=\"derecha col-12 col-lg-6\">";// line 186echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\WordpressController::postsHomeAction", []));echo "</div></div></div></div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 150public function block_empresas($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", "empresas"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "empresas"));// line 151echo " ";echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::empresas"));echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 196public function block_funciones_eventos($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", "funciones_eventos"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "funciones_eventos"));// line 197echo " ";$this->displayParentBlock("funciones_eventos", $context, $blocks);echo "<script>\$(document).ready(function() {var contenido = \$('#contenedorInv #contenedorMover').clone();if (\$('#calcular_cambio .parte-repetida').length === 0) {\$('#calcular_cambio').append(contenido);\$('#contenedorInv #contenedorMover').remove();}});</script>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "default/index.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 595 => 197, 585 => 196, 572 => 151, 562 => 150, 544 => 186, 538 => 183, 534 => 182, 530 => 181, 526 => 180, 517 => 173, 507 => 169, 503 => 168, 499 => 167, 494 => 164, 488 => 162, 486 => 161, 479 => 158, 475 => 157, 470 => 155, 466 => 153, 464 => 150, 453 => 142, 444 => 136, 435 => 130, 425 => 123, 418 => 119, 407 => 110, 402 => 107, 396 => 103, 388 => 102, 384 => 100, 376 => 97, 372 => 95, 366 => 93, 364 => 92, 361 => 91, 359 => 90, 355 => 88, 349 => 86, 345 => 84, 343 => 83, 340 => 82, 338 => 81, 331 => 78, 325 => 76, 323 => 75, 317 => 74, 311 => 72, 307 => 71, 302 => 69, 298 => 68, 294 => 67, 287 => 63, 284 => 62, 280 => 60, 267 => 50, 261 => 47, 251 => 40, 241 => 33, 238 => 32, 228 => 31, 212 => 24, 195 => 13, 185 => 12, 166 => 10, 143 => 8, 124 => 7, 105 => 6, 86 => 5, 67 => 4, 44 => 2,);}public function getSourceContext(){return new Source("{# {% extends 'default/contenido.html.twig' %} #}{% extends 'base.html.twig' %}{% block title %}{{ contenido.metaTitle|default(contenido.titulo)| replace({'| Eurochange.es':''}) }}{% endblock %}{% block metadescription %}{{ contenido.metaDescription|default(contenido.intro) }}{% endblock %}{% block metakeywords %}{{ contenido.metaKeywords }}{% endblock %}{% block metarobots %}{{ contenido.metaRobots|default(parent()) }}{% endblock %}{% block canonical %}{% if contenido.canonical %}<link rel=\"canonical\" href=\"{{contenido.canonical}}\" />{% endif %}{% endblock %}{% block bodyId %}home{% endblock %}{% block modalDniCaducado %}<div id=\"modalDniCaducado\" class=\"modal\" {% if app.user and caducado and bodyId != 'perfil' %}style=\"display: block;\"{% endif %}><div class=\"modal-dialog\"><div class=\"modal-content\"><div class=\"modal-header\"><h5 class=\"modal-title\">Documento de identidad caducado</h5><button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\">X</button></div><div class=\"modal-body\"><p>Tiene el documento de identidad caducado. Debe actualizarlo para poder realizar compras en la web.</p></div><div class=\"modal-footer\"><a href=\"{{ path('app_profile') }}\" class=\"btn btn-primary\">Actualizar</a></div></div></div></div>{% endblock %}{% block body %}<div class=\"title container\"><h1>{{ 'Cambio de divisas online sin comisiones' | trans}}</h1></div><div class=\"top-main container\"><div class=\"row\"><div class=\"col-12 col-xl-8 order-xl-1 order-5 carousel-images\">{{ doShortcode(\"banner\", {nombre:\"home\", auto:\"true\", pause: \"10000\", speed:\"1000\" }) | raw }}</div><div id=\"cambio\" class=\"col-12 col-xl-4 order-xl-5 order-1 cambio\"><ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\"><li class=\"nav-item\" role=\"presentation\"><button class=\"nav-link active\" id=\"home-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#cotizaciones-main\" type=\"button\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">{{ 'Cotizaciones' | trans}}</button></li><li class=\"nav-item\" role=\"presentation\"><button class=\"nav-link\" id=\"comprar-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#calcular_cambio\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">{{ 'Comprar_online' | trans}}</button></li><li class=\"nav-item\" id=\"calc\" role=\"presentation\"><button class=\"nav-link\" id=\"calcular-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#calcular_cambio\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\"><i class=\"fa-solid fa-calculator\"></i></button></li></ul><div class=\"tab-content\" id=\"myTabContent\"><div class=\"tab-pane fade show active\" id=\"cotizaciones-main\" role=\"tabpanel\" aria-labelledby=\"home-tab\">{{ render(controller('App\\\\Controller\\\\DefaultController::oficinaAction', { select_id: 'select_ofi3' } )) }}{#<p class=\"info-select info-text\">{{ '* La tienda online solo permite la compra de divisas extranjeras (no Euros)' | trans}}</p>#}<p class=\"precios\">{{ 'Precios' | trans}}</p><div class=\"cont-table\"><table id=\"tabla-cot\"><tr><th>{{ 'Divisa' | trans}}</th><th>{{ 'Compramos' | trans}}</th><th>{{ 'Vendemos' | trans}}</th></tr>{% for cotizacion in cotizaciones %}<tr data-oficina=\"{{ cotizacion.oficina }}\"><td><a href=\"{{ path('divisas', {'nombre': cotizacion.shortName.slug(app.request.locale)}) }}\" title=\"{{ cotizacion.shortName.nombre }}\"><span class=\"banderas\">{% if cotizacion.shortName.imagen %}{{ sonata_thumbnail(cotizacion.shortName.imagen, 'flag', {'title': cotizacion.shortName.nombre}) }}{% endif %}</span>{{ cotizacion.shortName }}</a></td><td>{% if cotizacion.oficina.id == 66 %}-{% elseif cotizacion.oficina.franjas is empty %}-{% else %}{{ cotizacion.precioCompra|number_format(cotizacion.shortName.numDecimales) }}{% endif %}</td><td>{% if cotizacion.oficina.franjas is empty %}-{% elseif cotizacion.oficina.permiteCompra == 1 %}{{ cotizacion.precioVenta|number_format(cotizacion.shortName.numDecimales) }}{% else %}-{% endif %}</td></tr>{% endfor %}</table></div>{% if of != \"\" %}<p class=\"info-select\">{{ 'Precios para' | trans}} {{ diaMax }}</p>{% endif %}</div><div class=\"tab-pane fade\" id=\"calcular_cambio\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">{{ render(controller('App\\\\Controller\\\\DefaultController::oficinaAction', { select_id: 'select_ofi2' } )) }}{#<p class=\"info-select info-text\">{{ '* La tienda online solo permite la compra de divisas extranjeras (no Euros)' | trans}}</p>#}</div></div></div></div></div><div class=\"container\" style=\"margin-top:200px;\">{{ doShortcode(\"banner\", {nombre:\"home2\", auto:\"true\", pause: \"10000\", speed:\"1000\" }) | raw }}</div><div id=\"garantia\" class=\"container\"><h2>{{ 'Garantía Eurochange' | trans}}</h2><div id=\"car-garantia\" class=\"owl-carousel owl-theme cuadrados\"><div class=\"item\"><div class=\"cuadrado\"><img src=\"/img/icono1.svg\"/><span>{{ 'Con Eurochange obtendrás la mejor tarifa de tus reservas en cambio de moneda online en el mercado porque no te cobramos comisiones.' | trans}}</span></div></div><div class=\"item\"><div class=\"cuadrado\"><img src=\"/img/icono2.svg\"/><span>{{ 'Contamos con 42 oficinas de cambio de divisas repartidas por la costa mediterránea y principales capitales.' | trans}}</span></div></div><div class=\"item\"><div class=\"cuadrado\"><img src=\"/img/icono3.svg\"/><span>{{ 'Haz tu reserva online y asegúrate tener efectivo en la divisa que necesites en un plazo máximo de 24 ó 48 horas.' | trans}}</span></div></div></div></div>{% block empresas %}{{ render(controller('App\\\\Controller\\\\DefaultController::empresas' )) }}{% endblock %}<div id=\"servicios\" class=\"container\"><h2>{{ 'Nuestros servicios' | trans}}</h2><div id=\"car-servicios\" class=\"owl-carousel owl-theme\">{% for servicio in servicios %}<a class=\"item\" href=\"{{ servicio.url }}\"><div class=\"head\"><div>{% if servicio.imagen %}{{ sonata_thumbnail(servicio.imagen, 'servicio') }}{% endif %}</div></div><div class=\"bod\"><p class=\"tit col-8\">{{ servicio.titulo }}</p><p class=\"text\">{{ servicio.intro }}</p><p class=\"enl\" href=\"{{ servicio.url }}\">Más info</p></div></a>{% endfor %}</div></div><div id=\"destacamos\"><div class=\"container\"><div class=\"row\"><div class=\"izquierda col-12 col-lg-6\"><h2>{{ 'Destacamos' | trans}}</h2><p class=\"d-none d-sm-block\">{{ 'En nuestro blog podrás aprender algo más sobre las monedas de los países que visitas, estar al tanto de todo lo que sucede en Eurochange (nuevas promociones, aperturas, nuevos servicios) y recibir consejos de viaje para los destinos más demandados.' | trans}}</p><p class=\"d-block d-sm-none\">{{ 'En nuestro blog estarás al tanto de todo lo que sucede en Eurochange.' | trans}}</p><a class=\"boton-azul d-none d-sm-block\" href=\"/blog\">{{ 'Ver todas las publicaciones' | trans}}</a></div><div class=\"derecha col-12 col-lg-6\">{{ render(controller('App\\\\Controller\\\\WordpressController::postsHomeAction', {} )) }}</div></div></div></div></div>{% endblock %}{% block funciones_eventos %}{{ parent() }}<script>\$(document).ready(function() {var contenido = \$('#contenedorInv #contenedorMover').clone();if (\$('#calcular_cambio .parte-repetida').length === 0) {\$('#calcular_cambio').append(contenido);\$('#contenedorInv #contenedorMover').remove();}});</script>{% endblock %}", "default/index.html.twig", "/home/alien/www/eurochange/templates/default/index.html.twig");}}