<?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_8ea0f51449938e9c41a319bead3a2f24 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") == false)) {
// 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 => "https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/css/uikit.min.css"], "method", false, false, true, 24);
// line 25
echo "
";
// line 26
if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
// line 27
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css"], "method", false, false, true, 27);
// line 28
echo " ";
}
// line 29
echo "
";
// line 30
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/framework/noUiSlider/nouislider.min.css")], "method", false, false, true, 30);
// line 31
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, 31);
// line 32
echo " ";
// line 33
echo "
";
// line 35
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => "https://use.typekit.net/adn7fjm.css"], "method", false, false, true, 35);
// line 36
echo "
";
// line 38
echo " <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link href=\"https://fonts.googleapis.com/css2?family=Geologica:wght@100;200;300;400;500;600;700;800;900&display=swap\" rel=\"stylesheet\">
";
// line 42
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => "https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/js/uikit.min.js"], "method", false, false, true, 42);
// line 43
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"], "method", false, false, true, 43);
// line 44
echo "
";
// line 45
if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
// line 46
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js"], "method", false, false, true, 46);
// line 47
echo " ";
}
// line 48
echo "
";
// line 49
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/framework/noUiSlider/nouislider.min.js")], "method", false, false, true, 49);
// line 50
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/framework/noUiSlider/wNumb.min.js")], "method", false, false, true, 50);
// line 51
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, 51);
// line 52
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, 52);
// line 53
echo " ";
$___internal_parse_1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 20
echo twig_spaceless($___internal_parse_1_);
// line 54
echo "
";
// line 56
echo "
";
// line 57
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 60
echo "
";
// line 62
echo "
";
// line 63
$this->displayBlock('head_stylesheets_footer', $context, $blocks);
// line 66
echo "
";
// line 67
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.', 67, $this->source); })()))) {
// line 68
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 69
echo " ";
}
// line 70
echo "
";
// line 72
echo "
<link rel=\"apple-touch-icon\" sizes=\"76x76\" 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=\"#ffffff\">
<meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
<meta name=\"theme-color\" content=\"#ffffff\">
</head>
<body class=\"";
// line 85
echo (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 85, $this->source); })())) ? ("apk-cms-pimcore") : (""));
echo "\">
";
// line 89
if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your website name") == "Your website name")) {
// line 90
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 92
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.', 92, $this->source); })()), "hasProperty", [0 => "politiqueDeConfidentialite"], "method", false, false, true, 92)) {
// line 93
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 95
echo "
";
// line 97
$this->loadTemplate("includes/header.html.twig", "layout.html.twig", 97)->display($context);
// line 98
echo "
";
// line 99
$this->displayBlock('content', $context, $blocks);
// line 100
echo "
";
// line 102
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 102, $this->source); })())) {
// line 103
echo " ";
if ($this->env->getFunction('pimcore_inc')->getCallable()((("/" . 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.', 103, $this->source); })()), "request", [], "any", false, false, true, 103), "locale", [], "any", false, false, true, 103)) . "/Snippets/footer"))) {
// line 104
echo " ";
echo $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.', 104, $this->source); })()), "request", [], "any", false, false, true, 104), "locale", [], "any", false, false, true, 104), 104, $this->source)) . "/Snippets/footer"));
echo "
";
} else {
// line 106
echo " ";
echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>";
echo "
";
}
}
// line 109
echo "
";
// line 111
$this->displayBlock('headscripts', $context, $blocks);
// line 114
echo "
";
// line 116
$this->displayBlock('inlinescripts', $context, $blocks);
// line 119
echo "
";
// line 121
$this->displayBlock('snippetscripts', $context, $blocks);
// line 124
echo "
";
// line 125
if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
// line 126
echo " <script>
window.addEventListener(\"load\", function () {
window.cookieconsent.initialise({
\"palette\": {
\"popup\": {
\"text\": \"#ffffff\",
\"background\": \"#F2510C\",
},
\"button\": {
\"text\": \"#F2510C\",
\"background\": \"#ffffff\",
}
},
\"content\": {
\"message\": \"";
// line 140
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 141
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("J'accepte"), "html", null, true);
echo "\",
\"link\": \"";
// line 142
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En savoir plus"), "html", null, true);
echo "\",
\"href\": \"";
// line 143
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.', 143, $this->source); })()), "getProperty", [0 => "politiqueDeConfidentialite"], "method", false, false, true, 143)) {
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.', 143, $this->source); })()), "getProperty", [0 => "politiqueDeConfidentialite"], "method", false, false, true, 143), 143, $this->source), "html", null, true);
echo " ";
}
echo "\"
}
})
});
</script>
";
}
// line 149
echo "
</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 57
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 58
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 63
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 64
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
// line 99
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 111
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 112
echo " ";
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 116
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 117
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 121
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 122
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 ( 465 => 122, 455 => 121, 444 => 117, 434 => 116, 421 => 112, 411 => 111, 393 => 99, 381 => 64, 371 => 63, 352 => 58, 342 => 57, 324 => 149, 311 => 143, 307 => 142, 303 => 141, 297 => 140, 281 => 126, 279 => 125, 276 => 124, 274 => 121, 270 => 119, 268 => 116, 264 => 114, 262 => 111, 259 => 109, 252 => 106, 246 => 104, 243 => 103, 241 => 102, 238 => 100, 236 => 99, 233 => 98, 231 => 97, 228 => 95, 222 => 93, 220 => 92, 214 => 90, 212 => 89, 207 => 85, 192 => 72, 189 => 70, 186 => 69, 183 => 68, 181 => 67, 178 => 66, 176 => 63, 173 => 62, 170 => 60, 168 => 57, 165 => 56, 162 => 54, 160 => 20, 157 => 53, 154 => 52, 151 => 51, 148 => 50, 146 => 49, 143 => 48, 140 => 47, 137 => 46, 135 => 45, 132 => 44, 129 => 43, 127 => 42, 121 => 38, 118 => 36, 115 => 35, 112 => 33, 110 => 32, 107 => 31, 105 => 30, 102 => 29, 99 => 28, 96 => 27, 94 => 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 pimcore_website_config('cookiebotHide') == false %}
{% 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('https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/css/uikit.min.css') %}
{% if pimcore_website_config('cookiebotHide') == true %}
{% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %}
{% endif %}
{% do pimcore_head_link().appendStylesheet(asset('/static/framework/noUiSlider/nouislider.min.css')) %}
{% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
{#% do pimcore_head_link().appendStylesheet(asset('/static/css/custom.css')) %#}
{# Adobe Font #}
{% do pimcore_head_link().appendStylesheet('https://use.typekit.net/adn7fjm.css') %}
{# Google Font #}
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link href=\"https://fonts.googleapis.com/css2?family=Geologica:wght@100;200;300;400;500;600;700;800;900&display=swap\" rel=\"stylesheet\">
{% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/js/uikit.min.js') %}
{% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js') %}
{% if pimcore_website_config('cookiebotHide') == true %}
{% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %}
{% endif %}
{% do pimcore_head_script().appendFile(asset('/static/framework/noUiSlider/nouislider.min.js')) %}
{% do pimcore_head_script().appendFile(asset('/static/framework/noUiSlider/wNumb.min.js')) %}
{% do pimcore_head_script().appendFile(asset('/static/js/apik.js')) %}
{% do pimcore_head_script().appendFile(asset('/static/js/main.js')) %}
{% endapply %}
{# 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 %}
{# Favicons (utilisez RealFaviconGenerator) #}
<link rel=\"apple-touch-icon\" sizes=\"76x76\" 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=\"#ffffff\">
<meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
<meta name=\"theme-color\" content=\"#ffffff\">
</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\" %}
{% block content %}{% endblock %}
{# Affiche le footer #}
{% if not editmode %}
{% if pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") %}
{{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") }}
{% else %}
{{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>' }}
{% endif %}
{% endif %}
{# output scripts added before #}
{% block headscripts %}
{{ pimcore_head_script() }}
{% endblock %}
{% block inlinescripts %}
{% endblock %}
{% block snippetscripts %}
{% endblock %}
{% if pimcore_website_config('cookiebotHide') == true %}
<script>
window.addEventListener(\"load\", function () {
window.cookieconsent.initialise({
\"palette\": {
\"popup\": {
\"text\": \"#ffffff\",
\"background\": \"#F2510C\",
},
\"button\": {
\"text\": \"#F2510C\",
\"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>
{% endif %}
</body>
</html>", "layout.html.twig", "/var/www/youinvestify.apik-pp.be/www/templates/layout.html.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 7, "if" => 9, "apply" => 20, "do" => 24, "block" => 57, "set" => 68);
static $filters = array("escape" => 3, "spaceless" => 20, "trans" => 89);
static $functions = array("pimcore_website_config" => 9, "pimcore_head_link" => 24, "asset" => 30, "pimcore_head_script" => 42, "pimcore_document" => 68, "pimcore_inc" => 103);
try {
$this->sandbox->checkSecurity(
['include', 'if', 'apply', 'do', 'block', 'set'],
['escape', 'spaceless', 'trans'],
['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;
}