var/cache/dev_h4760a9d8ee80950c57828f95b0488c51/twig/48/48da9ba8202e0b99ddb7f75e4d51e699f3b4c13fb43a5e50f17aa5a6f21da3d2.php line 35

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @WebProfiler/Profiler/toolbar_js.html.twig */
  16. class __TwigTemplate_447b4c37d9662cbd86c33bbc3ee5fa77337cfb946135f01a3260d39d42021ad4 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->parent false;
  25.         $this->blocks = [
  26.         ];
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar_js.html.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar_js.html.twig"));
  35.         // line 1
  36.         echo "<div id=\"sfwdt";
  37.         echo sw_escape_filter($this->env, ($context["token"] ?? null), "html"nulltrue);
  38.         echo "\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
  39.     ";
  40.         // line 2
  41.         $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
  42. ($context["token"] ?? null)]), "profiler_markup_version" => 2]));
  43.         // line 10
  44.         echo "</div>
  45. ";
  46.         // line 12
  47.         echo twig_include($this->env$context"@WebProfiler/Profiler/base_js.html.twig");
  48.         echo "
  49. <style";
  50.         // line 14
  51.         if (($context["csp_style_nonce"] ?? null)) {
  52.             echo " nonce=\"";
  53.             echo sw_escape_filter($this->env, ($context["csp_style_nonce"] ?? null), "html"nulltrue);
  54.             echo "\"";
  55.         }
  56.         echo ">
  57.     ";
  58.         // line 15
  59.         echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar.css.twig");
  60.         echo "
  61. </style>
  62. <script";
  63.         // line 17
  64.         if (($context["csp_script_nonce"] ?? null)) {
  65.             echo " nonce=\"";
  66.             echo sw_escape_filter($this->env, ($context["csp_script_nonce"] ?? null), "html"nulltrue);
  67.             echo "\"";
  68.         }
  69.         echo ">/*<![CDATA[*/
  70.     (function () {
  71.         Sfjs.loadToolbar('";
  72.         // line 19
  73.         echo sw_escape_filter($this->env, ($context["token"] ?? null), "html"nulltrue);
  74.         echo "');
  75.     })();
  76. /*]]>*/</script>
  77. ";
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.         
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  82.     }
  83.     public function getTemplateName()
  84.     {
  85.         return "@WebProfiler/Profiler/toolbar_js.html.twig";
  86.     }
  87.     public function isTraitable()
  88.     {
  89.         return false;
  90.     }
  91.     public function getDebugInfo()
  92.     {
  93.         return array (  82 => 19,  73 => 17,  68 => 15,  60 => 14,  55 => 12,  51 => 10,  49 => 7,  48 => 2,  43 => 1,);
  94.     }
  95.     public function getSourceContext()
  96.     {
  97.         return new Source("<div id=\"sfwdt{{ token }}\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
  98.     {% include('@WebProfiler/Profiler/toolbar.html.twig') with {
  99.         templates: {
  100.             'request': '@WebProfiler/Profiler/cancel.html.twig'
  101.         },
  102.         profile: null,
  103.         profiler_url: url('_profiler', {token: token}),
  104.         profiler_markup_version: 2,
  105.     } %}
  106. </div>
  107. {{ include('@WebProfiler/Profiler/base_js.html.twig') }}
  108. <style{% if csp_style_nonce %} nonce=\"{{ csp_style_nonce }}\"{% endif %}>
  109.     {{ include('@WebProfiler/Profiler/toolbar.css.twig') }}
  110. </style>
  111. <script{% if csp_script_nonce %} nonce=\"{{ csp_script_nonce }}\"{% endif %}>/*<![CDATA[*/
  112.     (function () {
  113.         Sfjs.loadToolbar('{{ token }}');
  114.     })();
  115. /*]]>*/</script>
  116. ""@WebProfiler/Profiler/toolbar_js.html.twig""/var/www/shopware/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar_js.html.twig");
  117.     }
  118. }