HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/apklausos/tmp/runtime/twig_cache/75/753a91ca1fac4ef606bbce5d05389952.php
<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;

/* ./subviews/logincomponents/captcha.twig */
class __TwigTemplate_9ae85441a63a7d6258cd2e8886b7cc50 extends Template
{
    private $source;
    private $macros = [];

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

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

        $this->parent = false;

        $this->blocks = [
            'formheading' => [$this, 'block_formheading'],
            'description' => [$this, 'block_description'],
            'formcontent' => [$this, 'block_formcontent'],
        ];
        $this->sandbox = $this->extensions[SandboxExtension::class];
        $this->checkSecurity();
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        yield "<div class=\"";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 1), "maincoldivdiva", [], "any", false, false, true, 1), 1, $this->source);
        yield " h3\" ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 1), "maincoldivdiva", [], "any", false, false, true, 1), 1, $this->source);
        yield ">
    ";
        // line 2
        yield from $this->unwrap()->yieldBlock('formheading', $context, $blocks);
        // line 5
        yield "</div>
<div class=\"";
        // line 6
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 6), "maincoldivdivb", [], "any", false, false, true, 6), 6, $this->source);
        yield " card card-body bg-light container-fluid mb-3\" ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 6), "maincoldivdivb", [], "any", false, false, true, 6), 6, $this->source);
        yield ">

    ";
        // line 8
        yield from $this->unwrap()->yieldBlock('description', $context, $blocks);
        // line 11
        yield "
    ";
        // line 12
        if ( !empty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aForm", [], "any", false, false, true, 12), "aEnterErrors", [], "any", false, false, true, 12))) {
            // line 13
            yield "        <ul class='";
            yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 13), "maincoldivdivbul", [], "any", false, false, true, 13), 13, $this->source);
            yield " alert alert-danger list-unstyled' ";
            yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 13), "maincoldivdivbul", [], "any", false, false, true, 13), 13, $this->source);
            yield ">
            ";
            // line 14
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aForm", [], "any", false, false, true, 14), "aEnterErrors", [], "any", false, false, true, 14));
            foreach ($context['_seq'] as $context["key"] => $context["error"]) {
                // line 15
                yield "                <li>";
                yield $this->sandbox->ensureToStringAllowed($context["error"], 15, $this->source);
                yield "</li>
            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['key'], $context['error'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 17
            yield "        </ul>
    ";
        }
        // line 19
        yield "
    <div class=\"form-";
        // line 20
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aForm", [], "any", false, false, true, 20), "sType", [], "any", false, false, true, 20), 20, $this->source);
        yield " ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 20), "maincoldivdivbdiv", [], "any", false, false, true, 20), 20, $this->source);
        yield "\" ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 20), "maincoldivdivbdiv", [], "any", false, false, true, 20), 20, $this->source);
        yield " >
        ";
        // line 26
        yield "        ";
        // line 27
        $context["htmlOptions"] = ["id" => ("form-" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,         // line 28
($context["aSurveyInfo"] ?? null), "aForm", [], "any", false, false, true, 28), "sType", [], "any", false, false, true, 28), 28, $this->source)), "name" => "limesurvey", "class" => "ls-form form form-horizontal"];
        // line 33
        yield "
        ";
        // line 35
        yield "        <!-- Start of the main Form-->
        ";
        // line 36
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,         // line 37
($context["C"] ?? null), "Html", [], "any", false, false, true, 37), "form", [CoreExtension::getAttribute($this->env, $this->source,         // line 38
($context["aSurveyInfo"] ?? null), "surveyUrl", [], "any", false, false, true, 38), "post",         // line 40
($context["htmlOptions"] ?? null)], "method", false, false, true, 37), 37, $this->source);
        // line 42
        yield "

        ";
        // line 44
        yield from $this->unwrap()->yieldBlock('formcontent', $context, $blocks);
        // line 76
        yield "        </form>
    </div>
</div>
";
        return; yield '';
    }

    // line 2
    public function block_formheading($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 3
        yield "        ";
        yield gT("Before you start, please prove you are human.");
        yield "
    ";
        return; yield '';
    }

    // line 8
    public function block_description($context, array $blocks = [])
    {
        $macros = $this->macros;
        yield "        
    ";
        return; yield '';
    }

    // line 44
    public function block_formcontent($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 45
        yield "
            <div class='";
        // line 46
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 46), "maincolformdivb", [], "any", false, false, true, 46), 46, $this->source);
        yield "  mb-3 ' ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 46), "maincolformdivb", [], "any", false, false, true, 46), 46, $this->source);
        yield ">

                <!-- Doesn't seems aria capable -->
                <label class='";
        // line 49
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 49), "maincolformdivblabel", [], "any", false, false, true, 49), 49, $this->source);
        yield " control-label col-md-4' ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 49), "maincolformdivblabel", [], "any", false, false, true, 49), 49, $this->source);
        yield " >
                    ";
        // line 50
        yield gT("Please solve the following equation:");
        yield "
                    <small class=\"";
        // line 51
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 51), "maincolformdivblabelsmall", [], "any", false, false, true, 51), 51, $this->source);
        yield " text-danger asterisk fa fa-asterisk float-start small\"  ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 51), "maincolformdivblabelsmall", [], "any", false, false, true, 51), 51, $this->source);
        yield " ></small>
                    <span  class=\"";
        // line 52
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 52), "maincolformdivblabelspan", [], "any", false, false, true, 52), 52, $this->source);
        yield " visually-hidden text-danger asterisk\" ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 52), "maincolformdivblabelspan", [], "any", false, false, true, 52), 52, $this->source);
        yield ">
                        ( ";
        // line 53
        yield gT("Mandatory");
        yield " )
                    <span>
                </label>
                <div class=\"col-md-2\">
                    <div class='";
        // line 57
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 57), "maincolformdivbdivdivdiv", [], "any", false, false, true, 57), 57, $this->source);
        yield "' ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 57), "maincolformdivbdivdivdiv", [], "any", false, false, true, 57), 57, $this->source);
        yield " >
                        ";
        // line 59
        yield "                        ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, LS_Twig_Extension::renderCaptcha(), "renderOut", [], "method", false, false, true, 59), 59, $this->source);
        yield "
                        <a href=\"#\" class=\"btn btn-sm btn-outline-secondary\" id=\"reloadCaptcha\" title=\"";
        // line 60
        yield gT("Reload captcha");
        yield "\" data-bs-toggle=\"captcha\"><i class=\"fa fa-refresh\"></i></a>
                    </div>
                </div>
                <div class='";
        // line 63
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 63), "maincolformdivbdiv", [], "any", false, false, true, 63), 63, $this->source);
        yield " col-md-6' ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 63), "maincolformdivbdiv", [], "any", false, false, true, 63), 63, $this->source);
        yield ">
                    <input class='form-control ";
        // line 64
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 64), "maincolformdivbdivdivinput", [], "any", false, false, true, 64), 64, $this->source);
        yield "' ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 64), "maincolformdivbdivdivinput", [], "any", false, false, true, 64), 64, $this->source);
        yield " >
                </div>
            </div>

            <div class='";
        // line 68
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 68), "maincolformdivc", [], "any", false, false, true, 68), 68, $this->source);
        yield " mb-3 ' ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 68), "maincolformdivc", [], "any", false, false, true, 68), 68, $this->source);
        yield ">
                <div class='";
        // line 69
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 69), "maincolformdivcdiv", [], "any", false, false, true, 69), 69, $this->source);
        yield " col-md-7 offset-lg-3 ' ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 69), "maincolformdivcdiv", [], "any", false, false, true, 69), 69, $this->source);
        yield ">
                    <button class='";
        // line 70
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 70), "maincolformdivcdivbutton", [], "any", false, false, true, 70), 70, $this->source);
        yield " btn btn-outline-secondary' ";
        yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 70), "maincolformdivcdivbutton", [], "any", false, false, true, 70), 70, $this->source);
        yield ">
                        ";
        // line 71
        yield gT("Continue");
        yield "
                    </button>
                </div>
            </div>
        ";
        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "./subviews/logincomponents/captcha.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  249 => 71,  243 => 70,  237 => 69,  231 => 68,  222 => 64,  216 => 63,  210 => 60,  205 => 59,  199 => 57,  192 => 53,  186 => 52,  180 => 51,  176 => 50,  170 => 49,  162 => 46,  159 => 45,  155 => 44,  146 => 8,  138 => 3,  134 => 2,  126 => 76,  124 => 44,  120 => 42,  118 => 40,  117 => 38,  116 => 37,  115 => 36,  112 => 35,  109 => 33,  107 => 28,  106 => 27,  104 => 26,  96 => 20,  93 => 19,  89 => 17,  80 => 15,  76 => 14,  69 => 13,  67 => 12,  64 => 11,  62 => 8,  55 => 6,  52 => 5,  50 => 2,  43 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "./subviews/logincomponents/captcha.twig", "/var/www/apklausos/themes/survey/vanilla/views/subviews/logincomponents/captcha.twig");
    }
    
    public function checkSecurity()
    {
        static $tags = array("block" => 2, "if" => 12, "for" => 14, "set" => 27);
        static $filters = array();
        static $functions = array("empty" => 12, "gT" => 3, "renderCaptcha" => 59);

        try {
            $this->sandbox->checkSecurity(
                ['block', 'if', 'for', 'set'],
                [],
                ['empty', 'gT', 'renderCaptcha'],
                $this->source
            );
        } 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;
        }

    }
}