<?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;
/* layout.html.twig */
class __TwigTemplate_10741f18558dde68229af6e72c3f20b6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'head_stylesheets_footer' => [$this, 'block_head_stylesheets_footer'],
'content' => [$this, 'block_content'],
'headscripts' => [$this, 'block_headscripts'],
'inlinescripts' => [$this, 'block_inlinescripts'],
'snippetscripts' => [$this, 'block_snippetscripts'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
$this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
}
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", "layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout.html.twig"));
// line 1
echo "
<!DOCTYPE html>
<html dir=\"ltr\" lang=\"";
// line 3
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 3, $this->source); })()), "request", [], "any", false, false, true, 3), "locale", [], "any", false, false, true, 3), 3, $this->source), "html", null, true);
echo "\">
<head>
";
// line 7
$this->loadTemplate("head/metas.html.twig", "layout.html.twig", 7)->display($context);
// line 8
echo "
";
// line 9
if ( !$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide")) {
// line 10
echo " ";
$this->loadTemplate("head/cookiebot-head.html.twig", "layout.html.twig", 10)->display($context);
// line 11
echo " ";
}
// line 12
echo "
";
// line 20
echo " ";
ob_start();
// line 21
echo " ";
// line 22
echo " ";
// line 23
echo "
";
// line 24
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/uikit-3.5.7.min.css")], "method", false, false, true, 24);
// line 25
echo " ";
// line 26
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/application.min.css")], "method", false, false, true, 26);
// line 27
echo " ";
// line 28
echo "
";
// line 29
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/uikit-3.5.7.min.js")], "method", false, false, true, 29);
// line 30
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/jquery-3.5.1.min.js")], "method", false, false, true, 30);
// line 31
echo " ";
// line 32
echo "
";
// line 33
if ( !$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("jQueryMinify")) {
// line 34
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/apik.js")], "method", false, false, true, 34);
// line 35
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/main.js")], "method", false, false, true, 35);
// line 36
echo " ";
} else {
// line 37
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/minified/apik.min.js")], "method", false, false, true, 37);
// line 38
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/minified/main.min.js")], "method", false, false, true, 38);
// line 39
echo " ";
}
// line 40
echo " ";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 20
echo twig_spaceless($___internal_parse_0_);
// line 41
echo "
<script>
!function(e,r){try{if(e.vector)return void console.log(\"Vector snippet included more than once.\");var t={};t.q=t.q||[];for(var o=[\"load\",\"identify\",\"on\"],n=function(e){return function(){var r=Array.prototype.slice.call(arguments);t.q.push([e,r])}},c=0;c<o.length;c++){var a=o[c];t[a]=n(a)}if(e.vector=t,!t.loaded){var i=r.createElement(\"script\");i.type=\"text/javascript\",i.async=!0,i.src=\"https://cdn.vector.co/pixel.js\";var l=r.getElementsByTagName(\"script\")[0];l.parentNode.insertBefore(i,l),t.loaded=!0}}catch(e){console.error(\"Error loading Vector:\",e)}}(window,document);
vector.load(\"e49f78cb-e082-46c3-b788-22a33d8c4609\");
</script>
";
// line 48
echo "
";
// line 49
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 52
echo "
";
// line 54
echo "
";
// line 55
$this->displayBlock('head_stylesheets_footer', $context, $blocks);
// line 58
echo "
";
// line 59
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 59, $this->source); })()))) {
// line 60
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 61
echo " ";
}
// line 62
echo "
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
<link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
<meta name=\"msapplication-TileColor\" content=\"#2d89ef\">
<meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
<meta name=\"theme-color\" content=\"#ffffff\">
<script>
window.clTrackerConfig = {
endpoint: \"https://px.personsync.com/tracking/\",
clientId: \"b27791ca-ed31-46ed-b17a-ed9eb76fda86\",
};
// Load the tracker script
(function() {
var script = document.createElement('script');
script.src = \"https://px.personsync.com/dist/tracker.js\";
document.head.appendChild(script);
})();
</script>
</head>
<body class=\"";
// line 89
echo (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 89, $this->source); })())) ? ("apk-cms-pimcore") : (""));
echo "\">
";
// line 93
if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your website name") == "Your website name")) {
// line 94
echo " ";
echo "<p class=\"uk-alert-danger\" uk-alert>Attention, n'oubliez pas de traduire 'Your website name' et les autres chaines de traduction via Tools > Translations > Shared Translation.</p>";
echo "
";
}
// line 96
if ( !twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 96, $this->source); })()), "hasProperty", [0 => "politiqueDeConfidentialite"], "method", false, false, true, 96)) {
// line 97
echo " ";
echo "<p class=\"uk-alert-danger\" uk-alert>Attention, n'oubliez pas de créer la propriété 'politiqueDeConfidentialite' (type Document) à la racine du site et de la faire pointer vers la page Politique de confidentialité (pour le bandeau des cookies).</p>";
echo "
";
}
// line 99
echo "
";
// line 101
$this->loadTemplate("includes/header.html.twig", "layout.html.twig", 101)->display($context);
// line 102
echo "
";
// line 104
$this->loadTemplate("includes/breadcrumbs.html.twig", "layout.html.twig", 104)->display($context);
// line 105
echo "
";
// line 106
$this->displayBlock('content', $context, $blocks);
// line 107
echo "
";
// line 109
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 109, $this->source); })())) {
// line 110
echo " ";
$context["footer"] = $this->env->getFunction('pimcore_inc')->getCallable()((("/" . $this->sandbox->ensureToStringAllowed(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.', 110, $this->source); })()), "request", [], "any", false, false, true, 110), "locale", [], "any", false, false, true, 110), 110, $this->source)) . "/Snippets/footer"));
// line 111
echo " ";
if ((isset($context["footer"]) || array_key_exists("footer", $context) ? $context["footer"] : (function () { throw new RuntimeError('Variable "footer" does not exist.', 111, $this->source); })())) {
// line 112
echo " ";
echo $this->sandbox->ensureToStringAllowed((isset($context["footer"]) || array_key_exists("footer", $context) ? $context["footer"] : (function () { throw new RuntimeError('Variable "footer" does not exist.', 112, $this->source); })()), 112, $this->source);
echo "
";
} else {
// line 114
echo " ";
echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>";
echo "
";
}
}
// line 117
echo "
";
// line 119
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 119, $this->source); })())) {
// line 120
echo " ";
$context["modalCaseStudy"] = $this->env->getFunction('pimcore_inc')->getCallable()((("/" . $this->sandbox->ensureToStringAllowed(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.', 120, $this->source); })()), "request", [], "any", false, false, true, 120), "locale", [], "any", false, false, true, 120), 120, $this->source)) . "/Snippets/modal-form-case-study"));
// line 121
echo " ";
if ((isset($context["modalCaseStudy"]) || array_key_exists("modalCaseStudy", $context) ? $context["modalCaseStudy"] : (function () { throw new RuntimeError('Variable "modalCaseStudy" does not exist.', 121, $this->source); })())) {
// line 122
echo " ";
echo $this->sandbox->ensureToStringAllowed((isset($context["modalCaseStudy"]) || array_key_exists("modalCaseStudy", $context) ? $context["modalCaseStudy"] : (function () { throw new RuntimeError('Variable "modalCaseStudy" does not exist.', 122, $this->source); })()), 122, $this->source);
echo "
";
} else {
// line 124
echo " ";
echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre modal-form-case-study dans un snippet</p>";
echo "
";
}
}
// line 127
echo "
";
// line 129
$this->displayBlock('headscripts', $context, $blocks);
// line 132
echo "
";
// line 134
$this->displayBlock('inlinescripts', $context, $blocks);
// line 137
echo "
";
// line 139
$this->displayBlock('snippetscripts', $context, $blocks);
// line 142
echo "
<script>
/*window.addEventListener(\"load\", function () {
window.cookieconsent.initialise({
\"palette\": {
\"popup\": {
\"text\": \"#ffffff\",
\"background\": \"#682D82\",
},
\"button\": {
\"text\": \"#682D82\",
\"background\": \"#ffffff\",
}
},
\"content\": {
\"message\": \"";
// line 157
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nous utilisons des cookies et d'autres technologies pour assurer à tous les utilisateurs de ce site internet la meilleure expérience possible."), "html", null, true);
echo " ";
echo "En accédant à ce site, vous acceptez notre politique de cookies.";
echo "\",
\"dismiss\": \"";
// line 158
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("j'accepte"), "html", null, true);
echo "\",
\"link\": \"";
// line 159
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En savoir plus"), "html", null, true);
echo "\",
\"href\": \"";
// line 160
if (twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 160, $this->source); })()), "getProperty", [0 => "politiqueDeConfidentialite"], "method", false, false, true, 160)) {
echo " ";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 160, $this->source); })()), "getProperty", [0 => "politiqueDeConfidentialite"], "method", false, false, true, 160), 160, $this->source), "html", null, true);
echo " ";
}
echo "\"
}
})
});*/
</script>
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_head_stylesheets($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets');
}
// line 49
public function block_head_stylesheets_deferred($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", "head_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 50
echo " ";
echo $this->env->getFunction('pimcore_head_link')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_head_stylesheets_footer($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets_footer');
}
// line 55
public function block_head_stylesheets_footer_deferred($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", "head_stylesheets_footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets_footer"));
// line 56
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
// line 106
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 129
public function block_headscripts($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", "headscripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
// line 130
echo " ";
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 134
public function block_inlinescripts($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", "inlinescripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
// line 135
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 139
public function block_snippetscripts($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", "snippetscripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "snippetscripts"));
// line 140
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 481 => 140, 471 => 139, 460 => 135, 450 => 134, 437 => 130, 427 => 129, 409 => 106, 397 => 56, 387 => 55, 368 => 50, 358 => 49, 329 => 160, 325 => 159, 321 => 158, 315 => 157, 298 => 142, 296 => 139, 292 => 137, 290 => 134, 286 => 132, 284 => 129, 281 => 127, 274 => 124, 268 => 122, 265 => 121, 262 => 120, 260 => 119, 257 => 117, 250 => 114, 244 => 112, 241 => 111, 238 => 110, 236 => 109, 233 => 107, 231 => 106, 228 => 105, 226 => 104, 223 => 102, 221 => 101, 218 => 99, 212 => 97, 210 => 96, 204 => 94, 202 => 93, 197 => 89, 168 => 62, 165 => 61, 162 => 60, 160 => 59, 157 => 58, 155 => 55, 152 => 54, 149 => 52, 147 => 49, 144 => 48, 136 => 41, 134 => 20, 131 => 40, 128 => 39, 125 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 111 => 33, 108 => 32, 106 => 31, 103 => 30, 101 => 29, 98 => 28, 96 => 27, 93 => 26, 91 => 25, 89 => 24, 86 => 23, 84 => 22, 82 => 21, 79 => 20, 76 => 12, 73 => 11, 70 => 10, 68 => 9, 65 => 8, 63 => 7, 56 => 3, 52 => 1,);
}
public function getSourceContext()
{
return new Source("
<!DOCTYPE html>
<html dir=\"ltr\" lang=\"{{ app.request.locale }}\">
<head>
{% include \"head/metas.html.twig\" %}
{% if not pimcore_website_config('cookiebotHide') %}
{% include \"head/cookiebot-head.html.twig\" %}
{% endif %}
{#
Enregistre la liste des fichiers CSS et JS
Attention:
Veillez à mettre à jour les adresses ci-dessous en remplacant la version par la dernière version disponible (jQuery,
Uikit, FontAwesome,...), et ce pour tous les fichiers layout[...].html.twig !
#}
{% apply spaceless %}
{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
{# we use the view helper to have cache buster functionality #}
{% do pimcore_head_link().appendStylesheet(asset('/static/css/uikit-3.5.7.min.css')) %}
{#% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %#}
{% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
{#% do pimcore_head_link().appendStylesheet(asset('/static/css/custom.css')) %#}
{% do pimcore_head_script().appendFile(asset('/static/js/uikit-3.5.7.min.js')) %}
{% do pimcore_head_script().appendFile(asset('/static/js/jquery-3.5.1.min.js')) %}
{#% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %#}
{% if not pimcore_website_config('jQueryMinify') %}
{% do pimcore_head_script().appendFile(asset('/static/js/apik.js')) %}
{% do pimcore_head_script().appendFile(asset('/static/js/main.js')) %}
{% else %}
{% do pimcore_head_script().appendFile(asset('/static/js/minified/apik.min.js')) %}
{% do pimcore_head_script().appendFile(asset('/static/js/minified/main.min.js')) %}
{% endif %}
{% endapply %}
<script>
!function(e,r){try{if(e.vector)return void console.log(\"Vector snippet included more than once.\");var t={};t.q=t.q||[];for(var o=[\"load\",\"identify\",\"on\"],n=function(e){return function(){var r=Array.prototype.slice.call(arguments);t.q.push([e,r])}},c=0;c<o.length;c++){var a=o[c];t[a]=n(a)}if(e.vector=t,!t.loaded){var i=r.createElement(\"script\");i.type=\"text/javascript\",i.async=!0,i.src=\"https://cdn.vector.co/pixel.js\";var l=r.getElementsByTagName(\"script\")[0];l.parentNode.insertBefore(i,l),t.loaded=!0}}catch(e){console.error(\"Error loading Vector:\",e)}}(window,document);
vector.load(\"e49f78cb-e082-46c3-b788-22a33d8c4609\");
</script>
{# Affiche les styles CSS personnalisés pour toutes les pages #}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
{# Affiche les styles CSS personnalisés propres au footer #}
{% block head_stylesheets_footer deferred %}
{% endblock %}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
<link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
<meta name=\"msapplication-TileColor\" content=\"#2d89ef\">
<meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
<meta name=\"theme-color\" content=\"#ffffff\">
<script>
window.clTrackerConfig = {
endpoint: \"https://px.personsync.com/tracking/\",
clientId: \"b27791ca-ed31-46ed-b17a-ed9eb76fda86\",
};
// Load the tracker script
(function() {
var script = document.createElement('script');
script.src = \"https://px.personsync.com/dist/tracker.js\";
document.head.appendChild(script);
})();
</script>
</head>
<body class=\"{{ editmode ? \"apk-cms-pimcore\" : \"\" }}\">
{# Vérifie si \"Your website name\" a bien été traduit. Si non, on affiche un message d'erreur #}
{# Attention, il ne faut pas renommer le nom du site ici... Il faut le renommer dans les Shared Translations! #}
{% if \"Your website name\"|trans == \"Your website name\" %}
{{ '<p class=\"uk-alert-danger\" uk-alert>Attention, n\\'oubliez pas de traduire \\'Your website name\\' et les autres chaines de traduction via Tools > Translations > Shared Translation.</p>' }}
{% endif %}
{% if not document.hasProperty('politiqueDeConfidentialite') %}
{{ '<p class=\"uk-alert-danger\" uk-alert>Attention, n\\'oubliez pas de créer la propriété \\'politiqueDeConfidentialite\\' (type Document) à la racine du site et de la faire pointer vers la page Politique de confidentialité (pour le bandeau des cookies).</p>' }}
{% endif %}
{# Affiche le header #}
{% include \"includes/header.html.twig\" %}
{# Affiche les breadcrumbs #}
{% include \"includes/breadcrumbs.html.twig\" %}
{% block content %}{% endblock %}
{# Affiche le footer #}
{% if not editmode %}
{% set footer = pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") %}
{% if footer %}
{{ footer|raw}}
{% else %}
{{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>' }}
{% endif %}
{% endif %}
{# Affiche la modal #}
{% if not editmode %}
{% set modalCaseStudy = pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/modal-form-case-study\") %}
{% if modalCaseStudy %}
{{ modalCaseStudy|raw }}
{% else %}
{{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre modal-form-case-study dans un snippet</p>' }}
{% endif %}
{% endif %}
{# output scripts added before #}
{% block headscripts %}
{{ pimcore_head_script() }}
{% endblock %}
{% block inlinescripts %}
{% endblock %}
{% block snippetscripts %}
{% endblock %}
<script>
/*window.addEventListener(\"load\", function () {
window.cookieconsent.initialise({
\"palette\": {
\"popup\": {
\"text\": \"#ffffff\",
\"background\": \"#682D82\",
},
\"button\": {
\"text\": \"#682D82\",
\"background\": \"#ffffff\",
}
},
\"content\": {
\"message\": \"{{ 'Nous utilisons des cookies et d\\'autres technologies pour assurer à tous les utilisateurs de ce site internet la meilleure expérience possible.' |trans }} {{ 'En accédant à ce site, vous acceptez notre politique de cookies.'}}\",
\"dismiss\": \"{{ 'j\\'accepte' |trans }}\",
\"link\": \"{{ 'En savoir plus' |trans }}\",
\"href\": \"{% if document.getProperty('politiqueDeConfidentialite') %} {{ document.getProperty('politiqueDeConfidentialite') }} {% endif %}\"
}
})
});*/
</script>
</body>
</html>
", "layout.html.twig", "/var/www/www.mangogem.com/www/templates/layout.html.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 7, "if" => 9, "apply" => 20, "do" => 24, "block" => 49, "set" => 60);
static $filters = array("escape" => 3, "spaceless" => 20, "trans" => 93, "raw" => 112);
static $functions = array("pimcore_website_config" => 9, "pimcore_head_link" => 24, "asset" => 24, "pimcore_head_script" => 29, "pimcore_document" => 60, "pimcore_inc" => 110);
try {
$this->sandbox->checkSecurity(
['include', 'if', 'apply', 'do', 'block', 'set'],
['escape', 'spaceless', 'trans', 'raw'],
['pimcore_website_config', 'pimcore_head_link', 'asset', 'pimcore_head_script', 'pimcore_document', 'pimcore_inc']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
private $deferred;
}