<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Storefront/storefront/element/cms-element-product-slider.html.twig */
class __TwigTemplate_8d5f83d699c019b719f524575ce974fa extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'element_product_slider' => [$this, 'block_element_product_slider'],
'element_product_slider_alignment' => [$this, 'block_element_product_slider_alignment'],
'element_product_slider_slider' => [$this, 'block_element_product_slider_slider'],
'element_product_slider_title' => [$this, 'block_element_product_slider_title'],
'element_product_slider_inner' => [$this, 'block_element_product_slider_inner'],
'element_product_slider_element' => [$this, 'block_element_product_slider_element'],
'element_product_slider_inner_item' => [$this, 'block_element_product_slider_inner_item'],
'element_product_slider_controls' => [$this, 'block_element_product_slider_controls'],
'element_product_slider_controls_items' => [$this, 'block_element_product_slider_controls_items'],
'element_product_slider_controls_items_prev_icon' => [$this, 'block_element_product_slider_controls_items_prev_icon'],
'element_product_slider_controls_items_next_icon' => [$this, 'block_element_product_slider_controls_items_next_icon'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "@Storefront/storefront/element/cms-element-product-slider.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/element/cms-element-product-slider.html.twig"));
// line 1
$this->displayBlock('element_product_slider', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_element_product_slider($context, array $blocks = [])
{
$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", "element_product_slider"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider"));
// line 2
echo " ";
if ( !($context["sliderConfig"] ?? null)) {
// line 3
echo " ";
$context["sliderConfig"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "fieldConfig", [], "any", false, false, false, 3), "elements", [], "any", false, false, false, 3);
// line 4
echo " ";
}
// line 5
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "data", [], "any", false, false, false, 5), "products", [], "any", false, false, false, 5), "elements", [], "any", false, false, false, 5)) {
// line 6
echo " <div
class=\"cms-element-";
// line 7
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "type", [], "any", false, false, false, 7), "html", null, true);
if (((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "displayMode", [], "any", false, false, false, 7), "value", [], "any", false, false, false, 7) == "standard") && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "verticalAlign", [], "any", false, false, false, 7), "value", [], "any", false, false, false, 7))) {
echo " has-vertical-alignment";
}
echo "\">
";
// line 8
$this->displayBlock('element_product_slider_alignment', $context, $blocks);
// line 86
echo " </div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_element_product_slider_alignment($context, array $blocks = [])
{
$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", "element_product_slider_alignment"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_alignment"));
// line 9
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["config"] ?? null), "verticalAlign", [], "any", false, false, false, 9), "value", [], "any", false, false, false, 9)) {
// line 10
echo " <div class=\"cms-element-alignment";
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "verticalAlign", [], "any", false, false, false, 10), "value", [], "any", false, false, false, 10) == "center")) {
echo " align-self-center";
} elseif ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "verticalAlign", [], "any", false, false, false, 10), "value", [], "any", false, false, false, 10) == "flex-end")) {
echo " align-self-end";
} else {
echo " align-self-start";
}
echo "\">
";
}
// line 12
echo "
";
// line 13
$context["productSliderOptions"] = ["productboxMinWidth" => ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 14
($context["sliderConfig"] ?? null), "elMinWidth", [], "any", false, false, false, 14), "value", [], "any", false, false, false, 14)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "elMinWidth", [], "any", false, false, false, 14), "value", [], "any", false, false, false, 14)) : ("")), "slider" => ["gutter" => 30, "autoplayButtonOutput" => false, "nav" => false, "mouseDrag" => ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 19
($context["sliderConfig"] ?? null), "navigation", [], "any", false, false, false, 19), "value", [], "any", false, false, false, 19)) ? (false) : (true)), "controls" => ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 20
($context["sliderConfig"] ?? null), "navigation", [], "any", false, false, false, 20), "value", [], "any", false, false, false, 20)) ? (true) : (false)), "autoplay" => ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 21
($context["sliderConfig"] ?? null), "rotate", [], "any", false, false, false, 21), "value", [], "any", false, false, false, 21)) ? (true) : (false))]];
// line 24
echo "
";
// line 25
$this->displayBlock('element_product_slider_slider', $context, $blocks);
// line 82
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["config"] ?? null), "verticalAlign", [], "any", false, false, false, 82), "value", [], "any", false, false, false, 82)) {
// line 83
echo " </div>
";
}
// line 85
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 25
public function block_element_product_slider_slider($context, array $blocks = [])
{
$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", "element_product_slider_slider"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_slider"));
// line 26
echo " <div
class=\"base-slider product-slider";
// line 27
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "border", [], "any", false, false, false, 27), "value", [], "any", false, false, false, 27)) {
echo " has-border";
}
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "navigation", [], "any", false, false, false, 27), "value", [], "any", false, false, false, 27)) {
echo " has-nav";
}
echo "\"
data-product-slider=\"true\"
data-product-slider-options=\"";
// line 29
echo sw_escape_filter($this->env, $this->env->getFilter('json_encode')->getCallable()(($context["productSliderOptions"] ?? null)), "html", null, true);
echo "\">
";
// line 31
$this->displayBlock('element_product_slider_title', $context, $blocks);
// line 38
echo "
";
// line 39
$this->displayBlock('element_product_slider_inner', $context, $blocks);
// line 80
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
public function block_element_product_slider_title($context, array $blocks = [])
{
$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", "element_product_slider_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_title"));
// line 32
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "title", [], "any", false, false, false, 32), "value", [], "any", false, false, false, 32)) {
// line 33
echo " <div class=\"cms-element-title\">
<p class=\"cms-element-title-paragraph\">";
// line 34
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "title", [], "any", false, false, false, 34), "value", [], "any", false, false, false, 34), "html", null, true);
echo "</p>
</div>
";
}
// line 37
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 39
public function block_element_product_slider_inner($context, array $blocks = [])
{
$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", "element_product_slider_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_inner"));
// line 40
echo " ";
$this->displayBlock('element_product_slider_element', $context, $blocks);
// line 55
echo "
";
// line 56
$this->displayBlock('element_product_slider_controls', $context, $blocks);
// line 79
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 40
public function block_element_product_slider_element($context, array $blocks = [])
{
$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", "element_product_slider_element"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_element"));
// line 41
echo " <div class=\"product-slider-container\"
data-product-slider-container=\"true\">
";
// line 43
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "data", [], "any", false, false, false, 43), "products", [], "any", false, false, false, 43), "elements", [], "any", false, false, false, 43));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 44
echo " ";
$this->displayBlock('element_product_slider_inner_item', $context, $blocks);
// line 52
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 44
public function block_element_product_slider_inner_item($context, array $blocks = [])
{
$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", "element_product_slider_inner_item"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_inner_item"));
// line 45
echo " <div class=\"product-slider-item\">
";
// line 46
$this->loadTemplate("@Storefront/storefront/component/product/card/box.html.twig", "@Storefront/storefront/element/cms-element-product-slider.html.twig", 46)->display(twig_array_merge($context, ["layout" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 47
($context["sliderConfig"] ?? null), "boxLayout", [], "any", false, false, false, 47), "value", [], "any", false, false, false, 47), "displayMode" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 48
($context["sliderConfig"] ?? null), "displayMode", [], "any", false, false, false, 48), "value", [], "any", false, false, false, 48)]));
// line 50
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 56
public function block_element_product_slider_controls($context, array $blocks = [])
{
$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", "element_product_slider_controls"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_controls"));
// line 57
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "navigation", [], "any", false, false, false, 57), "value", [], "any", false, false, false, 57)) {
// line 58
echo " <div class=\"product-slider-controls-container\">
<div class=\"base-slider-controls\"
data-product-slider-controls=\"true\">
";
// line 61
$this->displayBlock('element_product_slider_controls_items', $context, $blocks);
// line 75
echo " </div>
</div>
";
}
// line 78
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 61
public function block_element_product_slider_controls_items($context, array $blocks = [])
{
$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", "element_product_slider_controls_items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_controls_items"));
// line 62
echo " <button
class=\"base-slider-controls-prev product-slider-controls-prev";
// line 63
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "border", [], "any", false, false, false, 63), "value", [], "any", false, false, false, 63)) {
echo " has-border";
}
echo "\">
";
// line 64
$this->displayBlock('element_product_slider_controls_items_prev_icon', $context, $blocks);
// line 67
echo " </button>
<button
class=\"base-slider-controls-next product-slider-controls-next";
// line 69
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["sliderConfig"] ?? null), "border", [], "any", false, false, false, 69), "value", [], "any", false, false, false, 69)) {
echo " has-border";
}
echo "\">
";
// line 70
$this->displayBlock('element_product_slider_controls_items_next_icon', $context, $blocks);
// line 73
echo " </button>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 64
public function block_element_product_slider_controls_items_prev_icon($context, array $blocks = [])
{
$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", "element_product_slider_controls_items_prev_icon"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_controls_items_prev_icon"));
// line 65
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/element/cms-element-product-slider.html.twig", 65);
})())->display(twig_array_merge($context, ["name" => "arrow-head-left"]));
// line 66
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 70
public function block_element_product_slider_controls_items_next_icon($context, array $blocks = [])
{
$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", "element_product_slider_controls_items_next_icon"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "element_product_slider_controls_items_next_icon"));
// line 71
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/element/cms-element-product-slider.html.twig", 71);
})())->display(twig_array_merge($context, ["name" => "arrow-head-right"]));
// line 72
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/element/cms-element-product-slider.html.twig";
}
public function getDebugInfo()
{
return array ( 485 => 72, 476 => 71, 466 => 70, 456 => 66, 447 => 65, 437 => 64, 426 => 73, 424 => 70, 418 => 69, 414 => 67, 412 => 64, 406 => 63, 403 => 62, 393 => 61, 383 => 78, 378 => 75, 376 => 61, 371 => 58, 368 => 57, 358 => 56, 347 => 50, 345 => 48, 344 => 47, 343 => 46, 340 => 45, 330 => 44, 319 => 53, 305 => 52, 302 => 44, 285 => 43, 281 => 41, 271 => 40, 261 => 79, 259 => 56, 256 => 55, 253 => 40, 243 => 39, 233 => 37, 227 => 34, 224 => 33, 221 => 32, 211 => 31, 200 => 80, 198 => 39, 195 => 38, 193 => 31, 188 => 29, 178 => 27, 175 => 26, 165 => 25, 155 => 85, 151 => 83, 148 => 82, 146 => 25, 143 => 24, 141 => 21, 140 => 20, 139 => 19, 138 => 14, 137 => 13, 134 => 12, 122 => 10, 119 => 9, 109 => 8, 97 => 86, 95 => 8, 88 => 7, 85 => 6, 82 => 5, 79 => 4, 76 => 3, 73 => 2, 54 => 1,);
}
public function getSourceContext()
{
return new Source("{% block element_product_slider %}
{% if not sliderConfig %}
{% set sliderConfig = element.fieldConfig.elements %}
{% endif %}
{% if element.data.products.elements %}
<div
class=\"cms-element-{{ element.type }}{% if sliderConfig.displayMode.value == \"standard\" and sliderConfig.verticalAlign.value %} has-vertical-alignment{% endif %}\">
{% block element_product_slider_alignment %}
{% if config.verticalAlign.value %}
<div class=\"cms-element-alignment{% if sliderConfig.verticalAlign.value == \"center\" %} align-self-center{% elseif sliderConfig.verticalAlign.value == \"flex-end\" %} align-self-end{% else %} align-self-start{% endif %}\">
{% endif %}
{% set productSliderOptions = {
productboxMinWidth: sliderConfig.elMinWidth.value ? sliderConfig.elMinWidth.value : '',
slider: {
gutter: 30,
autoplayButtonOutput: false,
nav: false,
mouseDrag: sliderConfig.navigation.value ? false : true,
controls: sliderConfig.navigation.value ? true : false,
autoplay: sliderConfig.rotate.value ? true : false
}
} %}
{% block element_product_slider_slider %}
<div
class=\"base-slider product-slider{% if sliderConfig.border.value %} has-border{% endif %}{% if sliderConfig.navigation.value %} has-nav{% endif %}\"
data-product-slider=\"true\"
data-product-slider-options=\"{{ productSliderOptions|json_encode }}\">
{% block element_product_slider_title %}
{% if sliderConfig.title.value %}
<div class=\"cms-element-title\">
<p class=\"cms-element-title-paragraph\">{{ sliderConfig.title.value }}</p>
</div>
{% endif %}
{% endblock %}
{% block element_product_slider_inner %}
{% block element_product_slider_element %}
<div class=\"product-slider-container\"
data-product-slider-container=\"true\">
{% for product in element.data.products.elements %}
{% block element_product_slider_inner_item %}
<div class=\"product-slider-item\">
{% sw_include '@Storefront/storefront/component/product/card/box.html.twig' with {
'layout': sliderConfig.boxLayout.value,
'displayMode': sliderConfig.displayMode.value
} %}
</div>
{% endblock %}
{% endfor %}
</div>
{% endblock %}
{% block element_product_slider_controls %}
{% if sliderConfig.navigation.value %}
<div class=\"product-slider-controls-container\">
<div class=\"base-slider-controls\"
data-product-slider-controls=\"true\">
{% block element_product_slider_controls_items %}
<button
class=\"base-slider-controls-prev product-slider-controls-prev{% if sliderConfig.border.value %} has-border{% endif %}\">
{% block element_product_slider_controls_items_prev_icon %}
{% sw_icon 'arrow-head-left' %}
{% endblock %}
</button>
<button
class=\"base-slider-controls-next product-slider-controls-next{% if sliderConfig.border.value %} has-border{% endif %}\">
{% block element_product_slider_controls_items_next_icon %}
{% sw_icon 'arrow-head-right' %}
{% endblock %}
</button>
{% endblock %}
</div>
</div>
{% endif %}
{% endblock %}
{% endblock %}
</div>
{% endblock %}
{% if config.verticalAlign.value %}
</div>
{% endif %}
{% endblock %}
</div>
{% endif %}
{% endblock %}
", "@Storefront/storefront/element/cms-element-product-slider.html.twig", "/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/vendor/shopware/storefront/Resources/views/storefront/element/cms-element-product-slider.html.twig");
}
}