var/cache/dev_h6fb3a85e4dfb80ee0331567510138d5f/twig/bc/bc1da91cdbb4537018b6feebc27bda37.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_8b615f3b04b2e2df21988ecd84750126 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", null, true);
  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", null, true);
  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", null, true);
  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", null, true);
  74. echo "');
  75. })();
  76. /*]]>*/</script>
  77. ";
  78. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  79. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80. }
  81. public function getTemplateName()
  82. {
  83. return "@WebProfiler/Profiler/toolbar_js.html.twig";
  84. }
  85. public function isTraitable()
  86. {
  87. return false;
  88. }
  89. public function getDebugInfo()
  90. {
  91. return array ( 82 => 19, 73 => 17, 68 => 15, 60 => 14, 55 => 12, 51 => 10, 49 => 7, 48 => 2, 43 => 1,);
  92. }
  93. public function getSourceContext()
  94. {
  95. return new Source("<div id=\"sfwdt{{ token }}\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
  96. {% include('@WebProfiler/Profiler/toolbar.html.twig') with {
  97. templates: {
  98. 'request': '@WebProfiler/Profiler/cancel.html.twig'
  99. },
  100. profile: null,
  101. profiler_url: url('_profiler', {token: token}),
  102. profiler_markup_version: 2,
  103. } %}
  104. </div>
  105. {{ include('@WebProfiler/Profiler/base_js.html.twig') }}
  106. <style{% if csp_style_nonce %} nonce=\"{{ csp_style_nonce }}\"{% endif %}>
  107. {{ include('@WebProfiler/Profiler/toolbar.css.twig') }}
  108. </style>
  109. <script{% if csp_script_nonce %} nonce=\"{{ csp_script_nonce }}\"{% endif %}>/*<![CDATA[*/
  110. (function () {
  111. Sfjs.loadToolbar('{{ token }}');
  112. })();
  113. /*]]>*/</script>
  114. ", "@WebProfiler/Profiler/toolbar_js.html.twig", "/var/www/share/dev.m-medientechnik.de/shopware/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar_js.html.twig");
  115. }
  116. }