<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
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;
/* @SwagPlatformSecurity/storefront/page/search/index.html.twig */
class __TwigTemplate_78028a5d2cc392bb6ef8cf946863f799b228772f7aae62eb7e8d48d01d58eab6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_search_headline_text' => [$this, 'block_page_search_headline_text'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/page/search/index.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SwagPlatformSecurity/storefront/page/search/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SwagPlatformSecurity/storefront/page/search/index.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/page/search/index.html.twig", "@SwagPlatformSecurity/storefront/page/search/index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_page_search_headline_text($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_search_headline_text"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_search_headline_text"));
// line 4
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["swagSecurity"] ?? null), "isActive", [0 => "NEXT-10624"], "method", false, false, false, 4)) {
// line 5
echo " ";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search.headline", ["%count%" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 6
($context["page"] ?? null), "listing", [], "any", false, false, false, 6), "total", [], "any", false, false, false, 6), "%searchTerm%" => sw_get_attribute($this->env, $this->source, // line 7
($context["page"] ?? null), "searchTerm", [], "any", false, false, false, 7)]), "html", null, true);
// line 8
echo "
";
} else {
// line 10
echo " ";
$this->displayParentBlock("page_search_headline_text", $context, $blocks);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SwagPlatformSecurity/storefront/page/search/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 80 => 10, 76 => 8, 74 => 7, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/search/index.html.twig'%}
{% block page_search_headline_text %}
{% if swagSecurity.isActive('NEXT-10624') %}
{{ \"search.headline\"|trans({
'%count%': page.listing.total,
'%searchTerm%': page.searchTerm,
}) }}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
", "@SwagPlatformSecurity/storefront/page/search/index.html.twig", "/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/SwagPlatformSecurity/src/Resources/views/storefront/page/search/index.html.twig");
}
}