<?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;
/* @zenitAppFloatingBuybox/storefront/layout/meta.html.twig */
class __TwigTemplate_2818ed8aa666ff6b3ddd5e778f26f9c0c3a263cfc61999044a102cf939c04b94 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'layout_head_stylesheet' => [$this, 'block_layout_head_stylesheet'],
'zenit_floatin_buybox_css' => [$this, 'block_zenit_floatin_buybox_css'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@NetzpEvents6/storefront/layout/meta.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", "@zenitAppFloatingBuybox/storefront/layout/meta.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@zenitAppFloatingBuybox/storefront/layout/meta.html.twig"));
$this->parent = $this->loadTemplate("@NetzpEvents6/storefront/layout/meta.html.twig", "@zenitAppFloatingBuybox/storefront/layout/meta.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_layout_head_stylesheet($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", "layout_head_stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_stylesheet"));
// line 4
echo " ";
$this->displayParentBlock("layout_head_stylesheet", $context, $blocks);
echo "
";
// line 6
$this->displayBlock('zenit_floatin_buybox_css', $context, $blocks);
// line 85
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function block_zenit_floatin_buybox_css($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", "zenit_floatin_buybox_css"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "zenit_floatin_buybox_css"));
// line 7
echo "
";
// line 8
$context["styles"] = ["alignment" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.alignment"), "maxWidth" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.maxWidth"), "margin" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.margin") . "px"), "paddingX" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.padding") . "px"), "paddingY" => (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.padding") / 2) . "px"), "offsetY" => (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.margin") / 2) . "px"), "radius" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.radius") . "px"), "badgeRadius" => (((1 === twig_compare($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.radius"), 2))) ? ((($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.radius") - 2) . "px")) : (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.radius") . "px"))), "background" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.background"), "backgroundOpacity" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.backgroundOpacity") . "%"), "color" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.color"), "colorPrice" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.colorPrice"), "colorWithListPrice" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.colorWithListPrice"), "scrollUpButtonBottom" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.scrollUpButtonBottom") . "px")];
// line 24
echo "
<style data-plugin=\"zenitAppFloatingBuybox\">
";
// line 26
if (sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "maxWidth", [], "any", false, false, false, 26)) {
// line 27
echo " .buybox-floating {
max-width: ";
// line 28
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "maxWidth", [], "any", false, false, false, 28), "html", null, true);
echo ";
}
";
}
// line 31
echo "
.buybox-floating-inner {
border-radius: ";
// line 33
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "radius", [], "any", false, false, false, 33), "html", null, true);
echo ";
margin: ";
// line 34
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "margin", [], "any", false, false, false, 34), "html", null, true);
echo ";
padding: ";
// line 35
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "paddingY", [], "any", false, false, false, 35), "html", null, true);
echo " ";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "paddingX", [], "any", false, false, false, 35), "html", null, true);
echo ";
box-shadow: 0 ";
// line 36
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "offsetY", [], "any", false, false, false, 36), "html", null, true);
echo " 1rem rgba(0, 0 ,0 , .18);
}
.buybox-floating-inner::before {
border-radius: ";
// line 40
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "radius", [], "any", false, false, false, 40), "html", null, true);
echo ";
background: ";
// line 41
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "background", [], "any", false, false, false, 41), "html", null, true);
echo ";
opacity: ";
// line 42
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "backgroundOpacity", [], "any", false, false, false, 42), "html", null, true);
echo ";
}
.buybox-floating-inner .row > [class*=\"col-\"] {
padding-top: ";
// line 46
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "paddingY", [], "any", false, false, false, 46), "html", null, true);
echo ";
padding-bottom: ";
// line 47
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "paddingY", [], "any", false, false, false, 47), "html", null, true);
echo ";
text-align: ";
// line 48
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "alignment", [], "any", false, false, false, 48), "html", null, true);
echo ";
}
.buybox-floating .product-detail-price {
color: ";
// line 52
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "colorPrice", [], "any", false, false, false, 52), "html", null, true);
echo ";
border-radius: ";
// line 53
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "radius", [], "any", false, false, false, 53), "html", null, true);
echo ";
}
.buybox-floating .product-detail-price.with-list-price {
color: ";
// line 57
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "colorWithListPrice", [], "any", false, false, false, 57), "html", null, true);
echo "
}
.buybox-floating .product-detail-name,
.buybox-floating .product-detail-price-unit {
color: ";
// line 62
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "color", [], "any", false, false, false, 62), "html", null, true);
echo ";
text-align: ";
// line 63
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "alignment", [], "any", false, false, false, 63), "html", null, true);
echo ";
}
.buybox-floating .list-price-badge {
border-radius: ";
// line 67
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "badgeRadius", [], "any", false, false, false, 67), "html", null, true);
echo ";
}
.scroll-up-button {
bottom: ";
// line 71
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "scrollUpButtonBottom", [], "any", false, false, false, 71), "html", null, true);
echo ";
}
.product-detail-configurator-groups-toggle-preview .option-color {
border-radius: ";
// line 75
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["styles"] ?? null), "badgeRadius", [], "any", false, false, false, 75), "html", null, true);
echo ";
}
</style>
";
// line 79
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.customCSS")) {
// line 80
echo " <style data-plugin=\"zenitAppFloatingBuybox\">
";
// line 81
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "zenitAppFloatingBuybox.config.customCSS");
echo "
</style>
";
}
// line 84
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@zenitAppFloatingBuybox/storefront/layout/meta.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 235 => 84, 229 => 81, 226 => 80, 224 => 79, 217 => 75, 210 => 71, 203 => 67, 196 => 63, 192 => 62, 184 => 57, 177 => 53, 173 => 52, 166 => 48, 162 => 47, 158 => 46, 151 => 42, 147 => 41, 143 => 40, 136 => 36, 130 => 35, 126 => 34, 122 => 33, 118 => 31, 112 => 28, 109 => 27, 107 => 26, 103 => 24, 101 => 8, 98 => 7, 88 => 6, 77 => 85, 75 => 6, 69 => 4, 59 => 3, 36 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}
{{ parent() }}
{% block zenit_floatin_buybox_css %}
{% set styles = {
'alignment': config('zenitAppFloatingBuybox.config.alignment'),
'maxWidth': config('zenitAppFloatingBuybox.config.maxWidth'),
'margin': config('zenitAppFloatingBuybox.config.margin') ~ 'px',
'paddingX': config('zenitAppFloatingBuybox.config.padding') ~ 'px',
'paddingY': config('zenitAppFloatingBuybox.config.padding') / 2 ~ 'px',
'offsetY': config('zenitAppFloatingBuybox.config.margin') / 2 ~ 'px',
'radius': config('zenitAppFloatingBuybox.config.radius') ~ 'px',
'badgeRadius': config('zenitAppFloatingBuybox.config.radius') > 2 ? (config('zenitAppFloatingBuybox.config.radius') - 2) ~ 'px' : config('zenitAppFloatingBuybox.config.radius') ~ 'px',
'background': config('zenitAppFloatingBuybox.config.background'),
'backgroundOpacity': config('zenitAppFloatingBuybox.config.backgroundOpacity') ~ '%',
'color': config('zenitAppFloatingBuybox.config.color'),
'colorPrice': config('zenitAppFloatingBuybox.config.colorPrice'),
'colorWithListPrice': config('zenitAppFloatingBuybox.config.colorWithListPrice'),
'scrollUpButtonBottom': config('zenitAppFloatingBuybox.config.scrollUpButtonBottom') ~ 'px'
} %}
<style data-plugin=\"zenitAppFloatingBuybox\">
{% if styles.maxWidth %}
.buybox-floating {
max-width: {{ styles.maxWidth }};
}
{% endif %}
.buybox-floating-inner {
border-radius: {{ styles.radius }};
margin: {{ styles.margin }};
padding: {{ styles.paddingY }} {{ styles.paddingX }};
box-shadow: 0 {{ styles.offsetY }} 1rem rgba(0, 0 ,0 , .18);
}
.buybox-floating-inner::before {
border-radius: {{ styles.radius }};
background: {{ styles.background }};
opacity: {{ styles.backgroundOpacity }};
}
.buybox-floating-inner .row > [class*=\"col-\"] {
padding-top: {{ styles.paddingY }};
padding-bottom: {{ styles.paddingY }};
text-align: {{ styles.alignment }};
}
.buybox-floating .product-detail-price {
color: {{ styles.colorPrice }};
border-radius: {{ styles.radius }};
}
.buybox-floating .product-detail-price.with-list-price {
color: {{ styles.colorWithListPrice }}
}
.buybox-floating .product-detail-name,
.buybox-floating .product-detail-price-unit {
color: {{ styles.color }};
text-align: {{ styles.alignment }};
}
.buybox-floating .list-price-badge {
border-radius: {{ styles.badgeRadius }};
}
.scroll-up-button {
bottom: {{ styles.scrollUpButtonBottom }};
}
.product-detail-configurator-groups-toggle-preview .option-color {
border-radius: {{ styles.badgeRadius }};
}
</style>
{% if config('zenitAppFloatingBuybox.config.customCSS') %}
<style data-plugin=\"zenitAppFloatingBuybox\">
{{ config('zenitAppFloatingBuybox.config.customCSS')|raw }}
</style>
{% endif %}
{% endblock %}
{% endblock %}
", "@zenitAppFloatingBuybox/storefront/layout/meta.html.twig", "/var/customers/webs/youksakka/htdocs/custom/apps/zenitAppFloatingBuybox/Resources/views/storefront/layout/meta.html.twig");
}
}