<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* pages/catalog/get_listing.html.twig */
class __TwigTemplate_3a51f95e191f4e8d97dbc959ec3a3211 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta' => [$this, 'block_meta'],
'gtmDataLayer' => [$this, 'block_gtmDataLayer'],
'stylesheets' => [$this, 'block_stylesheets'],
'breadcrumb' => [$this, 'block_breadcrumb'],
'content' => [$this, 'block_content'],
'listingDescriptionTop' => [$this, 'block_listingDescriptionTop'],
'listingFilter' => [$this, 'block_listingFilter'],
'paginationTop' => [$this, 'block_paginationTop'],
'listing' => [$this, 'block_listing'],
'paginationBottom' => [$this, 'block_paginationBottom'],
'footerCmsContent' => [$this, 'block_footerCmsContent'],
'structuredData' => [$this, 'block_structuredData'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "pages/catalog/catalog_base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/catalog/get_listing.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/catalog/get_listing.html.twig"));
// line 2
$context["page_type_tracking"] = "categories_with_products";
// line 1
$this->parent = $this->load("pages/catalog/catalog_base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_meta(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 5
yield " ";
if ((($tmp = !(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 5, $this->source); })()), "currentPage", [], "any", false, false, false, 5) === 1)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 6
yield " ";
$context["metaInformation"] = ["title" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 7
($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 7), "title", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 7, $this->source); })()), "metaInformation", [], "any", false, false, false, 7), "title", [], "any", false, false, false, 7), CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 7, $this->source); })()), "name", [], "any", false, false, false, 7))) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 7, $this->source); })()), "name", [], "any", false, false, false, 7))), "canonicalUrl" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 8
($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 8), "canonicalUrl", [], "any", true, true, false, 8)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 8, $this->source); })()), "metaInformation", [], "any", false, false, false, 8), "canonicalUrl", [], "any", false, false, false, 8))) : ("")), "robots" => "noindex", "description" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 10
($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 10), "description", [], "any", true, true, false, 10)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 10, $this->source); })()), "metaInformation", [], "any", false, false, false, 10), "description", [], "any", false, false, false, 10))) : ("")), "maxSnippet" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 11
($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 11), "maxSnippet", [], "any", true, true, false, 11)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 11, $this->source); })()), "metaInformation", [], "any", false, false, false, 11), "maxSnippet", [], "any", false, false, false, 11))) : ("")), "maxVideoPreview" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 12
($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 12), "maxVideoPreview", [], "any", true, true, false, 12)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 12, $this->source); })()), "metaInformation", [], "any", false, false, false, 12), "maxVideoPreview", [], "any", false, false, false, 12))) : ("")), "metaKeywords" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 13
($context["category"] ?? null), "metaInformation", [], "any", false, true, false, 13), "metaKeywords", [], "any", true, true, false, 13)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 13, $this->source); })()), "metaInformation", [], "any", false, false, false, 13), "metaKeywords", [], "any", false, false, false, 13))) : (""))];
// line 15
yield "
";
// line 17
yield from $this->load("pages/catalog/get_listing.html.twig", 17, "1046880650")->unwrap()->yield(CoreExtension::merge($context, ["metaInformation" => (( // line 18
array_key_exists("metaInformation", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["metaInformation"]) || array_key_exists("metaInformation", $context) ? $context["metaInformation"] : (function () { throw new RuntimeError('Variable "metaInformation" does not exist.', 18, $this->source); })()), null)) : (null)), "fallback" => ((CoreExtension::getAttribute($this->env, $this->source, // line 19
(isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 19, $this->source); })()), "name", [], "any", false, false, false, 19) . " ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta_description_suffix_category")), "categoryKey" => ((CoreExtension::getAttribute($this->env, $this->source, // line 20
($context["slots"] ?? null), "category_key", [], "array", true, true, false, 20)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 20, $this->source); })()), "category_key", [], "array", false, false, false, 20), null)) : (null))]));
// line 28
yield " ";
} else {
// line 29
yield " ";
yield from $this->yieldParentBlock("meta", $context, $blocks);
yield "
";
}
// line 31
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 34
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_gtmDataLayer(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gtmDataLayer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gtmDataLayer"));
// line 35
yield " ";
yield from $this->load("components/atoms/gtm-data-layer/gtm-data-layer.html.twig", 35)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 38
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 39
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
// line 41
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("listing");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 44
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_breadcrumb(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
// line 45
yield " ";
yield from $this->load("components/molecules/breadcrumb/breadcrumb.html.twig", 45)->unwrap()->yield(CoreExtension::merge($context, ["displayFirstEntry" => false, "page" => "listing", "backOffset" => -2]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 52
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 53
yield " ";
yield from $this->unwrap()->yieldBlock('listingDescriptionTop', $context, $blocks);
// line 89
yield "
";
// line 90
yield from $this->unwrap()->yieldBlock('listingFilter', $context, $blocks);
// line 93
yield "
";
// line 94
yield from $this->unwrap()->yieldBlock('paginationTop', $context, $blocks);
// line 102
yield "
";
// line 103
yield from $this->unwrap()->yieldBlock('listing', $context, $blocks);
// line 110
yield "
";
// line 111
yield from $this->unwrap()->yieldBlock('paginationBottom', $context, $blocks);
// line 119
yield "
";
// line 122
yield from $this->unwrap()->yieldBlock('footerCmsContent', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 53
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_listingDescriptionTop(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listingDescriptionTop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listingDescriptionTop"));
// line 54
yield " <div class=\"listing-top-slot-gradient\">
<div class=\"grid grid--left \">
<div class=\"grid__column grid__column-12\">
";
// line 57
yield from $this->load("components/atoms/headline/headline.html.twig", 57)->unwrap()->yield(CoreExtension::merge($context, ["text" => ((CoreExtension::getAttribute($this->env, $this->source, // line 58
($context["categoryContent"] ?? null), "headline", [], "any", true, true, false, 58)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["categoryContent"]) || array_key_exists("categoryContent", $context) ? $context["categoryContent"] : (function () { throw new RuntimeError('Variable "categoryContent" does not exist.', 58, $this->source); })()), "headline", [], "any", false, false, false, 58))) : ("")), "class" => "headline--section headline--inline-block headline--no-spacing"]));
// line 61
yield " ";
if ((($tmp = !(isset($context["isPunchout"]) || array_key_exists("isPunchout", $context) ? $context["isPunchout"] : (function () { throw new RuntimeError('Variable "isPunchout" does not exist.', 61, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 62
yield " <span class=\"headline headline__text headline__text--sm-negative-spacing\">
(";
// line 63
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("total_products", ["%value%" => (isset($context["unfilteredCount"]) || array_key_exists("unfilteredCount", $context) ? $context["unfilteredCount"] : (function () { throw new RuntimeError('Variable "unfilteredCount" does not exist.', 63, $this->source); })()), "%variantCount%" => (isset($context["variantsCount"]) || array_key_exists("variantsCount", $context) ? $context["variantsCount"] : (function () { throw new RuntimeError('Variable "variantsCount" does not exist.', 63, $this->source); })())]), "html", null, true);
yield ")
</span>
";
}
// line 66
yield "
";
// line 67
if (CoreExtension::getAttribute($this->env, $this->source, ($context["slots"] ?? null), "slot_top", [], "any", true, true, false, 67)) {
// line 68
yield " ";
// line 69
yield " ";
if ((($tmp = (isset($context["isPunchout"]) || array_key_exists("isPunchout", $context) ? $context["isPunchout"] : (function () { throw new RuntimeError('Variable "isPunchout" does not exist.', 69, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 70
yield " ";
yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 70)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => Twig\Extension\CoreExtension::filter($this->env, CoreExtension::getAttribute($this->env, $this->source, // line 71
(isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 71, $this->source); })()), "slot_top", [], "any", false, false, false, 71), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return (CoreExtension::getAttribute($this->env, $this->source, (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 71, $this->source); })()), "component", [], "any", false, false, false, 71) != "econda-slider"); })]));
// line 73
yield " ";
} else {
// line 74
yield " ";
yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 74)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => CoreExtension::getAttribute($this->env, $this->source, // line 75
(isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 75, $this->source); })()), "slot_top", [], "any", false, false, false, 75)]));
// line 77
yield " ";
}
// line 78
yield " ";
}
// line 79
yield " </div>
</div>
";
// line 82
if (((Twig\Extension\CoreExtension::length($this->env->getCharset(), ((array_key_exists("categories", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 82, $this->source); })()), [])) : ([]))) > 0) || (CoreExtension::getAttribute($this->env, $this->source, ($context["category"] ?? null), "phaina", [], "any", true, true, false, 82) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 82, $this->source); })()), "phaina", [], "any", false, false, false, 82)))) {
// line 83
yield " ";
yield from $this->load("components/molecules/category-select/category-select.html.twig", 83)->unwrap()->yield(CoreExtension::merge($context, ["categories" => // line 84
(isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 84, $this->source); })())]));
// line 86
yield " ";
}
// line 87
yield " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 90
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_listingFilter(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listingFilter"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listingFilter"));
// line 91
yield " ";
yield from $this->load("components/organisms/filter-bar/filter-bar.html.twig", 91)->unwrap()->yield($context);
// line 92
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 94
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_paginationTop(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "paginationTop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "paginationTop"));
// line 95
yield " <div class=\"listing__pagination listing__pagination--top\" data-pagination-org-page=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 95, $this->source); })()), "currentPage", [], "any", false, false, false, 95), "html", null, true);
yield "\">
";
// line 96
yield from $this->load("components/molecules/pagination/pagination.html.twig", 96)->unwrap()->yield(CoreExtension::merge($context, ["paginationPosition" => "top", "startPage" => CoreExtension::getAttribute($this->env, $this->source, // line 98
(isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 98, $this->source); })()), "currentPage", [], "any", false, false, false, 98)]));
// line 100
yield " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 103
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_listing(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listing"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "listing"));
// line 104
yield " ";
$context["replaceStateParams"] = ["page" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 104, $this->source); })()), "currentPage", [], "any", false, false, false, 104)];
// line 105
yield " ";
yield from $this->load("components/organisms/product-grid/product-grid.html.twig", 105)->unwrap()->yield(CoreExtension::merge($context, ["products" => // line 106
(isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 106, $this->source); })()), "replaceStateParams" => // line 107
(isset($context["replaceStateParams"]) || array_key_exists("replaceStateParams", $context) ? $context["replaceStateParams"] : (function () { throw new RuntimeError('Variable "replaceStateParams" does not exist.', 107, $this->source); })())]));
// line 109
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 111
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_paginationBottom(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "paginationBottom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "paginationBottom"));
// line 112
yield " <div class=\"listing__pagination listing__pagination--bottom\" data-pagination-org-page=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 112, $this->source); })()), "currentPage", [], "any", false, false, false, 112), "html", null, true);
yield "\">
";
// line 113
yield from $this->load("components/molecules/pagination/pagination.html.twig", 113)->unwrap()->yield(CoreExtension::merge($context, ["paginationPosition" => "bottom", "startPage" => CoreExtension::getAttribute($this->env, $this->source, // line 115
(isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 115, $this->source); })()), "currentPage", [], "any", false, false, false, 115)]));
// line 117
yield " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 122
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footerCmsContent(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerCmsContent"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerCmsContent"));
// line 123
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["slots"] ?? null), "slot_list_breaker", [], "any", true, true, false, 123)) {
// line 124
yield " <div class=\"listing__slot-listing-bottom\">
";
// line 125
yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 125)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => CoreExtension::getAttribute($this->env, $this->source, // line 126
(isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 126, $this->source); })()), "slot_list_breaker", [], "any", false, false, false, 126)]));
// line 128
yield " </div>
";
}
// line 130
yield "
<div id=\"clone-target\" class=\"listing__mobile\">";
// line 131
yield "</div>
";
// line 133
if (CoreExtension::getAttribute($this->env, $this->source, ($context["slots"] ?? null), "slot_bottom", [], "any", true, true, false, 133)) {
// line 134
yield " ";
// line 135
yield " ";
if ((($tmp = (isset($context["isPunchout"]) || array_key_exists("isPunchout", $context) ? $context["isPunchout"] : (function () { throw new RuntimeError('Variable "isPunchout" does not exist.', 135, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 136
yield " ";
yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 136)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => Twig\Extension\CoreExtension::filter($this->env, CoreExtension::getAttribute($this->env, $this->source, // line 137
(isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 137, $this->source); })()), "slot_bottom", [], "any", false, false, false, 137), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return (CoreExtension::getAttribute($this->env, $this->source, (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 137, $this->source); })()), "component", [], "any", false, false, false, 137) != "econda-slider"); })]));
// line 139
yield " ";
} else {
// line 140
yield " ";
yield from $this->load("components/organisms/storyblok/storyblok.html.twig", 140)->unwrap()->yield(CoreExtension::merge($context, ["componentData" => CoreExtension::getAttribute($this->env, $this->source, // line 141
(isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 141, $this->source); })()), "slot_bottom", [], "any", false, false, false, 141)]));
// line 143
yield " ";
}
// line 144
yield " ";
}
// line 145
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 148
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_structuredData(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "structuredData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "structuredData"));
// line 149
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["slots"] ?? null), "structured_data_faq", [], "any", true, true, false, 149)) {
// line 150
yield " ";
yield from $this->load("components/organisms/faq-structured-data/faq-structured-data.html.twig", 150)->unwrap()->yield(CoreExtension::merge($context, ["structured_data_faq" => CoreExtension::getAttribute($this->env, $this->source, // line 151
(isset($context["slots"]) || array_key_exists("slots", $context) ? $context["slots"] : (function () { throw new RuntimeError('Variable "slots" does not exist.', 151, $this->source); })()), "structured_data_faq", [], "any", false, false, false, 151)]));
// line 153
yield " ";
}
// line 154
yield " ";
yield from $this->load("components/organisms/schema-item-list/schema-item-list.html.twig", 154)->unwrap()->yield(CoreExtension::merge($context, ["products" => // line 155
(isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 155, $this->source); })())]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/catalog/get_listing.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 569 => 155, 567 => 154, 564 => 153, 562 => 151, 560 => 150, 557 => 149, 544 => 148, 533 => 145, 530 => 144, 527 => 143, 525 => 141, 523 => 140, 520 => 139, 518 => 137, 516 => 136, 513 => 135, 511 => 134, 509 => 133, 505 => 131, 502 => 130, 498 => 128, 496 => 126, 495 => 125, 492 => 124, 489 => 123, 476 => 122, 464 => 117, 462 => 115, 461 => 113, 456 => 112, 443 => 111, 432 => 109, 430 => 107, 429 => 106, 427 => 105, 424 => 104, 411 => 103, 399 => 100, 397 => 98, 396 => 96, 391 => 95, 378 => 94, 367 => 92, 364 => 91, 351 => 90, 339 => 87, 336 => 86, 334 => 84, 332 => 83, 330 => 82, 325 => 79, 322 => 78, 319 => 77, 317 => 75, 315 => 74, 312 => 73, 310 => 71, 308 => 70, 305 => 69, 303 => 68, 301 => 67, 298 => 66, 292 => 63, 289 => 62, 286 => 61, 284 => 58, 283 => 57, 278 => 54, 265 => 53, 254 => 122, 249 => 119, 247 => 111, 244 => 110, 242 => 103, 239 => 102, 237 => 94, 234 => 93, 232 => 90, 229 => 89, 226 => 53, 213 => 52, 201 => 45, 188 => 44, 175 => 41, 169 => 39, 156 => 38, 144 => 35, 131 => 34, 120 => 31, 114 => 29, 111 => 28, 109 => 20, 108 => 19, 107 => 18, 106 => 17, 102 => 15, 100 => 13, 99 => 12, 98 => 11, 97 => 10, 96 => 8, 95 => 7, 93 => 6, 90 => 5, 77 => 4, 66 => 1, 64 => 2, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'pages/catalog/catalog_base.html.twig' %}
{% set page_type_tracking = 'categories_with_products' %}
{% block meta %}
{% if pagination.currentPage is not same as (1) %}
{% set metaInformation= {
'title': category.metaInformation.title|default(category.name),
'canonicalUrl': category.metaInformation.canonicalUrl|default(),
'robots': 'noindex',
'description': category.metaInformation.description|default(),
'maxSnippet': category.metaInformation.maxSnippet|default(),
'maxVideoPreview': category.metaInformation.maxVideoPreview|default(),
'metaKeywords': category.metaInformation.metaKeywords|default(),
} %}
{% embed 'components/organisms/meta/meta.html.twig' with {
'metaInformation': metaInformation|default(null),
'fallback': category.name ~ ' ' ~ 'meta_description_suffix_category'|trans,
'categoryKey': slots['category_key']|default(null)
} %}
{% block canonical %}
{% if 'noindex' not in metaInformation.robots|default|lower and 'nofollow' not in metaInformation.robots|default|lower %}
<link rel=\"canonical\" href=\"{{ app.request.uri|default }}\">
{% endif %}
{% endblock %}
{% endembed %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block gtmDataLayer %}
{% include('components/atoms/gtm-data-layer/gtm-data-layer.html.twig') %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('listing') }}
{% endblock %}
{% block breadcrumb %}
{% include('components/molecules/breadcrumb/breadcrumb.html.twig') with {
'displayFirstEntry': false,
'page': 'listing',
'backOffset': -2
} %}
{% endblock %}
{% block content %}
{% block listingDescriptionTop %}
<div class=\"listing-top-slot-gradient\">
<div class=\"grid grid--left \">
<div class=\"grid__column grid__column-12\">
{% include('components/atoms/headline/headline.html.twig') with {
'text': categoryContent.headline | default,
'class': 'headline--section headline--inline-block headline--no-spacing',
} %}
{% if not isPunchout %}
<span class=\"headline headline__text headline__text--sm-negative-spacing\">
({{ ('total_products'|trans({'%value%': unfilteredCount, '%variantCount%': variantsCount})) }})
</span>
{% endif %}
{% if slots.slot_top is defined %}
{# Filter Econda Slider for punchout #}
{% if isPunchout %}
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_top | filter((v, k) => v.component != 'econda-slider')
}%}
{% else %}
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_top
}%}
{% endif %}
{% endif %}
</div>
</div>
{% if categories|default([])|length > 0 or (category.phaina is defined and category.phaina)%}
{% include('components/molecules/category-select/category-select.html.twig') with {
'categories': categories,
} %}
{% endif %}
</div>
{% endblock %}
{% block listingFilter %}
{% include('components/organisms/filter-bar/filter-bar.html.twig') %}
{% endblock %}
{% block paginationTop %}
<div class=\"listing__pagination listing__pagination--top\" data-pagination-org-page=\"{{pagination.currentPage}}\">
{% include('components/molecules/pagination/pagination.html.twig') with {
'paginationPosition': 'top',
'startPage': pagination.currentPage
} %}
</div>
{% endblock %}
{% block listing %}
{% set replaceStateParams = {'page': pagination.currentPage} %}
{% include('components/organisms/product-grid/product-grid.html.twig') with {
'products': products,
'replaceStateParams': replaceStateParams
} %}
{% endblock %}
{% block paginationBottom %}
<div class=\"listing__pagination listing__pagination--bottom\" data-pagination-org-page=\"{{pagination.currentPage}}\">
{% include('components/molecules/pagination/pagination.html.twig') with {
'paginationPosition': 'bottom',
'startPage': pagination.currentPage
} %}
</div>
{% endblock %}
{% block footerCmsContent %}
{% if slots.slot_list_breaker is defined %}
<div class=\"listing__slot-listing-bottom\">
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_list_breaker
}%}
</div>
{% endif %}
<div id=\"clone-target\" class=\"listing__mobile\">{# Clonable multi-column-texts end up here by JavaScript #}</div>
{% if slots.slot_bottom is defined %}
{# Filter Econda Slider for punchout #}
{% if isPunchout %}
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_bottom | filter((v, k) => v.component != 'econda-slider')
}%}
{% else %}
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_bottom
}%}
{% endif %}
{% endif %}
{% endblock %}
{% endblock %}
{% block structuredData %}
{% if slots.structured_data_faq is defined %}
{% include('components/organisms/faq-structured-data/faq-structured-data.html.twig') with {
'structured_data_faq': slots.structured_data_faq
} %}
{% endif %}
{% include('components/organisms/schema-item-list/schema-item-list.html.twig') with {
'products': products
} %}
{% endblock %}
", "pages/catalog/get_listing.html.twig", "/var/www/html/templates/default/pages/catalog/get_listing.html.twig");
}
}
/* pages/catalog/get_listing.html.twig */
class __TwigTemplate_3a51f95e191f4e8d97dbc959ec3a3211___1046880650 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'canonical' => [$this, 'block_canonical'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 17
return "components/organisms/meta/meta.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/catalog/get_listing.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/catalog/get_listing.html.twig"));
$this->parent = $this->load("components/organisms/meta/meta.html.twig", 17);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 22
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_canonical(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
// line 23
yield " ";
if ((!CoreExtension::inFilter("noindex", Twig\Extension\CoreExtension::lower($this->env->getCharset(), ((CoreExtension::getAttribute($this->env, $this->source, ($context["metaInformation"] ?? null), "robots", [], "any", true, true, false, 23)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["metaInformation"]) || array_key_exists("metaInformation", $context) ? $context["metaInformation"] : (function () { throw new RuntimeError('Variable "metaInformation" does not exist.', 23, $this->source); })()), "robots", [], "any", false, false, false, 23))) : ("")))) && !CoreExtension::inFilter("nofollow", Twig\Extension\CoreExtension::lower($this->env->getCharset(), ((CoreExtension::getAttribute($this->env, $this->source, ($context["metaInformation"] ?? null), "robots", [], "any", true, true, false, 23)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["metaInformation"]) || array_key_exists("metaInformation", $context) ? $context["metaInformation"] : (function () { throw new RuntimeError('Variable "metaInformation" does not exist.', 23, $this->source); })()), "robots", [], "any", false, false, false, 23))) : ("")))))) {
// line 24
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 24), "uri", [], "any", true, true, false, 24)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "uri", [], "any", false, false, false, 24))) : ("")), "html", null, true);
yield "\">
";
}
// line 26
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/catalog/get_listing.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 836 => 26, 830 => 24, 827 => 23, 814 => 22, 791 => 17, 569 => 155, 567 => 154, 564 => 153, 562 => 151, 560 => 150, 557 => 149, 544 => 148, 533 => 145, 530 => 144, 527 => 143, 525 => 141, 523 => 140, 520 => 139, 518 => 137, 516 => 136, 513 => 135, 511 => 134, 509 => 133, 505 => 131, 502 => 130, 498 => 128, 496 => 126, 495 => 125, 492 => 124, 489 => 123, 476 => 122, 464 => 117, 462 => 115, 461 => 113, 456 => 112, 443 => 111, 432 => 109, 430 => 107, 429 => 106, 427 => 105, 424 => 104, 411 => 103, 399 => 100, 397 => 98, 396 => 96, 391 => 95, 378 => 94, 367 => 92, 364 => 91, 351 => 90, 339 => 87, 336 => 86, 334 => 84, 332 => 83, 330 => 82, 325 => 79, 322 => 78, 319 => 77, 317 => 75, 315 => 74, 312 => 73, 310 => 71, 308 => 70, 305 => 69, 303 => 68, 301 => 67, 298 => 66, 292 => 63, 289 => 62, 286 => 61, 284 => 58, 283 => 57, 278 => 54, 265 => 53, 254 => 122, 249 => 119, 247 => 111, 244 => 110, 242 => 103, 239 => 102, 237 => 94, 234 => 93, 232 => 90, 229 => 89, 226 => 53, 213 => 52, 201 => 45, 188 => 44, 175 => 41, 169 => 39, 156 => 38, 144 => 35, 131 => 34, 120 => 31, 114 => 29, 111 => 28, 109 => 20, 108 => 19, 107 => 18, 106 => 17, 102 => 15, 100 => 13, 99 => 12, 98 => 11, 97 => 10, 96 => 8, 95 => 7, 93 => 6, 90 => 5, 77 => 4, 66 => 1, 64 => 2, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'pages/catalog/catalog_base.html.twig' %}
{% set page_type_tracking = 'categories_with_products' %}
{% block meta %}
{% if pagination.currentPage is not same as (1) %}
{% set metaInformation= {
'title': category.metaInformation.title|default(category.name),
'canonicalUrl': category.metaInformation.canonicalUrl|default(),
'robots': 'noindex',
'description': category.metaInformation.description|default(),
'maxSnippet': category.metaInformation.maxSnippet|default(),
'maxVideoPreview': category.metaInformation.maxVideoPreview|default(),
'metaKeywords': category.metaInformation.metaKeywords|default(),
} %}
{% embed 'components/organisms/meta/meta.html.twig' with {
'metaInformation': metaInformation|default(null),
'fallback': category.name ~ ' ' ~ 'meta_description_suffix_category'|trans,
'categoryKey': slots['category_key']|default(null)
} %}
{% block canonical %}
{% if 'noindex' not in metaInformation.robots|default|lower and 'nofollow' not in metaInformation.robots|default|lower %}
<link rel=\"canonical\" href=\"{{ app.request.uri|default }}\">
{% endif %}
{% endblock %}
{% endembed %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block gtmDataLayer %}
{% include('components/atoms/gtm-data-layer/gtm-data-layer.html.twig') %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('listing') }}
{% endblock %}
{% block breadcrumb %}
{% include('components/molecules/breadcrumb/breadcrumb.html.twig') with {
'displayFirstEntry': false,
'page': 'listing',
'backOffset': -2
} %}
{% endblock %}
{% block content %}
{% block listingDescriptionTop %}
<div class=\"listing-top-slot-gradient\">
<div class=\"grid grid--left \">
<div class=\"grid__column grid__column-12\">
{% include('components/atoms/headline/headline.html.twig') with {
'text': categoryContent.headline | default,
'class': 'headline--section headline--inline-block headline--no-spacing',
} %}
{% if not isPunchout %}
<span class=\"headline headline__text headline__text--sm-negative-spacing\">
({{ ('total_products'|trans({'%value%': unfilteredCount, '%variantCount%': variantsCount})) }})
</span>
{% endif %}
{% if slots.slot_top is defined %}
{# Filter Econda Slider for punchout #}
{% if isPunchout %}
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_top | filter((v, k) => v.component != 'econda-slider')
}%}
{% else %}
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_top
}%}
{% endif %}
{% endif %}
</div>
</div>
{% if categories|default([])|length > 0 or (category.phaina is defined and category.phaina)%}
{% include('components/molecules/category-select/category-select.html.twig') with {
'categories': categories,
} %}
{% endif %}
</div>
{% endblock %}
{% block listingFilter %}
{% include('components/organisms/filter-bar/filter-bar.html.twig') %}
{% endblock %}
{% block paginationTop %}
<div class=\"listing__pagination listing__pagination--top\" data-pagination-org-page=\"{{pagination.currentPage}}\">
{% include('components/molecules/pagination/pagination.html.twig') with {
'paginationPosition': 'top',
'startPage': pagination.currentPage
} %}
</div>
{% endblock %}
{% block listing %}
{% set replaceStateParams = {'page': pagination.currentPage} %}
{% include('components/organisms/product-grid/product-grid.html.twig') with {
'products': products,
'replaceStateParams': replaceStateParams
} %}
{% endblock %}
{% block paginationBottom %}
<div class=\"listing__pagination listing__pagination--bottom\" data-pagination-org-page=\"{{pagination.currentPage}}\">
{% include('components/molecules/pagination/pagination.html.twig') with {
'paginationPosition': 'bottom',
'startPage': pagination.currentPage
} %}
</div>
{% endblock %}
{% block footerCmsContent %}
{% if slots.slot_list_breaker is defined %}
<div class=\"listing__slot-listing-bottom\">
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_list_breaker
}%}
</div>
{% endif %}
<div id=\"clone-target\" class=\"listing__mobile\">{# Clonable multi-column-texts end up here by JavaScript #}</div>
{% if slots.slot_bottom is defined %}
{# Filter Econda Slider for punchout #}
{% if isPunchout %}
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_bottom | filter((v, k) => v.component != 'econda-slider')
}%}
{% else %}
{% include 'components/organisms/storyblok/storyblok.html.twig' with {
'componentData': slots.slot_bottom
}%}
{% endif %}
{% endif %}
{% endblock %}
{% endblock %}
{% block structuredData %}
{% if slots.structured_data_faq is defined %}
{% include('components/organisms/faq-structured-data/faq-structured-data.html.twig') with {
'structured_data_faq': slots.structured_data_faq
} %}
{% endif %}
{% include('components/organisms/schema-item-list/schema-item-list.html.twig') with {
'products': products
} %}
{% endblock %}
", "pages/catalog/get_listing.html.twig", "/var/www/html/templates/default/pages/catalog/get_listing.html.twig");
}
}