<?php

/* @websiteWidgets/accordion/templates/default.twig.html */
class __TwigTemplate_b0aa87abce7e6bb48cbae505310384706fa41e91fa3cbcc9d86b6e0b2d7e9a37 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "<div id=\"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getWidgetId", [], "method"), "html", null, true);
        echo "\" class=\"moto-widget moto-widget-accordion moto-widget_interactive moto-preset-";
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "preset", []), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getAlignClass", [], "method"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getSpacing", [0 => "classes"], "method"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getVisibleOn", [0 => "classes"], "method"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getAnimationClasses", [], "method"), "html", null, true);
        echo " moto-disabling_row-fixed set-row-gutter-0\" data-widget=\"accordion\" data-preset=\"";
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "preset", []), "html", null, true);
        echo "\" ";
        if ($this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "closeOthers", [])) {
            echo " data-close-others";
        }
        echo ">
    <div id=\"";
        // line 2
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getWidgetId", [], "method"), "html", null, true);
        echo "__content\" class=\"moto-widget-accordion__wrapper\">
        ";
        // line 3
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "children", []));
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 4
            echo "            ";
            if ((isset($context["isServer"]) ? $context["isServer"] : null)) {
                // line 5
                echo "                ";
                echo $this->env->getExtension('Moto\Twig\Extension\WidgetsExtension')->renderWidget($this->env, $context["item"]);
                echo "
            ";
            } else {
                // line 7
                echo "                ";
                    
                // line 8
                echo "            ";
            }
            // line 9
            echo "        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 10
        echo "    </div>
    ";
        // line 11
        if ((isset($context["isPreview"]) ? $context["isPreview"] : null)) {
            echo "<div class=\"moto-widget-empty\"></div>";
        }
        // line 12
        echo "</div>";
    }

    public function getTemplateName()
    {
        return "@websiteWidgets/accordion/templates/default.twig.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  76 => 12,  72 => 11,  69 => 10,  63 => 9,  60 => 8,  57 => 7,  51 => 5,  48 => 4,  44 => 3,  40 => 2,  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("", "@websiteWidgets/accordion/templates/default.twig.html", "/data05/c3111787/public_html/brcc.me.uk/mt-includes/widgets/accordion/templates/default.twig.html");
    }
}
