Deprecated : Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58
Deprecated : Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler
<?php
use Twig\Environment ;
use Twig\Error\LoaderError ;
use Twig\Error\RuntimeError ;
use Twig\Extension\SandboxExtension ;
use Twig\Markup ;
use Twig\Sandbox\SecurityError ;
use Twig\Sandbox\SecurityNotAllowedTagError ;
use Twig\Sandbox\SecurityNotAllowedFilterError ;
use Twig\Sandbox\SecurityNotAllowedFunctionError ;
use Twig\Source ;
use Twig\Template ;
/* base.html.twig */
class __TwigTemplate_d19ce424bfd0a88e178f5dd69bd03b8f extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> parent = false ;
$this -> blocks = [
'title' => [ $this , 'block_title' ],
'stylesheets' => [ $this , 'block_stylesheets' ],
'bodyClass' => [ $this , 'block_bodyClass' ],
'header' => [ $this , 'block_header' ],
'body' => [ $this , 'block_body' ],
'footer' => [ $this , 'block_footer' ],
'javascripts' => [ $this , 'block_javascripts' ],
];
}
protected function doDisplay (array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "base.html.twig" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "base.html.twig" ));
// line 1
echo "<!doctype html>
<html lang=\"";
// line 2
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "app" ]) || array_key_exists ( "app" , $context ) ? $context [ "app" ] : (function () { throw new RuntimeError ( 'Variable "app" does not exist.' , 2 , $this -> source ); })()), "request" , [], "any" , false , false , false , 2 ), "locale" , [], "any" , false , false , false , 2 ), "html" , null , true );
echo "\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\"
content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">
<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
<title>";
// line 9
$this -> displayBlock ( 'title' , $context , $blocks );
echo " | " ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "brandService" ]) || array_key_exists ( "brandService" , $context ) ? $context [ "brandService" ] : (function () { throw new RuntimeError ( 'Variable "brandService" does not exist.' , 9 , $this -> source ); })()), "brand" , [], "any" , false , false , false , 9 ), "name" , [], "any" , false , false , false , 9 ), "html" , null , true );
echo "</title>
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 11
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl (( "build/images/" . twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "brandService" ]) || array_key_exists ( "brandService" , $context ) ? $context [ "brandService" ] : (function () { throw new RuntimeError ( 'Variable "brandService" does not exist.' , 11 , $this -> source ); })()), "brand" , [], "any" , false , false , false , 11 ), "favicon" , [], "any" , false , false , false , 11 ))), "html" , null , true );
echo "\"/>
";
// line 13
$this -> displayBlock ( 'stylesheets' , $context , $blocks );
// line 17
echo "</head>
<body class=\"d-flex flex-column ";
// line 18
echo ((( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "app" ]) || array_key_exists ( "app" , $context ) ? $context [ "app" ] : (function () { throw new RuntimeError ( 'Variable "app" does not exist.' , 18 , $this -> source ); })()), "environment" , [], "any" , false , false , false , 18 ) == "dev" )) ? ( "dev-warning" ) : ( "" ));
echo " " ;
$this -> displayBlock ( 'bodyClass' , $context , $blocks );
echo "\">
";
// line 19
$this -> displayBlock ( 'header' , $context , $blocks );
// line 22
echo "<div class=\"container pb-5\">
";
// line 23
$this -> displayBlock ( 'body' , $context , $blocks );
// line 24
echo "</div>
";
// line 26
$this -> displayBlock ( 'footer' , $context , $blocks );
// line 29
echo "
<div class=\"modal fade\" id=\"async-modal\" aria-labelledby=\"async-modal\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header d-none\">
<h5 class=\"modal-title color-text h2\" id=\"exampleModalLabel\"></h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"X\"></button>
</div>
<div class=\"spinner d-flex justify-content-center p-5\">
<style>
.lds-ring {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid #1c1c1c;
border-radius: 50%;
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #1c1c1c transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<div class=\"lds-ring\">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<div class=\"modal-body d-none\"></div>
<div class=\"modal-footer d-flex d-none\">
<button type=\"button\" class=\"annulation-btn\" data-bs-dismiss=\"modal\">";
// line 92
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\TranslationExtension' ]-> trans ( "app.common.buttons.cancel" ), "html" , null , true );
echo "</button>
<div class=\"button-group\"></div>
</div>
</div>
</div>
</div>
";
// line 99
$this -> displayBlock ( 'javascripts' , $context , $blocks );
// line 105
echo "</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
// line 9
public function block_title ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "title" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "title" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 13
public function block_stylesheets ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "stylesheets" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "stylesheets" ));
// line 14
echo " " ;
echo $this -> extensions [ 'Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension' ]-> renderWebpackLinkTags ( "app" );
echo "
";
// line 15
echo $this -> extensions [ 'Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension' ]-> renderWebpackLinkTags ( twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "brandService" ]) || array_key_exists ( "brandService" , $context ) ? $context [ "brandService" ] : (function () { throw new RuntimeError ( 'Variable "brandService" does not exist.' , 15 , $this -> source ); })()), "brand" , [], "any" , false , false , false , 15 ), "stylesheet" , [], "any" , false , false , false , 15 ));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 18
public function block_bodyClass ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "bodyClass" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "bodyClass" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 19
public function block_header ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "header" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "header" ));
// line 20
echo " " ;
$this -> loadTemplate ( "includes/header.html.twig" , "base.html.twig" , 20 )-> display ( $context );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 23
public function block_body ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "body" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "body" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 26
public function block_footer ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "footer" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "footer" ));
// line 27
echo " " ;
$this -> loadTemplate ( "includes/footer.html.twig" , "base.html.twig" , 27 )-> display ( $context );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 99
public function block_javascripts ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "javascripts" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "javascripts" ));
// line 100
echo " " ;
echo $this -> extensions [ 'Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension' ]-> renderWebpackScriptTags ( "app" );
echo "
";
// line 101
if ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "discountBannerService" ]) || array_key_exists ( "discountBannerService" , $context ) ? $context [ "discountBannerService" ] : (function () { throw new RuntimeError ( 'Variable "discountBannerService" does not exist.' , 101 , $this -> source ); })()), "active" , [ twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "discountBannerService" ]) || array_key_exists ( "discountBannerService" , $context ) ? $context [ "discountBannerService" ] : (function () { throw new RuntimeError ( 'Variable "discountBannerService" does not exist.' , 101 , $this -> source ); })()), "banner" , [], "any" , false , false , false , 101 )], "method" , false , false , false , 101 )) {
// line 102
echo " " ;
echo $this -> extensions [ 'Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension' ]-> renderWebpackScriptTags ( "discount-banner" );
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
public function getTemplateName ()
{
return "base.html.twig" ;
}
public function isTraitable ()
{
return false ;
}
public function getDebugInfo ()
{
return array ( 327 => 102 , 325 => 101 , 320 => 100 , 310 => 99 , 299 => 27 , 289 => 26 , 271 => 23 , 260 => 20 , 250 => 19 , 232 => 18 , 220 => 15 , 215 => 14 , 205 => 13 , 187 => 9 , 176 => 105 , 174 => 99 , 164 => 92 , 99 => 29 , 97 => 26 , 93 => 24 , 91 => 23 , 88 => 22 , 86 => 19 , 80 => 18 , 77 => 17 , 75 => 13 , 70 => 11 , 63 => 9 , 53 => 2 , 50 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "<!doctype html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\"
content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">
<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
<title>{% block title %}{% endblock %} | {{ brandService.brand.name }}</title>
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('build/images/' ~ brandService.brand.favicon) }}\"/>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{{ encore_entry_link_tags(brandService.brand.stylesheet) }}
{% endblock %}
</head>
<body class=\"d-flex flex-column {{ app.environment == 'dev' ? 'dev-warning' : '' }} {% block bodyClass %}{% endblock %}\">
{% block header %}
{% include 'includes/header.html.twig' %}
{% endblock %}
<div class=\"container pb-5\">
{% block body %}{% endblock %}
</div>
{% block footer %}
{% include 'includes/footer.html.twig' %}
{% endblock %}
<div class=\"modal fade\" id=\"async-modal\" aria-labelledby=\"async-modal\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header d-none\">
<h5 class=\"modal-title color-text h2\" id=\"exampleModalLabel\"></h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"X\"></button>
</div>
<div class=\"spinner d-flex justify-content-center p-5\">
<style>
.lds-ring {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid #1c1c1c;
border-radius: 50%;
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #1c1c1c transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<div class=\"lds-ring\">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<div class=\"modal-body d-none\"></div>
<div class=\"modal-footer d-flex d-none\">
<button type=\"button\" class=\"annulation-btn\" data-bs-dismiss=\"modal\">{{ 'app.common.buttons.cancel'|trans }}</button>
<div class=\"button-group\"></div>
</div>
</div>
</div>
</div>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% if discountBannerService.active(discountBannerService.banner) %}
{{ encore_entry_script_tags('discount-banner') }}
{% endif %}
{% endblock %}
</body>
</html>", "base.html.twig" , "/home/pastorz/old-espace-client/templates/base.html.twig" );
}
}