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

/* themes/mahipro/templates/parts/home_necesitas_un_seguro.html.twig */
class __TwigTemplate_2532c114e977433fc50ee28134fe6fd5 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 1
        $context["_URL_PRODUCTS_"] = (((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 1) == "en")) ? ("/products") : ("/productos"));
        // line 2
        echo "<section class=\"promo_area parallax_effect-x\" data-background=\"img/bg.jpg\" style=\"background: url(https://enterateconalfredocisneros.com/assets/assets/img/home-two/parallex_bg.jpg) no-repeat;\">
    <div class=\"container\">
        <div class=\"promo_content promo_content_two text-center\">
            <p style=\"text-align: center;\">
                ";
        // line 6
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 6) == "en")) ? ("Do you need insurance that gives you peace of mind and confidence?") : ("¿Necesitas un Seguro que te de tranquilidad y confianza?")));
        echo "
            </p>
            <div class=\"line\"></div>
            <a href=\"";
        // line 9
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["_URL_PRODUCTS_"] ?? null), 9, $this->source), "html", null, true);
        echo "\" class=\"theme_btn\">";
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 9) == "en")) ? ("FIND OUT HERE") : ("Entérate Aquí")));
        echo "</a> 
        </div>
    </div>
</section>";
    }

    public function getTemplateName()
    {
        return "themes/mahipro/templates/parts/home_necesitas_un_seguro.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  53 => 9,  47 => 6,  41 => 2,  39 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "themes/mahipro/templates/parts/home_necesitas_un_seguro.html.twig", "/home/anapatriciaserna/public_html/themes/mahipro/templates/parts/home_necesitas_un_seguro.html.twig");
    }
    
    public function checkSecurity()
    {
        static $tags = array("set" => 1);
        static $filters = array("escape" => 9);
        static $functions = array();

        try {
            $this->sandbox->checkSecurity(
                ['set'],
                ['escape'],
                []
            );
        } 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;
        }

    }
}
