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

/* OfficeBrainProductBundle:Product:recentlyViewedProduct.html.twig */
class __TwigTemplate_f3f5d66a90c2d263e72b32e476cb5d5ca6222c2a644af9de98189a0f59e95763 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
            'recentrly_viewed_product' => [$this, 'block_recentrly_viewed_product'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return $this->loadTemplate(((($this->getAttribute($this->getAttribute($this->getAttribute(($context["app"] ?? null), "request", []), "get", [0 => "project_setting"], "method"), "instance_theme_path", []) . ":") . $this->getAttribute($this->getAttribute($this->getAttribute(($context["app"] ?? null), "request", []), "get", [0 => "project_setting"], "method"), "instance_theme", [])) . ":ProductDetail/recentlyViewedProductLayout.html.twig"), "OfficeBrainProductBundle:Product:recentlyViewedProduct.html.twig", 1);
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 2
        $context["product_box_bootstrap_class"] = "col-sm-12 col-md-6 col-lg-12 col-xs-12";
        // line 1
        $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_recentrly_viewed_product($context, array $blocks = [])
    {
        // line 4
        echo "    ";
        $this->loadTemplate("OfficeBrainSearchBundle:Search:searchProductRow.html.twig", "OfficeBrainProductBundle:Product:recentlyViewedProduct.html.twig", 4)->display(twig_array_merge($context, ["record_set" => ($context["recent_view_array"] ?? null), "total_record" => twig_length_filter($this->env, ($context["recent_view_array"] ?? null))]));
    }

    public function getTemplateName()
    {
        return "OfficeBrainProductBundle:Product:recentlyViewedProduct.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  44 => 4,  41 => 3,  37 => 1,  35 => 2,  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("", "OfficeBrainProductBundle:Product:recentlyViewedProduct.html.twig", "/var/www/html/src/OfficeBrain/Bundle/ProductBundle/Resources/views/Product/recentlyViewedProduct.html.twig");
    }
}
