<?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;

/* launch/blocks/proctoringStartAssessment.html.twig */
class __TwigTemplate_1ec488e97e55a1f2999c64358f8b71ab2fa2abd295057eee769fd2d7e07a5ee8 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "launch/blocks/proctoringStartAssessment.html.twig"));

        // line 1
        echo "<div class=\"alert alert-warning\" role=\"alert\">
    <i class=\"fas fa-exclamation-triangle\"></i>&nbsp;This step is normally used in a real proctoring tool to allow the proctor to validate the candidate attempt. Since this is a devkit, <strong>no actual candidate validation</strong> will be done here.<br/>
</div>
<form action=\"";
        // line 4
        echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("tool_message_proctoring_response");
        echo "\" method=\"post\">
    <div class=\"card bg-light\">
        <div class=\"card-header\">
            <i class=\"fas fa-sign-in-alt\"></i>&nbsp;Continue to platform
        </div>
        <div class=\"card-body\">
            <div class=\"alert alert-info\" role=\"alert\">
                <i class=\"fas fa-info-circle\"></i>&nbsp;To <strong>continue</strong> the proctoring launch flow, click on the button below to <strong>return to the platform</strong> with a <strong><code>LtiStartAssessment</code></strong> message.
            </div>
            <div class=\"form-check\">
                <input type=\"checkbox\" name=\"end-assessment-return\" class=\"form-check-input\" id=\"endAssessmentReturn\">
                <label class=\"form-check-label\" for=\"endAssessmentReturn\">Allow the platform to send a <code>LtiEndAssessment</code> message to finish the proctoring message flow</label>
            </div>
        </div>
        <div class=\"card-footer text-muted\">
                <input type=\"hidden\" name=\"registration\" value=\"";
        // line 19
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 19, $this->source); })()), "registration", [], "any", false, false, false, 19), "identifier", [], "any", false, false, false, 19), "html", null, true);
        echo "\"/>
                <input type=\"hidden\" name=\"resource-link-id\" value=\"";
        // line 20
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 20, $this->source); })()), "payload", [], "any", false, false, false, 20), "resourceLink", [], "any", false, false, false, 20), "identifier", [], "any", false, false, false, 20), "html", null, true);
        echo "\"/>
                <input type=\"hidden\" name=\"start-assessment-url\" value=\"";
        // line 21
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 21, $this->source); })()), "payload", [], "any", false, false, false, 21), "proctoringStartAssessmentUrl", [], "any", false, false, false, 21), "html", null, true);
        echo "\"/>
                <input type=\"hidden\" name=\"session-data\" value=\"";
        // line 22
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 22, $this->source); })()), "payload", [], "any", false, false, false, 22), "proctoringSessionData", [], "any", false, false, false, 22), "html", null, true);
        echo "\"/>
                <input type=\"hidden\" name=\"attempt-number\" value=\"";
        // line 23
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 23, $this->source); })()), "payload", [], "any", false, false, false, 23), "proctoringAttemptNumber", [], "any", false, false, false, 23), "html", null, true);
        echo "\"/>
                <input type=\"hidden\" name=\"verified-user-name\" value=\"";
        // line 24
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 24, $this->source); })()), "payload", [], "any", false, false, false, 24), "token", [], "any", false, false, false, 24), "claims", [], "any", false, false, false, 24), "get", [0 => "name"], "method", false, false, false, 24), "html", null, true);
        echo "\"/>
                <div class=\"btn-group float-right\" role=\"group\" aria-label=\"Basic example\">
                    <button type=\"submit\" class=\"btn-primary btn\">
                        <i class=\"fas fa-sign-in-alt\"></i>&nbsp;Launch LtiStartAssessment
                    </button>
                </div>
        </div>
    </div>
</form>
";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    public function getTemplateName()
    {
        return "launch/blocks/proctoringStartAssessment.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  83 => 24,  79 => 23,  75 => 22,  71 => 21,  67 => 20,  63 => 19,  45 => 4,  40 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<div class=\"alert alert-warning\" role=\"alert\">
    <i class=\"fas fa-exclamation-triangle\"></i>&nbsp;This step is normally used in a real proctoring tool to allow the proctor to validate the candidate attempt. Since this is a devkit, <strong>no actual candidate validation</strong> will be done here.<br/>
</div>
<form action=\"{{ path('tool_message_proctoring_response') }}\" method=\"post\">
    <div class=\"card bg-light\">
        <div class=\"card-header\">
            <i class=\"fas fa-sign-in-alt\"></i>&nbsp;Continue to platform
        </div>
        <div class=\"card-body\">
            <div class=\"alert alert-info\" role=\"alert\">
                <i class=\"fas fa-info-circle\"></i>&nbsp;To <strong>continue</strong> the proctoring launch flow, click on the button below to <strong>return to the platform</strong> with a <strong><code>LtiStartAssessment</code></strong> message.
            </div>
            <div class=\"form-check\">
                <input type=\"checkbox\" name=\"end-assessment-return\" class=\"form-check-input\" id=\"endAssessmentReturn\">
                <label class=\"form-check-label\" for=\"endAssessmentReturn\">Allow the platform to send a <code>LtiEndAssessment</code> message to finish the proctoring message flow</label>
            </div>
        </div>
        <div class=\"card-footer text-muted\">
                <input type=\"hidden\" name=\"registration\" value=\"{{ token.registration.identifier }}\"/>
                <input type=\"hidden\" name=\"resource-link-id\" value=\"{{ token.payload.resourceLink.identifier }}\"/>
                <input type=\"hidden\" name=\"start-assessment-url\" value=\"{{ token.payload.proctoringStartAssessmentUrl }}\"/>
                <input type=\"hidden\" name=\"session-data\" value=\"{{ token.payload.proctoringSessionData }}\"/>
                <input type=\"hidden\" name=\"attempt-number\" value=\"{{ token.payload.proctoringAttemptNumber }}\"/>
                <input type=\"hidden\" name=\"verified-user-name\" value=\"{{ token.payload.token.claims.get('name') }}\"/>
                <div class=\"btn-group float-right\" role=\"group\" aria-label=\"Basic example\">
                    <button type=\"submit\" class=\"btn-primary btn\">
                        <i class=\"fas fa-sign-in-alt\"></i>&nbsp;Launch LtiStartAssessment
                    </button>
                </div>
        </div>
    </div>
</form>
", "launch/blocks/proctoringStartAssessment.html.twig", "C:\\wamp64\\www\\devkit-lti1p3-master-tool\\templates\\launch\\blocks\\proctoringStartAssessment.html.twig");
    }
}
