<?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;
/* @SwagCmsExtensions/storefront/page/content/detail.html.twig */
class __TwigTemplate_73a5b83deff8ff68738454703b4d2f84 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_content_sections_inner' => [$this, 'block_page_content_sections_inner'],
'swag_cms_extensions_scroll_navigation_sidebar' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar'],
'swag_cms_extensions_scroll_navigation_sidebar_mobile_menu' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu'],
'swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list'],
'swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list_content' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list_content'],
'swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up'],
'swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up_content' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up_content'],
'swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down'],
'swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down_content' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down_content'],
'swag_cms_extensions_scroll_navigation_sidebar_toggle_close' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_toggle_close'],
'swag_cms_extensions_scroll_navigation_sidebar_list' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_list'],
'swag_cms_extensions_scroll_navigation_sidebar_list_entry' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_list_entry'],
'swag_cms_extensions_scroll_navigation_sidebar_list_entry_line' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_list_entry_line'],
'swag_cms_extensions_scroll_navigation_sidebar_list_entry_bullet' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_list_entry_bullet'],
'swag_cms_extensions_scroll_navigation_sidebar_list_entry_label' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_list_entry_label'],
'swag_cms_extensions_scroll_navigation_sidebar_list_entry_label_content' => [$this, 'block_swag_cms_extensions_scroll_navigation_sidebar_list_entry_label_content'],
'page_content_section' => [$this, 'block_page_content_section'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@ProcBasicElements/storefront/page/content/detail.html.twig";
}
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", "@SwagCmsExtensions/storefront/page/content/detail.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SwagCmsExtensions/storefront/page/content/detail.html.twig"));
$this->parent = $this->loadTemplate("@ProcBasicElements/storefront/page/content/detail.html.twig", "@SwagCmsExtensions/storefront/page/content/detail.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_page_content_sections_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", "page_content_sections_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_content_sections_inner"));
// line 4
echo " ";
$this->displayParentBlock("page_content_sections_inner", $context, $blocks);
echo "
";
// line 6
$context["anchoredSections"] = [];
// line 7
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 7), "sections", [], "any", false, false, false, 7));
foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
// line 8
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["section"], "extensions", [], "any", false, false, false, 8), "swagCmsExtensionsScrollNavigation", [], "any", false, false, false, 8), "active", [], "any", false, false, false, 8)) {
// line 9
echo " ";
$context["anchoredSections"] = twig_array_merge(($context["anchoredSections"] ?? null), [0 => $context["section"]]);
// line 10
echo " ";
}
// line 11
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 12
echo "
";
// line 14
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_swag_cms_extensions_scroll_navigation_sidebar($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", "swag_cms_extensions_scroll_navigation_sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar"));
// line 15
echo " ";
if ((twig_length_filter($this->env, ($context["anchoredSections"] ?? null)) > 0)) {
// line 16
echo " ";
$context["pageSettingsExtension"] = twig_constant("Swag\\CmsExtensions\\Extension\\Feature\\ScrollNavigation\\CmsPageEntityExtension::SCROLL_NAVIGATION_PAGE_SETTINGS_PROPERTY_NAME");
// line 17
echo " ";
$context["options"] = ["pageSettings" => (($__internal_compile_0 = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cmsPage", [], "any", false, false, false, 17), "extensions", [], "any", false, false, false, 17)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["pageSettingsExtension"] ?? null)] ?? null) : null)];
// line 18
echo "
<div class=\"scroll-navigation-sidebar\"
data-swag-cms-extensions-scroll-navigation=\"true\"
data-swag-cms-extensions-scroll-navigation-options=\"";
// line 21
echo sw_escape_filter($this->env, call_user_func_array($this->env->getFilter('json_encode')->getCallable(), [($context["options"] ?? null)]), "html", null, true);
echo "\"
data-swag-cms-extensions-scroll-navigation-toggle-menu=\"true\">
";
// line 24
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_mobile_menu', $context, $blocks);
// line 66
echo "
";
// line 67
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_toggle_close', $context, $blocks);
// line 72
echo "
";
// line 73
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_list', $context, $blocks);
// line 104
echo " </div>
";
}
// line 106
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 24
public function block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu($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", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu"));
// line 25
echo " <div class=\"scroll-navigation-sidebar-mobile-menu\">
";
// line 26
ob_start();
// line 27
echo "
";
// line 28
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list', $context, $blocks);
// line 39
echo "
";
// line 40
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up', $context, $blocks);
// line 51
echo "
";
// line 52
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down', $context, $blocks);
// line 63
echo " ";
$___internal_parse_3_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 26
echo twig_spaceless($___internal_parse_3_);
// line 64
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 28
public function block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list($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", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list"));
// line 29
echo " <div class=\"scroll-navigation-sidebar-mobile-button\">
<button id=\"scroll-navigation-mobile-button-list\"
class=\"scroll-navigation-sidebar-mobile-button-icon scroll-navigation-menu-toggle\">
";
// line 33
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list_content', $context, $blocks);
// line 36
echo " </button>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 33
public function block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list_content($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", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list_content"));
// line 34
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, "@SwagCmsExtensions/storefront/page/content/detail.html.twig", 34);
})())->display(twig_array_merge($context, ["size" => "xl", "name" => "stack"]));
// line 35
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 40
public function block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up($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", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up"));
// line 41
echo " <div class=\"scroll-navigation-sidebar-mobile-button\">
<button id=\"scroll-navigation-mobile-button-up\"
class=\"scroll-navigation-sidebar-mobile-button-icon\">
";
// line 45
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up_content', $context, $blocks);
// line 48
echo " </button>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 45
public function block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up_content($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", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up_content"));
// line 46
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, "@SwagCmsExtensions/storefront/page/content/detail.html.twig", 46);
})())->display(twig_array_merge($context, ["size" => "xl", "name" => "arrow-head-up"]));
// line 47
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 52
public function block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down($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", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down"));
// line 53
echo " <div class=\"scroll-navigation-sidebar-mobile-button\">
<button id=\"scroll-navigation-mobile-button-down\"
class=\"scroll-navigation-sidebar-mobile-button-icon\">
";
// line 57
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down_content', $context, $blocks);
// line 60
echo " </button>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 57
public function block_swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down_content($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", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down_content"));
// line 58
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, "@SwagCmsExtensions/storefront/page/content/detail.html.twig", 58);
})())->display(twig_array_merge($context, ["size" => "xl", "name" => "arrow-head-down"]));
// line 59
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 67
public function block_swag_cms_extensions_scroll_navigation_sidebar_toggle_close($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", "swag_cms_extensions_scroll_navigation_sidebar_toggle_close"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_toggle_close"));
// line 68
echo " <div class=\"scroll-navigation-sidebar-close scroll-navigation-menu-toggle\">
";
// line 69
((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, "@SwagCmsExtensions/storefront/page/content/detail.html.twig", 69);
})())->display(twig_array_merge($context, ["size" => "xl", "name" => "x"]));
// line 70
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 73
public function block_swag_cms_extensions_scroll_navigation_sidebar_list($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", "swag_cms_extensions_scroll_navigation_sidebar_list"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_list"));
// line 74
echo " <div class=\"scroll-navigation-sidebar-list\">
";
// line 75
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["anchoredSections"] ?? null));
$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["section"]) {
// line 76
echo " ";
$context["scrollNavigation"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["section"], "extensions", [], "any", false, false, false, 76), "swagCmsExtensionsScrollNavigation", [], "any", false, false, false, 76);
// line 77
echo " ";
$context["anchor"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["scrollNavigation"] ?? null), "translated", [], "any", false, false, false, 77), "displayName", [], "any", false, false, false, 77);
// line 78
echo "
";
// line 79
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_list_entry', $context, $blocks);
// line 101
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['section'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 102
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 79
public function block_swag_cms_extensions_scroll_navigation_sidebar_list_entry($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", "swag_cms_extensions_scroll_navigation_sidebar_list_entry"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_list_entry"));
// line 80
echo " <a class=\"scroll-navigation-sidebar-entry\"
href=\"#nav-";
// line 81
echo sw_escape_filter($this->env, twig_replace_filter($this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter(twig_lower_filter($this->env, ($context["anchor"] ?? null))), ["." => ""]), "html", null, true);
echo "\">
";
// line 83
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_list_entry_line', $context, $blocks);
// line 86
echo "
";
// line 87
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_list_entry_bullet', $context, $blocks);
// line 90
echo "
";
// line 91
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_list_entry_label', $context, $blocks);
// line 99
echo " </a>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 83
public function block_swag_cms_extensions_scroll_navigation_sidebar_list_entry_line($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", "swag_cms_extensions_scroll_navigation_sidebar_list_entry_line"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_list_entry_line"));
// line 84
echo " <div class=\"scroll-navigation-sidebar-entry-line\"></div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 87
public function block_swag_cms_extensions_scroll_navigation_sidebar_list_entry_bullet($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", "swag_cms_extensions_scroll_navigation_sidebar_list_entry_bullet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_list_entry_bullet"));
// line 88
echo " <span class=\"scroll-navigation-sidebar-entry-bullet\"></span>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 91
public function block_swag_cms_extensions_scroll_navigation_sidebar_list_entry_label($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", "swag_cms_extensions_scroll_navigation_sidebar_list_entry_label"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_list_entry_label"));
// line 92
echo " <span class=\"scroll-navigation-sidebar-entry-label\">
";
// line 94
$this->displayBlock('swag_cms_extensions_scroll_navigation_sidebar_list_entry_label_content', $context, $blocks);
// line 97
echo " </span>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 94
public function block_swag_cms_extensions_scroll_navigation_sidebar_list_entry_label_content($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", "swag_cms_extensions_scroll_navigation_sidebar_list_entry_label_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "swag_cms_extensions_scroll_navigation_sidebar_list_entry_label_content"));
// line 95
echo " ";
echo sw_escape_filter($this->env, ($context["anchor"] ?? null), "html", null, true);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 109
public function block_page_content_section($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", "page_content_section"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_content_section"));
// line 110
echo " ";
$context["scrollNavigation"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["section"] ?? null), "extensions", [], "any", false, false, false, 110), "swagCmsExtensionsScrollNavigation", [], "any", false, false, false, 110);
// line 111
echo " ";
$context["anchor"] = twig_replace_filter($this->extensions['Cocur\Slugify\Bridge\Twig\SlugifyExtension']->slugifyFilter(twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["scrollNavigation"] ?? null), "translated", [], "any", false, false, false, 111), "displayName", [], "any", false, false, false, 111))), ["." => ""]);
// line 112
echo "
";
// line 113
if (sw_get_attribute($this->env, $this->source, ($context["scrollNavigation"] ?? null), "active", [], "any", false, false, false, 113)) {
// line 114
echo " <div class=\"swag-cms-extensions-scroll-navigation-wrapper\">
<div class=\"scroll-navigation-anchor\" id=\"nav-";
// line 115
echo sw_escape_filter($this->env, ($context["anchor"] ?? null), "html", null, true);
echo "\"></div>
";
// line 116
$this->displayParentBlock("page_content_section", $context, $blocks);
echo "
</div>
";
} else {
// line 119
echo " ";
$this->displayParentBlock("page_content_section", $context, $blocks);
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@SwagCmsExtensions/storefront/page/content/detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 669 => 119, 663 => 116, 659 => 115, 656 => 114, 654 => 113, 651 => 112, 648 => 111, 645 => 110, 635 => 109, 622 => 95, 612 => 94, 601 => 97, 599 => 94, 595 => 92, 585 => 91, 574 => 88, 564 => 87, 553 => 84, 543 => 83, 532 => 99, 530 => 91, 527 => 90, 525 => 87, 522 => 86, 520 => 83, 515 => 81, 512 => 80, 502 => 79, 491 => 102, 477 => 101, 475 => 79, 472 => 78, 469 => 77, 466 => 76, 449 => 75, 446 => 74, 436 => 73, 425 => 70, 417 => 69, 414 => 68, 404 => 67, 394 => 59, 385 => 58, 375 => 57, 363 => 60, 361 => 57, 355 => 53, 345 => 52, 335 => 47, 326 => 46, 316 => 45, 304 => 48, 302 => 45, 296 => 41, 286 => 40, 276 => 35, 267 => 34, 257 => 33, 245 => 36, 243 => 33, 237 => 29, 227 => 28, 216 => 64, 214 => 26, 211 => 63, 209 => 52, 206 => 51, 204 => 40, 201 => 39, 199 => 28, 196 => 27, 194 => 26, 191 => 25, 181 => 24, 171 => 106, 167 => 104, 165 => 73, 162 => 72, 160 => 67, 157 => 66, 155 => 24, 149 => 21, 144 => 18, 141 => 17, 138 => 16, 135 => 15, 116 => 14, 112 => 12, 106 => 11, 103 => 10, 100 => 9, 97 => 8, 92 => 7, 90 => 6, 84 => 4, 74 => 3, 51 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/content/detail.html.twig' %}
{% block page_content_sections_inner %}
{{ parent() }}
{% set anchoredSections = [] %}
{% for section in page.cmsPage.sections %}
{% if section.extensions.swagCmsExtensionsScrollNavigation.active %}
{% set anchoredSections = anchoredSections|merge([section]) %}
{% endif %}
{% endfor %}
{% block swag_cms_extensions_scroll_navigation_sidebar %}
{% if anchoredSections|length > 0 %}
{% set pageSettingsExtension = constant('Swag\\\\CmsExtensions\\\\Extension\\\\Feature\\\\ScrollNavigation\\\\CmsPageEntityExtension::SCROLL_NAVIGATION_PAGE_SETTINGS_PROPERTY_NAME') %}
{% set options = { pageSettings: page.cmsPage.extensions[pageSettingsExtension] } %}
<div class=\"scroll-navigation-sidebar\"
data-swag-cms-extensions-scroll-navigation=\"true\"
data-swag-cms-extensions-scroll-navigation-options=\"{{ options|json_encode }}\"
data-swag-cms-extensions-scroll-navigation-toggle-menu=\"true\">
{% block swag_cms_extensions_scroll_navigation_sidebar_mobile_menu %}
<div class=\"scroll-navigation-sidebar-mobile-menu\">
{% apply spaceless %}
{% block swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list %}
<div class=\"scroll-navigation-sidebar-mobile-button\">
<button id=\"scroll-navigation-mobile-button-list\"
class=\"scroll-navigation-sidebar-mobile-button-icon scroll-navigation-menu-toggle\">
{% block swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_list_content %}
{% sw_icon 'stack' style { 'size': 'xl' } %}
{% endblock %}
</button>
</div>
{% endblock %}
{% block swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up %}
<div class=\"scroll-navigation-sidebar-mobile-button\">
<button id=\"scroll-navigation-mobile-button-up\"
class=\"scroll-navigation-sidebar-mobile-button-icon\">
{% block swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_up_content %}
{% sw_icon 'arrow-head-up' style { 'size': 'xl' } %}
{% endblock %}
</button>
</div>
{% endblock %}
{% block swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down %}
<div class=\"scroll-navigation-sidebar-mobile-button\">
<button id=\"scroll-navigation-mobile-button-down\"
class=\"scroll-navigation-sidebar-mobile-button-icon\">
{% block swag_cms_extensions_scroll_navigation_sidebar_mobile_menu_button_down_content %}
{% sw_icon 'arrow-head-down' style { 'size': 'xl' } %}
{% endblock %}
</button>
</div>
{% endblock %}
{% endapply %}
</div>
{% endblock %}
{% block swag_cms_extensions_scroll_navigation_sidebar_toggle_close %}
<div class=\"scroll-navigation-sidebar-close scroll-navigation-menu-toggle\">
{% sw_icon 'x' style { 'size': 'xl' } %}
</div>
{% endblock %}
{% block swag_cms_extensions_scroll_navigation_sidebar_list %}
<div class=\"scroll-navigation-sidebar-list\">
{% for section in anchoredSections %}
{% set scrollNavigation = section.extensions.swagCmsExtensionsScrollNavigation %}
{% set anchor = scrollNavigation.translated.displayName %}
{% block swag_cms_extensions_scroll_navigation_sidebar_list_entry %}
<a class=\"scroll-navigation-sidebar-entry\"
href=\"#nav-{{ anchor|lower|slugify|replace({'.': ''}) }}\">
{% block swag_cms_extensions_scroll_navigation_sidebar_list_entry_line %}
<div class=\"scroll-navigation-sidebar-entry-line\"></div>
{% endblock %}
{% block swag_cms_extensions_scroll_navigation_sidebar_list_entry_bullet %}
<span class=\"scroll-navigation-sidebar-entry-bullet\"></span>
{% endblock %}
{% block swag_cms_extensions_scroll_navigation_sidebar_list_entry_label %}
<span class=\"scroll-navigation-sidebar-entry-label\">
{% block swag_cms_extensions_scroll_navigation_sidebar_list_entry_label_content %}
{{ anchor }}
{% endblock %}
</span>
{% endblock %}
</a>
{% endblock %}
{% endfor %}
</div>
{% endblock %}
</div>
{% endif %}
{% endblock %}
{% endblock %}
{% block page_content_section %}
{% set scrollNavigation = section.extensions.swagCmsExtensionsScrollNavigation %}
{% set anchor = scrollNavigation.translated.displayName|lower|slugify|replace({'.': ''}) %}
{% if scrollNavigation.active %}
<div class=\"swag-cms-extensions-scroll-navigation-wrapper\">
<div class=\"scroll-navigation-anchor\" id=\"nav-{{ anchor }}\"></div>
{{ parent() }}
</div>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
", "@SwagCmsExtensions/storefront/page/content/detail.html.twig", "/var/www/html/htdocs/custom/plugins/SwagCmsExtensions/src/Resources/views/storefront/page/content/detail.html.twig");
}
}