var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/22/22fa5d7b6d2b1648e37f4c04cbd3dc2bdb77c418946eaeb3193bf1590b4cdd1f.php line 133

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @Storefront/storefront/component/listing/filter-panel.html.twig */
  16. class __TwigTemplate_86fb19327ef8485fdc8090f48ca1ee323cae7152d9f515e23b4b4902f9ec1966 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->parent false;
  25.         $this->blocks = [
  26.             'component_filter_panel' => [$this'block_component_filter_panel'],
  27.             'component_filter_panel_header' => [$this'block_component_filter_panel_header'],
  28.             'component_filter_panel_element' => [$this'block_component_filter_panel_element'],
  29.             'component_filter_panel_items_container' => [$this'block_component_filter_panel_items_container'],
  30.             'component_filter_panel_items' => [$this'block_component_filter_panel_items'],
  31.             'component_filter_panel_item_manufacturer' => [$this'block_component_filter_panel_item_manufacturer'],
  32.             'component_filter_panel_item_properties' => [$this'block_component_filter_panel_item_properties'],
  33.             'component_filter_panel_item_price' => [$this'block_component_filter_panel_item_price'],
  34.             'component_filter_panel_item_rating_select' => [$this'block_component_filter_panel_item_rating_select'],
  35.             'component_filter_panel_item_shipping_free' => [$this'block_component_filter_panel_item_shipping_free'],
  36.             'component_filter_panel_active_container' => [$this'block_component_filter_panel_active_container'],
  37.             'component_filter_panel_active_container_inner' => [$this'block_component_filter_panel_active_container_inner'],
  38.         ];
  39.     }
  40.     protected function doDisplay(array $context, array $blocks = [])
  41.     {
  42.         $macros $this->macros;
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/component/listing/filter-panel.html.twig"));
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/component/listing/filter-panel.html.twig"));
  47.         // line 1
  48.         $this->displayBlock('component_filter_panel'$context$blocks);
  49.         
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  51.         
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  53.     }
  54.     public function block_component_filter_panel($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel"));
  61.         echo " ";
  62.         // line 2
  63.         echo "    ";
  64.         $this->displayBlock('component_filter_panel_header'$context$blocks);
  65.         // line 11
  66.         echo "
  67.     ";
  68.         // line 13
  69.         echo "    ";
  70.         $this->displayBlock('component_filter_panel_element'$context$blocks);
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.         
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  75.     }
  76.     // line 2
  77.     public function block_component_filter_panel_header($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_header"));
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_header"));
  84.         // line 3
  85.         echo "        <div class=\"filter-panel-offcanvas-header\">
  86.             <div class=\"filter-panel-offcanvas-only filter-panel-offcanvas-title\">";
  87.         // line 4
  88.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.filterTitleText"), "html"nulltrue);
  89.         echo "</div>
  90.             <div class=\"filter-panel-offcanvas-only filter-panel-offcanvas-close js-offcanvas-close\">
  91.                 ";
  92.         // line 7
  93.         ((function () use ($context$blocks) {
  94.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  95.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  96.             return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/component/listing/filter-panel.html.twig"7);
  97.         })())->display(twig_array_merge($context, ["size" => "md""name" => "x"]));
  98.         // line 8
  99.         echo "            </div>
  100.         </div>
  101.     ";
  102.         
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  104.         
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  106.     }
  107.     // line 13
  108.     public function block_component_filter_panel_element($context, array $blocks = [])
  109.     {
  110.         $macros $this->macros;
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_element"));
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_element"));
  115.         // line 14
  116.         echo "        <div class=\"filter-panel";
  117.         if (($context["sidebar"] ?? null)) {
  118.             echo " is--sidebar";
  119.         }
  120.         echo "\">
  121.             ";
  122.         // line 15
  123.         $this->displayBlock('component_filter_panel_items_container'$context$blocks);
  124.         // line 98
  125.         echo "
  126.             ";
  127.         // line 99
  128.         $this->displayBlock('component_filter_panel_active_container'$context$blocks);
  129.         // line 104
  130.         echo "        </div>
  131.      ";
  132.         
  133.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  134.         
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  136.     }
  137.     // line 15
  138.     public function block_component_filter_panel_items_container($context, array $blocks = [])
  139.     {
  140.         $macros $this->macros;
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  142.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_items_container"));
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  144.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_items_container"));
  145.         // line 16
  146.         echo "                <div class=\"filter-panel-items-container\">
  147.                     ";
  148.         // line 17
  149.         $this->displayBlock('component_filter_panel_items'$context$blocks);
  150.         // line 96
  151.         echo "                </div>
  152.             ";
  153.         
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  155.         
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  157.     }
  158.     // line 17
  159.     public function block_component_filter_panel_items($context, array $blocks = [])
  160.     {
  161.         $macros $this->macros;
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_items"));
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_items"));
  166.         // line 18
  167.         echo "
  168.                         ";
  169.         // line 19
  170.         $this->displayBlock('component_filter_panel_item_manufacturer'$context$blocks);
  171.         // line 33
  172.         echo "
  173.                         ";
  174.         // line 34
  175.         $this->displayBlock('component_filter_panel_item_properties'$context$blocks);
  176.         // line 52
  177.         echo "
  178.                         ";
  179.         // line 53
  180.         $this->displayBlock('component_filter_panel_item_price'$context$blocks);
  181.         // line 71
  182.         echo "
  183.                         ";
  184.         // line 72
  185.         $this->displayBlock('component_filter_panel_item_rating_select'$context$blocks);
  186.         // line 84
  187.         echo "
  188.                         ";
  189.         // line 85
  190.         $this->displayBlock('component_filter_panel_item_shipping_free'$context$blocks);
  191.         // line 95
  192.         echo "                    ";
  193.         
  194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  195.         
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  197.     }
  198.     // line 19
  199.     public function block_component_filter_panel_item_manufacturer($context, array $blocks = [])
  200.     {
  201.         $macros $this->macros;
  202.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_manufacturer"));
  204.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_manufacturer"));
  206.         // line 20
  207.         echo "                            ";
  208.         // line 21
  209.         echo "                            ";
  210.         $context["manufacturers"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse21), "get", [=> "manufacturer"], "method"falsefalsefalse21);
  211.         // line 22
  212.         echo "                            ";
  213.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["manufacturers"] ?? null), "entities", [], "any"falsefalsefalse22))) {
  214.             // line 23
  215.             echo "                                ";
  216.             $context["manufacturersSorted"] = twig_sort_filter($this->envsw_get_attribute($this->env$this->source, ($context["manufacturers"] ?? null), "entities", [], "any"falsefalsefalse23), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_lower_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["a"] ?? null), "translated", [], "any"falsefalsefalse23), "name", [], "any"falsefalsefalse23)) <=> twig_lower_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["b"] ?? null), "translated", [], "any"falsefalsefalse23), "name", [], "any"falsefalsefalse23))); });
  217.             // line 24
  218.             echo "
  219.                                 ";
  220.             // line 25
  221.             $this->loadTemplate("@Storefront/storefront/component/listing/filter/filter-multi-select.html.twig""@Storefront/storefront/component/listing/filter-panel.html.twig"25)->display(twig_array_merge($context, ["elements" =>             // line 26
  222. ($context["manufacturersSorted"] ?? null), "sidebar" =>             // line 27
  223. ($context["sidebar"] ?? null), "name" => "manufacturer""displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.filterManufacturerDisplayName"))]));
  224.             // line 31
  225.             echo "                            ";
  226.         }
  227.         // line 32
  228.         echo "                        ";
  229.         
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  231.         
  232.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  233.     }
  234.     // line 34
  235.     public function block_component_filter_panel_item_properties($context, array $blocks = [])
  236.     {
  237.         $macros $this->macros;
  238.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  239.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_properties"));
  240.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  241.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_properties"));
  242.         // line 35
  243.         echo "                            ";
  244.         // line 36
  245.         echo "                            ";
  246.         $context["properties"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse36), "get", [=> "properties"], "method"falsefalsefalse36);
  247.         // line 37
  248.         echo "
  249.                             ";
  250.         // line 38
  251.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["properties"] ?? null), "entities", [], "any"falsefalsefalse38))) {
  252.             // line 39
  253.             echo "                                ";
  254.             $context['_parent'] = $context;
  255.             $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->source, ($context["properties"] ?? null), "entities", [], "any"falsefalsefalse39));
  256.             $context['loop'] = [
  257.               'parent' => $context['_parent'],
  258.               'index0' => 0,
  259.               'index'  => 1,
  260.               'first'  => true,
  261.             ];
  262.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  263.                 $length count($context['_seq']);
  264.                 $context['loop']['revindex0'] = $length 1;
  265.                 $context['loop']['revindex'] = $length;
  266.                 $context['loop']['length'] = $length;
  267.                 $context['loop']['last'] = === $length;
  268.             }
  269.             foreach ($context['_seq'] as $context["_key"] => $context["property"]) {
  270.                 // line 40
  271.                 echo "                                    ";
  272.                 $this->loadTemplate("@Storefront/storefront/component/listing/filter/filter-property-select.html.twig""@Storefront/storefront/component/listing/filter-panel.html.twig"40)->display(twig_array_merge($context, ["elements" => sw_get_attribute($this->env$this->source,                 // line 41
  273. $context["property"], "options", [], "any"falsefalsefalse41), "sidebar" =>                 // line 42
  274. ($context["sidebar"] ?? null), "name" => "properties""displayName" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,                 // line 44
  275. $context["property"], "translated", [], "any"falsefalsefalse44), "name", [], "any"falsefalsefalse44), "displayType" => sw_get_attribute($this->env$this->source,                 // line 45
  276. $context["property"], "displayType", [], "any"falsefalsefalse45), "pluginSelector" => "filter-property-select""propertyName" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,                 // line 47
  277. $context["property"], "translated", [], "any"falsefalsefalse47), "name", [], "any"falsefalsefalse47)]));
  278.                 // line 49
  279.                 echo "                                ";
  280.                 ++$context['loop']['index0'];
  281.                 ++$context['loop']['index'];
  282.                 $context['loop']['first'] = false;
  283.                 if (isset($context['loop']['length'])) {
  284.                     --$context['loop']['revindex0'];
  285.                     --$context['loop']['revindex'];
  286.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  287.                 }
  288.             }
  289.             $_parent $context['_parent'];
  290.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['property'], $context['_parent'], $context['loop']);
  291.             $context array_intersect_key($context$_parent) + $_parent;
  292.             // line 50
  293.             echo "                            ";
  294.         }
  295.         // line 51
  296.         echo "                        ";
  297.         
  298.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  299.         
  300.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  301.     }
  302.     // line 53
  303.     public function block_component_filter_panel_item_price($context, array $blocks = [])
  304.     {
  305.         $macros $this->macros;
  306.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  307.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_price"));
  308.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  309.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_price"));
  310.         // line 54
  311.         echo "                            ";
  312.         $context["price"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse54), "get", [=> "price"], "method"falsefalsefalse54);
  313.         // line 55
  314.         echo "
  315.                             ";
  316.         // line 56
  317.         if (((sw_get_attribute($this->env$this->source, ($context["price"] ?? null), "min", [], "any"falsefalsefalse56) !== null) && (sw_get_attribute($this->env$this->source, ($context["price"] ?? null), "max", [], "any"falsefalsefalse56) !== null))) {
  318.             // line 57
  319.             echo "                                ";
  320.             // line 58
  321.             echo "                                ";
  322.             $this->loadTemplate("@Storefront/storefront/component/listing/filter/filter-range.html.twig""@Storefront/storefront/component/listing/filter-panel.html.twig"58)->display(twig_array_merge($context, ["price" =>             // line 59
  323. ($context["price"] ?? null), "sidebar" =>             // line 60
  324. ($context["sidebar"] ?? null), "name" => "price""minKey" => "min-price""maxKey" => "max-price""lowerBound" => 0"displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.filterPriceDisplayName")), "minInputValue" => 0"maxInputValue" => sw_get_attribute($this->env$this->source,             // line 67
  325. ($context["price"] ?? null), "max", [], "any"falsefalsefalse67)]));
  326.             // line 69
  327.             echo "                            ";
  328.         }
  329.         // line 70
  330.         echo "                        ";
  331.         
  332.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  333.         
  334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  335.     }
  336.     // line 72
  337.     public function block_component_filter_panel_item_rating_select($context, array $blocks = [])
  338.     {
  339.         $macros $this->macros;
  340.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  341.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_rating_select"));
  342.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  343.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_rating_select"));
  344.         // line 73
  345.         echo "                            ";
  346.         $context["rating"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse73), "get", [=> "rating"], "method"falsefalsefalse73);
  347.         // line 74
  348.         echo "
  349.                             ";
  350.         // line 75
  351.         if ((sw_get_attribute($this->env$this->source, ($context["rating"] ?? null), "max", [], "any"falsefalsefalse75) > 0)) {
  352.             // line 76
  353.             echo "                                ";
  354.             $this->loadTemplate("@Storefront/storefront/component/listing/filter/filter-rating-select.html.twig""@Storefront/storefront/component/listing/filter-panel.html.twig"76)->display(twig_array_merge($context, ["sidebar" =>             // line 77
  355. ($context["sidebar"] ?? null), "name" => "rating""pluginSelector" => "filter-rating-select""displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.filterRatingDisplayName"))]));
  356.             // line 82
  357.             echo "                            ";
  358.         }
  359.         // line 83
  360.         echo "                        ";
  361.         
  362.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  363.         
  364.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  365.     }
  366.     // line 85
  367.     public function block_component_filter_panel_item_shipping_free($context, array $blocks = [])
  368.     {
  369.         $macros $this->macros;
  370.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  371.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_shipping_free"));
  372.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  373.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_item_shipping_free"));
  374.         // line 86
  375.         echo "                            ";
  376.         $context["shippingFree"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["listing"] ?? null), "aggregations", [], "any"falsefalsefalse86), "get", [=> "shipping-free"], "method"falsefalsefalse86);
  377.         // line 87
  378.         echo "
  379.                             ";
  380.         // line 88
  381.         if ((sw_get_attribute($this->env$this->source, ($context["shippingFree"] ?? null), "max", [], "any"falsefalsefalse88) > 0)) {
  382.             // line 89
  383.             echo "                                ";
  384.             $this->loadTemplate("@Storefront/storefront/component/listing/filter/filter-boolean.html.twig""@Storefront/storefront/component/listing/filter-panel.html.twig"89)->display(twig_array_merge($context, ["name" => "shipping-free""displayName" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.filterFreeShippingDisplayName"))]));
  385.             // line 93
  386.             echo "                            ";
  387.         }
  388.         // line 94
  389.         echo "                        ";
  390.         
  391.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  392.         
  393.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  394.     }
  395.     // line 99
  396.     public function block_component_filter_panel_active_container($context, array $blocks = [])
  397.     {
  398.         $macros $this->macros;
  399.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  400.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_active_container"));
  401.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  402.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_active_container"));
  403.         // line 100
  404.         echo "                <div class=\"filter-panel-active-container\">
  405.                     ";
  406.         // line 101
  407.         $this->displayBlock('component_filter_panel_active_container_inner'$context$blocks);
  408.         // line 102
  409.         echo "                </div>
  410.             ";
  411.         
  412.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  413.         
  414.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  415.     }
  416.     // line 101
  417.     public function block_component_filter_panel_active_container_inner($context, array $blocks = [])
  418.     {
  419.         $macros $this->macros;
  420.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  421.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_active_container_inner"));
  422.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  423.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_filter_panel_active_container_inner"));
  424.         
  425.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  426.         
  427.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  428.     }
  429.     public function getTemplateName()
  430.     {
  431.         return "@Storefront/storefront/component/listing/filter-panel.html.twig";
  432.     }
  433.     public function getDebugInfo()
  434.     {
  435.         return array (  485 => 101,  474 => 102,  472 => 101,  469 => 100,  459 => 99,  449 => 94,  446 => 93,  443 => 89,  441 => 88,  438 => 87,  435 => 86,  425 => 85,  415 => 83,  412 => 82,  410 => 77,  408 => 76,  406 => 75,  403 => 74,  400 => 73,  390 => 72,  380 => 70,  377 => 69,  375 => 67,  374 => 60,  373 => 59,  371 => 58,  369 => 57,  367 => 56,  364 => 55,  361 => 54,  351 => 53,  341 => 51,  338 => 50,  324 => 49,  322 => 47,  321 => 45,  320 => 44,  319 => 42,  318 => 41,  316 => 40,  298 => 39,  296 => 38,  293 => 37,  290 => 36,  288 => 35,  278 => 34,  268 => 32,  265 => 31,  263 => 27,  262 => 26,  261 => 25,  258 => 24,  255 => 23,  252 => 22,  249 => 21,  247 => 20,  237 => 19,  227 => 95,  225 => 85,  222 => 84,  220 => 72,  217 => 71,  215 => 53,  212 => 52,  210 => 34,  207 => 33,  205 => 19,  202 => 18,  192 => 17,  181 => 96,  179 => 17,  176 => 16,  166 => 15,  155 => 104,  153 => 99,  150 => 98,  148 => 15,  141 => 14,  131 => 13,  119 => 8,  111 => 7,  105 => 4,  102 => 3,  92 => 2,  81 => 13,  78 => 11,  75 => 2,  55 => 1,);
  436.     }
  437.     public function getSourceContext()
  438.     {
  439.         return new Source("{% block component_filter_panel %} {# merge 16.11.20 #}
  440.     {% block component_filter_panel_header %}
  441.         <div class=\"filter-panel-offcanvas-header\">
  442.             <div class=\"filter-panel-offcanvas-only filter-panel-offcanvas-title\">{{ \"listing.filterTitleText\"|trans }}</div>
  443.             <div class=\"filter-panel-offcanvas-only filter-panel-offcanvas-close js-offcanvas-close\">
  444.                 {% sw_icon 'x' style { 'size': 'md' } %}
  445.             </div>
  446.         </div>
  447.     {% endblock %}
  448.     {# @var listing \\Shopware\\Core\\Framework\\DataAbstractionLayer\\Search\\EntitySearchResult #}
  449.     {% block component_filter_panel_element %}
  450.         <div class=\"filter-panel{% if sidebar %} is--sidebar{% endif %}\">
  451.             {% block component_filter_panel_items_container %}
  452.                 <div class=\"filter-panel-items-container\">
  453.                     {% block component_filter_panel_items %}
  454.                         {% block component_filter_panel_item_manufacturer %}
  455.                             {# @var manufacturers \\Shopware\\Core\\Framework\\DataAbstractionLayer\\Search\\AggregationResult\\Metric\\EntityResult #}
  456.                             {% set manufacturers = listing.aggregations.get('manufacturer') %}
  457.                             {% if not manufacturers.entities is empty %}
  458.                                 {% set manufacturersSorted = manufacturers.entities|sort((a, b) => a.translated.name|lower <=> b.translated.name|lower) %}
  459.                                 {% sw_include '@Storefront/storefront/component/listing/filter/filter-multi-select.html.twig' with {
  460.                                     elements: manufacturersSorted,
  461.                                     sidebar: sidebar,
  462.                                     name: 'manufacturer',
  463.                                     displayName: 'listing.filterManufacturerDisplayName'|trans|sw_sanitize
  464.                                 } %}
  465.                             {% endif %}
  466.                         {% endblock %}
  467.                         {% block component_filter_panel_item_properties %}
  468.                             {# @var properties \\Shopware\\Core\\Framework\\DataAbstractionLayer\\Search\\AggregationResult\\Metric\\EntityResult #}
  469.                             {% set properties = listing.aggregations.get('properties') %}
  470.                             {% if not properties.entities is empty %}
  471.                                 {% for property in properties.entities %}
  472.                                     {% sw_include '@Storefront/storefront/component/listing/filter/filter-property-select.html.twig' with {
  473.                                         elements: property.options,
  474.                                         sidebar: sidebar,
  475.                                         name: 'properties',
  476.                                         displayName: property.translated.name,
  477.                                         displayType: property.displayType,
  478.                                         pluginSelector: 'filter-property-select',
  479.                                         propertyName: property.translated.name
  480.                                     } %}
  481.                                 {% endfor %}
  482.                             {% endif %}
  483.                         {% endblock %}
  484.                         {% block component_filter_panel_item_price %}
  485.                             {% set price = listing.aggregations.get('price') %}
  486.                             {% if price.min !== null and price.max !== null %}
  487.                                 {# '@deprecated tag:v6.5.0 - Variable `price` will no longer be required by filter-range.html.twig - Use `minInputValue` and `maxInputValue` instead.' #}
  488.                                 {% sw_include '@Storefront/storefront/component/listing/filter/filter-range.html.twig' with {
  489.                                     price: price,
  490.                                     sidebar: sidebar,
  491.                                     name: 'price',
  492.                                     minKey: 'min-price',
  493.                                     maxKey: 'max-price',
  494.                                     lowerBound: 0,
  495.                                     displayName: 'listing.filterPriceDisplayName'|trans|sw_sanitize,
  496.                                     minInputValue: 0,
  497.                                     maxInputValue: price.max,
  498.                                 } %}
  499.                             {% endif %}
  500.                         {% endblock %}
  501.                         {% block component_filter_panel_item_rating_select %}
  502.                             {% set rating = listing.aggregations.get('rating') %}
  503.                             {% if rating.max > 0 %}
  504.                                 {% sw_include '@Storefront/storefront/component/listing/filter/filter-rating-select.html.twig' with {
  505.                                     sidebar: sidebar,
  506.                                     name: 'rating',
  507.                                     pluginSelector: 'filter-rating-select',
  508.                                     displayName: 'listing.filterRatingDisplayName'|trans|sw_sanitize
  509.                                 } %}
  510.                             {% endif %}
  511.                         {% endblock %}
  512.                         {% block component_filter_panel_item_shipping_free %}
  513.                             {% set shippingFree = listing.aggregations.get('shipping-free') %}
  514.                             {% if shippingFree.max > 0 %}
  515.                                 {% sw_include '@Storefront/storefront/component/listing/filter/filter-boolean.html.twig' with {
  516.                                     name: 'shipping-free',
  517.                                     displayName: 'listing.filterFreeShippingDisplayName'|trans|sw_sanitize
  518.                                 } %}
  519.                             {% endif %}
  520.                         {% endblock %}
  521.                     {% endblock %}
  522.                 </div>
  523.             {% endblock %}
  524.             {% block component_filter_panel_active_container %}
  525.                 <div class=\"filter-panel-active-container\">
  526.                     {% block component_filter_panel_active_container_inner %}{% endblock %}
  527.                 </div>
  528.             {% endblock %}
  529.         </div>
  530.      {% endblock %}
  531. {% endblock %}
  532. ""@Storefront/storefront/component/listing/filter-panel.html.twig""/srv/users/liamoriasw6/apps/liamoriasw6/vendor/shopware/storefront/Resources/views/storefront/component/listing/filter-panel.html.twig");
  533.     }
  534. }