<?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;
/* @WeedesignImages2WebP/storefront/base.html.twig */
class __TwigTemplate_6f27dcf6ddb1f518c8f56bf64dc322b444f45ac7d54a9218e115eb9dbe7f80a9 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 "@WbmTagManagerEcomm/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", "@WeedesignImages2WebP/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", "@WeedesignImages2WebP/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@WbmTagManagerEcomm/storefront/base.html.twig", "@WeedesignImages2WebP/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_body_script($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_body_script"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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 ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "WeedesignImages2WebP.config.backlink")) {
// line 7
echo "
";
// line 8
$context["WeedesignImages2WebPBacklinksTitle"] = [0 => "WeedesignImages2WebP.backlink.title.1", 1 => "WeedesignImages2WebP.backlink.title.2", 2 => "WeedesignImages2WebP.backlink.title.3", 3 => "WeedesignImages2WebP.backlink.title.4"];
// line 14
echo " ";
$context["WeedesignImages2WebPBacklinksDescription"] = [0 => "WeedesignImages2WebP.backlink.title.1", 1 => "WeedesignImages2WebP.backlink.title.2", 2 => "WeedesignImages2WebP.backlink.title.3", 3 => "WeedesignImages2WebP.backlink.title.4"];
// line 20
echo " <details class=\"weedesign-images2webp-plugin\">
<summary>";
// line 21
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_random($this->env, ($context["WeedesignImages2WebPBacklinksTitle"] ?? null))), "html", null, true);
echo "</summary>
<a href=\"";
// line 22
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("WeedesignImages2WebP.backlink.src"), "html", null, true);
echo "\">";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_random($this->env, ($context["WeedesignImages2WebPBacklinksDescription"] ?? null))), "html", null, true);
echo "</a>
</details>
";
}
// line 26
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@WeedesignImages2WebP/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 100 => 26, 91 => 22, 87 => 21, 84 => 20, 81 => 14, 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 config('WeedesignImages2WebP.config.backlink') %}
{% set WeedesignImages2WebPBacklinksTitle = [
\"WeedesignImages2WebP.backlink.title.1\",
\"WeedesignImages2WebP.backlink.title.2\",
\"WeedesignImages2WebP.backlink.title.3\",
\"WeedesignImages2WebP.backlink.title.4\"
] %}
{% set WeedesignImages2WebPBacklinksDescription = [
\"WeedesignImages2WebP.backlink.title.1\",
\"WeedesignImages2WebP.backlink.title.2\",
\"WeedesignImages2WebP.backlink.title.3\",
\"WeedesignImages2WebP.backlink.title.4\"
] %}
<details class=\"weedesign-images2webp-plugin\">
<summary>{{ random(WeedesignImages2WebPBacklinksTitle)|trans }}</summary>
<a href=\"{{ 'WeedesignImages2WebP.backlink.src'|trans }}\">{{ random(WeedesignImages2WebPBacklinksDescription)|trans }}</a>
</details>
{% endif %}
{% endblock %}", "@WeedesignImages2WebP/storefront/base.html.twig", "/var/customers/webs/youksakka/htdocs/custom/plugins/WeedesignImages2WebP/src/Resources/views/storefront/base.html.twig");
}
}