var/cache/dev_h1e95bf4edbf84e391800d1f2ccc72376/twig/ee/ee0fbb1b4f7ee2b1a1d8c2da8dc566bd.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_ffffafff91c7ab1a8e101277c6959d6f 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar_js.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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.         echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar.html.twig", ["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 9
  44.         echo "
  45. </div>
  46. ";
  47.         // line 12
  48.         echo twig_include($this->env$context"@WebProfiler/Profiler/base_js.html.twig");
  49.         echo "
  50. <style";
  51.         // line 14
  52.         if (($context["csp_style_nonce"] ?? null)) {
  53.             echo " nonce=\"";
  54.             echo sw_escape_filter($this->env, ($context["csp_style_nonce"] ?? null), "html"nulltrue);
  55.             echo "\"";
  56.         }
  57.         echo ">
  58.     ";
  59.         // line 15
  60.         echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar.css.twig");
  61.         echo "
  62. </style>
  63. <script";
  64.         // line 17
  65.         if (($context["csp_script_nonce"] ?? null)) {
  66.             echo " nonce=\"";
  67.             echo sw_escape_filter($this->env, ($context["csp_script_nonce"] ?? null), "html"nulltrue);
  68.             echo "\"";
  69.         }
  70.         echo ">/*<![CDATA[*/
  71.     (function () {
  72.         Sfjs.loadToolbar('";
  73.         // line 19
  74.         echo sw_escape_filter($this->env, ($context["token"] ?? null), "html"nulltrue);
  75.         echo "');
  76.     })();
  77. /*]]>*/</script>
  78. ";
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.     }
  84.     public function getTemplateName()
  85.     {
  86.         return "@WebProfiler/Profiler/toolbar_js.html.twig";
  87.     }
  88.     public function isTraitable()
  89.     {
  90.         return false;
  91.     }
  92.     public function getDebugInfo()
  93.     {
  94.         return array (  83 => 19,  74 => 17,  69 => 15,  61 => 14,  56 => 12,  51 => 9,  49 => 7,  48 => 2,  43 => 1,);
  95.     }
  96.     public function getSourceContext()
  97.     {
  98.         return new Source("<div id=\"sfwdt{{ token }}\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
  99.     {{ include('@WebProfiler/Profiler/toolbar.html.twig', {
  100.         templates: {
  101.             'request': '@WebProfiler/Profiler/cancel.html.twig'
  102.         },
  103.         profile: null,
  104.         profiler_url: url('_profiler', {token: token}),
  105.         profiler_markup_version: 2,
  106.     }) }}
  107. </div>
  108. {{ include('@WebProfiler/Profiler/base_js.html.twig') }}
  109. <style{% if csp_style_nonce %} nonce=\"{{ csp_style_nonce }}\"{% endif %}>
  110.     {{ include('@WebProfiler/Profiler/toolbar.css.twig') }}
  111. </style>
  112. <script{% if csp_script_nonce %} nonce=\"{{ csp_script_nonce }}\"{% endif %}>/*<![CDATA[*/
  113.     (function () {
  114.         Sfjs.loadToolbar('{{ token }}');
  115.     })();
  116. /*]]>*/</script>
  117. ""@WebProfiler/Profiler/toolbar_js.html.twig""/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar_js.html.twig");
  118.     }
  119. }