<?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;
/* @SwagCmsExtensions/storefront/base.html.twig */
class __TwigTemplate_6ae53e578ee923ef48314a1163598e4f3a1902823b4b2b17d11f270b29def716 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_script_router' => [$this, 'block_base_script_router'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@MoorlFoundation/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", "@SwagCmsExtensions/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", "@SwagCmsExtensions/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@MoorlFoundation/storefront/base.html.twig", "@SwagCmsExtensions/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_script_router($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_script_router"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_script_router"));
// line 4
echo " ";
$this->displayParentBlock("base_script_router", $context, $blocks);
echo "
";
// line 6
$context["quickviewRoute"] = twig_constant("Swag\\CmsExtensions\\Storefront\\Controller\\QuickviewController::QUICKVIEW_ROUTE");
// line 7
echo " ";
$context["quickviewVariantRoute"] = twig_constant("Swag\\CmsExtensions\\Storefront\\Controller\\QuickviewController::QUICKVIEW_VARIANT_ROUTE");
// line 8
echo "
<script>
window.router['";
// line 10
echo sw_escape_filter($this->env, ($context["quickviewRoute"] ?? null), "html", null, true);
echo "'] = '";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["quickviewRoute"] ?? null));
echo "';
window.router['";
// line 11
echo sw_escape_filter($this->env, ($context["quickviewVariantRoute"] ?? null), "html", null, true);
echo "'] = '";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["quickviewVariantRoute"] ?? null));
echo "';
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SwagCmsExtensions/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 89 => 11, 83 => 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_script_router %}
{{ parent() }}
{% set quickviewRoute = constant('Swag\\\\CmsExtensions\\\\Storefront\\\\Controller\\\\QuickviewController::QUICKVIEW_ROUTE') %}
{% set quickviewVariantRoute = constant('Swag\\\\CmsExtensions\\\\Storefront\\\\Controller\\\\QuickviewController::QUICKVIEW_VARIANT_ROUTE') %}
<script>
window.router['{{ quickviewRoute }}'] = '{{ path(quickviewRoute) }}';
window.router['{{ quickviewVariantRoute }}'] = '{{ path(quickviewVariantRoute) }}';
</script>
{% endblock %}
", "@SwagCmsExtensions/storefront/base.html.twig", "/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/SwagCmsExtensions/src/Resources/views/storefront/base.html.twig");
}
}