<?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;

/* property/index-accord */
class __TwigTemplate_8b4e5af04901ddb59b74fc9eac23de686fc03d4a9a0437d7b5932a9e6eea23c7 extends Template
{
    private $source;
    private $macros = [];

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

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

        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "layouts/_main";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        craft\helpers\Template::beginProfile("template", "property/index-accord");
        $this->parent = $this->loadTemplate("layouts/_main", "property/index-accord", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
        craft\helpers\Template::endProfile("template", "property/index-accord");
    }

    // line 3
    public function block_content($context, array $blocks = [])
    {
        $macros = $this->macros;
        craft\helpers\Template::beginProfile("block", "content");
        // line 4
        echo "  <div class=\"section mt-5\">
    <div class=\"container mt-4\">
      <div class=\"row mb-5 align-items-center\">
        <div class=\"col-lg-6 text-center mx-auto\">
          <h2 class=\"font-weight-bold text-primary heading\">
            Accordian List of Property
          </h2>
          <h5>Toggle and Tabs (Business Plan)</h5>
        </div>
      </div>
        <div class=\"row\">
          <div class=\"col-12\">

                <!-- .item -->
                ";
        // line 18
        $context["array"] = craft\helpers\Template::attribute($this->env, $this->source, craft\helpers\Template::attribute($this->env, $this->source, craft\helpers\Template::attribute($this->env, $this->source, (isset($context["craft"]) || array_key_exists("craft", $context) ? $context["craft"] : (function () { throw new RuntimeError('Variable "craft" does not exist.', 18, $this->source); })()), "entries", []), "section", [0 => "property"], "method"), "all", [], "method");
        // line 19
        echo "
                ";
        // line 20
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["array"]) || array_key_exists("array", $context) ? $context["array"] : (function () { throw new RuntimeError('Variable "array" does not exist.', 20, $this->source); })()));
        $context['loop'] = [
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        ];
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 21
            echo "                    ";
            $this->loadTemplate("property/views/_single-accord", "property/index-accord", 21)->display($context);
            // line 22
            echo "                ";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 23
        echo "                <!-- .item -->

          </div>
        </div>
    </div>
  </div>
";
        craft\helpers\Template::endProfile("block", "content");
    }

    public function getTemplateName()
    {
        return "property/index-accord";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  108 => 23,  94 => 22,  91 => 21,  74 => 20,  71 => 19,  69 => 18,  53 => 4,  48 => 3,  35 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends 'layouts/_main' %}

{% block content %}
  <div class=\"section mt-5\">
    <div class=\"container mt-4\">
      <div class=\"row mb-5 align-items-center\">
        <div class=\"col-lg-6 text-center mx-auto\">
          <h2 class=\"font-weight-bold text-primary heading\">
            Accordian List of Property
          </h2>
          <h5>Toggle and Tabs (Business Plan)</h5>
        </div>
      </div>
        <div class=\"row\">
          <div class=\"col-12\">

                <!-- .item -->
                {% set array = craft.entries.section('property').all() %}

                {% for item in array  %}
                    {% include 'property/views/_single-accord' %}
                {% endfor %}
                <!-- .item -->

          </div>
        </div>
    </div>
  </div>
{% endblock %}", "property/index-accord", "/home/addons/atweb.space/sub/craft-demo/cms/templates/property/index-accord.twig");
    }
}
