<?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;
/* @NetiNextEasyCouponDesigns/storefront/base.html.twig */
class __TwigTemplate_e8594eaa1b54fbe91c5972966b290e05 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'],
'base_body_script_neti_easy_coupon_designs' => [$this, 'block_base_body_script_neti_easy_coupon_designs'],
'base_pseudo_modal' => [$this, 'block_base_pseudo_modal'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@NetzpPowerPack6/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", "@NetiNextEasyCouponDesigns/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", "@NetiNextEasyCouponDesigns/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@NetzpPowerPack6/storefront/base.html.twig", "@NetiNextEasyCouponDesigns/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
$this->displayBlock('base_body_script_neti_easy_coupon_designs', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_base_body_script_neti_easy_coupon_designs($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_neti_easy_coupon_designs"));
$__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_neti_easy_coupon_designs"));
// line 7
echo " ";
$this->loadTemplate("@NetiNextEasyCouponDesigns/storefront/component/neti-easy-coupon-designs/body-script.html.twig", "@NetiNextEasyCouponDesigns/storefront/base.html.twig", 7)->display($context);
// line 8
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 11
public function block_base_pseudo_modal($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_pseudo_modal"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_pseudo_modal"));
// line 12
echo " ";
$context["product"] = null;
// line 13
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", true, true, false, 13)) {
// line 14
echo " ";
$context["product"] = sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 14);
// line 15
echo " ";
}
// line 16
echo "
";
// line 17
if (((((sw_get_attribute($this->env, $this->source, // line 18
($context["product"] ?? null), "extensions", [], "any", true, true, false, 18) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 19
($context["product"] ?? null), "extensions", [], "any", false, true, false, 19), "netiEasyCouponProduct", [], "any", true, true, false, 19)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 20
($context["product"] ?? null), "extensions", [], "any", false, true, false, 20), "netiEasyCouponProduct", [], "any", false, true, false, 20), "extensions", [], "any", true, true, false, 20)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 21
($context["product"] ?? null), "extensions", [], "any", false, true, false, 21), "netiEasyCouponProduct", [], "any", false, true, false, 21), "extensions", [], "any", false, true, false, 21), "netiEasyCouponDesigns", [], "any", true, true, false, 21)) && (0 < sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 22
($context["product"] ?? null), "extensions", [], "any", false, false, false, 22), "netiEasyCouponProduct", [], "any", false, false, false, 22), "extensions", [], "any", false, false, false, 22), "netiEasyCouponDesigns", [], "any", false, false, false, 22), "count", [], "any", false, false, false, 22)))) {
// line 24
echo " ";
$this->loadTemplate("@NetiNextEasyCouponDesigns/storefront/page/product-detail/easycoupon-designs/preview-modal.html.twig", "@NetiNextEasyCouponDesigns/storefront/base.html.twig", 24)->display($context);
// line 25
echo " ";
}
// line 26
echo "
";
// line 27
$this->displayParentBlock("base_pseudo_modal", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@NetiNextEasyCouponDesigns/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 149 => 27, 146 => 26, 143 => 25, 140 => 24, 138 => 22, 137 => 21, 136 => 20, 135 => 19, 134 => 18, 133 => 17, 130 => 16, 127 => 15, 124 => 14, 121 => 13, 118 => 12, 108 => 11, 98 => 8, 95 => 7, 76 => 6, 70 => 4, 60 => 3, 37 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_body_script %}
{{ parent() }}
{% block base_body_script_neti_easy_coupon_designs %}
{% sw_include '@Storefront/storefront/component/neti-easy-coupon-designs/body-script.html.twig' %}
{% endblock %}
{% endblock %}
{% block base_pseudo_modal %}
{% set product = null %}
{% if page.product is defined %}
{% set product = page.product %}
{% endif %}
{% if
product.extensions is defined
and product.extensions.netiEasyCouponProduct is defined
and product.extensions.netiEasyCouponProduct.extensions is defined
and product.extensions.netiEasyCouponProduct.extensions.netiEasyCouponDesigns is defined
and 0 < product.extensions.netiEasyCouponProduct.extensions.netiEasyCouponDesigns.count
%}
{% sw_include '@Storefront/storefront/page/product-detail/easycoupon-designs/preview-modal.html.twig' %}
{% endif %}
{{ parent() }}
{% endblock %}
", "@NetiNextEasyCouponDesigns/storefront/base.html.twig", "/var/customers/webs/fporzellan/htdocs/custom/plugins/NetiNextEasyCouponDesigns/src/Resources/views/storefront/base.html.twig");
}
}