var/cache/dev/twig/8d/8d9a95b44e7c7888cbd21785aa3f3e55.php line 51

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @WebProfiler/Collector/request.html.twig */
  14. class __TwigTemplate_b5189118bbea54b664db3ef7a3a6c21f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'toolbar' => [$this'block_toolbar'],
  24.             'menu' => [$this'block_menu'],
  25.             'panel' => [$this'block_panel'],
  26.         ];
  27.         $macros["_self"] = $this->macros["_self"] = $this;
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@WebProfiler/Profiler/layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/request.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/request.html.twig"));
  41.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@WebProfiler/Collector/request.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_toolbar($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  56.         // line 4
  57.         echo "    ";
  58.         ob_start();
  59.         // line 5
  60.         echo "        ";
  61.         echo twig_call_macro($macros["_self"], "macro_set_handler", [twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'5$this->source); })()), "controller", [], "any"falsefalsefalse5)], 5$context$this->getSourceContext());
  62.         echo "
  63.     ";
  64.         $context["request_handler"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  65.         // line 7
  66.         echo "
  67.     ";
  68.         // line 8
  69.         if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'8$this->source); })()), "redirect", [], "any"falsefalsefalse8)) {
  70.             // line 9
  71.             echo "        ";
  72.             ob_start();
  73.             // line 10
  74.             echo "            ";
  75.             echo twig_call_macro($macros["_self"], "macro_set_handler", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'10$this->source); })()), "redirect", [], "any"falsefalsefalse10), "controller", [], "any"falsefalsefalse10), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'10$this->source); })()), "redirect", [], "any"falsefalsefalse10), "route", [], "any"falsefalsefalse10), ((("GET" != twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'10$this->source); })()), "redirect", [], "any"falsefalsefalse10), "method", [], "any"falsefalsefalse10))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'10$this->source); })()), "redirect", [], "any"falsefalsefalse10), "method", [], "any"falsefalsefalse10)) : (""))], 10$context$this->getSourceContext());
  76.             echo "
  77.         ";
  78.             $context["redirect_handler"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  79.             // line 12
  80.             echo "    ";
  81.         }
  82.         // line 13
  83.         echo "
  84.     ";
  85.         // line 14
  86.         if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'14$this->source); })()), "forwardtoken", [], "any"falsefalsefalse14)) {
  87.             // line 15
  88.             echo "        ";
  89.             $context["forward_profile"] = twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'15$this->source); })()), "childByToken", [=> twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'15$this->source); })()), "forwardtoken", [], "any"falsefalsefalse15)], "method"falsefalsefalse15);
  90.             // line 16
  91.             echo "        ";
  92.             ob_start();
  93.             // line 17
  94.             echo "            ";
  95.             echo twig_call_macro($macros["_self"], "macro_set_handler", [(((isset($context["forward_profile"]) || array_key_exists("forward_profile"$context) ? $context["forward_profile"] : (function () { throw new RuntimeError('Variable "forward_profile" does not exist.'17$this->source); })())) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["forward_profile"]) || array_key_exists("forward_profile"$context) ? $context["forward_profile"] : (function () { throw new RuntimeError('Variable "forward_profile" does not exist.'17$this->source); })()), "collector", [=> "request"], "method"falsefalsefalse17), "controller", [], "any"falsefalsefalse17)) : ("n/a"))], 17$context$this->getSourceContext());
  96.             echo "
  97.         ";
  98.             $context["forward_handler"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  99.             // line 19
  100.             echo "    ";
  101.         }
  102.         // line 20
  103.         echo "
  104.     ";
  105.         // line 21
  106.         $context["request_status_code_color"] = (((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'21$this->source); })()), "statuscode", [], "any"falsefalsefalse21) >= 400)) ? ("red") : ((((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'21$this->source); })()), "statuscode", [], "any"falsefalsefalse21) >= 300)) ? ("yellow") : ("green"))));
  107.         // line 22
  108.         echo "
  109.     ";
  110.         // line 23
  111.         ob_start();
  112.         // line 24
  113.         echo "        <span class=\"sf-toolbar-status sf-toolbar-status-";
  114.         echo twig_escape_filter($this->env, (isset($context["request_status_code_color"]) || array_key_exists("request_status_code_color"$context) ? $context["request_status_code_color"] : (function () { throw new RuntimeError('Variable "request_status_code_color" does not exist.'24$this->source); })()), "html"nulltrue);
  115.         echo "\">";
  116.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'24$this->source); })()), "statuscode", [], "any"falsefalsefalse24), "html"nulltrue);
  117.         echo "</span>
  118.         ";
  119.         // line 25
  120.         if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'25$this->source); })()), "route", [], "any"falsefalsefalse25)) {
  121.             // line 26
  122.             echo "            ";
  123.             if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'26$this->source); })()), "redirect", [], "any"falsefalsefalse26)) {
  124.                 echo "<span class=\"sf-toolbar-request-icon\">";
  125.                 echo twig_source($this->env"@WebProfiler/Icon/redirect.svg");
  126.                 echo "</span>";
  127.             }
  128.             // line 27
  129.             echo "            ";
  130.             if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'27$this->source); })()), "forwardtoken", [], "any"falsefalsefalse27)) {
  131.                 echo "<span class=\"sf-toolbar-request-icon\">";
  132.                 echo twig_source($this->env"@WebProfiler/Icon/forward.svg");
  133.                 echo "</span>";
  134.             }
  135.             // line 28
  136.             echo "            <span class=\"sf-toolbar-label\">";
  137.             ((("GET" != twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'28$this->source); })()), "method", [], "any"falsefalsefalse28))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'28$this->source); })()), "method", [], "any"falsefalsefalse28), "html"nulltrue))) : (print ("")));
  138.             echo " @</span>
  139.             <span class=\"sf-toolbar-value sf-toolbar-info-piece-additional\">";
  140.             // line 29
  141.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'29$this->source); })()), "route", [], "any"falsefalsefalse29), "html"nulltrue);
  142.             echo "</span>
  143.         ";
  144.         }
  145.         // line 31
  146.         echo "    ";
  147.         $context["icon"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  148.         // line 32
  149.         echo "
  150.     ";
  151.         // line 33
  152.         ob_start();
  153.         // line 34
  154.         echo "        <div class=\"sf-toolbar-info-group\">
  155.             <div class=\"sf-toolbar-info-piece\">
  156.                 <b>HTTP status</b>
  157.                 <span>";
  158.         // line 37
  159.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'37$this->source); })()), "statuscode", [], "any"falsefalsefalse37), "html"nulltrue);
  160.         echo " ";
  161.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'37$this->source); })()), "statustext", [], "any"falsefalsefalse37), "html"nulltrue);
  162.         echo "</span>
  163.             </div>
  164.             ";
  165.         // line 40
  166.         if (("GET" != twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'40$this->source); })()), "method", [], "any"falsefalsefalse40))) {
  167.             // line 41
  168.             echo "<div class=\"sf-toolbar-info-piece\">
  169.                     <b>Method</b>
  170.                     <span>";
  171.             // line 43
  172.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'43$this->source); })()), "method", [], "any"falsefalsefalse43), "html"nulltrue);
  173.             echo "</span>
  174.                 </div>";
  175.         }
  176.         // line 46
  177.         echo "
  178.             <div class=\"sf-toolbar-info-piece\">
  179.                 <b>Controller</b>
  180.                 <span>";
  181.         // line 49
  182.         echo twig_escape_filter($this->env, (isset($context["request_handler"]) || array_key_exists("request_handler"$context) ? $context["request_handler"] : (function () { throw new RuntimeError('Variable "request_handler" does not exist.'49$this->source); })()), "html"nulltrue);
  183.         echo "</span>
  184.             </div>
  185.             <div class=\"sf-toolbar-info-piece\">
  186.                 <b>Route name</b>
  187.                 <span>";
  188.         // line 54
  189.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "route", [], "any"truetruefalse54)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "route", [], "any"falsefalsefalse54), "n/a")) : ("n/a")), "html"nulltrue);
  190.         echo "</span>
  191.             </div>
  192.             <div class=\"sf-toolbar-info-piece\">
  193.                 <b>Has session</b>
  194.                 <span>";
  195.         // line 59
  196.         if (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'59$this->source); })()), "sessionmetadata", [], "any"falsefalsefalse59))) {
  197.             echo "yes";
  198.         } else {
  199.             echo "no";
  200.         }
  201.         echo "</span>
  202.             </div>
  203.             <div class=\"sf-toolbar-info-piece\">
  204.                 <b>Stateless Check</b>
  205.                 <span>";
  206.         // line 64
  207.         if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'64$this->source); })()), "statelesscheck", [], "any"falsefalsefalse64)) {
  208.             echo "yes";
  209.         } else {
  210.             echo "no";
  211.         }
  212.         echo "</span>
  213.             </div>
  214.         </div>
  215.         ";
  216.         // line 68
  217.         if (array_key_exists("redirect_handler"$context)) {
  218.             // line 69
  219.             echo "<div class=\"sf-toolbar-info-group\">
  220.                 <div class=\"sf-toolbar-info-piece\">
  221.                     <b>
  222.                         <span class=\"sf-toolbar-redirection-status sf-toolbar-status-yellow\">";
  223.             // line 72
  224.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'72$this->source); })()), "redirect", [], "any"falsefalsefalse72), "status_code", [], "any"falsefalsefalse72), "html"nulltrue);
  225.             echo "</span>
  226.                         Redirect from
  227.                     </b>
  228.                     <span>
  229.                         ";
  230.             // line 76
  231.             echo twig_escape_filter($this->env, (isset($context["redirect_handler"]) || array_key_exists("redirect_handler"$context) ? $context["redirect_handler"] : (function () { throw new RuntimeError('Variable "redirect_handler" does not exist.'76$this->source); })()), "html"nulltrue);
  232.             echo "
  233.                         (<a href=\"";
  234.             // line 77
  235.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'77$this->source); })()), "redirect", [], "any"falsefalsefalse77), "token", [], "any"falsefalsefalse77)]), "html"nulltrue);
  236.             echo "\">";
  237.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'77$this->source); })()), "redirect", [], "any"falsefalsefalse77), "token", [], "any"falsefalsefalse77), "html"nulltrue);
  238.             echo "</a>)
  239.                     </span>
  240.                 </div>
  241.             </div>
  242.         ";
  243.         }
  244.         // line 82
  245.         echo "
  246.         ";
  247.         // line 83
  248.         if (array_key_exists("forward_handler"$context)) {
  249.             // line 84
  250.             echo "            <div class=\"sf-toolbar-info-group\">
  251.                 <div class=\"sf-toolbar-info-piece\">
  252.                     <b>Forwarded to</b>
  253.                     <span>
  254.                         ";
  255.             // line 88
  256.             echo twig_escape_filter($this->env, (isset($context["forward_handler"]) || array_key_exists("forward_handler"$context) ? $context["forward_handler"] : (function () { throw new RuntimeError('Variable "forward_handler" does not exist.'88$this->source); })()), "html"nulltrue);
  257.             echo "
  258.                         (<a href=\"";
  259.             // line 89
  260.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'89$this->source); })()), "forwardtoken", [], "any"falsefalsefalse89)]), "html"nulltrue);
  261.             echo "\">";
  262.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'89$this->source); })()), "forwardtoken", [], "any"falsefalsefalse89), "html"nulltrue);
  263.             echo "</a>)
  264.                     </span>
  265.                 </div>
  266.             </div>
  267.         ";
  268.         }
  269.         // line 94
  270.         echo "    ";
  271.         $context["text"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  272.         // line 95
  273.         echo "
  274.     ";
  275.         // line 96
  276.         echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url"$context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.'96$this->source); })())]);
  277.         echo "
  278. ";
  279.         
  280.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  281.         
  282.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  283.     }
  284.     // line 99
  285.     public function block_menu($context, array $blocks = [])
  286.     {
  287.         $macros $this->macros;
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  292.         // line 100
  293.         echo "    <span class=\"label\">
  294.         <span class=\"icon\">";
  295.         // line 101
  296.         echo twig_source($this->env"@WebProfiler/Icon/request.svg");
  297.         echo "</span>
  298.         <strong>Request / Response</strong>
  299.     </span>
  300. ";
  301.         
  302.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  303.         
  304.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  305.     }
  306.     // line 106
  307.     public function block_panel($context, array $blocks = [])
  308.     {
  309.         $macros $this->macros;
  310.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  311.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  312.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  313.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  314.         // line 107
  315.         echo "    ";
  316.         $context["controller_name"] = twig_call_macro($macros["_self"], "macro_set_handler", [twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'107$this->source); })()), "controller", [], "any"falsefalsefalse107)], 107$context$this->getSourceContext());
  317.         // line 108
  318.         echo "    <h2>
  319.         ";
  320.         // line 109
  321.         ((twig_in_filter("n/a", (isset($context["controller_name"]) || array_key_exists("controller_name"$context) ? $context["controller_name"] : (function () { throw new RuntimeError('Variable "controller_name" does not exist.'109$this->source); })()))) ? (print ("Request / Response")) : (print (twig_escape_filter($this->env, (isset($context["controller_name"]) || array_key_exists("controller_name"$context) ? $context["controller_name"] : (function () { throw new RuntimeError('Variable "controller_name" does not exist.'109$this->source); })()), "html"nulltrue))));
  322.         echo "
  323.     </h2>
  324.     <div class=\"sf-tabs\">
  325.         <div class=\"tab\">
  326.             <h3 class=\"tab-title\">Request</h3>
  327.             <div class=\"tab-content\">
  328.                 ";
  329.         // line 117
  330.         $context["has_no_query_post_or_files"] = ((twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'117$this->source); })()), "requestquery", [], "any"falsefalsefalse117), "all", [], "any"falsefalsefalse117)) && twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'117$this->source); })()), "requestrequest", [], "any"falsefalsefalse117), "all", [], "any"falsefalsefalse117))) && twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'117$this->source); })()), "requestfiles", [], "any"falsefalsefalse117)));
  331.         // line 118
  332.         echo "                ";
  333.         if ((isset($context["has_no_query_post_or_files"]) || array_key_exists("has_no_query_post_or_files"$context) ? $context["has_no_query_post_or_files"] : (function () { throw new RuntimeError('Variable "has_no_query_post_or_files" does not exist.'118$this->source); })())) {
  334.             // line 119
  335.             echo "                    <div class=\"empty-query-post-files\" style=\"display: flex; align-items: stretch\">
  336.                         <div>
  337.                             <h3>GET Parameters</h3>
  338.                             <div class=\"empty\"><p>None</p></div>
  339.                         </div>
  340.                         <div>
  341.                             <h3>POST Parameters</h3>
  342.                             <div class=\"empty\"><p>None</p></div>
  343.                         </div>
  344.                         <div>
  345.                             <h3>Uploaded Files</h3>
  346.                             <div class=\"empty\"><p>None</p></div>
  347.                         </div>
  348.                     </div>
  349.                 ";
  350.         } else {
  351.             // line 134
  352.             echo "                    <h3>GET Parameters</h3>
  353.                     ";
  354.             // line 136
  355.             if (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'136$this->source); })()), "requestquery", [], "any"falsefalsefalse136), "all", [], "any"falsefalsefalse136))) {
  356.                 // line 137
  357.                 echo "                        <div class=\"empty\">
  358.                             <p>No GET parameters</p>
  359.                         </div>
  360.                     ";
  361.             } else {
  362.                 // line 141
  363.                 echo "                        ";
  364.                 echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'141$this->source); })()), "requestquery", [], "any"falsefalsefalse141), "maxDepth" => 1], false);
  365.                 echo "
  366.                     ";
  367.             }
  368.             // line 143
  369.             echo "
  370.                     <h3>POST Parameters</h3>
  371.                     ";
  372.             // line 146
  373.             if (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'146$this->source); })()), "requestrequest", [], "any"falsefalsefalse146), "all", [], "any"falsefalsefalse146))) {
  374.                 // line 147
  375.                 echo "                        <div class=\"empty\">
  376.                             <p>No POST parameters</p>
  377.                         </div>
  378.                     ";
  379.             } else {
  380.                 // line 151
  381.                 echo "                        ";
  382.                 echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'151$this->source); })()), "requestrequest", [], "any"falsefalsefalse151), "maxDepth" => 1], false);
  383.                 echo "
  384.                     ";
  385.             }
  386.             // line 153
  387.             echo "
  388.                     <h4>Uploaded Files</h4>
  389.                     ";
  390.             // line 156
  391.             if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'156$this->source); })()), "requestfiles", [], "any"falsefalsefalse156))) {
  392.                 // line 157
  393.                 echo "                        <div class=\"empty\">
  394.                             <p>No files were uploaded</p>
  395.                         </div>
  396.                     ";
  397.             } else {
  398.                 // line 161
  399.                 echo "                        ";
  400.                 echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'161$this->source); })()), "requestfiles", [], "any"falsefalsefalse161), "maxDepth" => 1], false);
  401.                 echo "
  402.                     ";
  403.             }
  404.             // line 163
  405.             echo "                ";
  406.         }
  407.         // line 164
  408.         echo "
  409.                 <h3>Request Attributes</h3>
  410.                 ";
  411.         // line 167
  412.         if (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'167$this->source); })()), "requestattributes", [], "any"falsefalsefalse167), "all", [], "any"falsefalsefalse167))) {
  413.             // line 168
  414.             echo "                    <div class=\"empty\">
  415.                         <p>No attributes</p>
  416.                     </div>
  417.                 ";
  418.         } else {
  419.             // line 172
  420.             echo "                    ";
  421.             echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'172$this->source); })()), "requestattributes", [], "any"falsefalsefalse172)], false);
  422.             echo "
  423.                 ";
  424.         }
  425.         // line 174
  426.         echo "
  427.                 <h3>Request Headers</h3>
  428.                 ";
  429.         // line 176
  430.         echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'176$this->source); })()), "requestheaders", [], "any"falsefalsefalse176), "labels" => [=> "Header"=> "Value"], "maxDepth" => 1], false);
  431.         echo "
  432.                 <h3>Request Content</h3>
  433.                 ";
  434.         // line 180
  435.         if ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'180$this->source); })()), "content", [], "any"falsefalsefalse180) == false)) {
  436.             // line 181
  437.             echo "                    <div class=\"empty\">
  438.                         <p>Request content not available (it was retrieved as a resource).</p>
  439.                     </div>
  440.                 ";
  441.         } elseif (twig_get_attribute($this->env$this->source,         // line 184
  442. (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'184$this->source); })()), "content", [], "any"falsefalsefalse184)) {
  443.             // line 185
  444.             echo "                    <div class=\"sf-tabs\">
  445.                         ";
  446.             // line 186
  447.             $context["prettyJson"] = ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'186$this->source); })()), "isJsonRequest", [], "any"falsefalsefalse186)) ? (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'186$this->source); })()), "prettyJson", [], "any"falsefalsefalse186)) : (null));
  448.             // line 187
  449.             echo "                        ";
  450.             if ( !(null === (isset($context["prettyJson"]) || array_key_exists("prettyJson"$context) ? $context["prettyJson"] : (function () { throw new RuntimeError('Variable "prettyJson" does not exist.'187$this->source); })()))) {
  451.                 // line 188
  452.                 echo "                        <div class=\"tab\">
  453.                             <h3 class=\"tab-title\">Pretty</h3>
  454.                             <div class=\"tab-content\">
  455.                                 <div class=\"card\" style=\"max-height: 500px; overflow-y: auto;\">
  456.                                     <pre class=\"break-long-words\">";
  457.                 // line 192
  458.                 echo twig_escape_filter($this->env, (isset($context["prettyJson"]) || array_key_exists("prettyJson"$context) ? $context["prettyJson"] : (function () { throw new RuntimeError('Variable "prettyJson" does not exist.'192$this->source); })()), "html"nulltrue);
  459.                 echo "</pre>
  460.                                 </div>
  461.                             </div>
  462.                         </div>
  463.                         ";
  464.             }
  465.             // line 197
  466.             echo "
  467.                         <div class=\"tab\">
  468.                             <h3 class=\"tab-title\">Raw</h3>
  469.                             <div class=\"tab-content\">
  470.                                 <div class=\"card\">
  471.                                     <pre class=\"break-long-words\">";
  472.             // line 202
  473.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'202$this->source); })()), "content", [], "any"falsefalsefalse202), "html"nulltrue);
  474.             echo "</pre>
  475.                                 </div>
  476.                             </div>
  477.                         </div>
  478.                     </div>
  479.                 ";
  480.         } else {
  481.             // line 208
  482.             echo "                    <div class=\"empty\">
  483.                         <p>No content</p>
  484.                     </div>
  485.                 ";
  486.         }
  487.         // line 212
  488.         echo "            </div>
  489.         </div>
  490.         <div class=\"tab\">
  491.             <h3 class=\"tab-title\">Response</h3>
  492.             <div class=\"tab-content\">
  493.                 <h3>Response Headers</h3>
  494.                 ";
  495.         // line 221
  496.         echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'221$this->source); })()), "responseheaders", [], "any"falsefalsefalse221), "labels" => [=> "Header"=> "Value"], "maxDepth" => 1], false);
  497.         echo "
  498.             </div>
  499.         </div>
  500.         <div class=\"tab ";
  501.         // line 225
  502.         echo (((twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'225$this->source); })()), "requestcookies", [], "any"falsefalsefalse225), "all", [], "any"falsefalsefalse225)) && twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'225$this->source); })()), "responsecookies", [], "any"falsefalsefalse225), "all", [], "any"falsefalsefalse225)))) ? ("disabled") : (""));
  503.         echo "\">
  504.             <h3 class=\"tab-title\">Cookies</h3>
  505.             <div class=\"tab-content\">
  506.                 <h3>Request Cookies</h3>
  507.                 ";
  508.         // line 231
  509.         if (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'231$this->source); })()), "requestcookies", [], "any"falsefalsefalse231), "all", [], "any"falsefalsefalse231))) {
  510.             // line 232
  511.             echo "                    <div class=\"empty\">
  512.                         <p>No request cookies</p>
  513.                     </div>
  514.                 ";
  515.         } else {
  516.             // line 236
  517.             echo "                    ";
  518.             echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'236$this->source); })()), "requestcookies", [], "any"falsefalsefalse236)], false);
  519.             echo "
  520.                 ";
  521.         }
  522.         // line 238
  523.         echo "
  524.                 <h3>Response Cookies</h3>
  525.                 ";
  526.         // line 241
  527.         if (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'241$this->source); })()), "responsecookies", [], "any"falsefalsefalse241), "all", [], "any"falsefalsefalse241))) {
  528.             // line 242
  529.             echo "                    <div class=\"empty\">
  530.                         <p>No response cookies</p>
  531.                     </div>
  532.                 ";
  533.         } else {
  534.             // line 246
  535.             echo "                    ";
  536.             echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'246$this->source); })()), "responsecookies", [], "any"falsefalsefalse246)], true);
  537.             echo "
  538.                 ";
  539.         }
  540.         // line 248
  541.         echo "            </div>
  542.         </div>
  543.         <div class=\"tab ";
  544.         // line 251
  545.         echo ((twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'251$this->source); })()), "sessionmetadata", [], "any"falsefalsefalse251))) ? ("disabled") : (""));
  546.         echo "\">
  547.             <h3 class=\"tab-title\">Session";
  548.         // line 252
  549.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'252$this->source); })()), "sessionusages", [], "any"falsefalsefalse252))) {
  550.             echo " <span class=\"badge\">";
  551.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'252$this->source); })()), "sessionusages", [], "any"falsefalsefalse252)), "html"nulltrue);
  552.             echo "</span>";
  553.         }
  554.         echo "</h3>
  555.             <div class=\"tab-content\">
  556.                 <h3>Session Metadata</h3>
  557.                 ";
  558.         // line 257
  559.         if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'257$this->source); })()), "sessionmetadata", [], "any"falsefalsefalse257))) {
  560.             // line 258
  561.             echo "                    <div class=\"empty\">
  562.                         <p>No session metadata</p>
  563.                     </div>
  564.                 ";
  565.         } else {
  566.             // line 262
  567.             echo "                    ";
  568.             echo twig_include($this->env$context"@WebProfiler/Profiler/table.html.twig", ["data" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'262$this->source); })()), "sessionmetadata", [], "any"falsefalsefalse262)], false);
  569.             echo "
  570.                 ";
  571.         }
  572.         // line 264
  573.         echo "
  574.                 <h3>Session Attributes</h3>
  575.                 ";
  576.         // line 267
  577.         if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'267$this->source); })()), "sessionattributes", [], "any"falsefalsefalse267))) {
  578.             // line 268
  579.             echo "                    <div class=\"empty\">
  580.                         <p>No session attributes</p>
  581.                     </div>
  582.                 ";
  583.         } else {
  584.             // line 272
  585.             echo "                    ";
  586.             echo twig_include($this->env$context"@WebProfiler/Profiler/table.html.twig", ["data" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'272$this->source); })()), "sessionattributes", [], "any"falsefalsefalse272), "labels" => [=> "Attribute"=> "Value"]], false);
  587.             echo "
  588.                 ";
  589.         }
  590.         // line 274
  591.         echo "
  592.                 <h3>Session Usage</h3>
  593.                 <div class=\"metrics\">
  594.                     <div class=\"metric\">
  595.                         <span class=\"value\">";
  596.         // line 279
  597.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'279$this->source); })()), "sessionusages", [], "any"falsefalsefalse279)), "html"nulltrue);
  598.         echo "</span>
  599.                         <span class=\"label\">Usages</span>
  600.                     </div>
  601.                     <div class=\"metric\">
  602.                         <span class=\"value\">";
  603.         // line 284
  604.         echo twig_source($this->env, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'284$this->source); })()), "statelesscheck", [], "any"falsefalsefalse284)) ? ("yes") : ("no"))) . ".svg"));
  605.         echo "</span>
  606.                         <span class=\"label\">Stateless check enabled</span>
  607.                     </div>
  608.                 </div>
  609.                 ";
  610.         // line 289
  611.         if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'289$this->source); })()), "sessionusages", [], "any"falsefalsefalse289))) {
  612.             // line 290
  613.             echo "                    <div class=\"empty\">
  614.                         <p>Session not used.</p>
  615.                     </div>
  616.                 ";
  617.         } else {
  618.             // line 294
  619.             echo "                    <table class=\"session_usages\">
  620.                         <thead>
  621.                         <tr>
  622.                             <th class=\"full-width\">Usage</th>
  623.                         </tr>
  624.                         </thead>
  625.                         <tbody>
  626.                         ";
  627.             // line 302
  628.             $context['_parent'] = $context;
  629.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'302$this->source); })()), "sessionusages", [], "any"falsefalsefalse302));
  630.             foreach ($context['_seq'] as $context["key"] => $context["usage"]) {
  631.                 // line 303
  632.                 echo "                            <tr>
  633.                                 <td class=\"font-normal\">";
  634.                 // line 305
  635.                 $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env$this->source$context["usage"], "file", [], "any"falsefalsefalse305), twig_get_attribute($this->env$this->source$context["usage"], "line", [], "any"falsefalsefalse305));
  636.                 // line 306
  637.                 if ((isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'306$this->source); })())) {
  638.                     echo "<a href=\"";
  639.                     echo twig_escape_filter($this->env, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'306$this->source); })()), "html"nulltrue);
  640.                     echo "\" title=\"";
  641.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["usage"], "name", [], "any"falsefalsefalse306), "html"nulltrue);
  642.                     echo "\">";
  643.                 } else {
  644.                     echo "<span title=\"";
  645.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["usage"], "name", [], "any"falsefalsefalse306), "html"nulltrue);
  646.                     echo "\">";
  647.                 }
  648.                 // line 307
  649.                 echo "                                        ";
  650.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["usage"], "name", [], "any"falsefalsefalse307), "html"nulltrue);
  651.                 // line 308
  652.                 if ((isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'308$this->source); })())) {
  653.                     echo "</a>";
  654.                 } else {
  655.                     echo "</span>";
  656.                 }
  657.                 // line 309
  658.                 echo "                                    <div class=\"text-small font-normal\">
  659.                                         ";
  660.                 // line 310
  661.                 $context["usage_id"] = ("session-usage-trace-" $context["key"]);
  662.                 // line 311
  663.                 echo "                                        <a class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#";
  664.                 echo twig_escape_filter($this->env, (isset($context["usage_id"]) || array_key_exists("usage_id"$context) ? $context["usage_id"] : (function () { throw new RuntimeError('Variable "usage_id" does not exist.'311$this->source); })()), "html"nulltrue);
  665.                 echo "\" data-toggle-alt-content=\"Hide trace\">Show trace</a>
  666.                                     </div>
  667.                                     <div id=\"";
  668.                 // line 313
  669.                 echo twig_escape_filter($this->env, (isset($context["usage_id"]) || array_key_exists("usage_id"$context) ? $context["usage_id"] : (function () { throw new RuntimeError('Variable "usage_id" does not exist.'313$this->source); })()), "html"nulltrue);
  670.                 echo "\" class=\"context sf-toggle-content sf-toggle-hidden\">
  671.                                         ";
  672.                 // line 314
  673.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["usage"], "trace", [], "any"falsefalsefalse314), 2);
  674.                 echo "
  675.                                     </div>
  676.                                 </td>
  677.                             </tr>
  678.                         ";
  679.             }
  680.             $_parent $context['_parent'];
  681.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['usage'], $context['_parent'], $context['loop']);
  682.             $context array_intersect_key($context$_parent) + $_parent;
  683.             // line 319
  684.             echo "                        </tbody>
  685.                     </table>
  686.                 ";
  687.         }
  688.         // line 322
  689.         echo "            </div>
  690.         </div>
  691.         <div class=\"tab ";
  692.         // line 325
  693.         echo ((twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'325$this->source); })()), "flashes", [], "any"falsefalsefalse325))) ? ("disabled") : (""));
  694.         echo "\">
  695.             <h3 class=\"tab-title\">Flashes</h3>
  696.             <div class=\"tab-content\">
  697.                 <h3>Flashes</h3>
  698.                 ";
  699.         // line 331
  700.         if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'331$this->source); })()), "flashes", [], "any"falsefalsefalse331))) {
  701.             // line 332
  702.             echo "                    <div class=\"empty\">
  703.                         <p>No flash messages were created.</p>
  704.                     </div>
  705.                 ";
  706.         } else {
  707.             // line 336
  708.             echo "                    ";
  709.             echo twig_include($this->env$context"@WebProfiler/Profiler/table.html.twig", ["data" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'336$this->source); })()), "flashes", [], "any"falsefalsefalse336)], false);
  710.             echo "
  711.                 ";
  712.         }
  713.         // line 338
  714.         echo "            </div>
  715.         </div>
  716.         <div class=\"tab\">
  717.             <h3 class=\"tab-title\">Server Parameters</h3>
  718.             <div class=\"tab-content\">
  719.                 <h3>Server Parameters</h3>
  720.                 <h4>Defined in .env</h4>
  721.                 ";
  722.         // line 346
  723.         echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'346$this->source); })()), "dotenvvars", [], "any"falsefalsefalse346)], false);
  724.         echo "
  725.                 <h4>Defined as regular env variables</h4>
  726.                 ";
  727.         // line 349
  728.         $context["requestserver"] = [];
  729.         // line 350
  730.         echo "                ";
  731.         $context['_parent'] = $context;
  732.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'350$this->source); })()), "requestserver", [], "any"falsefalsefalse350), function ($_____$__key__) use ($context$macros) { $context["_"] = $_____$context["key"] = $__key__; return !twig_in_filter($context["key"], twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'350$this->source); })()), "dotenvvars", [], "any"falsefalsefalse350), "keys", [], "any"falsefalsefalse350)); }));
  733.         foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  734.             // line 351
  735.             echo "                    ";
  736.             $context["requestserver"] = twig_array_merge((isset($context["requestserver"]) || array_key_exists("requestserver"$context) ? $context["requestserver"] : (function () { throw new RuntimeError('Variable "requestserver" does not exist.'351$this->source); })()), [$context["key"] => $context["value"]]);
  737.             // line 352
  738.             echo "                ";
  739.         }
  740.         $_parent $context['_parent'];
  741.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
  742.         $context array_intersect_key($context$_parent) + $_parent;
  743.         // line 353
  744.         echo "                ";
  745.         echo twig_include($this->env$context"@WebProfiler/Profiler/table.html.twig", ["data" => (isset($context["requestserver"]) || array_key_exists("requestserver"$context) ? $context["requestserver"] : (function () { throw new RuntimeError('Variable "requestserver" does not exist.'353$this->source); })())], false);
  746.         echo "
  747.             </div>
  748.         </div>
  749.         ";
  750.         // line 357
  751.         if (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'357$this->source); })()), "parent", [], "any"falsefalsefalse357)) {
  752.             // line 358
  753.             echo "        <div class=\"tab\">
  754.             <h3 class=\"tab-title\">Parent Request</h3>
  755.             <div class=\"tab-content\">
  756.                 <h3>
  757.                     <a href=\"";
  758.             // line 363
  759.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'363$this->source); })()), "parent", [], "any"falsefalsefalse363), "token", [], "any"falsefalsefalse363)]), "html"nulltrue);
  760.             echo "\">Return to parent request</a>
  761.                     <small>(token = ";
  762.             // line 364
  763.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'364$this->source); })()), "parent", [], "any"falsefalsefalse364), "token", [], "any"falsefalsefalse364), "html"nulltrue);
  764.             echo ")</small>
  765.                 </h3>
  766.                 ";
  767.             // line 367
  768.             echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'367$this->source); })()), "parent", [], "any"falsefalsefalse367), "getcollector", [=> "request"], "method"falsefalsefalse367), "requestattributes", [], "any"falsefalsefalse367)], false);
  769.             echo "
  770.             </div>
  771.         </div>
  772.         ";
  773.         }
  774.         // line 371
  775.         echo "
  776.         ";
  777.         // line 372
  778.         if (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'372$this->source); })()), "children", [], "any"falsefalsefalse372))) {
  779.             // line 373
  780.             echo "        <div class=\"tab\">
  781.             <h3 class=\"tab-title\">Sub Requests <span class=\"badge\">";
  782.             // line 374
  783.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'374$this->source); })()), "children", [], "any"falsefalsefalse374)), "html"nulltrue);
  784.             echo "</span></h3>
  785.             <div class=\"tab-content\">
  786.                 ";
  787.             // line 377
  788.             $context['_parent'] = $context;
  789.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'377$this->source); })()), "children", [], "any"falsefalsefalse377));
  790.             foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  791.                 // line 378
  792.                 echo "                    <h3>
  793.                         ";
  794.                 // line 379
  795.                 echo twig_call_macro($macros["_self"], "macro_set_handler", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["child"], "getcollector", [=> "request"], "method"falsefalsefalse379), "controller", [], "any"falsefalsefalse379)], 379$context$this->getSourceContext());
  796.                 echo "
  797.                         <small>(token = <a href=\"";
  798.                 // line 380
  799.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env$this->source$context["child"], "token", [], "any"falsefalsefalse380)]), "html"nulltrue);
  800.                 echo "\">";
  801.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["child"], "token", [], "any"falsefalsefalse380), "html"nulltrue);
  802.                 echo "</a>)</small>
  803.                     </h3>
  804.                     ";
  805.                 // line 383
  806.                 echo twig_include($this->env$context"@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["child"], "getcollector", [=> "request"], "method"falsefalsefalse383), "requestattributes", [], "any"falsefalsefalse383)], false);
  807.                 echo "
  808.                 ";
  809.             }
  810.             $_parent $context['_parent'];
  811.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  812.             $context array_intersect_key($context$_parent) + $_parent;
  813.             // line 385
  814.             echo "            </div>
  815.         </div>
  816.         ";
  817.         }
  818.         // line 388
  819.         echo "    </div>
  820. ";
  821.         
  822.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  823.         
  824.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  825.     }
  826.     // line 391
  827.     public function macro_set_handler($__controller__ null$__route__ null$__method__ null, ...$__varargs__)
  828.     {
  829.         $macros $this->macros;
  830.         $context $this->env->mergeGlobals([
  831.             "controller" => $__controller__,
  832.             "route" => $__route__,
  833.             "method" => $__method__,
  834.             "varargs" => $__varargs__,
  835.         ]);
  836.         $blocks = [];
  837.         ob_start();
  838.         try {
  839.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  840.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""set_handler"));
  841.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  842.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""set_handler"));
  843.             // line 392
  844.             echo "    ";
  845.             if (twig_get_attribute($this->env$this->source, ($context["controller"] ?? null), "class", [], "any"truetruefalse392)) {
  846.                 // line 393
  847.                 if (((array_key_exists("method"$context)) ? (_twig_default_filter((isset($context["method"]) || array_key_exists("method"$context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.'393$this->source); })()), false)) : (false))) {
  848.                     echo "<span class=\"sf-toolbar-status sf-toolbar-redirection-method\">";
  849.                     echo twig_escape_filter($this->env, (isset($context["method"]) || array_key_exists("method"$context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.'393$this->source); })()), "html"nulltrue);
  850.                     echo "</span>";
  851.                 }
  852.                 // line 394
  853.                 $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'394$this->source); })()), "file", [], "any"falsefalsefalse394), twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'394$this->source); })()), "line", [], "any"falsefalsefalse394));
  854.                 // line 395
  855.                 if ((isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'395$this->source); })())) {
  856.                     echo "<a href=\"";
  857.                     echo twig_escape_filter($this->env, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'395$this->source); })()), "html"nulltrue);
  858.                     echo "\" title=\"";
  859.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'395$this->source); })()), "class", [], "any"falsefalsefalse395), "html"nulltrue);
  860.                     echo "\">";
  861.                 } else {
  862.                     echo "<span title=\"";
  863.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'395$this->source); })()), "class", [], "any"falsefalsefalse395), "html"nulltrue);
  864.                     echo "\">";
  865.                 }
  866.                 // line 397
  867.                 if (((array_key_exists("route"$context)) ? (_twig_default_filter((isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'397$this->source); })()), false)) : (false))) {
  868.                     // line 398
  869.                     echo "@";
  870.                     echo twig_escape_filter($this->env, (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'398$this->source); })()), "html"nulltrue);
  871.                 } else {
  872.                     // line 400
  873.                     echo twig_escape_filter($this->envtwig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'400$this->source); })()), "class", [], "any"falsefalsefalse400))), "html"nulltrue);
  874.                     // line 401
  875.                     ((twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'401$this->source); })()), "method", [], "any"falsefalsefalse401)) ? (print (twig_escape_filter($this->env, (" :: " twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'401$this->source); })()), "method", [], "any"falsefalsefalse401)), "html"nulltrue))) : (print ("")));
  876.                 }
  877.                 // line 404
  878.                 if ((isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'404$this->source); })())) {
  879.                     echo "</a>";
  880.                 } else {
  881.                     echo "</span>";
  882.                 }
  883.             } else {
  884.                 // line 406
  885.                 echo "<span>";
  886.                 echo twig_escape_filter($this->env, ((array_key_exists("route"$context)) ? (_twig_default_filter((isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'406$this->source); })()), (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'406$this->source); })()))) : ((isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'406$this->source); })()))), "html"nulltrue);
  887.                 echo "</span>";
  888.             }
  889.             
  890.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  891.             
  892.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  893.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  894.         } finally {
  895.             ob_end_clean();
  896.         }
  897.     }
  898.     public function getTemplateName()
  899.     {
  900.         return "@WebProfiler/Collector/request.html.twig";
  901.     }
  902.     public function isTraitable()
  903.     {
  904.         return false;
  905.     }
  906.     public function getDebugInfo()
  907.     {
  908.         return array (  954 => 406,  947 => 404,  944 => 401,  942 => 400,  938 => 398,  936 => 397,  924 => 395,  922 => 394,  916 => 393,  913 => 392,  892 => 391,  881 => 388,  876 => 385,  868 => 383,  860 => 380,  856 => 379,  853 => 378,  849 => 377,  843 => 374,  840 => 373,  838 => 372,  835 => 371,  828 => 367,  822 => 364,  818 => 363,  811 => 358,  809 => 357,  801 => 353,  795 => 352,  792 => 351,  787 => 350,  785 => 349,  779 => 346,  769 => 338,  763 => 336,  757 => 332,  755 => 331,  746 => 325,  741 => 322,  736 => 319,  725 => 314,  721 => 313,  715 => 311,  713 => 310,  710 => 309,  704 => 308,  701 => 307,  689 => 306,  687 => 305,  684 => 303,  680 => 302,  670 => 294,  664 => 290,  662 => 289,  654 => 284,  646 => 279,  639 => 274,  633 => 272,  627 => 268,  625 => 267,  620 => 264,  614 => 262,  608 => 258,  606 => 257,  594 => 252,  590 => 251,  585 => 248,  579 => 246,  573 => 242,  571 => 241,  566 => 238,  560 => 236,  554 => 232,  552 => 231,  543 => 225,  536 => 221,  525 => 212,  519 => 208,  510 => 202,  503 => 197,  495 => 192,  489 => 188,  486 => 187,  484 => 186,  481 => 185,  479 => 184,  474 => 181,  472 => 180,  465 => 176,  461 => 174,  455 => 172,  449 => 168,  447 => 167,  442 => 164,  439 => 163,  433 => 161,  427 => 157,  425 => 156,  420 => 153,  414 => 151,  408 => 147,  406 => 146,  401 => 143,  395 => 141,  389 => 137,  387 => 136,  383 => 134,  366 => 119,  363 => 118,  361 => 117,  350 => 109,  347 => 108,  344 => 107,  334 => 106,  320 => 101,  317 => 100,  307 => 99,  295 => 96,  292 => 95,  289 => 94,  279 => 89,  275 => 88,  269 => 84,  267 => 83,  264 => 82,  254 => 77,  250 => 76,  243 => 72,  238 => 69,  236 => 68,  225 => 64,  213 => 59,  205 => 54,  197 => 49,  192 => 46,  187 => 43,  183 => 41,  181 => 40,  173 => 37,  168 => 34,  166 => 33,  163 => 32,  160 => 31,  155 => 29,  150 => 28,  143 => 27,  136 => 26,  134 => 25,  127 => 24,  125 => 23,  122 => 22,  120 => 21,  117 => 20,  114 => 19,  108 => 17,  105 => 16,  102 => 15,  100 => 14,  97 => 13,  94 => 12,  88 => 10,  85 => 9,  83 => 8,  80 => 7,  74 => 5,  71 => 4,  61 => 3,  38 => 1,);
  909.     }
  910.     public function getSourceContext()
  911.     {
  912.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  913. {% block toolbar %}
  914.     {% set request_handler %}
  915.         {{ _self.set_handler(collector.controller) }}
  916.     {% endset %}
  917.     {% if collector.redirect %}
  918.         {% set redirect_handler %}
  919.             {{ _self.set_handler(collector.redirect.controller, collector.redirect.route, 'GET' != collector.redirect.method ? collector.redirect.method) }}
  920.         {% endset %}
  921.     {% endif %}
  922.     {% if collector.forwardtoken %}
  923.         {% set forward_profile = profile.childByToken(collector.forwardtoken) %}
  924.         {% set forward_handler %}
  925.             {{ _self.set_handler(forward_profile ? forward_profile.collector('request').controller : 'n/a') }}
  926.         {% endset %}
  927.     {% endif %}
  928.     {% set request_status_code_color = (collector.statuscode >= 400) ? 'red' : (collector.statuscode >= 300) ? 'yellow' : 'green' %}
  929.     {% set icon %}
  930.         <span class=\"sf-toolbar-status sf-toolbar-status-{{ request_status_code_color }}\">{{ collector.statuscode }}</span>
  931.         {% if collector.route %}
  932.             {% if collector.redirect %}<span class=\"sf-toolbar-request-icon\">{{ source('@WebProfiler/Icon/redirect.svg') }}</span>{% endif %}
  933.             {% if collector.forwardtoken %}<span class=\"sf-toolbar-request-icon\">{{ source('@WebProfiler/Icon/forward.svg') }}</span>{% endif %}
  934.             <span class=\"sf-toolbar-label\">{{ 'GET' != collector.method ? collector.method }} @</span>
  935.             <span class=\"sf-toolbar-value sf-toolbar-info-piece-additional\">{{ collector.route }}</span>
  936.         {% endif %}
  937.     {% endset %}
  938.     {% set text %}
  939.         <div class=\"sf-toolbar-info-group\">
  940.             <div class=\"sf-toolbar-info-piece\">
  941.                 <b>HTTP status</b>
  942.                 <span>{{ collector.statuscode }} {{ collector.statustext }}</span>
  943.             </div>
  944.             {% if 'GET' != collector.method -%}
  945.                 <div class=\"sf-toolbar-info-piece\">
  946.                     <b>Method</b>
  947.                     <span>{{ collector.method }}</span>
  948.                 </div>
  949.             {%- endif %}
  950.             <div class=\"sf-toolbar-info-piece\">
  951.                 <b>Controller</b>
  952.                 <span>{{ request_handler }}</span>
  953.             </div>
  954.             <div class=\"sf-toolbar-info-piece\">
  955.                 <b>Route name</b>
  956.                 <span>{{ collector.route|default('n/a') }}</span>
  957.             </div>
  958.             <div class=\"sf-toolbar-info-piece\">
  959.                 <b>Has session</b>
  960.                 <span>{% if collector.sessionmetadata|length %}yes{% else %}no{% endif %}</span>
  961.             </div>
  962.             <div class=\"sf-toolbar-info-piece\">
  963.                 <b>Stateless Check</b>
  964.                 <span>{% if collector.statelesscheck %}yes{% else %}no{% endif %}</span>
  965.             </div>
  966.         </div>
  967.         {% if redirect_handler is defined -%}
  968.             <div class=\"sf-toolbar-info-group\">
  969.                 <div class=\"sf-toolbar-info-piece\">
  970.                     <b>
  971.                         <span class=\"sf-toolbar-redirection-status sf-toolbar-status-yellow\">{{ collector.redirect.status_code }}</span>
  972.                         Redirect from
  973.                     </b>
  974.                     <span>
  975.                         {{ redirect_handler }}
  976.                         (<a href=\"{{ path('_profiler', { token: collector.redirect.token }) }}\">{{ collector.redirect.token }}</a>)
  977.                     </span>
  978.                 </div>
  979.             </div>
  980.         {% endif %}
  981.         {% if forward_handler is defined %}
  982.             <div class=\"sf-toolbar-info-group\">
  983.                 <div class=\"sf-toolbar-info-piece\">
  984.                     <b>Forwarded to</b>
  985.                     <span>
  986.                         {{ forward_handler }}
  987.                         (<a href=\"{{ path('_profiler', { token: collector.forwardtoken }) }}\">{{ collector.forwardtoken }}</a>)
  988.                     </span>
  989.                 </div>
  990.             </div>
  991.         {% endif %}
  992.     {% endset %}
  993.     {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
  994. {% endblock %}
  995. {% block menu %}
  996.     <span class=\"label\">
  997.         <span class=\"icon\">{{ source('@WebProfiler/Icon/request.svg') }}</span>
  998.         <strong>Request / Response</strong>
  999.     </span>
  1000. {% endblock %}
  1001. {% block panel %}
  1002.     {% set controller_name = _self.set_handler(collector.controller) %}
  1003.     <h2>
  1004.         {{ 'n/a' in controller_name ? 'Request / Response' : controller_name }}
  1005.     </h2>
  1006.     <div class=\"sf-tabs\">
  1007.         <div class=\"tab\">
  1008.             <h3 class=\"tab-title\">Request</h3>
  1009.             <div class=\"tab-content\">
  1010.                 {% set has_no_query_post_or_files = collector.requestquery.all is empty and collector.requestrequest.all is empty and collector.requestfiles is empty %}
  1011.                 {% if has_no_query_post_or_files %}
  1012.                     <div class=\"empty-query-post-files\" style=\"display: flex; align-items: stretch\">
  1013.                         <div>
  1014.                             <h3>GET Parameters</h3>
  1015.                             <div class=\"empty\"><p>None</p></div>
  1016.                         </div>
  1017.                         <div>
  1018.                             <h3>POST Parameters</h3>
  1019.                             <div class=\"empty\"><p>None</p></div>
  1020.                         </div>
  1021.                         <div>
  1022.                             <h3>Uploaded Files</h3>
  1023.                             <div class=\"empty\"><p>None</p></div>
  1024.                         </div>
  1025.                     </div>
  1026.                 {% else %}
  1027.                     <h3>GET Parameters</h3>
  1028.                     {% if collector.requestquery.all is empty %}
  1029.                         <div class=\"empty\">
  1030.                             <p>No GET parameters</p>
  1031.                         </div>
  1032.                     {% else %}
  1033.                         {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestquery, maxDepth: 1 }, with_context = false) }}
  1034.                     {% endif %}
  1035.                     <h3>POST Parameters</h3>
  1036.                     {% if collector.requestrequest.all is empty %}
  1037.                         <div class=\"empty\">
  1038.                             <p>No POST parameters</p>
  1039.                         </div>
  1040.                     {% else %}
  1041.                         {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestrequest, maxDepth: 1 }, with_context = false) }}
  1042.                     {% endif %}
  1043.                     <h4>Uploaded Files</h4>
  1044.                     {% if collector.requestfiles is empty %}
  1045.                         <div class=\"empty\">
  1046.                             <p>No files were uploaded</p>
  1047.                         </div>
  1048.                     {% else %}
  1049.                         {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestfiles, maxDepth: 1 }, with_context = false) }}
  1050.                     {% endif %}
  1051.                 {% endif %}
  1052.                 <h3>Request Attributes</h3>
  1053.                 {% if collector.requestattributes.all is empty %}
  1054.                     <div class=\"empty\">
  1055.                         <p>No attributes</p>
  1056.                     </div>
  1057.                 {% else %}
  1058.                     {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestattributes }, with_context = false) }}
  1059.                 {% endif %}
  1060.                 <h3>Request Headers</h3>
  1061.                 {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestheaders, labels: ['Header', 'Value'], maxDepth: 1 }, with_context = false) }}
  1062.                 <h3>Request Content</h3>
  1063.                 {% if collector.content == false %}
  1064.                     <div class=\"empty\">
  1065.                         <p>Request content not available (it was retrieved as a resource).</p>
  1066.                     </div>
  1067.                 {% elseif collector.content %}
  1068.                     <div class=\"sf-tabs\">
  1069.                         {% set prettyJson = collector.isJsonRequest ? collector.prettyJson : null %}
  1070.                         {% if prettyJson is not null %}
  1071.                         <div class=\"tab\">
  1072.                             <h3 class=\"tab-title\">Pretty</h3>
  1073.                             <div class=\"tab-content\">
  1074.                                 <div class=\"card\" style=\"max-height: 500px; overflow-y: auto;\">
  1075.                                     <pre class=\"break-long-words\">{{ prettyJson }}</pre>
  1076.                                 </div>
  1077.                             </div>
  1078.                         </div>
  1079.                         {% endif %}
  1080.                         <div class=\"tab\">
  1081.                             <h3 class=\"tab-title\">Raw</h3>
  1082.                             <div class=\"tab-content\">
  1083.                                 <div class=\"card\">
  1084.                                     <pre class=\"break-long-words\">{{ collector.content }}</pre>
  1085.                                 </div>
  1086.                             </div>
  1087.                         </div>
  1088.                     </div>
  1089.                 {% else %}
  1090.                     <div class=\"empty\">
  1091.                         <p>No content</p>
  1092.                     </div>
  1093.                 {% endif %}
  1094.             </div>
  1095.         </div>
  1096.         <div class=\"tab\">
  1097.             <h3 class=\"tab-title\">Response</h3>
  1098.             <div class=\"tab-content\">
  1099.                 <h3>Response Headers</h3>
  1100.                 {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.responseheaders, labels: ['Header', 'Value'], maxDepth: 1 }, with_context = false) }}
  1101.             </div>
  1102.         </div>
  1103.         <div class=\"tab {{ collector.requestcookies.all is empty and collector.responsecookies.all is empty ? 'disabled' }}\">
  1104.             <h3 class=\"tab-title\">Cookies</h3>
  1105.             <div class=\"tab-content\">
  1106.                 <h3>Request Cookies</h3>
  1107.                 {% if collector.requestcookies.all is empty %}
  1108.                     <div class=\"empty\">
  1109.                         <p>No request cookies</p>
  1110.                     </div>
  1111.                 {% else %}
  1112.                     {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestcookies }, with_context = false) }}
  1113.                 {% endif %}
  1114.                 <h3>Response Cookies</h3>
  1115.                 {% if collector.responsecookies.all is empty %}
  1116.                     <div class=\"empty\">
  1117.                         <p>No response cookies</p>
  1118.                     </div>
  1119.                 {% else %}
  1120.                     {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.responsecookies }, with_context = true) }}
  1121.                 {% endif %}
  1122.             </div>
  1123.         </div>
  1124.         <div class=\"tab {{ collector.sessionmetadata is empty ? 'disabled' }}\">
  1125.             <h3 class=\"tab-title\">Session{% if collector.sessionusages is not empty %} <span class=\"badge\">{{ collector.sessionusages|length }}</span>{% endif %}</h3>
  1126.             <div class=\"tab-content\">
  1127.                 <h3>Session Metadata</h3>
  1128.                 {% if collector.sessionmetadata is empty %}
  1129.                     <div class=\"empty\">
  1130.                         <p>No session metadata</p>
  1131.                     </div>
  1132.                 {% else %}
  1133.                     {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.sessionmetadata }, with_context = false) }}
  1134.                 {% endif %}
  1135.                 <h3>Session Attributes</h3>
  1136.                 {% if collector.sessionattributes is empty %}
  1137.                     <div class=\"empty\">
  1138.                         <p>No session attributes</p>
  1139.                     </div>
  1140.                 {% else %}
  1141.                     {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.sessionattributes, labels: ['Attribute', 'Value'] }, with_context = false) }}
  1142.                 {% endif %}
  1143.                 <h3>Session Usage</h3>
  1144.                 <div class=\"metrics\">
  1145.                     <div class=\"metric\">
  1146.                         <span class=\"value\">{{ collector.sessionusages|length }}</span>
  1147.                         <span class=\"label\">Usages</span>
  1148.                     </div>
  1149.                     <div class=\"metric\">
  1150.                         <span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.statelesscheck ? 'yes' : 'no') ~ '.svg') }}</span>
  1151.                         <span class=\"label\">Stateless check enabled</span>
  1152.                     </div>
  1153.                 </div>
  1154.                 {% if collector.sessionusages is empty %}
  1155.                     <div class=\"empty\">
  1156.                         <p>Session not used.</p>
  1157.                     </div>
  1158.                 {% else %}
  1159.                     <table class=\"session_usages\">
  1160.                         <thead>
  1161.                         <tr>
  1162.                             <th class=\"full-width\">Usage</th>
  1163.                         </tr>
  1164.                         </thead>
  1165.                         <tbody>
  1166.                         {% for key, usage in collector.sessionusages %}
  1167.                             <tr>
  1168.                                 <td class=\"font-normal\">
  1169.                                     {%- set link = usage.file|file_link(usage.line) %}
  1170.                                     {%- if link %}<a href=\"{{ link }}\" title=\"{{ usage.name }}\">{% else %}<span title=\"{{ usage.name }}\">{% endif %}
  1171.                                         {{ usage.name }}
  1172.                                     {%- if link %}</a>{% else %}</span>{% endif %}
  1173.                                     <div class=\"text-small font-normal\">
  1174.                                         {% set usage_id = 'session-usage-trace-' ~ key %}
  1175.                                         <a class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#{{ usage_id }}\" data-toggle-alt-content=\"Hide trace\">Show trace</a>
  1176.                                     </div>
  1177.                                     <div id=\"{{ usage_id }}\" class=\"context sf-toggle-content sf-toggle-hidden\">
  1178.                                         {{ profiler_dump(usage.trace, maxDepth=2) }}
  1179.                                     </div>
  1180.                                 </td>
  1181.                             </tr>
  1182.                         {% endfor %}
  1183.                         </tbody>
  1184.                     </table>
  1185.                 {% endif %}
  1186.             </div>
  1187.         </div>
  1188.         <div class=\"tab {{ collector.flashes is empty ? 'disabled' }}\">
  1189.             <h3 class=\"tab-title\">Flashes</h3>
  1190.             <div class=\"tab-content\">
  1191.                 <h3>Flashes</h3>
  1192.                 {% if collector.flashes is empty %}
  1193.                     <div class=\"empty\">
  1194.                         <p>No flash messages were created.</p>
  1195.                     </div>
  1196.                 {% else %}
  1197.                     {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.flashes }, with_context = false) }}
  1198.                 {% endif %}
  1199.             </div>
  1200.         </div>
  1201.         <div class=\"tab\">
  1202.             <h3 class=\"tab-title\">Server Parameters</h3>
  1203.             <div class=\"tab-content\">
  1204.                 <h3>Server Parameters</h3>
  1205.                 <h4>Defined in .env</h4>
  1206.                 {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.dotenvvars }, with_context = false) }}
  1207.                 <h4>Defined as regular env variables</h4>
  1208.                 {% set requestserver = [] %}
  1209.                 {% for key, value in collector.requestserver|filter((_, key) => key not in collector.dotenvvars.keys) %}
  1210.                     {% set requestserver = requestserver|merge({(key): value}) %}
  1211.                 {% endfor %}
  1212.                 {{ include('@WebProfiler/Profiler/table.html.twig', { data: requestserver }, with_context = false) }}
  1213.             </div>
  1214.         </div>
  1215.         {% if profile.parent %}
  1216.         <div class=\"tab\">
  1217.             <h3 class=\"tab-title\">Parent Request</h3>
  1218.             <div class=\"tab-content\">
  1219.                 <h3>
  1220.                     <a href=\"{{ path('_profiler', { token: profile.parent.token }) }}\">Return to parent request</a>
  1221.                     <small>(token = {{ profile.parent.token }})</small>
  1222.                 </h3>
  1223.                 {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: profile.parent.getcollector('request').requestattributes }, with_context = false) }}
  1224.             </div>
  1225.         </div>
  1226.         {% endif %}
  1227.         {% if profile.children|length %}
  1228.         <div class=\"tab\">
  1229.             <h3 class=\"tab-title\">Sub Requests <span class=\"badge\">{{ profile.children|length }}</span></h3>
  1230.             <div class=\"tab-content\">
  1231.                 {% for child in profile.children %}
  1232.                     <h3>
  1233.                         {{ _self.set_handler(child.getcollector('request').controller) }}
  1234.                         <small>(token = <a href=\"{{ path('_profiler', { token: child.token }) }}\">{{ child.token }}</a>)</small>
  1235.                     </h3>
  1236.                     {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: child.getcollector('request').requestattributes }, with_context = false) }}
  1237.                 {% endfor %}
  1238.             </div>
  1239.         </div>
  1240.         {% endif %}
  1241.     </div>
  1242. {% endblock %}
  1243. {% macro set_handler(controller, route, method) %}
  1244.     {% if controller.class is defined -%}
  1245.         {%- if method|default(false) %}<span class=\"sf-toolbar-status sf-toolbar-redirection-method\">{{ method }}</span>{% endif -%}
  1246.         {%- set link = controller.file|file_link(controller.line) %}
  1247.         {%- if link %}<a href=\"{{ link }}\" title=\"{{ controller.class }}\">{% else %}<span title=\"{{ controller.class }}\">{% endif %}
  1248.             {%- if route|default(false) -%}
  1249.                 @{{ route }}
  1250.             {%- else -%}
  1251.                 {{- controller.class|abbr_class|striptags -}}
  1252.                 {{- controller.method ? ' :: ' ~ controller.method -}}
  1253.             {%- endif -%}
  1254.         {%- if link %}</a>{% else %}</span>{% endif %}
  1255.     {%- else -%}
  1256.         <span>{{ route|default(controller) }}</span>
  1257.     {%- endif %}
  1258. {% endmacro %}
  1259. ""@WebProfiler/Collector/request.html.twig""/home/bestofi/bestof/vendor/symfony/web-profiler-bundle/Resources/views/Collector/request.html.twig");
  1260.     }
  1261. }