<?php

/* @auth/registration.twig */
class __TwigTemplate_1251f081435108daf86e74880bacc51b10f8b8bf919ad2d1e5a43dcb271c8d42 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<div class=\"sc-membership\">
\t<div class=\"ui centered grid\">
\t\t<div class=\"column left aligned\">
\t\t\t<div class=\"ui message success\" style=\"display: none\"></div>
\t\t\t<form method=\"post\" data-validation-rules=\"";
        // line 5
        echo twig_escape_filter($this->env, twig_jsonencode_filter(($context["validationRules"] ?? null)), "html", null, true);
        echo "\" class=\"ui large form left membership-registration-form\">
\t\t\t\t
\t\t\t\t";
        // line 7
        $context["sections"] = array();
        // line 8
        echo "
\t\t\t\t";
        // line 9
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "auth.view.registrationFormBefore"), "method"), "html", null, true);
        echo "
\t\t\t\t";
        // line 10
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "registrationFormBefore"), "method"), "html", null, true);
        echo "
\t\t\t\t
\t\t\t\t";
        // line 12
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
            // line 13
            echo "\t\t\t\t\t";
            if (($this->getAttribute($context["field"], "enabled", array()) && $this->getAttribute($context["field"], "registration", array()))) {
                // line 14
                echo "\t\t\t\t\t\t";
                if (!twig_in_filter($this->getAttribute($context["field"], "section", array()), ($context["sections"] ?? null))) {
                    // line 15
                    echo "\t\t\t\t\t\t\t";
                    $context["sections"] = twig_array_merge(($context["sections"] ?? null), array(0 => $this->getAttribute($context["field"], "section", array())));
                    // line 16
                    echo "\t\t\t\t\t\t";
                }
                // line 17
                echo "
\t\t\t\t\t\t";
                // line 18
                $context["ipStr"] = "";
                // line 19
                echo "\t\t\t\t\t\t";
                if ((($this->getAttribute($context["field"], "name", array()) == "country") && ($this->getAttribute($context["field"], "ipSelection", array()) == "1"))) {
                    // line 20
                    echo "\t\t\t\t\t\t\t";
                    $context["ipStr"] = "data-ip-selection=1";
                    // line 21
                    echo "\t\t\t\t\t\t";
                }
                // line 22
                echo "
                        ";
                // line 23
                $context["addNoneStr"] = "";
                // line 24
                echo "\t\t\t\t\t\t";
                if ((($this->getAttribute($context["field"], "name", array()) == "country") && ($this->getAttribute($context["field"], "addNone", array()) == "1"))) {
                    // line 25
                    echo "\t\t\t\t\t\t\t";
                    $context["addNoneStr"] = "data-add-none=1";
                    // line 26
                    echo "\t\t\t\t\t\t";
                }
                // line 27
                echo "
\t\t\t\t\t\t\t<div class=\"field\" data-name=\"";
                // line 28
                echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                echo "\" ";
                echo twig_escape_filter($this->env, ($context["ipStr"] ?? null), "html", null, true);
                echo " ";
                echo twig_escape_filter($this->env, ($context["addNoneStr"] ?? null), "html", null, true);
                echo ">
\t\t\t\t\t\t\t<glabel>";
                // line 29
                echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "label", array()), "html", null, true);
                echo " ";
                if ((($this->getAttribute($context["field"], "required", array()) && $this->getAttribute($context["field"], "asterisk", array(), "any", true, true)) && ($this->getAttribute($context["field"], "asterisk", array()) == true))) {
                    echo "<span class=\"gg-required-field\" style=\"color: ";
                    echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "design", array(), "array"), "general", array(), "array"), "asterisk-color", array(), "array"), "html", null, true);
                    echo ";\">*</span>";
                }
                echo " </glabel>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
                // line 31
                if (($this->getAttribute($context["field"], "type", array()) == "text")) {
                    // line 32
                    echo "\t\t\t\t\t\t\t\t<input type=\"text\" name=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                    echo "\">
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 33
$context["field"], "type", array()) == "email")) {
                    // line 34
                    echo "\t\t\t\t\t\t\t\t<input type=\"email\" name=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                    echo "\">
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 35
$context["field"], "type", array()) == "password")) {
                    // line 36
                    echo "\t\t\t\t\t\t\t\t<input type=\"password\" name=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                    echo "\">
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 37
$context["field"], "type", array()) == "numeric")) {
                    // line 38
                    echo "\t\t\t\t\t\t\t\t<input type=\"number\" name=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                    echo "\">
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 39
$context["field"], "type", array()) == "date")) {
                    // line 40
                    echo "\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\tclass=\"date-field\"
\t\t\t\t\t\t\t\t\t\tdata-format=\"";
                    // line 42
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "format", array(), "array"), "html", null, true);
                    echo "\"
\t\t\t\t\t\t\t\t\t\tdata-field-name=\"";
                    // line 43
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                    echo "\"
\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<input name=\"";
                    // line 46
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                    echo "\" type=\"hidden\">
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 47
$context["field"], "type", array()) == "scroll")) {
                    // line 48
                    echo "\t\t\t\t\t\t\t\t<select multiple class=\"ui fluid multiple search selection dropdown\" name=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                    echo "[]\">
\t\t\t\t\t\t\t\t\t";
                    // line 49
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["field"], "options", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
                        // line 50
                        echo "\t\t\t\t\t\t\t\t\t\t";
                        $context["checked"] = false;
                        // line 51
                        echo "\t\t\t\t\t\t\t\t\t\t";
                        if (($this->getAttribute($context["field"], "data", array()) &&  !twig_test_empty($this->getAttribute($context["field"], "data", array())))) {
                            // line 52
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            if (twig_in_filter($this->getAttribute($context["option"], "id", array()), $this->getAttribute($context["field"], "data", array()))) {
                                // line 53
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                                $context["checked"] = true;
                                // line 54
                                echo "\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 55
                            echo "\t\t\t\t\t\t\t\t\t\t";
                        } else {
                            // line 56
                            echo "\t\t\t\t\t\t\t\t\t\t\tno data
\t\t\t\t\t\t\t\t\t\t\t";
                            // line 57
                            if ($this->getAttribute($context["option"], "checked", array())) {
                                // line 58
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                                $context["checked"] = true;
                                // line 59
                                echo "\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 60
                            echo "\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 61
                        echo "\t\t\t\t\t\t\t\t\t\t<option value=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "id", array()), "html", null, true);
                        echo "\" ";
                        if (($context["checked"] ?? null)) {
                            echo "selected";
                        }
                        echo ">";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", array()), "html", null, true);
                        echo "</option>
\t\t\t\t\t\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 63
                    echo "\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 64
$context["field"], "type", array()) == "drop")) {
                    // line 65
                    echo "\t\t\t\t\t\t\t\t<select class=\"ui fluid search single dropdown\" name=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                    echo "\">
\t\t\t\t\t\t\t\t\t";
                    // line 66
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["field"], "options", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
                        // line 67
                        echo "\t\t\t\t\t\t\t\t\t\t";
                        $context["checked"] = false;
                        // line 68
                        echo "\t\t\t\t\t\t\t\t\t\t";
                        if (($this->getAttribute($context["field"], "data", array()) &&  !twig_test_empty($this->getAttribute($context["field"], "data", array())))) {
                            // line 69
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            if (($this->getAttribute($context["option"], "id", array()) == $this->getAttribute($context["field"], "data", array()))) {
                                // line 70
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                                $context["checked"] = true;
                                // line 71
                                echo "\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 72
                            echo "\t\t\t\t\t\t\t\t\t\t";
                        } else {
                            // line 73
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            if ($this->getAttribute($context["option"], "checked", array())) {
                                // line 74
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                                $context["checked"] = true;
                                // line 75
                                echo "\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 76
                            echo "\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 77
                        echo "\t\t\t\t\t\t\t\t\t\t<option value=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "id", array()), "html", null, true);
                        echo "\" ";
                        if (($context["checked"] ?? null)) {
                            echo "selected";
                        }
                        echo ">";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", array()), "html", null, true);
                        echo "</option>
\t\t\t\t\t\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 79
                    echo "\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 80
$context["field"], "type", array()) == "radio")) {
                    // line 81
                    echo "\t\t\t\t\t\t\t\t<div class=\"inline fields\">
\t\t\t\t\t\t\t\t\t";
                    // line 82
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["field"], "options", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
                        // line 83
                        echo "\t\t\t\t\t\t\t\t\t\t<div class=\"field\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"ui radio checkbox\">
\t\t\t\t\t\t\t\t\t\t\t\t";
                        // line 85
                        $context["checked"] = false;
                        // line 86
                        echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                        if (($this->getAttribute($context["field"], "data", array()) &&  !twig_test_empty($this->getAttribute($context["field"], "data", array())))) {
                            // line 87
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            if (twig_in_filter($this->getAttribute($context["option"], "id", array()), $this->getAttribute($context["field"], "data", array()))) {
                                // line 88
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
                                $context["checked"] = true;
                                // line 89
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 90
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                        } else {
                            // line 91
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            if ($this->getAttribute($context["option"], "checked", array())) {
                                // line 92
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
                                $context["checked"] = true;
                                // line 93
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 94
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 95
                        echo "\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                        echo "\" id=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                        echo "-";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "id", array()), "html", null, true);
                        echo "\" value=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "id", array()), "html", null, true);
                        echo "\" ";
                        if (($context["checked"] ?? null)) {
                            echo "checked";
                        }
                        echo " class=\"hidden\">
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"";
                        // line 96
                        echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                        echo "-";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "id", array()), "html", null, true);
                        echo "\">";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", array()), "html", null, true);
                        echo "</label>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 100
                    echo "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 101
$context["field"], "type", array()) == "checkbox")) {
                    // line 102
                    echo "\t\t\t\t\t\t\t\t<div class=\"inline fields\">
\t\t\t\t\t\t\t\t\t";
                    // line 103
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["field"], "options", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
                        // line 104
                        echo "\t\t\t\t\t\t\t\t\t\t<div class=\"field\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"ui checkbox\">
\t\t\t\t\t\t\t\t\t\t\t\t";
                        // line 106
                        $context["checked"] = false;
                        // line 107
                        echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                        if (($this->getAttribute($context["field"], "data", array()) &&  !twig_test_empty($this->getAttribute($context["field"], "data", array())))) {
                            // line 108
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            if (twig_in_filter($this->getAttribute($context["option"], "id", array()), $this->getAttribute($context["field"], "data", array()))) {
                                // line 109
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
                                $context["checked"] = true;
                                // line 110
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 111
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                        } else {
                            // line 112
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            if ($this->getAttribute($context["option"], "checked", array())) {
                                // line 113
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
                                $context["checked"] = true;
                                // line 114
                                echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
                            }
                            // line 115
                            echo "\t\t\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 116
                        echo "\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                        echo "[]\" id=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                        echo "-";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "id", array()), "html", null, true);
                        echo "\" value=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "id", array()), "html", null, true);
                        echo "\" ";
                        if (($context["checked"] ?? null)) {
                            echo "checked";
                        }
                        echo " class=\"hidden\">
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"";
                        // line 117
                        echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "name", array()), "html", null, true);
                        echo "-";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "id", array()), "html", null, true);
                        echo "\">";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", array()), "html", null, true);
                        echo "</label>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 121
                    echo "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
                } elseif (($this->getAttribute(                // line 122
$context["field"], "type", array()) == "g-recaptcha-response")) {
                    // line 123
                    echo "\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\"
\t\t\t\t\t\t\t\t     data-sitekey=\"";
                    // line 124
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "google-re-captcha-site-key", array(), "array"), "html", null, true);
                    echo "\"
\t\t\t\t\t\t\t\t     data-theme=\"";
                    // line 125
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "google-re-captcha-theme", array(), "array"), "html", null, true);
                    echo "\"
\t\t\t\t\t\t\t\t     data-type=\"";
                    // line 126
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "google-re-captcha-type", array(), "array"), "html", null, true);
                    echo "\"
\t\t\t\t\t\t\t\t     data-size=\"";
                    // line 127
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "google-re-captcha-size", array(), "array"), "html", null, true);
                    echo "\"
\t\t\t\t\t\t\t\t     data-callback=\"MembershipRecaptchaResponseCallback\"
\t\t\t\t\t\t\t\t></div>
\t\t\t\t\t\t\t";
                }
                // line 131
                echo "\t\t\t\t\t\t
\t\t\t\t\t\t\t";
                // line 132
                if ($this->getAttribute($context["field"], "description", array())) {
                    // line 133
                    echo "\t\t\t\t\t\t\t\t<p><small><em>";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "description", array()), "html", null, true);
                    echo "</em></small></p>
\t\t\t\t\t\t\t";
                }
                // line 135
                echo "\t\t\t\t\t\t</div>
\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t";
            }
            // line 139
            echo "\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 140
        echo "
\t\t\t\t";
        // line 141
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "auth.view.registrationFormAfter"), "method"), "html", null, true);
        echo "
\t\t\t\t";
        // line 142
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "registrationFormAfter"), "method"), "html", null, true);
        echo "
\t\t\t\t
\t\t\t\t<div class=\"ui error message\" style=\"display: none\">
\t\t\t\t\t<i class=\"close icon\"></i>
\t\t\t\t\t<div class=\"header\">
\t\t\t\t\t\t";
        // line 147
        echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("There were some errors with your data")), "html", null, true);
        echo "
\t\t\t\t\t</div>
\t\t\t\t\t<ul class=\"list\"></ul>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"mp-action-buttons\">
\t\t\t\t\t<button class=\"registration-submit ui button mini primary\" type=\"submit\" value=\"\">";
        // line 153
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "design", array()), "auth", array()), "registration-primary-button-text", array(), "array"), "html", null, true);
        echo "</button>
\t\t\t\t</div>

\t\t\t\t<input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"";
        // line 156
        echo twig_escape_filter($this->env, ($context["nonce"] ?? null), "html", null, true);
        echo "\" />
\t\t\t</form>
\t\t</div>
\t</div>
</div>";
    }

    public function getTemplateName()
    {
        return "@auth/registration.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  503 => 156,  497 => 153,  488 => 147,  480 => 142,  476 => 141,  473 => 140,  467 => 139,  461 => 135,  455 => 133,  453 => 132,  450 => 131,  443 => 127,  439 => 126,  435 => 125,  431 => 124,  428 => 123,  426 => 122,  423 => 121,  409 => 117,  394 => 116,  391 => 115,  388 => 114,  385 => 113,  382 => 112,  379 => 111,  376 => 110,  373 => 109,  370 => 108,  367 => 107,  365 => 106,  361 => 104,  357 => 103,  354 => 102,  352 => 101,  349 => 100,  335 => 96,  320 => 95,  317 => 94,  314 => 93,  311 => 92,  308 => 91,  305 => 90,  302 => 89,  299 => 88,  296 => 87,  293 => 86,  291 => 85,  287 => 83,  283 => 82,  280 => 81,  278 => 80,  275 => 79,  260 => 77,  257 => 76,  254 => 75,  251 => 74,  248 => 73,  245 => 72,  242 => 71,  239 => 70,  236 => 69,  233 => 68,  230 => 67,  226 => 66,  221 => 65,  219 => 64,  216 => 63,  201 => 61,  198 => 60,  195 => 59,  192 => 58,  190 => 57,  187 => 56,  184 => 55,  181 => 54,  178 => 53,  175 => 52,  172 => 51,  169 => 50,  165 => 49,  160 => 48,  158 => 47,  154 => 46,  148 => 43,  144 => 42,  140 => 40,  138 => 39,  133 => 38,  131 => 37,  126 => 36,  124 => 35,  119 => 34,  117 => 33,  112 => 32,  110 => 31,  99 => 29,  91 => 28,  88 => 27,  85 => 26,  82 => 25,  79 => 24,  77 => 23,  74 => 22,  71 => 21,  68 => 20,  65 => 19,  63 => 18,  60 => 17,  57 => 16,  54 => 15,  51 => 14,  48 => 13,  44 => 12,  39 => 10,  35 => 9,  32 => 8,  30 => 7,  25 => 5,  19 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("<div class=\"sc-membership\">
\t<div class=\"ui centered grid\">
\t\t<div class=\"column left aligned\">
\t\t\t<div class=\"ui message success\" style=\"display: none\"></div>
\t\t\t<form method=\"post\" data-validation-rules=\"{{ validationRules|json_encode }}\" class=\"ui large form left membership-registration-form\">
\t\t\t\t
\t\t\t\t{% set sections = [] %}

\t\t\t\t{{ environment.dispatcher.dispatch('auth.view.registrationFormBefore') }}
\t\t\t\t{{ environment.dispatcher.dispatch('registrationFormBefore') }}
\t\t\t\t
\t\t\t\t{% for field in fields %}
\t\t\t\t\t{% if field.enabled and field.registration %}
\t\t\t\t\t\t{% if field.section not in sections %}
\t\t\t\t\t\t\t{% set sections = sections|merge([field.section]) %}
\t\t\t\t\t\t{% endif %}

\t\t\t\t\t\t{% set ipStr = '' %}
\t\t\t\t\t\t{% if field.name == 'country' and field.ipSelection == '1' %}
\t\t\t\t\t\t\t{% set ipStr = 'data-ip-selection=1' %}
\t\t\t\t\t\t{% endif %}

                        {% set addNoneStr = '' %}
\t\t\t\t\t\t{% if field.name == 'country' and field.addNone == '1' %}
\t\t\t\t\t\t\t{% set addNoneStr = 'data-add-none=1' %}
\t\t\t\t\t\t{% endif %}

\t\t\t\t\t\t\t<div class=\"field\" data-name=\"{{ field.name }}\" {{ ipStr }} {{ addNoneStr }}>
\t\t\t\t\t\t\t<glabel>{{ field.label }} {% if field.required and field.asterisk is defined and field.asterisk == true %}<span class=\"gg-required-field\" style=\"color: {{ settings['design']['general']['asterisk-color'] }};\">*</span>{% endif %} </glabel>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{% if field.type == 'text' %}
\t\t\t\t\t\t\t\t<input type=\"text\" name=\"{{ field.name }}\">
\t\t\t\t\t\t\t{% elseif field.type == 'email' %}
\t\t\t\t\t\t\t\t<input type=\"email\" name=\"{{ field.name }}\">
\t\t\t\t\t\t\t{% elseif field.type == 'password' %}
\t\t\t\t\t\t\t\t<input type=\"password\" name=\"{{ field.name }}\">
\t\t\t\t\t\t\t{% elseif field.type == 'numeric' %}
\t\t\t\t\t\t\t\t<input type=\"number\" name=\"{{ field.name }}\">
\t\t\t\t\t\t\t{% elseif field.type == 'date' %}
\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\tclass=\"date-field\"
\t\t\t\t\t\t\t\t\t\tdata-format=\"{{ field['format'] }}\"
\t\t\t\t\t\t\t\t\t\tdata-field-name=\"{{ field.name }}\"
\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<input name=\"{{ field.name }}\" type=\"hidden\">
\t\t\t\t\t\t\t{% elseif field.type == 'scroll' %}
\t\t\t\t\t\t\t\t<select multiple class=\"ui fluid multiple search selection dropdown\" name=\"{{ field.name }}[]\">
\t\t\t\t\t\t\t\t\t{% for option in field.options %}
\t\t\t\t\t\t\t\t\t\t{% set checked = false %}
\t\t\t\t\t\t\t\t\t\t{% if field.data and field.data is not empty %}
\t\t\t\t\t\t\t\t\t\t\t{% if option.id in field.data %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = true %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\tno data
\t\t\t\t\t\t\t\t\t\t\t{% if option.checked %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = true %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t<option value=\"{{ option.id }}\" {% if checked %}selected{% endif %}>{{ option.name }}</option>
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t{% elseif field.type == 'drop' %}
\t\t\t\t\t\t\t\t<select class=\"ui fluid search single dropdown\" name=\"{{ field.name }}\">
\t\t\t\t\t\t\t\t\t{% for option in field.options %}
\t\t\t\t\t\t\t\t\t\t{% set checked = false %}
\t\t\t\t\t\t\t\t\t\t{% if field.data and field.data is not empty %}
\t\t\t\t\t\t\t\t\t\t\t{% if option.id == field.data %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = true %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t{% if option.checked %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = true %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t<option value=\"{{ option.id }}\" {% if checked %}selected{% endif %}>{{ option.name }}</option>
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t{% elseif field.type == 'radio' %}
\t\t\t\t\t\t\t\t<div class=\"inline fields\">
\t\t\t\t\t\t\t\t\t{% for option in field.options %}
\t\t\t\t\t\t\t\t\t\t<div class=\"field\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"ui radio checkbox\">
\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = false %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if field.data and field.data is not empty %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if option.id in field.data %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = true %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if option.checked %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = true %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"{{ field.name }}\" id=\"{{ field.name }}-{{ option.id }}\" value=\"{{ option.id }}\" {% if checked  %}checked{% endif %} class=\"hidden\">
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"{{ field.name }}-{{ option.id }}\">{{ option.name }}</label>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% elseif field.type == 'checkbox' %}
\t\t\t\t\t\t\t\t<div class=\"inline fields\">
\t\t\t\t\t\t\t\t\t{% for option in field.options %}
\t\t\t\t\t\t\t\t\t\t<div class=\"field\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"ui checkbox\">
\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = false %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if field.data and field.data is not empty %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if option.id in field.data %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = true %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if option.checked %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set checked = true %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"{{ field.name }}[]\" id=\"{{ field.name }}-{{ option.id }}\" value=\"{{ option.id }}\" {% if checked  %}checked{% endif %} class=\"hidden\">
\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"{{ field.name }}-{{ option.id }}\">{{ option.name }}</label>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% elseif field.type == 'g-recaptcha-response' %}
\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\"
\t\t\t\t\t\t\t\t     data-sitekey=\"{{ field['google-re-captcha-site-key'] }}\"
\t\t\t\t\t\t\t\t     data-theme=\"{{ field['google-re-captcha-theme'] }}\"
\t\t\t\t\t\t\t\t     data-type=\"{{ field['google-re-captcha-type'] }}\"
\t\t\t\t\t\t\t\t     data-size=\"{{ field['google-re-captcha-size'] }}\"
\t\t\t\t\t\t\t\t     data-callback=\"MembershipRecaptchaResponseCallback\"
\t\t\t\t\t\t\t\t></div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t
\t\t\t\t\t\t\t{% if field.description %}
\t\t\t\t\t\t\t\t<p><small><em>{{ field.description }}</em></small></p>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t{% endif %}
\t\t\t\t{% endfor %}

\t\t\t\t{{ environment.dispatcher.dispatch('auth.view.registrationFormAfter') }}
\t\t\t\t{{ environment.dispatcher.dispatch('registrationFormAfter') }}
\t\t\t\t
\t\t\t\t<div class=\"ui error message\" style=\"display: none\">
\t\t\t\t\t<i class=\"close icon\"></i>
\t\t\t\t\t<div class=\"header\">
\t\t\t\t\t\t{{ translate('There were some errors with your data') }}
\t\t\t\t\t</div>
\t\t\t\t\t<ul class=\"list\"></ul>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"mp-action-buttons\">
\t\t\t\t\t<button class=\"registration-submit ui button mini primary\" type=\"submit\" value=\"\">{{ settings.design.auth['registration-primary-button-text'] }}</button>
\t\t\t\t</div>

\t\t\t\t<input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"{{ nonce }}\" />
\t\t\t</form>
\t\t</div>
\t</div>
</div>", "@auth/registration.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Auth\\views\\registration.twig");
    }
}
