var/cache/dev/twig/c1/c1f5296457ab0232882905b78a7a9e15.php line 53

  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/logger.html.twig */
  14. class __TwigTemplate_c6a401f4b66d50dfcbdc3cc379fc354f 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.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@WebProfiler/Profiler/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/logger.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/logger.html.twig"));
  40.         // line 3
  41.         $macros["helper"] = $this->macros["helper"] = $this;
  42.         // line 1
  43.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@WebProfiler/Collector/logger.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 5
  51.     public function block_toolbar($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  58.         // line 6
  59.         echo "    ";
  60.         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.'6$this->source); })()), "counterrors", [], "any"falsefalsefalse6) || 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.'6$this->source); })()), "countdeprecations", [], "any"falsefalsefalse6)) || 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.'6$this->source); })()), "countwarnings", [], "any"falsefalsefalse6))) {
  61.             // line 7
  62.             echo "        ";
  63.             ob_start();
  64.             // line 8
  65.             echo "            ";
  66.             $context["status_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.'8$this->source); })()), "counterrors", [], "any"falsefalsefalse8)) ? ("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.'8$this->source); })()), "countwarnings", [], "any"falsefalsefalse8)) ? ("yellow") : ("none"))));
  67.             // line 9
  68.             echo "            ";
  69.             echo twig_source($this->env"@WebProfiler/Icon/logger.svg");
  70.             echo "
  71.             <span class=\"sf-toolbar-value\">";
  72.             // line 10
  73.             echo twig_escape_filter($this->env, ((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.'10$this->source); })()), "counterrors", [], "any"falsefalsefalse10)) ? (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.'10$this->source); })()), "counterrors", [], "any"falsefalsefalse10)) : ((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.'10$this->source); })()), "countdeprecations", [], "any"falsefalsefalse10) + 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.'10$this->source); })()), "countwarnings", [], "any"falsefalsefalse10)))), "html"nulltrue);
  74.             echo "</span>
  75.         ";
  76.             $context["icon"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  77.             // line 12
  78.             echo "
  79.         ";
  80.             // line 13
  81.             ob_start();
  82.             // line 14
  83.             echo "            <div class=\"sf-toolbar-info-piece\">
  84.                 <b>Errors</b>
  85.                 <span class=\"sf-toolbar-status sf-toolbar-status-";
  86.             // line 16
  87.             echo ((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.'16$this->source); })()), "counterrors", [], "any"falsefalsefalse16)) ? ("red") : (""));
  88.             echo "\">";
  89.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "counterrors", [], "any"truetruefalse16)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "counterrors", [], "any"falsefalsefalse16), 0)) : (0)), "html"nulltrue);
  90.             echo "</span>
  91.             </div>
  92.             <div class=\"sf-toolbar-info-piece\">
  93.                 <b>Warnings</b>
  94.                 <span class=\"sf-toolbar-status sf-toolbar-status-";
  95.             // line 21
  96.             echo ((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); })()), "countwarnings", [], "any"falsefalsefalse21)) ? ("yellow") : (""));
  97.             echo "\">";
  98.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "countwarnings", [], "any"truetruefalse21)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "countwarnings", [], "any"falsefalsefalse21), 0)) : (0)), "html"nulltrue);
  99.             echo "</span>
  100.             </div>
  101.             <div class=\"sf-toolbar-info-piece\">
  102.                 <b>Deprecations</b>
  103.                 <span class=\"sf-toolbar-status sf-toolbar-status-";
  104.             // line 26
  105.             echo ((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); })()), "countdeprecations", [], "any"falsefalsefalse26)) ? ("none") : (""));
  106.             echo "\">";
  107.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "countdeprecations", [], "any"truetruefalse26)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "countdeprecations", [], "any"falsefalsefalse26), 0)) : (0)), "html"nulltrue);
  108.             echo "</span>
  109.             </div>
  110.         ";
  111.             $context["text"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  112.             // line 29
  113.             echo "
  114.         ";
  115.             // line 30
  116.             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.'30$this->source); })()), "status" => (isset($context["status_color"]) || array_key_exists("status_color"$context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.'30$this->source); })())]);
  117.             echo "
  118.     ";
  119.         }
  120.         
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122.         
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  124.     }
  125.     // line 34
  126.     public function block_menu($context, array $blocks = [])
  127.     {
  128.         $macros $this->macros;
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  133.         // line 35
  134.         echo "    <span class=\"label label-status-";
  135.         echo ((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.'35$this->source); })()), "counterrors", [], "any"falsefalsefalse35)) ? ("error") : (((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.'35$this->source); })()), "countwarnings", [], "any"falsefalsefalse35)) ? ("warning") : ("none"))));
  136.         echo " ";
  137.         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.'35$this->source); })()), "logs", [], "any"falsefalsefalse35))) ? ("disabled") : (""));
  138.         echo "\">
  139.         <span class=\"icon\">";
  140.         // line 36
  141.         echo twig_source($this->env"@WebProfiler/Icon/logger.svg");
  142.         echo "</span>
  143.         <strong>Logs</strong>
  144.         ";
  145.         // line 38
  146.         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.'38$this->source); })()), "counterrors", [], "any"falsefalsefalse38) || 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.'38$this->source); })()), "countdeprecations", [], "any"falsefalsefalse38)) || 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.'38$this->source); })()), "countwarnings", [], "any"falsefalsefalse38))) {
  147.             // line 39
  148.             echo "            <span class=\"count\">
  149.                 <span>";
  150.             // line 40
  151.             echo twig_escape_filter($this->env, ((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); })()), "counterrors", [], "any"falsefalsefalse40)) ? (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); })()), "counterrors", [], "any"falsefalsefalse40)) : ((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); })()), "countdeprecations", [], "any"falsefalsefalse40) + 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); })()), "countwarnings", [], "any"falsefalsefalse40)))), "html"nulltrue);
  152.             echo "</span>
  153.             </span>
  154.         ";
  155.         }
  156.         // line 43
  157.         echo "    </span>
  158. ";
  159.         
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  161.         
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  163.     }
  164.     // line 46
  165.     public function block_panel($context, array $blocks = [])
  166.     {
  167.         $macros $this->macros;
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  172.         // line 47
  173.         echo "    <h2>Log Messages</h2>
  174.     ";
  175.         // line 49
  176.         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.'49$this->source); })()), "processedLogs", [], "any"falsefalsefalse49))) {
  177.             // line 50
  178.             echo "        <div class=\"empty empty-panel\">
  179.             <p>No log messages available.</p>
  180.         </div>
  181.     ";
  182.         } else {
  183.             // line 54
  184.             echo "        ";
  185.             $context["has_error_logs"] = (twig_length_filter($this->envtwig_array_filter($this->envtwig_array_column(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.'54$this->source); })()), "processedLogs", [], "any"falsefalsefalse54), "type"), function ($__type__) use ($context$macros) { $context["type"] = $__type__; return ("error" == (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'54$this->source); })())); })) > 0);
  186.             // line 55
  187.             echo "        ";
  188.             $context["has_deprecation_logs"] = (twig_length_filter($this->envtwig_array_filter($this->envtwig_array_column(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.'55$this->source); })()), "processedLogs", [], "any"falsefalsefalse55), "type"), function ($__type__) use ($context$macros) { $context["type"] = $__type__; return ("deprecation" == (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'55$this->source); })())); })) > 0);
  189.             // line 56
  190.             echo "
  191.         ";
  192.             // line 57
  193.             $context["filters"] = 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.'57$this->source); })()), "filters", [], "any"falsefalsefalse57);
  194.             // line 58
  195.             echo "        <div class=\"log-filters\">
  196.             <div id=\"log-filter-type\" class=\"log-filter\">
  197.                 <ul class=\"tab-navigation\">
  198.                     <li class=\"";
  199.             // line 61
  200.             echo ((( !(isset($context["has_error_logs"]) || array_key_exists("has_error_logs"$context) ? $context["has_error_logs"] : (function () { throw new RuntimeError('Variable "has_error_logs" does not exist.'61$this->source); })()) &&  !(isset($context["has_deprecation_logs"]) || array_key_exists("has_deprecation_logs"$context) ? $context["has_deprecation_logs"] : (function () { throw new RuntimeError('Variable "has_deprecation_logs" does not exist.'61$this->source); })()))) ? ("active") : (""));
  201.             echo "\">
  202.                         <input ";
  203.             // line 62
  204.             echo ((( !(isset($context["has_error_logs"]) || array_key_exists("has_error_logs"$context) ? $context["has_error_logs"] : (function () { throw new RuntimeError('Variable "has_error_logs" does not exist.'62$this->source); })()) &&  !(isset($context["has_deprecation_logs"]) || array_key_exists("has_deprecation_logs"$context) ? $context["has_deprecation_logs"] : (function () { throw new RuntimeError('Variable "has_deprecation_logs" does not exist.'62$this->source); })()))) ? ("checked") : (""));
  205.             echo " type=\"radio\" id=\"filter-log-type-all\" name=\"filter-log-type\" value=\"all\">
  206.                         <label for=\"filter-log-type-all\">All messages</label>
  207.                     </li>
  208.                     <li class=\"";
  209.             // line 66
  210.             echo (((isset($context["has_error_logs"]) || array_key_exists("has_error_logs"$context) ? $context["has_error_logs"] : (function () { throw new RuntimeError('Variable "has_error_logs" does not exist.'66$this->source); })())) ? ("active") : (""));
  211.             echo "\">
  212.                         <input ";
  213.             // line 67
  214.             echo (((isset($context["has_error_logs"]) || array_key_exists("has_error_logs"$context) ? $context["has_error_logs"] : (function () { throw new RuntimeError('Variable "has_error_logs" does not exist.'67$this->source); })())) ? ("checked") : (""));
  215.             echo " type=\"radio\" id=\"filter-log-type-error\" name=\"filter-log-type\" value=\"error\">
  216.                         <label for=\"filter-log-type-error\">
  217.                             Errors
  218.                             <span class=\"badge status-";
  219.             // line 70
  220.             echo ((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.'70$this->source); })()), "counterrors", [], "any"falsefalsefalse70)) ? ("error") : (""));
  221.             echo "\">";
  222.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "counterrors", [], "any"truetruefalse70)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "counterrors", [], "any"falsefalsefalse70), 0)) : (0)), "html"nulltrue);
  223.             echo "</span>
  224.                         </label>
  225.                     </li>
  226.                     <li class=\"";
  227.             // line 74
  228.             echo ((( !(isset($context["has_error_logs"]) || array_key_exists("has_error_logs"$context) ? $context["has_error_logs"] : (function () { throw new RuntimeError('Variable "has_error_logs" does not exist.'74$this->source); })()) && (isset($context["has_deprecation_logs"]) || array_key_exists("has_deprecation_logs"$context) ? $context["has_deprecation_logs"] : (function () { throw new RuntimeError('Variable "has_deprecation_logs" does not exist.'74$this->source); })()))) ? ("active") : (""));
  229.             echo "\">
  230.                         <input ";
  231.             // line 75
  232.             echo ((( !(isset($context["has_error_logs"]) || array_key_exists("has_error_logs"$context) ? $context["has_error_logs"] : (function () { throw new RuntimeError('Variable "has_error_logs" does not exist.'75$this->source); })()) && (isset($context["has_deprecation_logs"]) || array_key_exists("has_deprecation_logs"$context) ? $context["has_deprecation_logs"] : (function () { throw new RuntimeError('Variable "has_deprecation_logs" does not exist.'75$this->source); })()))) ? ("checked") : (""));
  233.             echo " type=\"radio\" id=\"filter-log-type-deprecation\" name=\"filter-log-type\" value=\"deprecation\">
  234.                         <label for=\"filter-log-type-deprecation\">
  235.                             Deprecations
  236.                             <span class=\"badge status-";
  237.             // line 78
  238.             echo ((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.'78$this->source); })()), "countdeprecations", [], "any"falsefalsefalse78)) ? ("warning") : (""));
  239.             echo "\">";
  240.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "countdeprecations", [], "any"truetruefalse78)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "countdeprecations", [], "any"falsefalsefalse78), 0)) : (0)), "html"nulltrue);
  241.             echo "</span>
  242.                         </label>
  243.                     </li>
  244.                 </ul>
  245.             </div>
  246.             <details id=\"log-filter-priority\" class=\"log-filter\">
  247.                 <summary>
  248.                     <span class=\"icon\">";
  249.             // line 86
  250.             echo twig_source($this->env"@WebProfiler/Icon/filter.svg");
  251.             echo "</span>
  252.                     Level (<span class=\"filter-active-num\">";
  253.             // line 87
  254.             echo twig_escape_filter($this->env, (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'87$this->source); })()), "priority", [], "any"falsefalsefalse87)) - 1), "html"nulltrue);
  255.             echo "</span>)
  256.                 </summary>
  257.                 <div class=\"log-filter-content\">
  258.                     <div class=\"filter-select-all-or-none\">
  259.                         <button type=\"button\" class=\"btn btn-link select-all\">Select All</button>
  260.                         <button type=\"button\" class=\"btn btn-link select-none\">Select None</button>
  261.                     </div>
  262.                     ";
  263.             // line 96
  264.             $context['_parent'] = $context;
  265.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'96$this->source); })()), "priority", [], "any"falsefalsefalse96));
  266.             foreach ($context['_seq'] as $context["label"] => $context["value"]) {
  267.                 // line 97
  268.                 echo "                        <div class=\"log-filter-option\">
  269.                             <input ";
  270.                 // line 98
  271.                 echo ((("debug" != $context["value"])) ? ("checked") : (""));
  272.                 echo " type=\"checkbox\" id=\"filter-log-level-";
  273.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  274.                 echo "\" name=\"filter-log-level-";
  275.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  276.                 echo "\" value=\"";
  277.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  278.                 echo "\">
  279.                             <label for=\"filter-log-level-";
  280.                 // line 99
  281.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  282.                 echo "\">";
  283.                 echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  284.                 echo "</label>
  285.                         </div>
  286.                     ";
  287.             }
  288.             $_parent $context['_parent'];
  289.             unset($context['_seq'], $context['_iterated'], $context['label'], $context['value'], $context['_parent'], $context['loop']);
  290.             $context array_intersect_key($context$_parent) + $_parent;
  291.             // line 102
  292.             echo "                </div>
  293.             </details>
  294.             <details id=\"log-filter-channel\" class=\"log-filter\">
  295.                 <summary>
  296.                     <span class=\"icon\">";
  297.             // line 107
  298.             echo twig_source($this->env"@WebProfiler/Icon/filter.svg");
  299.             echo "</span>
  300.                     Channel (<span class=\"filter-active-num\">";
  301.             // line 108
  302.             echo twig_escape_filter($this->env, (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'108$this->source); })()), "channel", [], "any"falsefalsefalse108)) - 1), "html"nulltrue);
  303.             echo "</span>)
  304.                 </summary>
  305.                 <div class=\"log-filter-content\">
  306.                     <div class=\"filter-select-all-or-none\">
  307.                         <button type=\"button\" class=\"btn btn-link select-all\">Select All</button>
  308.                         <button type=\"button\" class=\"btn btn-link select-none\">Select None</button>
  309.                     </div>
  310.                     ";
  311.             // line 117
  312.             $context['_parent'] = $context;
  313.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'117$this->source); })()), "channel", [], "any"falsefalsefalse117));
  314.             foreach ($context['_seq'] as $context["_key"] => $context["value"]) {
  315.                 // line 118
  316.                 echo "                        <div class=\"log-filter-option\">
  317.                             <input ";
  318.                 // line 119
  319.                 echo ((("event" != $context["value"])) ? ("checked") : (""));
  320.                 echo " type=\"checkbox\" id=\"filter-log-channel-";
  321.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  322.                 echo "\" name=\"filter-log-channel-";
  323.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  324.                 echo "\" value=\"";
  325.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  326.                 echo "\">
  327.                             <label for=\"filter-log-channel-";
  328.                 // line 120
  329.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  330.                 echo "\">";
  331.                 echo twig_escape_filter($this->envtwig_title_string_filter($this->env$context["value"]), "html"nulltrue);
  332.                 echo "</label>
  333.                         </div>
  334.                     ";
  335.             }
  336.             $_parent $context['_parent'];
  337.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']);
  338.             $context array_intersect_key($context$_parent) + $_parent;
  339.             // line 123
  340.             echo "                </div>
  341.             </details>
  342.         </div>
  343.         <table class=\"logs\">
  344.             <colgroup>
  345.                 <col width=\"140px\">
  346.                 <col>
  347.             </colgroup>
  348.             <thead>
  349.                 <th>Time</th>
  350.                 <th>Message</th>
  351.             </thead>
  352.             <tbody>
  353.                 ";
  354.             // line 139
  355.             $context['_parent'] = $context;
  356.             $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.'139$this->source); })()), "processedLogs", [], "any"falsefalsefalse139));
  357.             $context['loop'] = [
  358.               'parent' => $context['_parent'],
  359.               'index0' => 0,
  360.               'index'  => 1,
  361.               'first'  => true,
  362.             ];
  363.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  364.                 $length count($context['_seq']);
  365.                 $context['loop']['revindex0'] = $length 1;
  366.                 $context['loop']['revindex'] = $length;
  367.                 $context['loop']['length'] = $length;
  368.                 $context['loop']['last'] = === $length;
  369.             }
  370.             foreach ($context['_seq'] as $context["_key"] => $context["log"]) {
  371.                 // line 140
  372.                 echo "                    ";
  373.                 $context["css_class"] = ((("error" == twig_get_attribute($this->env$this->source$context["log"], "type", [], "any"falsefalsefalse140))) ? ("error") : (((((twig_get_attribute($this->env$this->source,                 // line 141
  374. $context["log"], "priorityName", [], "any"falsefalsefalse141) == "WARNING") || ("deprecation" == twig_get_attribute($this->env$this->source$context["log"], "type", [], "any"falsefalsefalse141)))) ? ("warning") : (((("silenced" == twig_get_attribute($this->env$this->source,                 // line 142
  375. $context["log"], "type", [], "any"falsefalsefalse142))) ? ("silenced") : (""))))));
  376.                 // line 144
  377.                 echo "                    <tr class=\"log-status-";
  378.                 echo twig_escape_filter($this->env, (isset($context["css_class"]) || array_key_exists("css_class"$context) ? $context["css_class"] : (function () { throw new RuntimeError('Variable "css_class" does not exist.'144$this->source); })()), "html"nulltrue);
  379.                 echo "\" data-type=\"";
  380.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "type", [], "any"falsefalsefalse144), "html"nulltrue);
  381.                 echo "\" data-priority=\"";
  382.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "priority", [], "any"falsefalsefalse144), "html"nulltrue);
  383.                 echo "\" data-channel=\"";
  384.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "channel", [], "any"falsefalsefalse144), "html"nulltrue);
  385.                 echo "\" style=\"";
  386.                 echo (((("event" == twig_get_attribute($this->env$this->source$context["log"], "channel", [], "any"falsefalsefalse144)) || ("DEBUG" == twig_get_attribute($this->env$this->source$context["log"], "priorityName", [], "any"falsefalsefalse144)))) ? ("display: none") : (""));
  387.                 echo "\">
  388.                         <td class=\"log-timestamp\">
  389.                             <time title=\"";
  390.                 // line 146
  391.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "timestamp", [], "any"falsefalsefalse146), "r"), "html"nulltrue);
  392.                 echo "\" datetime=\"";
  393.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "timestamp", [], "any"falsefalsefalse146), "c"), "html"nulltrue);
  394.                 echo "\">
  395.                                 ";
  396.                 // line 147
  397.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "timestamp", [], "any"falsefalsefalse147), "H:i:s.v"), "html"nulltrue);
  398.                 echo "
  399.                             </time>
  400.                             ";
  401.                 // line 150
  402.                 if ((twig_in_filter(twig_get_attribute($this->env$this->source$context["log"], "type", [], "any"falsefalsefalse150), [=> "error"=> "deprecation"=> "silenced"]) || ("WARNING" == twig_get_attribute($this->env$this->source$context["log"], "priorityName", [], "any"falsefalsefalse150)))) {
  403.                     // line 151
  404.                     echo "                                <span class=\"log-type-badge badge badge-";
  405.                     echo twig_escape_filter($this->env, (isset($context["css_class"]) || array_key_exists("css_class"$context) ? $context["css_class"] : (function () { throw new RuntimeError('Variable "css_class" does not exist.'151$this->source); })()), "html"nulltrue);
  406.                     echo "\">
  407.                                     ";
  408.                     // line 152
  409.                     if ((("error" == twig_get_attribute($this->env$this->source$context["log"], "type", [], "any"falsefalsefalse152)) || ("WARNING" == twig_get_attribute($this->env$this->source$context["log"], "priorityName", [], "any"falsefalsefalse152)))) {
  410.                         // line 153
  411.                         echo "                                        ";
  412.                         echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "priorityName", [], "any"falsefalsefalse153)), "html"nulltrue);
  413.                         echo "
  414.                                     ";
  415.                     } else {
  416.                         // line 155
  417.                         echo "                                        ";
  418.                         echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "type", [], "any"falsefalsefalse155)), "html"nulltrue);
  419.                         echo "
  420.                                     ";
  421.                     }
  422.                     // line 157
  423.                     echo "                                </span>
  424.                             ";
  425.                 } else {
  426.                     // line 159
  427.                     echo "                                <span class=\"log-type-badge badge badge-";
  428.                     echo twig_escape_filter($this->env, (isset($context["css_class"]) || array_key_exists("css_class"$context) ? $context["css_class"] : (function () { throw new RuntimeError('Variable "css_class" does not exist.'159$this->source); })()), "html"nulltrue);
  429.                     echo "\">
  430.                                     ";
  431.                     // line 160
  432.                     echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["log"], "priorityName", [], "any"falsefalsefalse160)), "html"nulltrue);
  433.                     echo "
  434.                                 </span>
  435.                             ";
  436.                 }
  437.                 // line 163
  438.                 echo "                        </td>
  439.                         <td class=\"font-normal\">
  440.                             ";
  441.                 // line 166
  442.                 echo twig_call_macro($macros["helper"], "macro_render_log_message", ["debug"twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse166), $context["log"]], 166$context$this->getSourceContext());
  443.                 echo "
  444.                         </td>
  445.                     </tr>
  446.                 ";
  447.                 ++$context['loop']['index0'];
  448.                 ++$context['loop']['index'];
  449.                 $context['loop']['first'] = false;
  450.                 if (isset($context['loop']['length'])) {
  451.                     --$context['loop']['revindex0'];
  452.                     --$context['loop']['revindex'];
  453.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  454.                 }
  455.             }
  456.             $_parent $context['_parent'];
  457.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']);
  458.             $context array_intersect_key($context$_parent) + $_parent;
  459.             // line 170
  460.             echo "            </tbody>
  461.         </table>
  462.         <div class=\"no-logs-message empty\">
  463.             <p>There are no log messages.</p>
  464.         </div>
  465.         <script>Sfjs.initializeLogsTable();</script>
  466.     ";
  467.         }
  468.         // line 179
  469.         echo "
  470.     ";
  471.         // line 180
  472.         $context["compilerLogTotal"] = 0;
  473.         // line 181
  474.         echo "    ";
  475.         $context['_parent'] = $context;
  476.         $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.'181$this->source); })()), "compilerLogs", [], "any"falsefalsefalse181));
  477.         foreach ($context['_seq'] as $context["_key"] => $context["logs"]) {
  478.             // line 182
  479.             echo "        ";
  480.             $context["compilerLogTotal"] = ((isset($context["compilerLogTotal"]) || array_key_exists("compilerLogTotal"$context) ? $context["compilerLogTotal"] : (function () { throw new RuntimeError('Variable "compilerLogTotal" does not exist.'182$this->source); })()) + twig_length_filter($this->env$context["logs"]));
  481.             // line 183
  482.             echo "    ";
  483.         }
  484.         $_parent $context['_parent'];
  485.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['logs'], $context['_parent'], $context['loop']);
  486.         $context array_intersect_key($context$_parent) + $_parent;
  487.         // line 184
  488.         echo "
  489.     <details class=\"container-compilation-logs\">
  490.         <summary>
  491.             <h4>Container Compilation Logs <span class=\"text-muted\">(";
  492.         // line 187
  493.         echo twig_escape_filter($this->env, (isset($context["compilerLogTotal"]) || array_key_exists("compilerLogTotal"$context) ? $context["compilerLogTotal"] : (function () { throw new RuntimeError('Variable "compilerLogTotal" does not exist.'187$this->source); })()), "html"nulltrue);
  494.         echo ")</span></h4>
  495.             <p class=\"text-muted\">Log messages generated during the compilation of the service container.</p>
  496.         </summary>
  497.         ";
  498.         // line 191
  499.         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.'191$this->source); })()), "compilerLogs", [], "any"falsefalsefalse191))) {
  500.             // line 192
  501.             echo "            <div class=\"empty\">
  502.                 <p>There are no compiler log messages.</p>
  503.             </div>
  504.         ";
  505.         } else {
  506.             // line 196
  507.             echo "            <table class=\"container-logs\">
  508.                 <thead>
  509.                 <tr>
  510.                     <th>Messages</th>
  511.                     <th class=\"full-width\">Class</th>
  512.                 </tr>
  513.                 </thead>
  514.                 <tbody>
  515.                 ";
  516.             // line 205
  517.             $context['_parent'] = $context;
  518.             $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.'205$this->source); })()), "compilerLogs", [], "any"falsefalsefalse205));
  519.             $context['loop'] = [
  520.               'parent' => $context['_parent'],
  521.               'index0' => 0,
  522.               'index'  => 1,
  523.               'first'  => true,
  524.             ];
  525.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  526.                 $length count($context['_seq']);
  527.                 $context['loop']['revindex0'] = $length 1;
  528.                 $context['loop']['revindex'] = $length;
  529.                 $context['loop']['length'] = $length;
  530.                 $context['loop']['last'] = === $length;
  531.             }
  532.             foreach ($context['_seq'] as $context["class"] => $context["logs"]) {
  533.                 // line 206
  534.                 echo "                    <tr>
  535.                         <td class=\"font-normal text-right\">";
  536.                 // line 207
  537.                 echo twig_escape_filter($this->envtwig_length_filter($this->env$context["logs"]), "html"nulltrue);
  538.                 echo "</td>
  539.                         <td class=\"font-normal\">
  540.                             ";
  541.                 // line 209
  542.                 $context["context_id"] = ("context-compiler-" twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse209));
  543.                 // line 210
  544.                 echo "
  545.                             <button type=\"button\" class=\"btn btn-link sf-toggle\" data-toggle-selector=\"#";
  546.                 // line 211
  547.                 echo twig_escape_filter($this->env, (isset($context["context_id"]) || array_key_exists("context_id"$context) ? $context["context_id"] : (function () { throw new RuntimeError('Variable "context_id" does not exist.'211$this->source); })()), "html"nulltrue);
  548.                 echo "\" data-toggle-alt-content=\"";
  549.                 echo twig_escape_filter($this->env$context["class"], "html"nulltrue);
  550.                 echo "\">";
  551.                 echo twig_escape_filter($this->env$context["class"], "html"nulltrue);
  552.                 echo "</button>
  553.                             <div id=\"";
  554.                 // line 213
  555.                 echo twig_escape_filter($this->env, (isset($context["context_id"]) || array_key_exists("context_id"$context) ? $context["context_id"] : (function () { throw new RuntimeError('Variable "context_id" does not exist.'213$this->source); })()), "html"nulltrue);
  556.                 echo "\" class=\"context sf-toggle-content sf-toggle-hidden\">
  557.                                 <ul class=\"break-long-words\">
  558.                                     ";
  559.                 // line 215
  560.                 $context['_parent'] = $context;
  561.                 $context['_seq'] = twig_ensure_traversable($context["logs"]);
  562.                 foreach ($context['_seq'] as $context["_key"] => $context["log"]) {
  563.                     // line 216
  564.                     echo "                                        <li>";
  565.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpLog($this->envtwig_get_attribute($this->env$this->source$context["log"], "message", [], "any"falsefalsefalse216));
  566.                     echo "</li>
  567.                                     ";
  568.                 }
  569.                 $_parent $context['_parent'];
  570.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']);
  571.                 $context array_intersect_key($context$_parent) + $_parent;
  572.                 // line 218
  573.                 echo "                                </ul>
  574.                             </div>
  575.                         </td>
  576.                     </tr>
  577.                 ";
  578.                 ++$context['loop']['index0'];
  579.                 ++$context['loop']['index'];
  580.                 $context['loop']['first'] = false;
  581.                 if (isset($context['loop']['length'])) {
  582.                     --$context['loop']['revindex0'];
  583.                     --$context['loop']['revindex'];
  584.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  585.                 }
  586.             }
  587.             $_parent $context['_parent'];
  588.             unset($context['_seq'], $context['_iterated'], $context['class'], $context['logs'], $context['_parent'], $context['loop']);
  589.             $context array_intersect_key($context$_parent) + $_parent;
  590.             // line 223
  591.             echo "                </tbody>
  592.             </table>
  593.         ";
  594.         }
  595.         // line 226
  596.         echo "    </details>
  597. ";
  598.         
  599.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  600.         
  601.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  602.     }
  603.     // line 229
  604.     public function macro_render_log_message($__category__ null$__log_index__ null$__log__ null, ...$__varargs__)
  605.     {
  606.         $macros $this->macros;
  607.         $context $this->env->mergeGlobals([
  608.             "category" => $__category__,
  609.             "log_index" => $__log_index__,
  610.             "log" => $__log__,
  611.             "varargs" => $__varargs__,
  612.         ]);
  613.         $blocks = [];
  614.         ob_start();
  615.         try {
  616.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  617.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""render_log_message"));
  618.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  619.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""render_log_message"));
  620.             // line 230
  621.             echo "    ";
  622.             $context["has_context"] = (twig_get_attribute($this->env$this->source, ($context["log"] ?? null), "context", [], "any"truetruefalse230) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'230$this->source); })()), "context", [], "any"falsefalsefalse230)));
  623.             // line 231
  624.             echo "    ";
  625.             $context["has_trace"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["log"] ?? null), "context", [], "any"falsetruefalse231), "exception", [], "any"falsetruefalse231), "trace", [], "any"truetruefalse231);
  626.             // line 232
  627.             echo "
  628.     ";
  629.             // line 233
  630.             if ( !(isset($context["has_context"]) || array_key_exists("has_context"$context) ? $context["has_context"] : (function () { throw new RuntimeError('Variable "has_context" does not exist.'233$this->source); })())) {
  631.                 // line 234
  632.                 echo "        ";
  633.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpLog($this->envtwig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'234$this->source); })()), "message", [], "any"falsefalsefalse234));
  634.                 echo "
  635.     ";
  636.             } else {
  637.                 // line 236
  638.                 echo "        ";
  639.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpLog($this->envtwig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'236$this->source); })()), "message", [], "any"falsefalsefalse236), twig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'236$this->source); })()), "context", [], "any"falsefalsefalse236));
  640.                 echo "
  641.     ";
  642.             }
  643.             // line 238
  644.             echo "
  645.     <div class=\"log-metadata\">
  646.         ";
  647.             // line 240
  648.             if (twig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'240$this->source); })()), "channel", [], "any"falsefalsefalse240)) {
  649.                 // line 241
  650.                 echo "            <span class=\"badge\">";
  651.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'241$this->source); })()), "channel", [], "any"falsefalsefalse241), "html"nulltrue);
  652.                 echo "</span>
  653.         ";
  654.             }
  655.             // line 243
  656.             echo "
  657.         ";
  658.             // line 244
  659.             if ((twig_get_attribute($this->env$this->source, ($context["log"] ?? null), "errorCount", [], "any"truetruefalse244) && (twig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'244$this->source); })()), "errorCount", [], "any"falsefalsefalse244) > 1))) {
  660.                 // line 245
  661.                 echo "            <span class=\"log-num-occurrences\">";
  662.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'245$this->source); })()), "errorCount", [], "any"falsefalsefalse245), "html"nulltrue);
  663.                 echo " times</span>
  664.         ";
  665.             }
  666.             // line 247
  667.             echo "
  668.         ";
  669.             // line 248
  670.             if ((isset($context["has_context"]) || array_key_exists("has_context"$context) ? $context["has_context"] : (function () { throw new RuntimeError('Variable "has_context" does not exist.'248$this->source); })())) {
  671.                 // line 249
  672.                 echo "            ";
  673.                 $context["context_id"] = ((("context-" . (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'249$this->source); })())) . "-") . (isset($context["log_index"]) || array_key_exists("log_index"$context) ? $context["log_index"] : (function () { throw new RuntimeError('Variable "log_index" does not exist.'249$this->source); })()));
  674.                 // line 250
  675.                 echo "            <span><button type=\"button\" class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#";
  676.                 echo twig_escape_filter($this->env, (isset($context["context_id"]) || array_key_exists("context_id"$context) ? $context["context_id"] : (function () { throw new RuntimeError('Variable "context_id" does not exist.'250$this->source); })()), "html"nulltrue);
  677.                 echo "\" data-toggle-alt-content=\"Hide context\">Show context</button></span>
  678.         ";
  679.             }
  680.             // line 252
  681.             echo "
  682.         ";
  683.             // line 253
  684.             if ((isset($context["has_trace"]) || array_key_exists("has_trace"$context) ? $context["has_trace"] : (function () { throw new RuntimeError('Variable "has_trace" does not exist.'253$this->source); })())) {
  685.                 // line 254
  686.                 echo "            ";
  687.                 $context["trace_id"] = ((("trace-" . (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'254$this->source); })())) . "-") . (isset($context["log_index"]) || array_key_exists("log_index"$context) ? $context["log_index"] : (function () { throw new RuntimeError('Variable "log_index" does not exist.'254$this->source); })()));
  688.                 // line 255
  689.                 echo "            <span><button type=\"button\" class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#";
  690.                 echo twig_escape_filter($this->env, (isset($context["trace_id"]) || array_key_exists("trace_id"$context) ? $context["trace_id"] : (function () { throw new RuntimeError('Variable "trace_id" does not exist.'255$this->source); })()), "html"nulltrue);
  691.                 echo "\" data-toggle-alt-content=\"Hide trace\">Show trace</button></span>
  692.         ";
  693.             }
  694.             // line 257
  695.             echo "
  696.         ";
  697.             // line 258
  698.             if ((isset($context["has_context"]) || array_key_exists("has_context"$context) ? $context["has_context"] : (function () { throw new RuntimeError('Variable "has_context" does not exist.'258$this->source); })())) {
  699.                 // line 259
  700.                 echo "            <div id=\"";
  701.                 echo twig_escape_filter($this->env, (isset($context["context_id"]) || array_key_exists("context_id"$context) ? $context["context_id"] : (function () { throw new RuntimeError('Variable "context_id" does not exist.'259$this->source); })()), "html"nulltrue);
  702.                 echo "\" class=\"context sf-toggle-content sf-toggle-hidden\">
  703.                 ";
  704.                 // line 260
  705.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'260$this->source); })()), "context", [], "any"falsefalsefalse260), 1);
  706.                 echo "
  707.             </div>
  708.         ";
  709.             }
  710.             // line 263
  711.             echo "
  712.         ";
  713.             // line 264
  714.             if ((isset($context["has_trace"]) || array_key_exists("has_trace"$context) ? $context["has_trace"] : (function () { throw new RuntimeError('Variable "has_trace" does not exist.'264$this->source); })())) {
  715.                 // line 265
  716.                 echo "            <div id=\"";
  717.                 echo twig_escape_filter($this->env, (isset($context["trace_id"]) || array_key_exists("trace_id"$context) ? $context["trace_id"] : (function () { throw new RuntimeError('Variable "trace_id" does not exist.'265$this->source); })()), "html"nulltrue);
  718.                 echo "\" class=\"context sf-toggle-content sf-toggle-hidden\">
  719.                 ";
  720.                 // line 266
  721.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["log"]) || array_key_exists("log"$context) ? $context["log"] : (function () { throw new RuntimeError('Variable "log" does not exist.'266$this->source); })()), "context", [], "any"falsefalsefalse266), "exception", [], "any"falsefalsefalse266), "trace", [], "any"falsefalsefalse266), 1);
  722.                 echo "
  723.             </div>
  724.         ";
  725.             }
  726.             // line 269
  727.             echo "    </div>
  728. ";
  729.             
  730.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  731.             
  732.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  733.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  734.         } finally {
  735.             ob_end_clean();
  736.         }
  737.     }
  738.     public function getTemplateName()
  739.     {
  740.         return "@WebProfiler/Collector/logger.html.twig";
  741.     }
  742.     public function isTraitable()
  743.     {
  744.         return false;
  745.     }
  746.     public function getDebugInfo()
  747.     {
  748.         return array (  779 => 269,  773 => 266,  768 => 265,  766 => 264,  763 => 263,  757 => 260,  752 => 259,  750 => 258,  747 => 257,  741 => 255,  738 => 254,  736 => 253,  733 => 252,  727 => 250,  724 => 249,  722 => 248,  719 => 247,  713 => 245,  711 => 244,  708 => 243,  702 => 241,  700 => 240,  696 => 238,  690 => 236,  684 => 234,  682 => 233,  679 => 232,  676 => 231,  673 => 230,  652 => 229,  641 => 226,  636 => 223,  618 => 218,  609 => 216,  605 => 215,  600 => 213,  591 => 211,  588 => 210,  586 => 209,  581 => 207,  578 => 206,  561 => 205,  550 => 196,  544 => 192,  542 => 191,  535 => 187,  530 => 184,  524 => 183,  521 => 182,  516 => 181,  514 => 180,  511 => 179,  500 => 170,  482 => 166,  477 => 163,  471 => 160,  466 => 159,  462 => 157,  456 => 155,  450 => 153,  448 => 152,  443 => 151,  441 => 150,  435 => 147,  429 => 146,  415 => 144,  413 => 142,  412 => 141,  410 => 140,  393 => 139,  375 => 123,  364 => 120,  354 => 119,  351 => 118,  347 => 117,  335 => 108,  331 => 107,  324 => 102,  313 => 99,  303 => 98,  300 => 97,  296 => 96,  284 => 87,  280 => 86,  267 => 78,  261 => 75,  257 => 74,  248 => 70,  242 => 67,  238 => 66,  231 => 62,  227 => 61,  222 => 58,  220 => 57,  217 => 56,  214 => 55,  211 => 54,  205 => 50,  203 => 49,  199 => 47,  189 => 46,  178 => 43,  172 => 40,  169 => 39,  167 => 38,  162 => 36,  155 => 35,  145 => 34,  132 => 30,  129 => 29,  121 => 26,  111 => 21,  101 => 16,  97 => 14,  95 => 13,  92 => 12,  87 => 10,  82 => 9,  79 => 8,  76 => 7,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  749.     }
  750.     public function getSourceContext()
  751.     {
  752.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  753. {% import _self as helper %}
  754. {% block toolbar %}
  755.     {% if collector.counterrors or collector.countdeprecations or collector.countwarnings %}
  756.         {% set icon %}
  757.             {% set status_color = collector.counterrors ? 'red' : collector.countwarnings ? 'yellow' : 'none' %}
  758.             {{ source('@WebProfiler/Icon/logger.svg') }}
  759.             <span class=\"sf-toolbar-value\">{{ collector.counterrors ?: (collector.countdeprecations + collector.countwarnings) }}</span>
  760.         {% endset %}
  761.         {% set text %}
  762.             <div class=\"sf-toolbar-info-piece\">
  763.                 <b>Errors</b>
  764.                 <span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.counterrors ? 'red' }}\">{{ collector.counterrors|default(0) }}</span>
  765.             </div>
  766.             <div class=\"sf-toolbar-info-piece\">
  767.                 <b>Warnings</b>
  768.                 <span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.countwarnings ? 'yellow' }}\">{{ collector.countwarnings|default(0) }}</span>
  769.             </div>
  770.             <div class=\"sf-toolbar-info-piece\">
  771.                 <b>Deprecations</b>
  772.                 <span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.countdeprecations ? 'none' }}\">{{ collector.countdeprecations|default(0) }}</span>
  773.             </div>
  774.         {% endset %}
  775.         {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }}
  776.     {% endif %}
  777. {% endblock %}
  778. {% block menu %}
  779.     <span class=\"label label-status-{{ collector.counterrors ? 'error' : collector.countwarnings ? 'warning' : 'none' }} {{ collector.logs is empty ? 'disabled' }}\">
  780.         <span class=\"icon\">{{ source('@WebProfiler/Icon/logger.svg') }}</span>
  781.         <strong>Logs</strong>
  782.         {% if collector.counterrors or collector.countdeprecations or collector.countwarnings %}
  783.             <span class=\"count\">
  784.                 <span>{{ collector.counterrors ?: (collector.countdeprecations + collector.countwarnings) }}</span>
  785.             </span>
  786.         {% endif %}
  787.     </span>
  788. {% endblock %}
  789. {% block panel %}
  790.     <h2>Log Messages</h2>
  791.     {% if collector.processedLogs is empty %}
  792.         <div class=\"empty empty-panel\">
  793.             <p>No log messages available.</p>
  794.         </div>
  795.     {% else %}
  796.         {% set has_error_logs = collector.processedLogs|column('type')|filter(type => 'error' == type)|length > 0 %}
  797.         {% set has_deprecation_logs = collector.processedLogs|column('type')|filter(type => 'deprecation' == type)|length > 0 %}
  798.         {% set filters = collector.filters %}
  799.         <div class=\"log-filters\">
  800.             <div id=\"log-filter-type\" class=\"log-filter\">
  801.                 <ul class=\"tab-navigation\">
  802.                     <li class=\"{{ not has_error_logs and not has_deprecation_logs ? 'active' }}\">
  803.                         <input {{ not has_error_logs and not has_deprecation_logs ? 'checked' }} type=\"radio\" id=\"filter-log-type-all\" name=\"filter-log-type\" value=\"all\">
  804.                         <label for=\"filter-log-type-all\">All messages</label>
  805.                     </li>
  806.                     <li class=\"{{ has_error_logs ? 'active' }}\">
  807.                         <input {{ has_error_logs ? 'checked' }} type=\"radio\" id=\"filter-log-type-error\" name=\"filter-log-type\" value=\"error\">
  808.                         <label for=\"filter-log-type-error\">
  809.                             Errors
  810.                             <span class=\"badge status-{{ collector.counterrors ? 'error' }}\">{{ collector.counterrors|default(0) }}</span>
  811.                         </label>
  812.                     </li>
  813.                     <li class=\"{{ not has_error_logs and has_deprecation_logs ? 'active' }}\">
  814.                         <input {{ not has_error_logs and has_deprecation_logs ? 'checked' }} type=\"radio\" id=\"filter-log-type-deprecation\" name=\"filter-log-type\" value=\"deprecation\">
  815.                         <label for=\"filter-log-type-deprecation\">
  816.                             Deprecations
  817.                             <span class=\"badge status-{{ collector.countdeprecations ? 'warning' }}\">{{ collector.countdeprecations|default(0) }}</span>
  818.                         </label>
  819.                     </li>
  820.                 </ul>
  821.             </div>
  822.             <details id=\"log-filter-priority\" class=\"log-filter\">
  823.                 <summary>
  824.                     <span class=\"icon\">{{ source('@WebProfiler/Icon/filter.svg') }}</span>
  825.                     Level (<span class=\"filter-active-num\">{{ filters.priority|length - 1 }}</span>)
  826.                 </summary>
  827.                 <div class=\"log-filter-content\">
  828.                     <div class=\"filter-select-all-or-none\">
  829.                         <button type=\"button\" class=\"btn btn-link select-all\">Select All</button>
  830.                         <button type=\"button\" class=\"btn btn-link select-none\">Select None</button>
  831.                     </div>
  832.                     {% for label, value in filters.priority %}
  833.                         <div class=\"log-filter-option\">
  834.                             <input {{ 'debug' != value ? 'checked' }} type=\"checkbox\" id=\"filter-log-level-{{ value }}\" name=\"filter-log-level-{{ value }}\" value=\"{{ value }}\">
  835.                             <label for=\"filter-log-level-{{ value }}\">{{ label }}</label>
  836.                         </div>
  837.                     {% endfor %}
  838.                 </div>
  839.             </details>
  840.             <details id=\"log-filter-channel\" class=\"log-filter\">
  841.                 <summary>
  842.                     <span class=\"icon\">{{ source('@WebProfiler/Icon/filter.svg') }}</span>
  843.                     Channel (<span class=\"filter-active-num\">{{ filters.channel|length - 1 }}</span>)
  844.                 </summary>
  845.                 <div class=\"log-filter-content\">
  846.                     <div class=\"filter-select-all-or-none\">
  847.                         <button type=\"button\" class=\"btn btn-link select-all\">Select All</button>
  848.                         <button type=\"button\" class=\"btn btn-link select-none\">Select None</button>
  849.                     </div>
  850.                     {% for value in filters.channel %}
  851.                         <div class=\"log-filter-option\">
  852.                             <input {{ 'event' != value ? 'checked' }} type=\"checkbox\" id=\"filter-log-channel-{{ value }}\" name=\"filter-log-channel-{{ value }}\" value=\"{{ value }}\">
  853.                             <label for=\"filter-log-channel-{{ value }}\">{{ value|title }}</label>
  854.                         </div>
  855.                     {% endfor %}
  856.                 </div>
  857.             </details>
  858.         </div>
  859.         <table class=\"logs\">
  860.             <colgroup>
  861.                 <col width=\"140px\">
  862.                 <col>
  863.             </colgroup>
  864.             <thead>
  865.                 <th>Time</th>
  866.                 <th>Message</th>
  867.             </thead>
  868.             <tbody>
  869.                 {% for log in collector.processedLogs %}
  870.                     {% set css_class = 'error' == log.type ? 'error'
  871.                         : (log.priorityName == 'WARNING' or 'deprecation' == log.type) ? 'warning'
  872.                         : 'silenced' == log.type ? 'silenced'
  873.                     %}
  874.                     <tr class=\"log-status-{{ css_class }}\" data-type=\"{{ log.type }}\" data-priority=\"{{ log.priority }}\" data-channel=\"{{ log.channel }}\" style=\"{{ 'event' == log.channel or 'DEBUG' == log.priorityName ? 'display: none' }}\">
  875.                         <td class=\"log-timestamp\">
  876.                             <time title=\"{{ log.timestamp|date('r') }}\" datetime=\"{{ log.timestamp|date('c') }}\">
  877.                                 {{ log.timestamp|date('H:i:s.v') }}
  878.                             </time>
  879.                             {% if log.type in ['error', 'deprecation', 'silenced'] or 'WARNING' == log.priorityName %}
  880.                                 <span class=\"log-type-badge badge badge-{{ css_class }}\">
  881.                                     {% if 'error' == log.type or 'WARNING' == log.priorityName %}
  882.                                         {{ log.priorityName|lower }}
  883.                                     {% else %}
  884.                                         {{ log.type|lower }}
  885.                                     {% endif %}
  886.                                 </span>
  887.                             {% else %}
  888.                                 <span class=\"log-type-badge badge badge-{{ css_class }}\">
  889.                                     {{ log.priorityName|lower }}
  890.                                 </span>
  891.                             {% endif %}
  892.                         </td>
  893.                         <td class=\"font-normal\">
  894.                             {{ helper.render_log_message('debug', loop.index, log) }}
  895.                         </td>
  896.                     </tr>
  897.                 {% endfor %}
  898.             </tbody>
  899.         </table>
  900.         <div class=\"no-logs-message empty\">
  901.             <p>There are no log messages.</p>
  902.         </div>
  903.         <script>Sfjs.initializeLogsTable();</script>
  904.     {% endif %}
  905.     {% set compilerLogTotal = 0 %}
  906.     {% for logs in collector.compilerLogs %}
  907.         {% set compilerLogTotal = compilerLogTotal + logs|length %}
  908.     {% endfor %}
  909.     <details class=\"container-compilation-logs\">
  910.         <summary>
  911.             <h4>Container Compilation Logs <span class=\"text-muted\">({{ compilerLogTotal }})</span></h4>
  912.             <p class=\"text-muted\">Log messages generated during the compilation of the service container.</p>
  913.         </summary>
  914.         {% if collector.compilerLogs is empty %}
  915.             <div class=\"empty\">
  916.                 <p>There are no compiler log messages.</p>
  917.             </div>
  918.         {% else %}
  919.             <table class=\"container-logs\">
  920.                 <thead>
  921.                 <tr>
  922.                     <th>Messages</th>
  923.                     <th class=\"full-width\">Class</th>
  924.                 </tr>
  925.                 </thead>
  926.                 <tbody>
  927.                 {% for class, logs in collector.compilerLogs %}
  928.                     <tr>
  929.                         <td class=\"font-normal text-right\">{{ logs|length }}</td>
  930.                         <td class=\"font-normal\">
  931.                             {% set context_id = 'context-compiler-' ~ loop.index %}
  932.                             <button type=\"button\" class=\"btn btn-link sf-toggle\" data-toggle-selector=\"#{{ context_id }}\" data-toggle-alt-content=\"{{ class }}\">{{ class }}</button>
  933.                             <div id=\"{{ context_id }}\" class=\"context sf-toggle-content sf-toggle-hidden\">
  934.                                 <ul class=\"break-long-words\">
  935.                                     {% for log in logs %}
  936.                                         <li>{{ profiler_dump_log(log.message) }}</li>
  937.                                     {% endfor %}
  938.                                 </ul>
  939.                             </div>
  940.                         </td>
  941.                     </tr>
  942.                 {% endfor %}
  943.                 </tbody>
  944.             </table>
  945.         {% endif %}
  946.     </details>
  947. {% endblock %}
  948. {% macro render_log_message(category, log_index, log) %}
  949.     {% set has_context = log.context is defined and log.context is not empty %}
  950.     {% set has_trace = log.context.exception.trace is defined %}
  951.     {% if not has_context %}
  952.         {{ profiler_dump_log(log.message) }}
  953.     {% else %}
  954.         {{ profiler_dump_log(log.message, log.context) }}
  955.     {% endif %}
  956.     <div class=\"log-metadata\">
  957.         {% if log.channel %}
  958.             <span class=\"badge\">{{ log.channel }}</span>
  959.         {% endif %}
  960.         {% if log.errorCount is defined and log.errorCount > 1 %}
  961.             <span class=\"log-num-occurrences\">{{ log.errorCount }} times</span>
  962.         {% endif %}
  963.         {% if has_context %}
  964.             {% set context_id = 'context-' ~ category ~ '-' ~ log_index %}
  965.             <span><button type=\"button\" class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#{{ context_id }}\" data-toggle-alt-content=\"Hide context\">Show context</button></span>
  966.         {% endif %}
  967.         {% if has_trace %}
  968.             {% set trace_id = 'trace-' ~ category ~ '-' ~ log_index %}
  969.             <span><button type=\"button\" class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#{{ trace_id }}\" data-toggle-alt-content=\"Hide trace\">Show trace</button></span>
  970.         {% endif %}
  971.         {% if has_context %}
  972.             <div id=\"{{ context_id }}\" class=\"context sf-toggle-content sf-toggle-hidden\">
  973.                 {{ profiler_dump(log.context, maxDepth=1) }}
  974.             </div>
  975.         {% endif %}
  976.         {% if has_trace %}
  977.             <div id=\"{{ trace_id }}\" class=\"context sf-toggle-content sf-toggle-hidden\">
  978.                 {{ profiler_dump(log.context.exception.trace, maxDepth=1) }}
  979.             </div>
  980.         {% endif %}
  981.     </div>
  982. {% endmacro %}
  983. ""@WebProfiler/Collector/logger.html.twig""/home/bestofi/bestof/vendor/symfony/web-profiler-bundle/Resources/views/Collector/logger.html.twig");
  984.     }
  985. }