<?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;

/* modules/licencia_modulo_deepseev5/templates/licencia-lista.html.twig */
class __TwigTemplate_f09014d5bd46b4916a57b8deb6f28f02 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
        $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
        $this->checkSecurity();
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 10
        echo "<style>
    .views-view-responsive-grid{--views-responsive-grid--layout-gap:10px;--views-responsive-grid--column-count:4;--views-responsive-grid--cell-min-width:100px;}
    .views-view-responsive-grid--horizontal{--views-responsive-grid--gap-count:calc(var(--views-responsive-grid--column-count) - 1);
    --views-responsive-grid--total-gap-width:calc(var(--views-responsive-grid--gap-count) * var(--views-responsive-grid--layout-gap));
    --views-responsive-grid-item--max-width:calc((100% - var(--views-responsive-grid--total-gap-width)) / var(--views-responsive-grid--column-count));
    --views-responsive-grid-item--calculated-min-width:min(100%,var(--views-responsive-grid--cell-min-width));
    display:grid;grid-template-columns:repeat(auto-fill,minmax(max(var(--views-responsive-grid-item--calculated-min-width),var(--views-responsive-grid-item--max-width)),1fr));
    gap:var(--views-responsive-grid--layout-gap);}.views-view-responsive-grid--vertical{margin-bottom:calc(var(--views-responsive-grid--layout-gap) * -1);
    column-width:var(--views-responsive-grid--cell-min-width);column-count:var(--views-responsive-grid--column-count);column-gap:var(--views-responsive-grid--layout-gap);}
    .views-view-responsive-grid--vertical .views-view-responsive-grid__item > *{padding-bottom:var(--views-responsive-grid--layout-gap);page-break-inside:avoid;break-inside:avoid;}
</style>
<div class=\"views-element-container block\" id=\"block-mahipro-views-block-home-licencias-2-block-1\">
        <h2 class=\"block-title\">
            <script>
            var currentPath = window.location.pathname;
            if (currentPath.includes('/en/')) {
                document.write('My licenses');
            } else{
                document.write('Mis licencias');
            }
            </script>
        </h2>
        <div class=\"HomeLicences view view-home-licencias-2 view-display-block_1\">
          <div class=\"view-content\">
              
            <div class=\"views-view-responsive-grid views-view-responsive-grid--horizontal\" style=\"--views-responsive-grid--column-count:4;--views-responsive-grid--cell-min-width:100px;--views-responsive-grid--layout-gap:10px;\">
            ";
        // line 36
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["licencias"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["licencia"]) {
            // line 37
            echo "                <div class=\"views-view-responsive-grid__item\">
                  <div class=\"views-view-responsive-grid__item-inner\">
                      <div class=\"views-field views-field-title\">
                          <span class=\"field-content\">
                              <a href=\"#\" class=\"licencia-link\" data-id=\"";
            // line 41
            echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["licencia"], "id", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
            echo "\" data-titulo=\"";
            echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["licencia"], "titulo", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
            echo "\" data-body=\"";
            echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["licencia"], "body", [], "any", false, false, true, 41), 41, $this->source), "html_attr");
            echo "\">";
            echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["licencia"], "titulo", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
            echo "</a>
                          </span>
                      </div>
                  </div>
                </div>
            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['licencia'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 47
        echo "            </div>
            
          </div>
        </div>
  
</div>





";
        // line 59
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_include($this->env, $context, "licencia-popup.html.twig"));
    }

    public function getTemplateName()
    {
        return "modules/licencia_modulo_deepseev5/templates/licencia-lista.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  108 => 59,  95 => 47,  77 => 41,  71 => 37,  67 => 36,  39 => 10,);
    }

    public function getSourceContext()
    {
        return new Source("", "modules/licencia_modulo_deepseev5/templates/licencia-lista.html.twig", "/home/anapatriciaserna/public_html/modules/licencia_modulo_deepseev5/templates/licencia-lista.html.twig");
    }
    
    public function checkSecurity()
    {
        static $tags = array("for" => 36);
        static $filters = array("escape" => 41, "e" => 41);
        static $functions = array("include" => 59);

        try {
            $this->sandbox->checkSecurity(
                ['for'],
                ['escape', 'e'],
                ['include']
            );
        } catch (SecurityError $e) {
            $e->setSourceContext($this->source);

            if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
                $e->setTemplateLine($tags[$e->getTagName()]);
            } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
                $e->setTemplateLine($filters[$e->getFilterName()]);
            } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
                $e->setTemplateLine($functions[$e->getFunctionName()]);
            }

            throw $e;
        }

    }
}
