{% block sidebar %}
{{ include('@WebProfiler/Profiler/settings.html.twig') }}
{% endblock sidebar %}
{% block sidebar_shortcuts_links %}
{% endblock sidebar_shortcuts_links %}
{{ render(controller('web_profiler.controller.profiler::searchBarAction', query={type: profile_type }|merge(request.query.all))) }}
{% if templates is defined %}
-
{% if 'request' is same as(profile_type) %}
{% set excludes = ['command'] %}
{% elseif 'command' is same as(profile_type) %}
{% set excludes = ['request', 'router'] %}
{% endif %}
{% for name, template in templates|filter((t, n) => n not in excludes) %}
{% set menu -%}
{%- if block('menu', template) is defined -%}
{% with { collector: profile.getcollector(name), profiler_markup_version: profiler_markup_version } %}
{{- block('menu', template) -}}
{% endwith %}
{%- endif -%}
{%- endset %}
{% if menu is not empty %}
- {{ menu|raw }} {% endif %} {% endfor %}
{{ include('@WebProfiler/Profiler/base_js.html.twig') }}
{% block panel '' %}