<?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-webp */
class __TwigTemplate_a3d92620b82900696174f3b6f14abea0b7593b33cbfc3fe977ad6800e729a1b0 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-webp");
        $this->parent = $this->loadTemplate("layouts/_main", "property/index-webp", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
        craft\helpers\Template::endProfile("template", "property/index-webp");
    }

    // 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\">
            Featured Properties
          </h2>
          <h5>Nex Gen .Webp Optimized (Business)</h5>
        </div>
      </div>

        <div class=\"row\">
          <div class=\"col-12\">
            <div class=\"property-slider-wrap\">
              <div class=\"property-slider\">

                <!-- .item -->
                ";
        // line 22
        $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.', 22, $this->source); })()), "entries", []), "section", [0 => "property"], "method"), "all", [], "method");
        // line 23
        echo "
                ";
        // line 24
        $context["transform"] = true;
        // line 25
        echo "                ";
        $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.', 25, $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 26
            echo "

                  ";
            // line 28
            $this->loadTemplate("property/_single", "property/index-webp", 28)->display(twig_array_merge($context, ["item" =>             // line 29
$context["item"], "transform" =>             // line 30
(isset($context["transform"]) || array_key_exists("transform", $context) ? $context["transform"] : (function () { throw new RuntimeError('Variable "transform" does not exist.', 30, $this->source); })())]));
            // line 32
            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 33
        echo "                <!-- .item -->
              </div>

              <div
                id=\"property-nav\"
                class=\"controls\"
                tabindex=\"0\"
                aria-label=\"Carousel Navigation\"
              >
                <span
                  class=\"prev\"
                  data-controls=\"prev\"
                  aria-controls=\"property\"
                  tabindex=\"-1\"
                  >Prev</span
                >
                <span
                  class=\"next\"
                  data-controls=\"next\"
                  aria-controls=\"property\"
                  tabindex=\"-1\"
                  >Next</span
                >
              </div>
            </div>
          </div>
        </div>


    </div>
  </div>

";
        craft\helpers\Template::endProfile("block", "content");
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  120 => 33,  106 => 32,  104 => 30,  103 => 29,  102 => 28,  98 => 26,  80 => 25,  78 => 24,  75 => 23,  73 => 22,  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\">
            Featured Properties
          </h2>
          <h5>Nex Gen .Webp Optimized (Business)</h5>
        </div>
      </div>

        <div class=\"row\">
          <div class=\"col-12\">
            <div class=\"property-slider-wrap\">
              <div class=\"property-slider\">

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

                {% set transform = true %}
                {% for item in array %}


                  {% include 'property/_single' with {
                    item: item,
                    transform: transform 
                  } %}
                {% endfor %}
                <!-- .item -->
              </div>

              <div
                id=\"property-nav\"
                class=\"controls\"
                tabindex=\"0\"
                aria-label=\"Carousel Navigation\"
              >
                <span
                  class=\"prev\"
                  data-controls=\"prev\"
                  aria-controls=\"property\"
                  tabindex=\"-1\"
                  >Prev</span
                >
                <span
                  class=\"next\"
                  data-controls=\"next\"
                  aria-controls=\"property\"
                  tabindex=\"-1\"
                  >Next</span
                >
              </div>
            </div>
          </div>
        </div>


    </div>
  </div>

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