<?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;
/* @FlinkCmsAnchor/storefront/base.html.twig */
class __TwigTemplate_462f0989148c84612f717b543370323db3b6d12e420db5cd5253e4c2b1db2e1d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_pseudo_modal' => [$this, 'block_base_pseudo_modal'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@CogiThemeTulip/storefront/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FlinkCmsAnchor/storefront/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FlinkCmsAnchor/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@CogiThemeTulip/storefront/base.html.twig", "@FlinkCmsAnchor/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_base_pseudo_modal($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_pseudo_modal"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_pseudo_modal"));
// line 4
echo " ";
$this->displayParentBlock("base_pseudo_modal", $context, $blocks);
echo "
";
// line 6
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "FlinkCmsAnchor.config.useDotNavigation")) {
// line 7
echo "
";
// line 8
$context["dotnavClasses"] = "flink-anchor-dotnav";
// line 9
echo "
";
// line 10
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "FlinkCmsAnchor.config.useDotNavigationActiveTitle")) {
// line 11
echo " ";
$context["dotnavClasses"] = (($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--show-active-title");
// line 12
echo " ";
}
// line 13
echo "
";
// line 14
$context["dotnavColor"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "FlinkCmsAnchor.config.dotNavigationColor"), "text");
// line 15
echo " ";
$context["dotnavClasses"] = ((($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--color-") . ($context["dotnavColor"] ?? null));
// line 16
echo "
";
// line 17
$context["dotnavActiveColor"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "FlinkCmsAnchor.config.dotNavigationActiveMarkColor"), "text");
// line 18
echo " ";
$context["dotnavClasses"] = ((($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--active-color-") . ($context["dotnavActiveColor"] ?? null));
// line 19
echo "
";
// line 20
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "FlinkCmsAnchor.config.hideMobileDotNavigation")) {
// line 21
echo " ";
$context["dotnavClasses"] = (($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--hide-mobile");
// line 22
echo " ";
}
// line 23
echo "
";
// line 24
$context["dotnavMobilePosition"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "FlinkCmsAnchor.config.mobileDotNavigationPosition"), "ml");
// line 25
echo " ";
$context["dotnavClasses"] = ((($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--mobile-position-") . ($context["dotnavMobilePosition"] ?? null));
// line 26
echo "
";
// line 27
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "FlinkCmsAnchor.config.mobileUseDotNavigationActiveTitle")) {
// line 28
echo " ";
$context["dotnavClasses"] = (($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--mobile-show-active-title");
// line 29
echo " ";
}
// line 30
echo "
";
// line 31
$context["dotnavMobileDotSize"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "FlinkCmsAnchor.config.mobileDotNavigationSize"), "normal");
// line 32
echo " ";
$context["dotnavClasses"] = ((($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--mobile-dot-size-") . ($context["dotnavMobileDotSize"] ?? null));
// line 33
echo "
<ul class=\"";
// line 34
echo sw_escape_filter($this->env, ($context["dotnavClasses"] ?? null), "html", null, true);
echo " flink-default-dotnav\"
data-flink-cms-anchor-dotnav=\"true\">
</ul>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@FlinkCmsAnchor/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 149 => 34, 146 => 33, 143 => 32, 141 => 31, 138 => 30, 135 => 29, 132 => 28, 130 => 27, 127 => 26, 124 => 25, 122 => 24, 119 => 23, 116 => 22, 113 => 21, 111 => 20, 108 => 19, 105 => 18, 103 => 17, 100 => 16, 97 => 15, 95 => 14, 92 => 13, 89 => 12, 86 => 11, 84 => 10, 81 => 9, 79 => 8, 76 => 7, 74 => 6, 68 => 4, 58 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_pseudo_modal %}
{{ parent() }}
{% if config('FlinkCmsAnchor.config.useDotNavigation') %}
{% set dotnavClasses = \"flink-anchor-dotnav\" %}
{% if config('FlinkCmsAnchor.config.useDotNavigationActiveTitle') %}
{% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--show-active-title\" %}
{% endif %}
{% set dotnavColor = config('FlinkCmsAnchor.config.dotNavigationColor')|default(\"text\") %}
{% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--color-\" ~ dotnavColor %}
{% set dotnavActiveColor = config('FlinkCmsAnchor.config.dotNavigationActiveMarkColor')|default(\"text\") %}
{% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--active-color-\" ~ dotnavActiveColor %}
{% if config('FlinkCmsAnchor.config.hideMobileDotNavigation') %}
{% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--hide-mobile\" %}
{% endif %}
{% set dotnavMobilePosition = config('FlinkCmsAnchor.config.mobileDotNavigationPosition')|default(\"ml\") %}
{% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--mobile-position-\" ~ dotnavMobilePosition %}
{% if config('FlinkCmsAnchor.config.mobileUseDotNavigationActiveTitle') %}
{% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--mobile-show-active-title\" %}
{% endif %}
{% set dotnavMobileDotSize = config('FlinkCmsAnchor.config.mobileDotNavigationSize')|default(\"normal\") %}
{% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--mobile-dot-size-\" ~ dotnavMobileDotSize %}
<ul class=\"{{ dotnavClasses }} flink-default-dotnav\"
data-flink-cms-anchor-dotnav=\"true\">
</ul>
{% endif %}
{% endblock %}", "@FlinkCmsAnchor/storefront/base.html.twig", "/usr/www/users/obstdev/custom/plugins/FlinkCmsAnchor/src/Resources/views/storefront/base.html.twig");
}
}