<?php
use Twig\Environment;
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;
/* @Storefront/storefront/component/feature.html.twig */
class __TwigTemplate_e9efdca0f6983c1ca56f91762edecc5c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'component_head_feature' => [$this, 'block_component_head_feature'],
];
}
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", "@Storefront/storefront/component/feature.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/component/feature.html.twig"));
echo "<!-- INCLUDE BEGIN @Storefront/storefront/component/feature.html.twig (vendor/shopware/storefront/Resources/views/storefront/component/feature.html.twig) -->";
// line 1
$this->displayBlock('component_head_feature', $context, $blocks);
// line 0
echo "<!-- INCLUDE END @Storefront/storefront/component/feature.html.twig -->";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 1
public function block_component_head_feature($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", "component_head_feature"));
// line 0
echo "<!-- BLOCK BEGIN component_head_feature (vendor/shopware/storefront/Resources/views/storefront/component/feature.html.twig) -->";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_head_feature"));
// line 2
echo " <script>
window.features = ";
// line 3
echo $this->env->getFilter('json_encode')->getCallable()($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->getAll());
echo ";
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
// line 0
echo "<!-- BLOCK END component_head_feature -->";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/component/feature.html.twig";
}
public function getDebugInfo()
{
return array ( 80 => 0, 72 => 3, 69 => 2, 64 => 0, 57 => 1, 47 => 0, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% block component_head_feature %}
<script>
window.features = {{ getAllFeatures()|json_encode|raw }};
</script>
{% endblock %}
", "@Storefront/storefront/component/feature.html.twig", "/home/p-a6iu1i/html/hbc-shopware-stage-qcsct/dev/vendor/shopware/storefront/Resources/views/storefront/component/feature.html.twig");
}
}