<?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;
/* @SensusUptainConnect6/storefront/base.html.twig */
class __TwigTemplate_f66b80a80c2dddd20c403b7415f1a676 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_body_script' => [$this, 'block_base_body_script'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/base.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", "@SensusUptainConnect6/storefront/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SensusUptainConnect6/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/base.html.twig", "@SensusUptainConnect6/storefront/base.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_base_body_script($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", "base_body_script"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body_script"));
// line 4
echo " ";
$this->displayParentBlock("base_body_script", $context, $blocks);
echo "
";
// line 6
if (((array_key_exists("sensusUptainConnect", $context) && (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "active", [], "any", false, false, false, 6) == true)) && sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "uptainId", [], "any", true, true, false, 6))) {
// line 7
echo " <script type=\"text/javascript\">
window.uptainUpdateUrl = \"";
// line 8
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.uptain.getCart");
echo "\";
</script>
";
// line 10
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "cookieEnabled", [], "any", false, false, false, 10)) {
// line 11
echo " <script id=\"uptainJSSnippet\" type=\"text/javascript\"
src=\"https://app.uptain.de/js/uptain.js?x=";
// line 12
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "uptainId", [], "any", false, false, false, 12), "html", null, true);
echo "\" async></script>
";
} else {
// line 14
echo " <script id=\"uptainJSSnippet\" type=\"text/plain\" data-src=\"https://app.uptain.de/js/uptain.js?x=";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "uptainId", [], "any", false, false, false, 14), "html", null, true);
echo "\" async></script>
";
}
// line 16
echo " <div id=\"__up_data_qp\" style=\"display: none;\"
";
// line 17
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerEmail", [], "any", false, false, false, 17)) {
echo "data-email=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerEmail", [], "any", false, false, false, 17), "html", null, true);
echo "\"";
}
// line 18
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerGroup", [], "any", false, false, false, 18)) {
echo "data-customergroup=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerGroup", [], "any", false, false, false, 18), "html", null, true);
echo "\"";
}
// line 19
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerFirstName", [], "any", false, false, false, 19)) {
echo "data-firstname=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerFirstName", [], "any", false, false, false, 19), "html", null, true);
echo "\"";
}
// line 20
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerLastName", [], "any", false, false, false, 20)) {
echo "data-lastname=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerLastName", [], "any", false, false, false, 20), "html", null, true);
echo "\"";
}
// line 21
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerTitle", [], "any", false, false, false, 21)) {
echo "data-title=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerTitle", [], "any", false, false, false, 21), "html", null, true);
echo "\"";
}
// line 22
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerUid", [], "any", false, false, false, 22)) {
echo "data-uid=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "customerUid", [], "any", false, false, false, 22), "html", null, true);
echo "\"";
}
// line 23
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "revenue", [], "any", false, false, false, 23)) {
echo "data-revenue=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "revenue", [], "any", false, false, false, 23), "html", null, true);
echo "\"";
}
// line 24
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "pluginData", [], "any", false, false, false, 24)) {
echo "data-plugin=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "pluginData", [], "any", false, false, false, 24), "html", null, true);
echo "\"";
}
// line 25
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "pageType", [], "any", false, false, false, 25)) {
echo "data-page=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "pageType", [], "any", false, false, false, 25), "html", null, true);
echo "\"";
}
// line 26
echo "
";
// line 28
echo " ";
if ((((array_key_exists("page", $context) && sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", true, true, false, 28)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, true, false, 28), "sensusUptainConnectFinish", [], "any", true, true, false, 28)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, true, false, 28), "sensusUptainConnectFinish", [], "any", false, true, false, 28), "orderNumber", [], "any", true, true, false, 28))) {
// line 29
echo " data-ordernumber=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 29), "sensusUptainConnectFinish", [], "any", false, false, false, 29), "orderNumber", [], "any", false, false, false, 29), "html", null, true);
echo "\"
data-success=\"1\"
data-scv=\"";
// line 31
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 31), "sensusUptainConnectFinish", [], "any", false, false, false, 31), "scv", [], "any", false, false, false, 31), "html", null, true);
echo "\"
";
// line 32
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 32), "sensusUptainConnectFinish", [], "any", false, false, false, 32), "voucherCode", [], "any", false, false, false, 32) && !sw_get_attribute($this->env, $this->source, ($context["sensusUptainConnect"] ?? null), "voucherCode", [], "any", false, false, false, 32))) {
echo "data-usedvoucher=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 32), "sensusUptainConnectFinish", [], "any", false, false, false, 32), "voucherCode", [], "any", false, false, false, 32), "html", null, true);
echo "\"";
}
// line 33
echo " ";
}
// line 34
echo "
";
// line 35
if (((array_key_exists("context", $context) && sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", true, true, false, 35)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, true, false, 35), "sensusUptainConnectWhistlist", [], "any", true, true, false, 35))) {
// line 36
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 36), "sensusUptainConnectWhistlist", [], "any", false, false, false, 36), "wishlist", [], "any", false, false, false, 36)) {
echo "data-whishlist=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 36), "sensusUptainConnectWhistlist", [], "any", false, false, false, 36), "wishlist", [], "any", false, false, false, 36), "html", null, true);
echo "\"";
}
// line 37
echo " ";
}
// line 38
echo "
";
// line 39
if (((array_key_exists("context", $context) && sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", true, true, false, 39)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, true, false, 39), "sensusUptainConnectCart", [], "any", true, true, false, 39))) {
// line 40
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 40), "sensusUptainConnectCart", [], "any", false, false, false, 40), "scv", [], "any", false, false, false, 40)) {
echo "data-scv=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 40), "sensusUptainConnectCart", [], "any", false, false, false, 40), "scv", [], "any", false, false, false, 40), "html", null, true);
echo "\"";
}
// line 41
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 41), "sensusUptainConnectCart", [], "any", false, false, false, 41), "taxAmount", [], "any", false, false, false, 41)) {
echo "data-tax-amount=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 41), "sensusUptainConnectCart", [], "any", false, false, false, 41), "taxAmount", [], "any", false, false, false, 41), "html", null, true);
echo "\"";
}
// line 42
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 42), "sensusUptainConnectCart", [], "any", false, false, false, 42), "usedvoucher", [], "any", false, false, false, 42)) {
echo "data-usedvoucher=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 42), "sensusUptainConnectCart", [], "any", false, false, false, 42), "usedvoucher", [], "any", false, false, false, 42), "html", null, true);
echo "\"";
}
// line 43
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 43), "sensusUptainConnectCart", [], "any", false, false, false, 43), "voucherAmount", [], "any", false, false, false, 43)) {
echo "data-voucher-amount=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 43), "sensusUptainConnectCart", [], "any", false, false, false, 43), "voucherAmount", [], "any", false, false, false, 43), "html", null, true);
echo "\"";
}
// line 44
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 44), "sensusUptainConnectCart", [], "any", false, false, false, 44), "voucherType", [], "any", false, false, false, 44)) {
echo "data-voucher-type=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 44), "sensusUptainConnectCart", [], "any", false, false, false, 44), "voucherType", [], "any", false, false, false, 44), "html", null, true);
echo "\"";
}
// line 45
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 45), "sensusUptainConnectCart", [], "any", false, false, false, 45), "shipping", [], "any", false, false, false, 45)) {
echo "data-shipping=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 45), "sensusUptainConnectCart", [], "any", false, false, false, 45), "shipping", [], "any", false, false, false, 45), "html", null, true);
echo "\"";
}
// line 46
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 46), "sensusUptainConnectCart", [], "any", false, false, false, 46), "payment", [], "any", false, false, false, 46)) {
echo "data-payment=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 46), "sensusUptainConnectCart", [], "any", false, false, false, 46), "payment", [], "any", false, false, false, 46), "html", null, true);
echo "\"";
}
// line 47
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 47), "sensusUptainConnectCart", [], "any", false, false, false, 47), "shippingCosts", [], "any", false, false, false, 47)) {
echo "data-shipping-costs=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 47), "sensusUptainConnectCart", [], "any", false, false, false, 47), "shippingCosts", [], "any", false, false, false, 47), "html", null, true);
echo "\"";
}
// line 48
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 48), "sensusUptainConnectCart", [], "any", false, false, false, 48), "paymentCosts", [], "any", false, false, false, 48)) {
echo "data-payment-costs=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 48), "sensusUptainConnectCart", [], "any", false, false, false, 48), "paymentCosts", [], "any", false, false, false, 48), "html", null, true);
echo "\"";
}
// line 49
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 49), "sensusUptainConnectCart", [], "any", false, false, false, 49), "postalCode", [], "any", false, false, false, 49)) {
echo "data-postal-code=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 49), "sensusUptainConnectCart", [], "any", false, false, false, 49), "postalCode", [], "any", false, false, false, 49), "html", null, true);
echo "\"";
}
// line 50
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 50), "sensusUptainConnectCart", [], "any", false, false, false, 50), "products", [], "any", false, false, false, 50)) {
echo "data-products=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 50), "sensusUptainConnectCart", [], "any", false, false, false, 50), "products", [], "any", false, false, false, 50), "html", null, true);
echo "\"";
}
// line 51
echo " ";
}
// line 52
echo "
";
// line 53
if (((array_key_exists("context", $context) && sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", true, true, false, 53)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, true, false, 53), "sensusUptainProductListing", [], "any", true, true, false, 53))) {
// line 54
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 54), "sensusUptainProductListing", [], "any", false, false, false, 54), "categoryName", [], "any", false, false, false, 54)) {
echo "data-category-name=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 54), "sensusUptainProductListing", [], "any", false, false, false, 54), "categoryName", [], "any", false, false, false, 54), "html", null, true);
echo "\"";
}
// line 55
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 55), "sensusUptainProductListing", [], "any", false, false, false, 55), "categoryPath", [], "any", false, false, false, 55)) {
echo "data-category-path=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 55), "sensusUptainProductListing", [], "any", false, false, false, 55), "categoryPath", [], "any", false, false, false, 55), "html", null, true);
echo "\"";
}
// line 56
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 56), "sensusUptainProductListing", [], "any", false, false, false, 56), "categoryProducts", [], "any", false, false, false, 56)) {
echo "data-category-products=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 56), "sensusUptainProductListing", [], "any", false, false, false, 56), "categoryProducts", [], "any", false, false, false, 56), "html", null, true);
echo "\"";
}
// line 57
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 57), "sensusUptainProductListing", [], "any", false, false, false, 57), "categorySorting", [], "any", false, false, false, 57)) {
echo "data-category-sorting=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "extensions", [], "any", false, false, false, 57), "sensusUptainProductListing", [], "any", false, false, false, 57), "categorySorting", [], "any", false, false, false, 57), "html", null, true);
echo "\"";
}
// line 58
echo " ";
}
// line 59
echo "
";
// line 60
if (((array_key_exists("page", $context) && sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", true, true, false, 60)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, true, false, 60), "sensusUptainProductDetail", [], "any", true, true, false, 60))) {
// line 61
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 61), "sensusUptainProductDetail", [], "any", false, false, false, 61), "productId", [], "any", false, false, false, 61)) {
echo "data-product-id=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 61), "sensusUptainProductDetail", [], "any", false, false, false, 61), "productId", [], "any", false, false, false, 61), "html", null, true);
echo "\"";
}
// line 62
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 62), "sensusUptainProductDetail", [], "any", false, false, false, 62), "productName", [], "any", false, false, false, 62)) {
echo "data-product-name=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 62), "sensusUptainProductDetail", [], "any", false, false, false, 62), "productName", [], "any", false, false, false, 62), "html", null, true);
echo "\"";
}
// line 63
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 63), "sensusUptainProductDetail", [], "any", false, false, false, 63), "productPrice", [], "any", false, false, false, 63)) {
echo "data-product-price=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 63), "sensusUptainProductDetail", [], "any", false, false, false, 63), "productPrice", [], "any", false, false, false, 63), "html", null, true);
echo "\"";
}
// line 64
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 64), "sensusUptainProductDetail", [], "any", false, false, false, 64), "productOriginalPrice", [], "any", false, false, false, 64)) {
echo "data-product-original-price=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 64), "sensusUptainProductDetail", [], "any", false, false, false, 64), "productOriginalPrice", [], "any", false, false, false, 64), "html", null, true);
echo "\"";
}
// line 65
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 65), "sensusUptainProductDetail", [], "any", false, false, false, 65), "productImage", [], "any", false, false, false, 65)) {
echo "data-product-image=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 65), "sensusUptainProductDetail", [], "any", false, false, false, 65), "productImage", [], "any", false, false, false, 65), "html", null, true);
echo "\"";
}
// line 66
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 66), "sensusUptainProductDetail", [], "any", false, false, false, 66), "productTags", [], "any", false, false, false, 66)) {
echo "data-product-tags=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 66), "sensusUptainProductDetail", [], "any", false, false, false, 66), "productTags", [], "any", false, false, false, 66), "html", null, true);
echo "\"";
}
// line 67
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 67), "sensusUptainProductDetail", [], "any", false, false, false, 67), "productVariants", [], "any", false, false, false, 67)) {
echo "data-product-variants=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 67), "sensusUptainProductDetail", [], "any", false, false, false, 67), "productVariants", [], "any", false, false, false, 67), "html", null, true);
echo "\"";
}
// line 68
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 68), "sensusUptainProductDetail", [], "any", false, false, false, 68), "productCategory", [], "any", false, false, false, 68)) {
echo "data-product-category=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 68), "sensusUptainProductDetail", [], "any", false, false, false, 68), "productCategory", [], "any", false, false, false, 68), "html", null, true);
echo "\"";
}
// line 69
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 69), "sensusUptainProductDetail", [], "any", false, false, false, 69), "productCategoryPaths", [], "any", false, false, false, 69)) {
echo "data-product-category-path=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 69), "sensusUptainProductDetail", [], "any", false, false, false, 69), "productCategoryPaths", [], "any", false, false, false, 69), "html", null, true);
echo "\"";
}
// line 70
echo " ";
}
// line 71
echo "
";
// line 72
if (((array_key_exists("page", $context) && sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", true, true, false, 72)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, true, false, 72), "sensusUptainProductSearch", [], "any", true, true, false, 72))) {
// line 73
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 73), "sensusUptainProductSearch", [], "any", false, false, false, 73), "searchTerm", [], "any", false, false, false, 73)) {
echo "data-search-term=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 73), "sensusUptainProductSearch", [], "any", false, false, false, 73), "searchTerm", [], "any", false, false, false, 73), "html", null, true);
echo "\"";
}
// line 74
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 74), "sensusUptainProductSearch", [], "any", false, false, false, 74), "searchProducts", [], "any", false, false, false, 74)) {
echo "data-search-products=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 74), "sensusUptainProductSearch", [], "any", false, false, false, 74), "searchProducts", [], "any", false, false, false, 74), "html", null, true);
echo "\"";
}
// line 75
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 75), "sensusUptainProductSearch", [], "any", false, false, false, 75), "searchSorting", [], "any", false, false, false, 75)) {
echo "data-search-sorting=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 75), "sensusUptainProductSearch", [], "any", false, false, false, 75), "searchSorting", [], "any", false, false, false, 75), "html", null, true);
echo "\"";
}
// line 76
echo " ";
}
// line 77
echo " >
</div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@SensusUptainConnect6/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 426 => 77, 423 => 76, 416 => 75, 409 => 74, 402 => 73, 400 => 72, 397 => 71, 394 => 70, 387 => 69, 380 => 68, 373 => 67, 366 => 66, 359 => 65, 352 => 64, 345 => 63, 338 => 62, 331 => 61, 329 => 60, 326 => 59, 323 => 58, 316 => 57, 309 => 56, 302 => 55, 295 => 54, 293 => 53, 290 => 52, 287 => 51, 280 => 50, 273 => 49, 266 => 48, 259 => 47, 252 => 46, 245 => 45, 238 => 44, 231 => 43, 224 => 42, 217 => 41, 210 => 40, 208 => 39, 205 => 38, 202 => 37, 195 => 36, 193 => 35, 190 => 34, 187 => 33, 181 => 32, 177 => 31, 171 => 29, 168 => 28, 165 => 26, 158 => 25, 151 => 24, 144 => 23, 137 => 22, 130 => 21, 123 => 20, 116 => 19, 109 => 18, 103 => 17, 100 => 16, 94 => 14, 89 => 12, 86 => 11, 84 => 10, 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_body_script %}
{{ parent() }}
{% if sensusUptainConnect is defined and sensusUptainConnect.active == true and sensusUptainConnect.uptainId is defined %}
<script type=\"text/javascript\">
window.uptainUpdateUrl = \"{{ seoUrl('frontend.uptain.getCart') }}\";
</script>
{% if sensusUptainConnect.cookieEnabled %}
<script id=\"uptainJSSnippet\" type=\"text/javascript\"
src=\"https://app.uptain.de/js/uptain.js?x={{ sensusUptainConnect.uptainId }}\" async></script>
{% else %}
<script id=\"uptainJSSnippet\" type=\"text/plain\" data-src=\"https://app.uptain.de/js/uptain.js?x={{ sensusUptainConnect.uptainId }}\" async></script>
{% endif %}
<div id=\"__up_data_qp\" style=\"display: none;\"
{% if sensusUptainConnect.customerEmail %}data-email=\"{{ sensusUptainConnect.customerEmail }}\"{% endif %}
{% if sensusUptainConnect.customerGroup %}data-customergroup=\"{{ sensusUptainConnect.customerGroup }}\"{% endif %}
{% if sensusUptainConnect.customerFirstName %}data-firstname=\"{{ sensusUptainConnect.customerFirstName }}\"{% endif %}
{% if sensusUptainConnect.customerLastName %}data-lastname=\"{{ sensusUptainConnect.customerLastName }}\"{% endif %}
{% if sensusUptainConnect.customerTitle %}data-title=\"{{ sensusUptainConnect.customerTitle }}\"{% endif %}
{% if sensusUptainConnect.customerUid %}data-uid=\"{{ sensusUptainConnect.customerUid }}\"{% endif %}
{% if sensusUptainConnect.revenue %}data-revenue=\"{{ sensusUptainConnect.revenue }}\"{% endif %}
{% if sensusUptainConnect.pluginData %}data-plugin=\"{{ sensusUptainConnect.pluginData }}\"{% endif %}
{% if sensusUptainConnect.pageType %}data-page=\"{{ sensusUptainConnect.pageType }}\"{% endif %}
{# This is only set when we're at the CheckoutFinishPage #}
{% if page is defined and page.extensions is defined and page.extensions.sensusUptainConnectFinish is defined and page.extensions.sensusUptainConnectFinish.orderNumber is defined %}
data-ordernumber=\"{{ page.extensions.sensusUptainConnectFinish.orderNumber }}\"
data-success=\"1\"
data-scv=\"{{ page.extensions.sensusUptainConnectFinish.scv }}\"
{% if page.extensions.sensusUptainConnectFinish.voucherCode and not sensusUptainConnect.voucherCode %}data-usedvoucher=\"{{ page.extensions.sensusUptainConnectFinish.voucherCode }}\"{% endif %}
{% endif %}
{% if context is defined and context.extensions is defined and context.extensions.sensusUptainConnectWhistlist is defined %}
{% if context.extensions.sensusUptainConnectWhistlist.wishlist %}data-whishlist=\"{{ context.extensions.sensusUptainConnectWhistlist.wishlist }}\"{% endif %}
{% endif %}
{% if context is defined and context.extensions is defined and context.extensions.sensusUptainConnectCart is defined %}
{% if context.extensions.sensusUptainConnectCart.scv %}data-scv=\"{{ context.extensions.sensusUptainConnectCart.scv }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.taxAmount %}data-tax-amount=\"{{ context.extensions.sensusUptainConnectCart.taxAmount }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.usedvoucher %}data-usedvoucher=\"{{ context.extensions.sensusUptainConnectCart.usedvoucher }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.voucherAmount %}data-voucher-amount=\"{{ context.extensions.sensusUptainConnectCart.voucherAmount }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.voucherType %}data-voucher-type=\"{{ context.extensions.sensusUptainConnectCart.voucherType }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.shipping %}data-shipping=\"{{ context.extensions.sensusUptainConnectCart.shipping }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.payment %}data-payment=\"{{ context.extensions.sensusUptainConnectCart.payment }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.shippingCosts %}data-shipping-costs=\"{{ context.extensions.sensusUptainConnectCart.shippingCosts }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.paymentCosts %}data-payment-costs=\"{{ context.extensions.sensusUptainConnectCart.paymentCosts }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.postalCode %}data-postal-code=\"{{ context.extensions.sensusUptainConnectCart.postalCode }}\"{% endif %}
{% if context.extensions.sensusUptainConnectCart.products %}data-products=\"{{ context.extensions.sensusUptainConnectCart.products }}\"{% endif %}
{% endif %}
{% if context is defined and context.extensions is defined and context.extensions.sensusUptainProductListing is defined %}
{% if context.extensions.sensusUptainProductListing.categoryName %}data-category-name=\"{{ context.extensions.sensusUptainProductListing.categoryName }}\"{% endif %}
{% if context.extensions.sensusUptainProductListing.categoryPath %}data-category-path=\"{{ context.extensions.sensusUptainProductListing.categoryPath }}\"{% endif %}
{% if context.extensions.sensusUptainProductListing.categoryProducts %}data-category-products=\"{{ context.extensions.sensusUptainProductListing.categoryProducts }}\"{% endif %}
{% if context.extensions.sensusUptainProductListing.categorySorting %}data-category-sorting=\"{{ context.extensions.sensusUptainProductListing.categorySorting }}\"{% endif %}
{% endif %}
{% if page is defined and page.extensions is defined and page.extensions.sensusUptainProductDetail is defined %}
{% if page.extensions.sensusUptainProductDetail.productId %}data-product-id=\"{{ page.extensions.sensusUptainProductDetail.productId }}\"{% endif %}
{% if page.extensions.sensusUptainProductDetail.productName %}data-product-name=\"{{ page.extensions.sensusUptainProductDetail.productName }}\"{% endif %}
{% if page.extensions.sensusUptainProductDetail.productPrice %}data-product-price=\"{{ page.extensions.sensusUptainProductDetail.productPrice }}\"{% endif %}
{% if page.extensions.sensusUptainProductDetail.productOriginalPrice %}data-product-original-price=\"{{ page.extensions.sensusUptainProductDetail.productOriginalPrice }}\"{% endif %}
{% if page.extensions.sensusUptainProductDetail.productImage %}data-product-image=\"{{ page.extensions.sensusUptainProductDetail.productImage }}\"{% endif %}
{% if page.extensions.sensusUptainProductDetail.productTags %}data-product-tags=\"{{ page.extensions.sensusUptainProductDetail.productTags }}\"{% endif %}
{% if page.extensions.sensusUptainProductDetail.productVariants %}data-product-variants=\"{{ page.extensions.sensusUptainProductDetail.productVariants }}\"{% endif %}
{% if page.extensions.sensusUptainProductDetail.productCategory %}data-product-category=\"{{ page.extensions.sensusUptainProductDetail.productCategory }}\"{% endif %}
{% if page.extensions.sensusUptainProductDetail.productCategoryPaths %}data-product-category-path=\"{{ page.extensions.sensusUptainProductDetail.productCategoryPaths }}\"{% endif %}
{% endif %}
{% if page is defined and page.extensions is defined and page.extensions.sensusUptainProductSearch is defined %}
{% if page.extensions.sensusUptainProductSearch.searchTerm %}data-search-term=\"{{ page.extensions.sensusUptainProductSearch.searchTerm }}\"{% endif %}
{% if page.extensions.sensusUptainProductSearch.searchProducts %}data-search-products=\"{{ page.extensions.sensusUptainProductSearch.searchProducts }}\"{% endif %}
{% if page.extensions.sensusUptainProductSearch.searchSorting %}data-search-sorting=\"{{ page.extensions.sensusUptainProductSearch.searchSorting }}\"{% endif %}
{% endif %}
>
</div>
{% endif %}
{% endblock %}", "@SensusUptainConnect6/storefront/base.html.twig", "/var/www/staging1.grimm-gastrobedarf.de/custom/plugins/SensusUptainConnect6/src/Resources/views/storefront/base.html.twig");
}
}