<?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;
/* @WebProfiler/Profiler/toolbar_js.html.twig */
class __TwigTemplate_75c6452d88d2f495c4962d2e5269da83 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "@WebProfiler/Profiler/toolbar_js.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/toolbar_js.html.twig"));
// line 1
echo "<div id=\"sfwdt";
echo sw_escape_filter($this->env, ($context["token"] ?? null), "html", null, true);
echo "\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
";
// line 2
$this->loadTemplate("@WebProfiler/Profiler/toolbar.html.twig", "@WebProfiler/Profiler/toolbar_js.html.twig", 2)->display(twig_array_merge($context, ["templates" => ["request" => "@WebProfiler/Profiler/cancel.html.twig"], "profile" => null, "profiler_url" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("_profiler", ["token" => // line 7
($context["token"] ?? null)]), "profiler_markup_version" => 2]));
// line 10
echo "</div>
";
// line 12
echo twig_include($this->env, $context, "@WebProfiler/Profiler/base_js.html.twig");
echo "
<style";
// line 14
if (($context["csp_style_nonce"] ?? null)) {
echo " nonce=\"";
echo sw_escape_filter($this->env, ($context["csp_style_nonce"] ?? null), "html", null, true);
echo "\"";
}
echo ">
";
// line 15
echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar.css.twig");
echo "
</style>
<script";
// line 17
if (($context["csp_script_nonce"] ?? null)) {
echo " nonce=\"";
echo sw_escape_filter($this->env, ($context["csp_script_nonce"] ?? null), "html", null, true);
echo "\"";
}
echo ">/*<![CDATA[*/
(function () {
Sfjs.loadToolbar('";
// line 19
echo sw_escape_filter($this->env, ($context["token"] ?? null), "html", null, true);
echo "');
})();
/*]]>*/</script>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@WebProfiler/Profiler/toolbar_js.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 82 => 19, 73 => 17, 68 => 15, 60 => 14, 55 => 12, 51 => 10, 49 => 7, 48 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div id=\"sfwdt{{ token }}\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
{% include('@WebProfiler/Profiler/toolbar.html.twig') with {
templates: {
'request': '@WebProfiler/Profiler/cancel.html.twig'
},
profile: null,
profiler_url: url('_profiler', {token: token}),
profiler_markup_version: 2,
} %}
</div>
{{ include('@WebProfiler/Profiler/base_js.html.twig') }}
<style{% if csp_style_nonce %} nonce=\"{{ csp_style_nonce }}\"{% endif %}>
{{ include('@WebProfiler/Profiler/toolbar.css.twig') }}
</style>
<script{% if csp_script_nonce %} nonce=\"{{ csp_script_nonce }}\"{% endif %}>/*<![CDATA[*/
(function () {
Sfjs.loadToolbar('{{ token }}');
})();
/*]]>*/</script>
", "@WebProfiler/Profiler/toolbar_js.html.twig", "/home/bardahls/shopware/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar_js.html.twig");
}
}