<?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;
/* items/index.html.twig */
class __TwigTemplate_ea3366528d2f7eed49bf716ca54d3dd5fb57c3e5924e9b857c9d40464bc58a97 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'aside' => [$this, 'block_aside'],
'principal' => [$this, 'block_principal'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "items/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "items/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "items/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Items!";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo "
";
// line 8
$this->displayBlock('header', $context, $blocks);
// line 12
echo "
";
// line 14
$this->displayBlock('content', $context, $blocks);
// line 99
echo "
";
// line 101
$this->displayBlock('javascripts', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 8
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 9
echo " ";
$context["menu"] = "foo";
// line 10
echo " ";
$this->displayParentBlock("header", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 14
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 15
echo " <div id=\"main\" role=\"main\" class=\"container-fluid\">
<!-- contained-->
<div class=\"contained\">
";
// line 18
$this->displayBlock('aside', $context, $blocks);
// line 21
echo " ";
$this->displayBlock('principal', $context, $blocks);
// line 96
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_aside($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "aside"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "aside"));
// line 19
echo " ";
$this->loadTemplate("aside.html.twig", "items/index.html.twig", 19)->display($context);
// line 20
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 21
public function block_principal($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "principal"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "principal"));
// line 22
echo " <div id=\"page-content\">
<div class=\"container-fluid clearfix\">
<div id=\"contenedor\"> <!-- contenedor flex -->
";
// line 25
if ((isset($context["items"]) || array_key_exists("items", $context))) {
// line 26
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 26, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 27
echo " <div class=\"item\">
<div class=\"contenido\">
<div>
<img src=\"";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/iconos/Sombra Wishlist.png"), "html", null, true);
echo "\">
</div>
<div>
<img src=\"";
// line 33
echo twig_escape_filter($this->env, (isset($context["rutaimg"]) || array_key_exists("rutaimg", $context) ? $context["rutaimg"] : (function () { throw new RuntimeError('Variable "rutaimg" does not exist.', 33, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "filename", [], "any", false, false, false, 33), "html", null, true);
echo ".png\" alt=\"\" style=\"max-width: 128px\"/>
</div>
</div>
<div class=\"details\">
<span><input type=\"checkbox\" name=\"";
// line 37
echo twig_escape_filter($this->env, (isset($context["typeName"]) || array_key_exists("typeName", $context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.', 37, $this->source); })()), "html", null, true);
echo "[";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 37), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "internalid", [], "any", false, false, false, 37), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->extensions['App\Twig\TwigExtension']->translateItem(twig_get_attribute($this->env, $this->source, $context["item"], "internalid", [], "any", false, false, false, 37), (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 37, $this->source); })()))), "html", null, true);
echo "</span><br>
";
// line 38
if (twig_get_attribute($this->env, $this->source, $context["item"], "buy", [], "any", true, true, false, 38)) {
echo "<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/iconos/baya.png"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "buy", [], "any", false, false, false, 38), "html", null, true);
echo " ";
}
// line 39
echo " </div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
echo " ";
}
// line 43
echo " <div class=\"clearfix\"></div>
</div>
";
// line 47
if ((isset($context["maxPages"]) || array_key_exists("maxPages", $context))) {
// line 48
echo " <div class=\"paginate\">
";
// line 49
if (1 === twig_compare((isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 49, $this->source); })()), 1)) {
// line 50
echo "
";
// line 51
if (1 === twig_compare((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 51, $this->source); })()), 1)) {
// line 52
echo "
";
// line 53
if ((isset($context["category"]) || array_key_exists("category", $context))) {
// line 54
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type_category", ["type" => (isset($context["typeName"]) || array_key_exists("typeName", $context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.', 54, $this->source); })()), "currentPage" => ((-1 === twig_compare(((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 54, $this->source); })()) - 1), 1)) ? (1) : (((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 54, $this->source); })()) - 1))), "category" => (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 54, $this->source); })())]), "html", null, true);
echo "\"><i class=\"fas fa-angle-left\"></i></a>
";
} else {
// line 57
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type", ["type" => (isset($context["typeName"]) || array_key_exists("typeName", $context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.', 57, $this->source); })()), "currentPage" => ((-1 === twig_compare(((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 57, $this->source); })()) - 1), 1)) ? (1) : (((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 57, $this->source); })()) - 1)))]), "html", null, true);
echo "\"><i class=\"fas fa-angle-left\"></i></a>
";
}
// line 59
echo " ";
}
// line 60
echo "
";
// line 62
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 62, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 63
echo "
";
// line 64
if (0 === twig_compare($context["i"], (isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 64, $this->source); })()))) {
// line 65
echo " <a class=\"currentpage\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
";
} else {
// line 67
echo " ";
if ((((1 === twig_compare((isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 67, $this->source); })()), 10) && -1 === twig_compare($context["i"], ((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 67, $this->source); })()) + 6))) && 1 === twig_compare($context["i"], ((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 67, $this->source); })()) - 6))) || (-1 === twig_compare($context["i"], 9) && -1 === twig_compare((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 67, $this->source); })()), 9)))) {
// line 68
echo " ";
if ((isset($context["category"]) || array_key_exists("category", $context))) {
// line 69
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type_category", ["type" => (isset($context["typeName"]) || array_key_exists("typeName", $context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.', 69, $this->source); })()), "currentPage" => $context["i"], "category" => (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 69, $this->source); })())]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
";
} else {
// line 71
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type", ["type" => (isset($context["typeName"]) || array_key_exists("typeName", $context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.', 71, $this->source); })()), "currentPage" => $context["i"]]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
";
}
// line 73
echo " ";
} else {
// line 74
echo "
";
}
// line 76
echo " ";
}
// line 77
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 79
echo "
";
// line 81
echo " ";
if (-1 === twig_compare((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 81, $this->source); })()), (isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 81, $this->source); })()))) {
// line 82
echo "
";
// line 83
if ((isset($context["category"]) || array_key_exists("category", $context))) {
// line 84
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type_category", ["type" => (isset($context["typeName"]) || array_key_exists("typeName", $context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.', 84, $this->source); })()), "currentPage" => ((0 >= twig_compare(((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 84, $this->source); })()) + 1), (isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 84, $this->source); })()))) ? (((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 84, $this->source); })()) + 1)) : ((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 84, $this->source); })()))), "category" => (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 84, $this->source); })())]), "html", null, true);
echo "\"><i class=\"fas fa-angle-right\"></i></a>
";
} else {
// line 86
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items_type", ["type" => (isset($context["typeName"]) || array_key_exists("typeName", $context) ? $context["typeName"] : (function () { throw new RuntimeError('Variable "typeName" does not exist.', 86, $this->source); })()), "currentPage" => ((0 >= twig_compare(((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 86, $this->source); })()) + 1), (isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 86, $this->source); })()))) ? (((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 86, $this->source); })()) + 1)) : ((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 86, $this->source); })())))]), "html", null, true);
echo "\"><i class=\"fas fa-angle-right\"></i></a>
";
}
// line 88
echo " ";
}
// line 89
echo "
";
}
// line 91
echo " ";
}
// line 92
echo " </div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 101
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 102
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "items/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 423 => 102, 413 => 101, 400 => 92, 397 => 91, 393 => 89, 390 => 88, 384 => 86, 378 => 84, 376 => 83, 373 => 82, 370 => 81, 367 => 79, 360 => 77, 357 => 76, 353 => 74, 350 => 73, 342 => 71, 334 => 69, 331 => 68, 328 => 67, 322 => 65, 320 => 64, 317 => 63, 312 => 62, 309 => 60, 306 => 59, 300 => 57, 293 => 54, 291 => 53, 288 => 52, 286 => 51, 283 => 50, 281 => 49, 278 => 48, 276 => 47, 270 => 43, 267 => 42, 259 => 39, 251 => 38, 241 => 37, 233 => 33, 227 => 30, 222 => 27, 217 => 26, 215 => 25, 210 => 22, 200 => 21, 190 => 20, 187 => 19, 177 => 18, 165 => 96, 162 => 21, 160 => 18, 155 => 15, 145 => 14, 132 => 10, 129 => 9, 119 => 8, 109 => 101, 105 => 99, 103 => 14, 99 => 12, 97 => 8, 93 => 6, 83 => 5, 64 => 3, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Items!{% endblock %}
{% block body %}
{% block header %}
{% set menu = 'foo' %}
{{ parent() }}
{% endblock %}
{% block content %}
<div id=\"main\" role=\"main\" class=\"container-fluid\">
<!-- contained-->
<div class=\"contained\">
{% block aside %}
{% include 'aside.html.twig' %}
{% endblock %}
{% block principal %}
<div id=\"page-content\">
<div class=\"container-fluid clearfix\">
<div id=\"contenedor\"> <!-- contenedor flex -->
{% if items is defined %}
{% for item in items %}
<div class=\"item\">
<div class=\"contenido\">
<div>
<img src=\"{{ asset('build/iconos/Sombra Wishlist.png') }}\">
</div>
<div>
<img src=\"{{ rutaimg }}{{ item.filename }}.png\" alt=\"\" style=\"max-width: 128px\"/>
</div>
</div>
<div class=\"details\">
<span><input type=\"checkbox\" name=\"{{ typeName }}[{{ item.id }}]\" value=\"{{ item.internalid }}\">{{ translateItem(item.internalid, type)|title }}</span><br>
{% if item.buy is defined %}<img src=\"{{ asset('build/iconos/baya.png') }}\">{{ item.buy }} {% endif %}
</div>
</div>
{% endfor %}
{% endif %}
<div class=\"clearfix\"></div>
</div>
{% if maxPages is defined %}
<div class=\"paginate\">
{% if maxPages > 1 %}
{%if thisPage > 1 %}
{% if category is defined %}
<a href=\"{{ path('items_type_category', {type: typeName, currentPage: thisPage-1 < 1 ? 1 : thisPage-1, category: category}) }}\"><i class=\"fas fa-angle-left\"></i></a>
{% else %}
<a href=\"{{ path('items_type', {type: typeName, currentPage: thisPage-1 < 1 ? 1 : thisPage-1}) }}\"><i class=\"fas fa-angle-left\"></i></a>
{% endif %}
{% endif %}
{# Render each page number #}
{% for i in 1..maxPages %}
{% if i==thisPage %}
<a class=\"currentpage\">{{ i }}</a>
{% else %}
{% if (maxPages>10 and i < thisPage+6 and i > thisPage-6) or (i < 9 and thisPage<9) %}
{% if category is defined %}
<a href=\"{{ path('items_type_category', { type: typeName, currentPage: i, category: category}) }}\">{{ i }}</a>
{% else %}
<a href=\"{{ path('items_type', {type: typeName, currentPage: i}) }}\">{{ i }}</a>
{% endif %}
{% else %}
{% endif %}
{% endif %}
{% endfor %}
{# `ยป` arrow #}
{%if thisPage < maxPages %}
{% if category is defined %}
<a href=\"{{ path('items_type_category', {type: typeName, currentPage: thisPage+1 <= maxPages ? thisPage+1 : thisPage, category: category}) }}\"><i class=\"fas fa-angle-right\"></i></a>
{% else %}
<a href=\"{{ path('items_type', { type: typeName, currentPage: thisPage+1 <= maxPages ? thisPage+1 : thisPage}) }}\"><i class=\"fas fa-angle-right\"></i></a>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
</div>
</div>
</div>
{% endblock %}
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
{% endblock %}
", "items/index.html.twig", "/home/www/www/acnh/templates/items/index.html.twig");
}
}