var/cache/dev/twig/37/3700ad504176605b872df6794a167fc5.php line 263

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* layout.html.twig */
  14. class __TwigTemplate_10741f18558dde68229af6e72c3f20b6 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'head_stylesheets' => [$this'block_head_stylesheets'],
  25.             'head_stylesheets_footer' => [$this'block_head_stylesheets_footer'],
  26.             'content' => [$this'block_content'],
  27.             'headscripts' => [$this'block_headscripts'],
  28.             'inlinescripts' => [$this'block_inlinescripts'],
  29.             'snippetscripts' => [$this'block_snippetscripts'],
  30.         ];
  31.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  32.         $this->checkSecurity();
  33.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  42.         // line 1
  43.         echo "
  44. <!DOCTYPE html>
  45. <html dir=\"ltr\" lang=\"";
  46.         // line 3
  47.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsetrue3), "locale", [], "any"falsefalsetrue3), 3$this->source), "html"nulltrue);
  48.         echo "\">
  49. <head>
  50.     
  51.     ";
  52.         // line 7
  53.         $this->loadTemplate("head/metas.html.twig""layout.html.twig"7)->display($context);
  54.         // line 8
  55.         echo "
  56.     ";
  57.         // line 9
  58.         if ( !$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide")) {
  59.             // line 10
  60.             echo "        ";
  61.             $this->loadTemplate("head/cookiebot-head.html.twig""layout.html.twig"10)->display($context);
  62.             // line 11
  63.             echo "    ";
  64.         }
  65.         // line 12
  66.         echo "
  67.     ";
  68.         // line 20
  69.         echo "    ";
  70.         ob_start();
  71.         // line 21
  72.         echo "        ";
  73.         // line 22
  74.         echo "        ";
  75.         // line 23
  76.         echo "        
  77.         ";
  78.         // line 24
  79.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/uikit-3.5.7.min.css")], "method"falsefalsetrue24);
  80.         // line 25
  81.         echo "        ";
  82.         // line 26
  83.         echo "        ";
  84.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/application.min.css")], "method"falsefalsetrue26);
  85.         // line 27
  86.         echo "        ";
  87.         // line 28
  88.         echo "
  89.         ";
  90.         // line 29
  91.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/uikit-3.5.7.min.js")], "method"falsefalsetrue29);
  92.         // line 30
  93.         echo "        ";
  94.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/jquery-3.5.1.min.js")], "method"falsefalsetrue30);
  95.         // line 31
  96.         echo "        ";
  97.         // line 32
  98.         echo "
  99.         ";
  100.         // line 33
  101.         if ( !$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("jQueryMinify")) {
  102.             // line 34
  103.             echo "            ";
  104.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/apik.js")], "method"falsefalsetrue34);
  105.             // line 35
  106.             echo "            ";
  107.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/main.js")], "method"falsefalsetrue35);
  108.             // line 36
  109.             echo "        ";
  110.         } else {
  111.             // line 37
  112.             echo "            ";
  113.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/minified/apik.min.js")], "method"falsefalsetrue37);
  114.             // line 38
  115.             echo "            ";
  116.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/minified/main.min.js")], "method"falsefalsetrue38);
  117.             // line 39
  118.             echo "        ";
  119.         }
  120.         // line 40
  121.         echo "    ";
  122.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  123.         // line 20
  124.         echo twig_spaceless($___internal_parse_0_);
  125.         // line 41
  126.         echo "
  127.     <script>
  128.         !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);
  129.         vector.load(\"e49f78cb-e082-46c3-b788-22a33d8c4609\");
  130.     </script>
  131.     ";
  132.         // line 48
  133.         echo "
  134.     ";
  135.         // line 49
  136.         $this->displayBlock('head_stylesheets'$context$blocks);
  137.         // line 52
  138.         echo "
  139.     ";
  140.         // line 54
  141.         echo "
  142.     ";
  143.         // line 55
  144.         $this->displayBlock('head_stylesheets_footer'$context$blocks);
  145.         // line 58
  146.         echo "
  147.     ";
  148.         // line 59
  149.         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); })()))) {
  150.             // line 60
  151.             echo "        ";
  152.             $context["document"] = Pimcore\Model\Document::getById(1);
  153.             // line 61
  154.             echo "    ";
  155.         }
  156.         // line 62
  157.         echo "
  158.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
  159.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  160.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  161.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  162.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  163.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  164.     <meta name=\"msapplication-TileColor\" content=\"#2d89ef\">
  165.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  166.     <meta name=\"theme-color\" content=\"#ffffff\">
  167.     <script>
  168.     window.clTrackerConfig = {
  169.     endpoint: \"https://px.personsync.com/tracking/\",
  170.     clientId: \"b27791ca-ed31-46ed-b17a-ed9eb76fda86\",
  171.     };
  172.     // Load the tracker script
  173.     (function() {
  174.     var script = document.createElement('script');
  175.     script.src = \"https://px.personsync.com/dist/tracker.js\";
  176.     document.head.appendChild(script);
  177.     })();
  178.     </script>
  179. </head>
  180. <body class=\"";
  181.         // line 89
  182.         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") : (""));
  183.         echo "\">
  184. ";
  185.         // line 93
  186.         if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your website name") == "Your website name")) {
  187.             // line 94
  188.             echo "    ";
  189.             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>";
  190.             echo "
  191. ";
  192.         }
  193.         // line 96
  194.         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", [=> "politiqueDeConfidentialite"], "method"falsefalsetrue96)) {
  195.             // line 97
  196.             echo "    ";
  197.             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>";
  198.             echo "
  199. ";
  200.         }
  201.         // line 99
  202.         echo "
  203. ";
  204.         // line 101
  205.         $this->loadTemplate("includes/header.html.twig""layout.html.twig"101)->display($context);
  206.         // line 102
  207.         echo "
  208. ";
  209.         // line 104
  210.         $this->loadTemplate("includes/breadcrumbs.html.twig""layout.html.twig"104)->display($context);
  211.         // line 105
  212.         echo "
  213. ";
  214.         // line 106
  215.         $this->displayBlock('content'$context$blocks);
  216.         // line 107
  217.         echo "
  218. ";
  219.         // line 109
  220.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'109$this->source); })())) {
  221.             // line 110
  222.             echo "    ";
  223.             $context["footer"] = $this->env->getFunction('pimcore_inc')->getCallable()((("/" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsetrue110), "locale", [], "any"falsefalsetrue110), 110$this->source)) . "/Snippets/footer"));
  224.             // line 111
  225.             echo "    ";
  226.             if ((isset($context["footer"]) || array_key_exists("footer"$context) ? $context["footer"] : (function () { throw new RuntimeError('Variable "footer" does not exist.'111$this->source); })())) {
  227.                 // line 112
  228.                 echo "        ";
  229.                 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);
  230.                 echo "
  231.     ";
  232.             } else {
  233.                 // line 114
  234.                 echo "        ";
  235.                 echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>";
  236.                 echo "
  237.     ";
  238.             }
  239.         }
  240.         // line 117
  241.         echo "
  242. ";
  243.         // line 119
  244.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'119$this->source); })())) {
  245.             // line 120
  246.             echo "    ";
  247.             $context["modalCaseStudy"] = $this->env->getFunction('pimcore_inc')->getCallable()((("/" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsetrue120), "locale", [], "any"falsefalsetrue120), 120$this->source)) . "/Snippets/modal-form-case-study"));
  248.             // line 121
  249.             echo "    ";
  250.             if ((isset($context["modalCaseStudy"]) || array_key_exists("modalCaseStudy"$context) ? $context["modalCaseStudy"] : (function () { throw new RuntimeError('Variable "modalCaseStudy" does not exist.'121$this->source); })())) {
  251.                 // line 122
  252.                 echo "        ";
  253.                 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);
  254.                 echo "
  255.     ";
  256.             } else {
  257.                 // line 124
  258.                 echo "        ";
  259.                 echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre modal-form-case-study dans un snippet</p>";
  260.                 echo "
  261.     ";
  262.             }
  263.         }
  264.         // line 127
  265.         echo "
  266. ";
  267.         // line 129
  268.         $this->displayBlock('headscripts'$context$blocks);
  269.         // line 132
  270.         echo "
  271. ";
  272.         // line 134
  273.         $this->displayBlock('inlinescripts'$context$blocks);
  274.         // line 137
  275.         echo "
  276. ";
  277.         // line 139
  278.         $this->displayBlock('snippetscripts'$context$blocks);
  279.         // line 142
  280.         echo "
  281. <script>
  282.     /*window.addEventListener(\"load\", function () {
  283.         window.cookieconsent.initialise({
  284.             \"palette\": {
  285.                 \"popup\": {
  286.                     \"text\": \"#ffffff\",
  287.                     \"background\": \"#682D82\",
  288.                 },
  289.                 \"button\": {
  290.                     \"text\": \"#682D82\",
  291.                     \"background\": \"#ffffff\",
  292.                 }
  293.             },
  294.             \"content\": {
  295.                 \"message\": \"";
  296.         // line 157
  297.         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"nulltrue);
  298.         echo " ";
  299.         echo "En accédant à ce site, vous acceptez notre politique de cookies.";
  300.         echo "\",
  301.                 \"dismiss\": \"";
  302.         // line 158
  303.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("j'accepte"), "html"nulltrue);
  304.         echo "\",
  305.                 \"link\": \"";
  306.         // line 159
  307.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En savoir plus"), "html"nulltrue);
  308.         echo "\",
  309.                 \"href\": \"";
  310.         // line 160
  311.         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", [=> "politiqueDeConfidentialite"], "method"falsefalsetrue160)) {
  312.             echo " ";
  313.             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", [=> "politiqueDeConfidentialite"], "method"falsefalsetrue160), 160$this->source), "html"nulltrue);
  314.             echo " ";
  315.         }
  316.         echo "\"
  317.             }
  318.         })
  319.     });*/
  320. </script>
  321. </body>
  322. </html>
  323. ";
  324.         
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  326.         
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  328.         $this->deferred->resolve($this$context$blocks);
  329.     }
  330.     public function block_head_stylesheets($context, array $blocks = [])
  331.     {
  332.         $this->deferred->defer($this'head_stylesheets');
  333.     }
  334.     // line 49
  335.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  336.     {
  337.         $macros $this->macros;
  338.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  339.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  340.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  342.         // line 50
  343.         echo "        ";
  344.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  345.         echo "
  346.     ";
  347.         
  348.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  349.         
  350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  351.         $this->deferred->resolve($this$context$blocks);
  352.     }
  353.     public function block_head_stylesheets_footer($context, array $blocks = [])
  354.     {
  355.         $this->deferred->defer($this'head_stylesheets_footer');
  356.     }
  357.     // line 55
  358.     public function block_head_stylesheets_footer_deferred($context, array $blocks = [])
  359.     {
  360.         $macros $this->macros;
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  362.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  365.         // line 56
  366.         echo "        
  367.     ";
  368.         
  369.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  370.         
  371.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  372.         $this->deferred->resolve($this$context$blocks);
  373.     }
  374.     // line 106
  375.     public function block_content($context, array $blocks = [])
  376.     {
  377.         $macros $this->macros;
  378.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  379.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  380.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  381.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  382.         
  383.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  384.         
  385.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  386.     }
  387.     // line 129
  388.     public function block_headscripts($context, array $blocks = [])
  389.     {
  390.         $macros $this->macros;
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  393.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  395.         // line 130
  396.         echo "    ";
  397.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  398.         echo "
  399. ";
  400.         
  401.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  402.         
  403.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  404.     }
  405.     // line 134
  406.     public function block_inlinescripts($context, array $blocks = [])
  407.     {
  408.         $macros $this->macros;
  409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  411.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  412.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  413.         // line 135
  414.         echo "
  415. ";
  416.         
  417.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  418.         
  419.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  420.     }
  421.     // line 139
  422.     public function block_snippetscripts($context, array $blocks = [])
  423.     {
  424.         $macros $this->macros;
  425.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  426.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  427.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  429.         // line 140
  430.         echo "
  431. ";
  432.         
  433.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  434.         
  435.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  436.     }
  437.     public function getTemplateName()
  438.     {
  439.         return "layout.html.twig";
  440.     }
  441.     public function isTraitable()
  442.     {
  443.         return false;
  444.     }
  445.     public function getDebugInfo()
  446.     {
  447.         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,);
  448.     }
  449.     public function getSourceContext()
  450.     {
  451.         return new Source("
  452. <!DOCTYPE html>
  453. <html dir=\"ltr\" lang=\"{{ app.request.locale }}\">
  454. <head>
  455.     
  456.     {% include \"head/metas.html.twig\" %}
  457.     {%  if not pimcore_website_config('cookiebotHide') %}
  458.         {% include \"head/cookiebot-head.html.twig\" %}
  459.     {% endif %}
  460.     {# 
  461.     Enregistre la liste des fichiers CSS et JS
  462.     
  463.     Attention:
  464.     Veillez à mettre à jour les adresses ci-dessous en remplacant la version par la dernière version disponible (jQuery,
  465.     Uikit, FontAwesome,...), et ce pour tous les fichiers layout[...].html.twig !
  466.     #}
  467.     {% apply spaceless %}
  468.         {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  469.         {# we use the view helper to have cache buster functionality #}
  470.         
  471.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/uikit-3.5.7.min.css')) %}
  472.         {#% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %#}
  473.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
  474.         {#% do pimcore_head_link().appendStylesheet(asset('/static/css/custom.css')) %#}
  475.         {% do pimcore_head_script().appendFile(asset('/static/js/uikit-3.5.7.min.js')) %}
  476.         {% do pimcore_head_script().appendFile(asset('/static/js/jquery-3.5.1.min.js')) %}
  477.         {#% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %#}
  478.         {% if not pimcore_website_config('jQueryMinify') %}
  479.             {% do pimcore_head_script().appendFile(asset('/static/js/apik.js')) %}
  480.             {% do pimcore_head_script().appendFile(asset('/static/js/main.js')) %}
  481.         {% else %}
  482.             {% do pimcore_head_script().appendFile(asset('/static/js/minified/apik.min.js')) %}
  483.             {% do pimcore_head_script().appendFile(asset('/static/js/minified/main.min.js')) %}
  484.         {% endif %}
  485.     {% endapply %}
  486.     <script>
  487.         !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);
  488.         vector.load(\"e49f78cb-e082-46c3-b788-22a33d8c4609\");
  489.     </script>
  490.     {# Affiche les styles CSS personnalisés pour toutes les pages #}
  491.     {% block head_stylesheets deferred %}
  492.         {{ pimcore_head_link() }}
  493.     {% endblock %}
  494.     {# Affiche les styles CSS personnalisés propres au footer #}
  495.     {% block head_stylesheets_footer deferred %}
  496.         
  497.     {% endblock %}
  498.     {% if not document is defined or not document %}
  499.         {% set document = pimcore_document(1) %}
  500.     {% endif %}
  501.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
  502.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  503.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  504.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  505.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  506.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  507.     <meta name=\"msapplication-TileColor\" content=\"#2d89ef\">
  508.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  509.     <meta name=\"theme-color\" content=\"#ffffff\">
  510.     <script>
  511.     window.clTrackerConfig = {
  512.     endpoint: \"https://px.personsync.com/tracking/\",
  513.     clientId: \"b27791ca-ed31-46ed-b17a-ed9eb76fda86\",
  514.     };
  515.     // Load the tracker script
  516.     (function() {
  517.     var script = document.createElement('script');
  518.     script.src = \"https://px.personsync.com/dist/tracker.js\";
  519.     document.head.appendChild(script);
  520.     })();
  521.     </script>
  522. </head>
  523. <body class=\"{{ editmode ? \"apk-cms-pimcore\" : \"\" }}\">
  524. {# Vérifie si \"Your website name\" a bien été traduit. Si non, on affiche un message d'erreur #}
  525. {# Attention, il ne faut pas renommer le nom du site ici... Il faut le renommer dans les Shared Translations! #}
  526. {% if \"Your website name\"|trans == \"Your website name\" %}
  527.     {{ '<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>' }}
  528. {% endif %}
  529. {% if not document.hasProperty('politiqueDeConfidentialite') %}
  530.     {{ '<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>' }}
  531. {% endif %}
  532. {# Affiche le  header #}
  533. {% include \"includes/header.html.twig\" %}
  534. {# Affiche les  breadcrumbs #}
  535. {% include \"includes/breadcrumbs.html.twig\" %}
  536. {% block content %}{% endblock %}
  537. {# Affiche le footer #}
  538. {% if not editmode %}
  539.     {% set footer =  pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") %}
  540.     {% if footer %}
  541.         {{ footer|raw}}
  542.     {% else %}
  543.         {{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>' }}
  544.     {% endif %}
  545. {% endif %}
  546. {# Affiche la modal #}
  547. {% if not editmode %}
  548.     {% set modalCaseStudy =  pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/modal-form-case-study\") %}
  549.     {% if modalCaseStudy %}
  550.         {{ modalCaseStudy|raw }}
  551.     {% else %}
  552.         {{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre modal-form-case-study dans un snippet</p>' }}
  553.     {% endif %}
  554. {% endif %}
  555. {# output scripts added before #}
  556. {% block headscripts %}
  557.     {{ pimcore_head_script() }}
  558. {% endblock %}
  559. {% block inlinescripts  %}
  560. {% endblock %}
  561. {% block snippetscripts  %}
  562. {% endblock %}
  563. <script>
  564.     /*window.addEventListener(\"load\", function () {
  565.         window.cookieconsent.initialise({
  566.             \"palette\": {
  567.                 \"popup\": {
  568.                     \"text\": \"#ffffff\",
  569.                     \"background\": \"#682D82\",
  570.                 },
  571.                 \"button\": {
  572.                     \"text\": \"#682D82\",
  573.                     \"background\": \"#ffffff\",
  574.                 }
  575.             },
  576.             \"content\": {
  577.                 \"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.'}}\",
  578.                 \"dismiss\": \"{{ 'j\\'accepte' |trans }}\",
  579.                 \"link\": \"{{ 'En savoir plus' |trans }}\",
  580.                 \"href\": \"{% if document.getProperty('politiqueDeConfidentialite') %} {{ document.getProperty('politiqueDeConfidentialite') }} {% endif %}\"
  581.             }
  582.         })
  583.     });*/
  584. </script>
  585. </body>
  586. </html>
  587. ""layout.html.twig""/var/www/www.mangogem.com/www/templates/layout.html.twig");
  588.     }
  589.     
  590.     public function checkSecurity()
  591.     {
  592.         static $tags = array("include" => 7"if" => 9"apply" => 20"do" => 24"block" => 49"set" => 60);
  593.         static $filters = array("escape" => 3"spaceless" => 20"trans" => 93"raw" => 112);
  594.         static $functions = array("pimcore_website_config" => 9"pimcore_head_link" => 24"asset" => 24"pimcore_head_script" => 29"pimcore_document" => 60"pimcore_inc" => 110);
  595.         try {
  596.             $this->sandbox->checkSecurity(
  597.                 ['include''if''apply''do''block''set'],
  598.                 ['escape''spaceless''trans''raw'],
  599.                 ['pimcore_website_config''pimcore_head_link''asset''pimcore_head_script''pimcore_document''pimcore_inc']
  600.             );
  601.         } catch (SecurityError $e) {
  602.             $e->setSourceContext($this->source);
  603.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  604.                 $e->setTemplateLine($tags[$e->getTagName()]);
  605.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  606.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  607.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  608.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  609.             }
  610.             throw $e;
  611.         }
  612.     }
  613.     private $deferred;
  614. }