<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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_0071048158fe1359bb31d9ad6aabdb8e6536351de12415d1afb3bd3200c647c4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'lang' => [$this, 'block_lang'],
'title' => [$this, 'block_title'],
'description' => [$this, 'block_description'],
'favicon' => [$this, 'block_favicon'],
'stylesheets' => [$this, 'block_stylesheets'],
'bodyExtraClass' => [$this, 'block_bodyExtraClass'],
'body' => [$this, 'block_body'],
'bottom_action_class' => [$this, 'block_bottom_action_class'],
'javascripts' => [$this, 'block_javascripts'],
'extra_javascripts' => [$this, 'block_extra_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
$context["_bottomActionBlock"] = $this->unwrap()->renderBlock("bottom_action", $context, $blocks);
// line 2
yield "
<!DOCTYPE html>
<html lang=\"";
// line 5
yield from $this->unwrap()->yieldBlock('lang', $context, $blocks);
yield "\">
<head>
<meta charset=\"utf-8\"/>
<title>";
// line 8
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
<meta name=\"description\" content=\"";
// line 9
yield from $this->unwrap()->yieldBlock('description', $context, $blocks);
yield "\"/>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
";
// line 15
yield "
<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
<meta name=\"apple-mobile-web-app-status-barstyle\" content=\"black-translucent\">
<link rel=\"apple-touch-icon-precomposed\" href=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/appIcons/logo303.png"), "html", null, true);
yield "\">
<link rel=\"apple-touch-icon-precomposed\" sizes=\"120x120\"
href=\"";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/appIcons/logo120.png"), "html", null, true);
yield "\">
<meta name=\"apple-mobile-web-app-title\" content=\"Prestachef\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"msapplication-navbutton-color\" content=\"#ffffff\">
<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"#ffffff\">
<!-- for Chrome on Android, multi-resolution icon of 196x196 -->
<meta name=\"mobile-web-app-capable\" content=\"yes\">
";
// line 29
yield from $this->unwrap()->yieldBlock('favicon', $context, $blocks);
// line 32
yield "
<link rel=\"manifest\" href=\"";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/manifest.json"), "html", null, true);
yield "\">
";
// line 35
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 38
yield "
<script src=\"https://kit.fontawesome.com/dce6251235.js\" crossorigin=\"anonymous\"></script>
<!-- Analytics FTW -->
<script>
window.dataLayer = window.dataLayer || [];
</script>
<!-- Google Tag Manager -->
";
// line 46
if ( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted((isset($context["ga_disabled_roles"]) || array_key_exists("ga_disabled_roles", $context) ? $context["ga_disabled_roles"] : (function () { throw new RuntimeError('Variable "ga_disabled_roles" does not exist.', 46, $this->source); })()))) {
// line 47
yield " <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer', '";
// line 51
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["gtm_tracking"]) || array_key_exists("gtm_tracking", $context) ? $context["gtm_tracking"] : (function () { throw new RuntimeError('Variable "gtm_tracking" does not exist.', 51, $this->source); })()), "html", null, true);
yield "');</script>
";
}
// line 53
yield " <!-- End Google Tag Manager -->
</head>
<body
";
// line 57
if (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 57, $this->source); })()), "entity", [], "any", false, false, false, 57)) && !CoreExtension::getAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 57, $this->source); })()), "isImpersonated", [], "any", false, false, false, 57))) {
// line 58
yield " apphelper__userid=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 58, $this->source); })()), "entity", [], "any", false, false, false, 58), "id", [], "any", false, false, false, 58), "html", null, true);
yield "\"
";
}
// line 60
yield " class=\"";
yield from $this->unwrap()->yieldBlock('bodyExtraClass', $context, $blocks);
yield " ";
if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["_bottomActionBlock"]) || array_key_exists("_bottomActionBlock", $context) ? $context["_bottomActionBlock"] : (function () { throw new RuntimeError('Variable "_bottomActionBlock" does not exist.', 60, $this->source); })()))) {
yield "withBottomAction";
}
yield " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
yield "withImpersonate";
}
yield "\"
";
// line 61
if (CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 61)) {
// line 62
yield " ";
$context["crispInfos"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 62, $this->source); })()), "getCurrentUserCrispInfos", [], "any", false, false, false, 62);
// line 63
yield " ";
if (array_key_exists("crispInfos", $context)) {
// line 64
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["crispInfos"] ?? null), "username", [], "any", true, true, false, 64)) {
// line 65
yield " data-username=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["crispInfos"]) || array_key_exists("crispInfos", $context) ? $context["crispInfos"] : (function () { throw new RuntimeError('Variable "crispInfos" does not exist.', 65, $this->source); })()), "username", [], "any", false, false, false, 65), "html", null, true);
yield "\"
";
}
// line 67
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["crispInfos"] ?? null), "useremail", [], "any", true, true, false, 67)) {
// line 68
yield " data-useremail=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["crispInfos"]) || array_key_exists("crispInfos", $context) ? $context["crispInfos"] : (function () { throw new RuntimeError('Variable "crispInfos" does not exist.', 68, $this->source); })()), "useremail", [], "any", false, false, false, 68), "html", null, true);
yield "\"
";
}
// line 70
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["crispInfos"] ?? null), "shopname", [], "any", true, true, false, 70)) {
// line 71
yield " data-shopname=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["crispInfos"]) || array_key_exists("crispInfos", $context) ? $context["crispInfos"] : (function () { throw new RuntimeError('Variable "crispInfos" does not exist.', 71, $this->source); })()), "shopname", [], "any", false, false, false, 71), "html", null, true);
yield "\"
";
}
// line 73
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["crispInfos"] ?? null), "shopid", [], "any", true, true, false, 73)) {
// line 74
yield " data-shopurl=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("malys_admin_customer_show", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["crispInfos"]) || array_key_exists("crispInfos", $context) ? $context["crispInfos"] : (function () { throw new RuntimeError('Variable "crispInfos" does not exist.', 74, $this->source); })()), "shopid", [], "any", false, false, false, 74)]), "html", null, true);
yield "\"
";
}
// line 76
yield " ";
}
// line 77
yield "
data-gae_crisp-trigger=\"click\"
data-gae_crisp-category=\"";
// line 79
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["gae"]) || array_key_exists("gae", $context) ? $context["gae"] : (function () { throw new RuntimeError('Variable "gae" does not exist.', 79, $this->source); })()), "refs", [], "any", false, false, false, 79), "assistanceCategory", [], "any", false, false, false, 79), "html", null, true);
yield "\"
data-gae_crisp-action=\"";
// line 80
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["gae"]) || array_key_exists("gae", $context) ? $context["gae"] : (function () { throw new RuntimeError('Variable "gae" does not exist.', 80, $this->source); })()), "refs", [], "any", false, false, false, 80), "closeSupportAction", [], "any", false, false, false, 80), "html", null, true);
yield "\"
data-gae_crisp-label=\"";
// line 81
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 81, $this->source); })()), "request", [], "any", false, false, false, 81), "uri", [], "any", false, false, false, 81), "html", null, true);
yield "\"
";
}
// line 83
yield ">
";
// line 85
yield from $this->loadTemplate("front/svg.html", "base.html.twig", 85)->unwrap()->yield($context);
// line 86
yield "
<div class=\"fullScreenLoader fullScreenLoader--hidden align-items-center justify-content-center \">
<div class=\"spinner spinner-primary\"></div>
</div>
";
// line 91
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 92
yield "
";
// line 93
if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["_bottomActionBlock"]) || array_key_exists("_bottomActionBlock", $context) ? $context["_bottomActionBlock"] : (function () { throw new RuntimeError('Variable "_bottomActionBlock" does not exist.', 93, $this->source); })()))) {
// line 94
yield " <div class=\"bottomActionShell ";
yield from $this->unwrap()->yieldBlock('bottom_action_class', $context, $blocks);
yield "\">
<div class=\"container\">
";
// line 96
yield (isset($context["_bottomActionBlock"]) || array_key_exists("_bottomActionBlock", $context) ? $context["_bottomActionBlock"] : (function () { throw new RuntimeError('Variable "_bottomActionBlock" does not exist.', 96, $this->source); })());
yield "
</div>
</div>
";
}
// line 100
yield "
";
// line 102
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 120
yield from $this->unwrap()->yieldBlock('extra_javascripts', $context, $blocks);
// line 121
yield "
";
// line 123
yield from $this->loadTemplate("front/common/appModal.html.twig", "base.html.twig", 123)->unwrap()->yield($context);
// line 124
yield from $this->loadTemplate("front/common/appConfirm.html.twig", "base.html.twig", 124)->unwrap()->yield($context);
// line 125
yield "</body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src=\"https://www.googletagmanager.com/ns.html?id=";
// line 128
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["gtm_tracking"]) || array_key_exists("gtm_tracking", $context) ? $context["gtm_tracking"] : (function () { throw new RuntimeError('Variable "gtm_tracking" does not exist.', 128, $this->source); })()), "html", null, true);
yield "\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
</html>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
// line 5
public function block_lang($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lang"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lang"));
yield "fr";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 8
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Prestachef";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 9
public function block_description($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 29
public function block_favicon($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
// line 30
yield " <link rel=\"icon\" type=\"image/png\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/favicon.png"), "html", null, true);
yield "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 35
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 36
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("frontstyles");
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 60
public function block_bodyExtraClass($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyExtraClass"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyExtraClass"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 91
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 94
public function block_bottom_action_class($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottom_action_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottom_action_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 102
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 103
yield "
";
// line 104
yield from $this->loadTemplate("front/common/js.html.twig", "base.html.twig", 104)->unwrap()->yield($context);
// line 105
yield "
<script type=\"text/javascript\" id=\"zsiqchat\">var \$zoho=\$zoho || {};\$zoho.salesiq = \$zoho.salesiq || {widgetcode: \"";
// line 107
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["zoho_sales_iq_widget_code"]) || array_key_exists("zoho_sales_iq_widget_code", $context) ? $context["zoho_sales_iq_widget_code"] : (function () { throw new RuntimeError('Variable "zoho_sales_iq_widget_code" does not exist.', 107, $this->source); })()), "html", null, true);
yield "\", values:{},ready:function(){}};var d=document;s=d.createElement(\"script\");s.type=\"text/javascript\";s.id=\"zsiqscript\";s.defer=true;s.src=\"https://salesiq.zoho.eu/widget\";t=d.getElementsByTagName(\"script\")[0];t.parentNode.insertBefore(s,t);</script>
<script type=\"text/javascript\">
";
// line 110
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 110, $this->source); })()), "modifyingOrder", [], "any", false, false, false, 110)) {
// line 111
yield " window.modifyingOrder = true;
window.supplierId = ";
// line 112
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 112, $this->source); })()), "entity", [], "any", false, false, false, 112), "orderToModify", [], "any", false, false, false, 112), "supplier", [], "any", false, false, false, 112), "id", [], "any", false, false, false, 112), "html", null, true);
yield ";
";
} else {
// line 114
yield " window.modifyingOrder = false;
";
}
// line 116
yield " </script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 120
public function block_extra_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 513 => 120, 499 => 116, 495 => 114, 490 => 112, 487 => 111, 485 => 110, 479 => 107, 475 => 105, 473 => 104, 470 => 103, 460 => 102, 441 => 94, 422 => 91, 403 => 60, 389 => 36, 379 => 35, 365 => 30, 355 => 29, 336 => 9, 316 => 8, 296 => 5, 280 => 128, 275 => 125, 273 => 124, 271 => 123, 267 => 121, 265 => 120, 263 => 102, 259 => 100, 252 => 96, 246 => 94, 244 => 93, 241 => 92, 239 => 91, 232 => 86, 230 => 85, 226 => 83, 221 => 81, 217 => 80, 213 => 79, 209 => 77, 206 => 76, 200 => 74, 197 => 73, 191 => 71, 188 => 70, 182 => 68, 179 => 67, 173 => 65, 170 => 64, 167 => 63, 164 => 62, 162 => 61, 149 => 60, 143 => 58, 141 => 57, 135 => 53, 130 => 51, 124 => 47, 122 => 46, 112 => 38, 110 => 35, 105 => 33, 102 => 32, 100 => 29, 88 => 20, 83 => 18, 78 => 15, 71 => 9, 67 => 8, 61 => 5, 56 => 2, 54 => 1,);
}
public function getSourceContext()
{
return new Source("{% set _bottomActionBlock = block('bottom_action') %}
<!DOCTYPE html>
<html lang=\"{% block lang %}fr{% endblock %}\">
<head>
<meta charset=\"utf-8\"/>
<title>{% block title %}Prestachef{% endblock %}</title>
<meta name=\"description\" content=\"{% block description %}{% endblock %}\"/>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
{# <meta http-equiv=\"Content-Security-Policy\" content=\"default-src 'self'\">#}
{# <meta http-equiv=\"Content-Security-Policy\" content=\"script-src http://*\">#}
<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
<meta name=\"apple-mobile-web-app-status-barstyle\" content=\"black-translucent\">
<link rel=\"apple-touch-icon-precomposed\" href=\"{{ asset('assets/front/images/appIcons/logo303.png') }}\">
<link rel=\"apple-touch-icon-precomposed\" sizes=\"120x120\"
href=\"{{ asset('assets/front/images/appIcons/logo120.png') }}\">
<meta name=\"apple-mobile-web-app-title\" content=\"Prestachef\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"msapplication-navbutton-color\" content=\"#ffffff\">
<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"#ffffff\">
<!-- for Chrome on Android, multi-resolution icon of 196x196 -->
<meta name=\"mobile-web-app-capable\" content=\"yes\">
{% block favicon %}
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('assets/front/images/favicon.png') }}\">
{% endblock %}
<link rel=\"manifest\" href=\"{{ asset('/manifest.json') }}\">
{% block stylesheets %}
{{ encore_entry_link_tags('frontstyles') }}
{% endblock %}
<script src=\"https://kit.fontawesome.com/dce6251235.js\" crossorigin=\"anonymous\"></script>
<!-- Analytics FTW -->
<script>
window.dataLayer = window.dataLayer || [];
</script>
<!-- Google Tag Manager -->
{% if not is_granted(ga_disabled_roles) %}
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer', '{{ gtm_tracking }}');</script>
{% endif %}
<!-- End Google Tag Manager -->
</head>
<body
{% if user.entity is not empty and not user.isImpersonated %}
apphelper__userid=\"{{ user.entity.id }}\"
{% endif %}
class=\"{% block bodyExtraClass %}{% endblock %} {% if _bottomActionBlock is not empty %}withBottomAction{% endif %} {% if is_granted('ROLE_PREVIOUS_ADMIN') %}withImpersonate{% endif %}\"
{% if app.user is defined %}
{% set crispInfos = user.getCurrentUserCrispInfos %}
{% if crispInfos is defined %}
{% if crispInfos.username is defined %}
data-username=\"{{ crispInfos.username }}\"
{% endif %}
{% if crispInfos.useremail is defined %}
data-useremail=\"{{ crispInfos.useremail }}\"
{% endif %}
{% if crispInfos.shopname is defined %}
data-shopname=\"{{ crispInfos.shopname }}\"
{% endif %}
{% if crispInfos.shopid is defined %}
data-shopurl=\"{{ url('malys_admin_customer_show', {'id': crispInfos.shopid}) }}\"
{% endif %}
{% endif %}
data-gae_crisp-trigger=\"click\"
data-gae_crisp-category=\"{{ gae.refs.assistanceCategory }}\"
data-gae_crisp-action=\"{{ gae.refs.closeSupportAction }}\"
data-gae_crisp-label=\"{{ app.request.uri }}\"
{% endif %}
>
{% include \"front/svg.html\" %}
<div class=\"fullScreenLoader fullScreenLoader--hidden align-items-center justify-content-center \">
<div class=\"spinner spinner-primary\"></div>
</div>
{% block body %}{% endblock %}
{% if _bottomActionBlock is not empty %}
<div class=\"bottomActionShell {% block bottom_action_class %}{% endblock %}\">
<div class=\"container\">
{{ _bottomActionBlock|raw }}
</div>
</div>
{% endif %}
{% block javascripts %}
{% include \"front/common/js.html.twig\" %}
<script type=\"text/javascript\" id=\"zsiqchat\">var \$zoho=\$zoho || {};\$zoho.salesiq = \$zoho.salesiq || {widgetcode: \"{{ zoho_sales_iq_widget_code }}\", values:{},ready:function(){}};var d=document;s=d.createElement(\"script\");s.type=\"text/javascript\";s.id=\"zsiqscript\";s.defer=true;s.src=\"https://salesiq.zoho.eu/widget\";t=d.getElementsByTagName(\"script\")[0];t.parentNode.insertBefore(s,t);</script>
<script type=\"text/javascript\">
{% if cart.modifyingOrder %}
window.modifyingOrder = true;
window.supplierId = {{cart.entity.orderToModify.supplier.id}};
{% else %}
window.modifyingOrder = false;
{% endif %}
</script>
{% endblock %}
{% block extra_javascripts %}{% endblock %}
{% include \"front/common/appModal.html.twig\" %}
{% include \"front/common/appConfirm.html.twig\" %}
</body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_tracking }}\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
</html>", "base.html.twig", "/var/www/malys/templates/base.html.twig");
}
}