var/cache/dev/twig/46/463be6ea645a323544c5700ad9a28021.php line 45

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