<?php

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

/* @particles/feedback2.html.twig */
class __TwigTemplate_01bf027a64205ee5e9be64a13a7534c05802a981dfa6dc9b5a99a354e22b9645 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
            'particle' => [$this, 'block_particle'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "@nucleus/partials/particle.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 3
        $context["attr_extra"] = "";
        // line 4
        if ($this->getAttribute(($context["particle"] ?? null), "extra", [])) {
            // line 5
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "extra", []));
            foreach ($context['_seq'] as $context["_key"] => $context["attributes"]) {
                // line 6
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($context["attributes"]);
                foreach ($context['_seq'] as $context["key"] => $context["value"]) {
                    // line 7
                    $context["attr_extra"] = (((((($context["attr_extra"] ?? null) . " ") . twig_escape_filter($this->env, $context["key"])) . "=\"") . twig_escape_filter($this->env, $context["value"], "html_attr")) . "\"");
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attributes'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
        // line 12
        ob_start(function () { return ''; });
        // line 13
        echo "\t<div class=\"g-particle-intro\">
\t\t";
        // line 14
        if ($this->getAttribute(($context["particle"] ?? null), "mainheading", [])) {
            // line 15
            echo "\t\t\t<h3 class=\"g-title g-main-title\">";
            echo $this->getAttribute(($context["particle"] ?? null), "mainheading", []);
            echo "</h3>
\t\t\t<div class=\"g-title-separator ";
            // line 16
            if (($this->getAttribute(($context["particle"] ?? null), "introtext", []) == false)) {
                echo "no-intro-text";
            }
            echo "\"></div>
\t\t";
        }
        // line 17
        echo "\t
\t\t";
        // line 18
        if ($this->getAttribute(($context["particle"] ?? null), "introtext", [])) {
            echo "<p class=\"g-introtext\">";
            echo $this->getAttribute(($context["particle"] ?? null), "introtext", []);
            echo "</p>";
        }
        // line 19
        echo "\t</div>
";
        $context["particleheading"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
        // line 1
        $this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/feedback2.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 22
    public function block_particle($context, array $blocks = [])
    {
        // line 23
        echo "\t<div class=\"g-feedback2";
        if ($this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", []), "class", [])) {
            echo " ";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", []), "class", []));
        }
        echo "\" ";
        if ($this->getAttribute(($context["particle"] ?? null), "extra", [])) {
            echo ($context["attr_extra"] ?? null);
        }
        echo ">
\t\t";
        // line 24
        if (($this->getAttribute(($context["particle"] ?? null), "mainheading", []) || $this->getAttribute(($context["particle"] ?? null), "introtext", []))) {
            // line 25
            echo "\t\t\t";
            echo twig_escape_filter($this->env, ($context["particleheading"] ?? null), "html", null, true);
            echo "
\t\t";
        }
        // line 27
        echo "\t\t";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute(($context["particle"] ?? null), "items", []), twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "columns", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "columns", []), "2")) : ("2")))));
        foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
            // line 28
            echo "\t\t\t<div class=\"g-grid\">
\t\t\t\t";
            // line 29
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["row"]);
            foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
                // line 30
                echo "\t\t\t\t\t";
                $context["attr_extra_item"] = "";
                // line 31
                echo "\t\t\t\t\t";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["item"], "extra", []));
                foreach ($context['_seq'] as $context["_key"] => $context["extra"]) {
                    // line 32
                    echo "\t\t\t\t\t\t";
                    $context["attr_extra_item"] = (((((($context["attr_extra_item"] ?? null) . " ") . twig_escape_filter($this->env, twig_first($this->env, twig_get_array_keys_filter($context["extra"])))) . "=\"") . twig_escape_filter($this->env, twig_first($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->valuesFilter($context["extra"])), "html_attr")) . "\"");
                    // line 33
                    echo "\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extra'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 34
                echo "\t\t\t\t\t<div class=\"g-block";
                if ($this->getAttribute($context["item"], "class", [])) {
                    echo " ";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", []));
                }
                echo "\" ";
                if ($this->getAttribute($context["item"], "extra", [])) {
                    echo ($context["attr_extra_item"] ?? null);
                }
                echo ">
\t\t\t\t\t\t<div class=\"g-content\">
\t\t\t\t\t\t\t<div class=\"g-feedback-item\">\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t";
                // line 37
                if ($this->getAttribute($context["item"], "image", [])) {
                    // line 38
                    echo "\t\t\t\t\t\t\t\t\t<div class=\"g-user-image\">
\t\t\t\t\t\t\t\t\t\t<img alt=\"";
                    // line 39
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "alt", []));
                    echo "\" src=\"";
                    echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", [])), "html", null, true);
                    echo "\" ";
                    echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->imageSize($this->getAttribute($context["item"], "image", []));
                    echo ">
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
                }
                // line 42
                echo "
\t\t\t\t\t\t\t\t";
                // line 43
                if (($this->getAttribute($context["item"], "feedback", []) || $this->getAttribute($context["item"], "customername", []))) {
                    // line 44
                    echo "\t\t\t\t\t\t\t\t\t<div class=\"g-feeback-container\">
\t\t\t\t\t\t\t\t\t\t";
                    // line 45
                    if ($this->getAttribute($context["item"], "feedback", [])) {
                        // line 46
                        echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"g-feedback-text\">";
                        // line 47
                        echo $this->getAttribute($context["item"], "feedback", []);
                        // line 48
                        echo "</div>
\t\t\t\t\t\t\t\t\t\t";
                    }
                    // line 50
                    echo "
\t\t\t\t\t\t\t\t\t\t";
                    // line 51
                    if ((($this->getAttribute($context["item"], "customername", []) || $this->getAttribute($context["item"], "position", [])) || $this->getAttribute($context["item"], "company", []))) {
                        // line 52
                        echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"g-user-details\">";
                        // line 53
                        if ($this->getAttribute($context["item"], "customername", [])) {
                            // line 54
                            echo "<div class=\"g-user-name\">";
                            // line 55
                            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "customername", []));
                            // line 56
                            echo "</div>";
                        }
                        // line 59
                        if (($this->getAttribute($context["item"], "position", []) || $this->getAttribute($context["item"], "company", []))) {
                            // line 60
                            echo "<div class=\"g-user-company\">";
                            // line 61
                            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "position", []));
                            if (($this->getAttribute($context["item"], "company", []) && $this->getAttribute($context["item"], "position", []))) {
                                echo " - ";
                            }
                            // line 63
                            if ($this->getAttribute($context["item"], "company", [])) {
                                // line 64
                                if ($this->getAttribute($context["item"], "companylink", [])) {
                                    // line 65
                                    echo "<a target=\"";
                                    echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "target", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "target", []), "_parent")) : ("_parent")));
                                    echo "\" href=\"";
                                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "companylink", []));
                                    echo "\">";
                                }
                                // line 67
                                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "company", []));
                                // line 68
                                if ($this->getAttribute($context["item"], "companylink", [])) {
                                    // line 69
                                    echo "</a>";
                                }
                            }
                            // line 72
                            echo "</div>";
                        }
                        // line 74
                        echo "</div>
\t\t\t\t\t\t\t\t\t\t";
                    }
                    // line 76
                    echo "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
                }
                // line 77
                echo "\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 82
            echo "\t\t\t</div>
\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 84
        echo "\t</div>
";
    }

    public function getTemplateName()
    {
        return "@particles/feedback2.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  266 => 84,  259 => 82,  249 => 77,  245 => 76,  241 => 74,  238 => 72,  234 => 69,  232 => 68,  230 => 67,  223 => 65,  221 => 64,  219 => 63,  214 => 61,  212 => 60,  210 => 59,  207 => 56,  205 => 55,  203 => 54,  201 => 53,  199 => 52,  197 => 51,  194 => 50,  190 => 48,  188 => 47,  186 => 46,  184 => 45,  181 => 44,  179 => 43,  176 => 42,  166 => 39,  163 => 38,  161 => 37,  147 => 34,  141 => 33,  138 => 32,  133 => 31,  130 => 30,  126 => 29,  123 => 28,  118 => 27,  112 => 25,  110 => 24,  98 => 23,  95 => 22,  90 => 1,  86 => 19,  80 => 18,  77 => 17,  70 => 16,  65 => 15,  63 => 14,  60 => 13,  58 => 12,  47 => 7,  43 => 6,  39 => 5,  37 => 4,  35 => 3,  29 => 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 Source("", "@particles/feedback2.html.twig", "/home/webdevpb/public_html/iss/templates/it_insightfx/particles/feedback2.html.twig");
    }
}
