var/cache/dev/twig/ce/ce484f4ef477a0f74f775d46919493c7b89f946d005cc4126fe2b34acafe91cb.php line 343

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. /* base.html.twig */
  14. class __TwigTemplate_c9a8f26e4c67e4400f6f1d1a93b2acd78733561fe27d3fd35277854386de8893 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.             'title' => [$this'block_title'],
  25.             'description' => [$this'block_description'],
  26.             'data_layer' => [$this'block_data_layer'],
  27.             'body' => [$this'block_body'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         // line 1
  40.         $context["urlCanonical"] = ((array_key_exists("urlCanonical"$context)) ? (_twig_default_filter((isset($context["urlCanonical"]) || array_key_exists("urlCanonical"$context) ? $context["urlCanonical"] : (function () { throw new RuntimeError('Variable "urlCanonical" does not exist.'1$this->source); })()), 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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "uri", [], "any"falsefalsefalse1))) : (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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "uri", [], "any"falsefalsefalse1)));
  41.         // line 2
  42.         echo "<!DOCTYPE html>
  43. <html lang=\"fr\">
  44.     <head>
  45.         ";
  46.         // line 5
  47.         if ((array_key_exists("robots_tag"$context) &&  !(null === (isset($context["robots_tag"]) || array_key_exists("robots_tag"$context) ? $context["robots_tag"] : (function () { throw new RuntimeError('Variable "robots_tag" does not exist.'5$this->source); })())))) {
  48.             // line 6
  49.             echo "<meta name=\"robots\" content=\"";
  50.             echo twig_escape_filter($this->env, (isset($context["robots_tag"]) || array_key_exists("robots_tag"$context) ? $context["robots_tag"] : (function () { throw new RuntimeError('Variable "robots_tag" does not exist.'6$this->source); })()), "html"nulltrue);
  51.             echo "\">
  52.         ";
  53.         } elseif ((        // line 7
  54. array_key_exists("noindex"$context) && (=== twig_compare((isset($context["noindex"]) || array_key_exists("noindex"$context) ? $context["noindex"] : (function () { throw new RuntimeError('Variable "noindex" does not exist.'7$this->source); })()), true)))) {
  55.             // line 8
  56.             echo "<meta name=\"robots\" content=\"noindex, nofollow\">
  57.         ";
  58.         } else {
  59.             // line 10
  60.             echo "<meta name=\"robots\" content=\"";
  61.             echo (($this->extensions['App\Twig\RobotsExtension']->isNoIndex()) ? ("noindex, nofollow") : ("index, follow"));
  62.             echo "\">
  63.         ";
  64.         }
  65.         // line 12
  66.         echo "<meta charset=\"UTF-8\">
  67.         <title>";
  68.         // line 13
  69.         ob_start();
  70.         ob_start();
  71.         $this->displayBlock('title'$context$blocks);
  72.         $___internal_parse_1_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  73.         echo twig_spaceless($___internal_parse_1_);
  74.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  75.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->cleanWhitespace($___internal_parse_0_), "html"nulltrue);
  76.         echo "</title>
  77.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
  78.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  79.         <meta name=\"description\" content=\"";
  80.         // line 16
  81.         ob_start();
  82.         $this->displayBlock('description'$context$blocks);
  83.         $___internal_parse_2_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  84.         echo twig_spaceless($___internal_parse_2_);
  85.         echo "\"/>
  86.         <meta name=\"trustpilot-one-time-domain-verification-id\" content=\"51974281-b2ee-4cb4-b89a-546e6217fa70\"/>
  87.         <link rel=\"canonical\" href=\"";
  88.         // line 20
  89.         echo twig_escape_filter($this->envtwig_replace_filter((isset($context["urlCanonical"]) || array_key_exists("urlCanonical"$context) ? $context["urlCanonical"] : (function () { throw new RuntimeError('Variable "urlCanonical" does not exist.'20$this->source); })()), ["http://" => "https://"]), "html"nulltrue);
  90.         echo "\">
  91.         ";
  92.         // line 21
  93.         if ((array_key_exists("urlAmp"$context) &&  !twig_test_empty((isset($context["urlAmp"]) || array_key_exists("urlAmp"$context) ? $context["urlAmp"] : (function () { throw new RuntimeError('Variable "urlAmp" does not exist.'21$this->source); })())))) {
  94.             // line 22
  95.             echo "            <link rel=\"amphtml\" href=\"";
  96.             echo twig_escape_filter($this->envtwig_replace_filter((isset($context["urlAmp"]) || array_key_exists("urlAmp"$context) ? $context["urlAmp"] : (function () { throw new RuntimeError('Variable "urlAmp" does not exist.'22$this->source); })()), ["http://" => "https://"]), "html"nulltrue);
  97.             echo "\">
  98.         ";
  99.         }
  100.         // line 25
  101.         echo "<meta property=\"og:title\" content=\"";
  102.         ob_start();
  103.         $this->displayBlock("title"$context$blocks);
  104.         $___internal_parse_3_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  105.         echo twig_spaceless($___internal_parse_3_);
  106.         echo "\">
  107.         <meta property=\"og:description\" content=\"";
  108.         // line 26
  109.         ob_start();
  110.         $this->displayBlock("description"$context$blocks);
  111.         $___internal_parse_4_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  112.         echo twig_spaceless($___internal_parse_4_);
  113.         echo "\">
  114.         <meta property=\"og:type\" content=\"website\">
  115.         <meta property=\"og:image\" content=\"";
  116.         // line 28
  117.         echo twig_escape_filter($this->envtwig_replace_filter($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png")), ["http://" => "https://"]), "html"nulltrue);
  118.         echo "\">
  119.         <meta property=\"og:url\" content=\"";
  120.         // line 29
  121.         echo twig_escape_filter($this->envtwig_replace_filter((isset($context["urlCanonical"]) || array_key_exists("urlCanonical"$context) ? $context["urlCanonical"] : (function () { throw new RuntimeError('Variable "urlCanonical" does not exist.'29$this->source); })()), ["http://" => "https://"]), "html"nulltrue);
  122.         echo "\">
  123.         <meta property=\"og:locale\" content=\"fr_FR\">
  124.         <meta property=\"og:site_name\" content=\"L'annuaire officiel de l'enseignement privé\">
  125.         <meta name=\"google-site-verification\" content=\"";
  126.         // line 32
  127.         echo twig_escape_filter($this->env, (isset($context["googleSiteVerification"]) || array_key_exists("googleSiteVerification"$context) ? $context["googleSiteVerification"] : (function () { throw new RuntimeError('Variable "googleSiteVerification" does not exist.'32$this->source); })()), "html"nulltrue);
  128.         echo "\" />
  129.         <link rel=\"sitemap\" href=\"";
  130.         // line 33
  131.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sitemap.xml"), "html"nulltrue);
  132.         echo "\" />
  133.         <meta name=\"language\" content=\"fr\">
  134.         <meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1\">
  135.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  136.         <meta name=\"msapplication-tap-highlight\" content=\"no\">
  137.         <meta name=\"format-detection\" content=\"telephone=no\">
  138.         <style type=\"text/css\">
  139.             body, html {
  140.                 opacity: 0;
  141.                 visibility: hidden;
  142.                 transition: opacity .3s ease-in-out;
  143.             }
  144.         </style>
  145.         <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"";
  146.         // line 48
  147.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\WebLinkExtension']->preload($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("apple-touch-icon.png"), ["as" => "image""nopush" => true]), "html"nulltrue);
  148.         echo "\">
  149.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  150.         // line 49
  151.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\WebLinkExtension']->preload($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-32x32.png"), ["as" => "image""nopush" => true]), "html"nulltrue);
  152.         echo "\">
  153.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  154.         // line 50
  155.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\WebLinkExtension']->preload($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-16x16.png"), ["as" => "image""nopush" => true]), "html"nulltrue);
  156.         echo "\">
  157.         <link rel=\"manifest\" href=\"";
  158.         // line 51
  159.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("manifest.json"), "html"nulltrue);
  160.         echo "\">
  161.         <link rel=\"mask-icon\" href=\"";
  162.         // line 52
  163.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("safari-pinned-tab.svg"), "html"nulltrue);
  164.         echo "\" color=\"#5bbad5\">
  165.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  166.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  167.         <meta name=\"theme-color\" content=\"#ffffff\">
  168.         <script>var cookie_notice = {\"cookie_notice_position\":\"bottom\",\"cookie_notice_fontfamily\":\"Helvetica, Arial, sans-serif\",\"cookie_notice_textcolor\":\"#fff\",\"cookie_notice_textsize\":\"12\",\"cookie_notice_bgcolor\":\"#2184a4\",\"cookie_notice_opacity\":\"1\",\"cookie_notice_apperance\":\"slide\",\"cookie_notice_accept_bgcolor\":\"#31b5df\",\"cookie_notice_accept_color\":\"#fff\",\"cookie_notice_accept_shape\":\"square\",\"cookie_notice_accept_radius\":\"0\"};</script>
  169.         
  170.         ";
  171.         // line 60
  172.         if ((array_key_exists("etablissement"$context) &&  !(null === (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'60$this->source); })())))) {
  173.             // line 61
  174.             echo "            ";
  175.             if (twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'61$this->source); })()), "isClient", [], "any"falsefalsefalse61)) {
  176.                 // line 62
  177.                 echo "            ";
  178.                 $context["content_group"] = "content_group5";
  179.                 // line 63
  180.                 echo "            ";
  181.             } else {
  182.                 // line 64
  183.                 echo "            ";
  184.                 $context["content_group"] = "content_group4";
  185.                 // line 65
  186.                 echo "            ";
  187.             }
  188.             // line 66
  189.             echo "
  190.             ";
  191.             // line 67
  192.             if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'67$this->source); })()), "typeClient", [], "any"falsefalsefalse67), "internat"))) {
  193.                 // line 68
  194.                 echo "            ";
  195.                 $context["onglet"] = "internat";
  196.                 // line 69
  197.                 echo "            ";
  198.             } else {
  199.                 // line 70
  200.                 echo "            ";
  201.                 $context["onglet"] = $this->extensions['App\Twig\TypeOngletExtension']->type(twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'70$this->source); })()), "type", [], "any"falsefalsefalse70));
  202.                 // line 71
  203.                 echo "            ";
  204.             }
  205.             // line 72
  206.             echo "        ";
  207.         }
  208.         // line 73
  209.         echo "
  210.         <script type=\"application/ld+json\">";
  211.         // line 74
  212.         echo json_encode($this->extensions['App\Twig\JsonLdExtension']->website());
  213.         echo "</script>
  214.         ";
  215.         // line 75
  216.         $context['_parent'] = $context;
  217.         $context['_seq'] = twig_ensure_traversable((isset($context["siteLdJson"]) || array_key_exists("siteLdJson"$context) ? $context["siteLdJson"] : (function () { throw new RuntimeError('Variable "siteLdJson" does not exist.'75$this->source); })()));
  218.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  219.             // line 76
  220.             if ((=== twig_compare($context["item"], "etablissement"))) {
  221.                 // line 77
  222.                 echo "<script type=\"application/ld+json\">";
  223.                 echo json_encode($this->extensions['App\Twig\JsonLdExtension']->etablissement((isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'77$this->source); })()), $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/no-logo.png")));
  224.                 echo "</script>
  225.                 
  226.                 <!-- #formations -->
  227.                 <script type=\"application/ld+json\">";
  228.                 // line 80
  229.                 echo $this->extensions['App\Twig\JsonLdExtension']->diplomes((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'80$this->source); })()), (isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'80$this->source); })()), (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'80$this->source); })()));
  230.                 echo "</script>
  231.                 <!-- #formations# -->
  232.                 ";
  233.                 // line 83
  234.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'83$this->source); })()), "videos", [], "any"falsefalsefalse83)), 0))) {
  235.                     // line 84
  236.                     echo "<script type=\"application/ld+json\">";
  237.                     echo json_encode($this->extensions['App\Twig\JsonLdExtension']->video(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'84$this->source); })()), "videos", [], "any"falsefalsefalse84), 0, [], "array"falsefalsefalse84)));
  238.                     echo "</script>
  239.                 ";
  240.                 }
  241.                 // line 86
  242.                 echo "                ";
  243.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'86$this->source); })()), "diaporamas", [], "any"falsefalsefalse86)), 0))) {
  244.                     // line 87
  245.                     echo "<script type=\"application/ld+json\">";
  246.                     echo json_encode($this->extensions['App\Twig\JsonLdExtension']->diapo(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'87$this->source); })()), "diaporamas", [], "any"falsefalsefalse87), 0, [], "array"falsefalsefalse87), "photo", [], "any"falsefalsefalse87), 0, [], "array"falsefalsefalse87)));
  247.                     echo "</script>
  248.                 ";
  249.                 }
  250.                 // line 89
  251.                 echo "                ";
  252.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'89$this->source); })()), "actualites", [], "any"falsefalsefalse89)), 0))) {
  253.                     // line 90
  254.                     $context['_parent'] = $context;
  255.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'90$this->source); })()), "actualites", [], "any"falsefalsefalse90));
  256.                     foreach ($context['_seq'] as $context["_key"] => $context["actu"]) {
  257.                         // line 91
  258.                         echo "                    <script type=\"application/ld+json\">";
  259.                         echo json_encode($this->extensions['App\Twig\JsonLdExtension']->actualite($context["actu"]));
  260.                         echo "</script>
  261.                 ";
  262.                     }
  263.                     $_parent $context['_parent'];
  264.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['actu'], $context['_parent'], $context['loop']);
  265.                     $context array_intersect_key($context$_parent) + $_parent;
  266.                     // line 93
  267.                     echo "                ";
  268.                 }
  269.             } elseif (((=== twig_compare(            // line 94
  270. $context["item"], "offre-emploi")) && twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'94$this->source); })()), "jsonLd", [], "any"falsefalsefalse94))) {
  271.                 // line 95
  272.                 echo "<script type=\"application/ld+json\">";
  273.                 echo twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'95$this->source); })()), "jsonLd", [], "any"falsefalsefalse95);
  274.                 echo "</script>
  275.             ";
  276.             }
  277.         }
  278.         $_parent $context['_parent'];
  279.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  280.         $context array_intersect_key($context$_parent) + $_parent;
  281.         // line 98
  282.         if ((array_key_exists("faqs"$context) && (=== twig_compare(twig_length_filter($this->env, (isset($context["faqs"]) || array_key_exists("faqs"$context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.'98$this->source); })())), 0)))) {
  283.             // line 99
  284.             echo "<script type=\"application/ld+json\">";
  285.             echo $this->extensions['App\Twig\JsonLdExtension']->generateFaqJsonLd((isset($context["faqs"]) || array_key_exists("faqs"$context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.'99$this->source); })()));
  286.             echo "</script>
  287.         ";
  288.         }
  289.         // line 103
  290.         echo "        <script>
  291.         window.dataLayer = window.dataLayer || [];
  292.         </script>
  293.         ";
  294.         // line 108
  295.         echo "        ";
  296.         $this->displayBlock('data_layer'$context$blocks);
  297.         // line 109
  298.         echo "
  299.         <!-- Google Tag Manager -->
  300.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  301.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  302.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  303.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  304.         })(window,document,'script','dataLayer','GTM-PHS7FB52');</script>
  305.         <!-- End Google Tag Manager -->
  306.     </head>
  307.     <body>
  308.         <!-- Google Tag Manager (noscript) -->
  309.         <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PHS7FB52\"
  310.         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  311.         <!-- End Google Tag Manager (noscript) -->
  312.         ";
  313.         // line 127
  314.         echo "        ";
  315.         $this->loadTemplate("_includes/header.html.twig""base.html.twig"127)->display($context);
  316.         // line 128
  317.         echo "        ";
  318.         // line 129
  319.         echo "        ";
  320.         $this->loadTemplate("_includes/alerts.html.twig""base.html.twig"129)->display($context);
  321.         // line 130
  322.         echo "        ";
  323.         $this->displayBlock('body'$context$blocks);
  324.         // line 131
  325.         echo "        ";
  326.         $this->loadTemplate("_includes/footer.html.twig""base.html.twig"131)->display($context);
  327.         // line 132
  328.         echo "
  329.         ";
  330.         // line 134
  331.         echo "
  332.         <link rel=\"preload\" as=\"font\" href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">
  333.         <noscript><link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" rel=\"stylesheet\"></noscript>
  334.         
  335.         ";
  336.         // line 142
  337.         echo "        ";
  338.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  339.         echo "
  340.         ";
  341.         // line 144
  342.         $this->displayBlock('stylesheets'$context$blocks);
  343.         // line 145
  344.         echo "        <script>
  345.             /*! loadCSS: load a CSS file asynchronously. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */
  346.             !function(a) {
  347.                 \"use strict\";
  348.                 var b = function(b, c, d) {
  349.                     function j(a) {
  350.                         if (e.body)
  351.                             return a();
  352.                         setTimeout(function() {
  353.                             j(a)
  354.                         })
  355.                     }
  356.                     function l() {
  357.                         f.addEventListener && f.removeEventListener(\"load\", l),
  358.                         f.media = d || \"all\"
  359.                     }
  360.                     var g,
  361.                         e = a.document,
  362.                         f = e.createElement(\"link\");
  363.                     if (c)
  364.                         g = c;
  365.                     else {
  366.                         var h = (e.body || e.getElementsByTagName(\"head\")[0]).childNodes;
  367.                         g = h[h.length - 1]
  368.                     }
  369.                     var i = e.styleSheets;
  370.                     f.rel = \"stylesheet\",
  371.                     f.href = b,
  372.                     f.media = \"only x\",
  373.                     j(function() {
  374.                         g.parentNode.insertBefore(
  375.                             f,
  376.                             c
  377.                                 ? g
  378.                                 : g.nextSibling
  379.                         )
  380.                     });
  381.                     var k = function(a) {
  382.                         for (var b = f.href, c = i.length; c--;)
  383.                             if (i[c].href === b)
  384.                                 return a();
  385.                     setTimeout(function() {
  386.                             k(a)
  387.                         })
  388.                     };
  389.                     return f.addEventListener && f.addEventListener(\"load\", l),
  390.                     f.onloadcssdefined = k,
  391.                     k(l),
  392.                     f
  393.                 };
  394.                 \"undefined\" != typeof exports
  395.                     ? exports.loadCSS = b
  396.                     : a.loadCSS = b
  397.             }(
  398.                 \"undefined\" != typeof global
  399.                     ? global
  400.                     : this
  401.             ),
  402.             function(a) {
  403.                 if (a.loadCSS) {
  404.                     var b = loadCSS.relpreload = {};
  405.                     if (b.support = function() {
  406.                         try {
  407.                             return a.document.createElement(\"link\").relList.supports(\"preload\")
  408.                         } catch (a) {}
  409.                     }, b.poly = function() {
  410.                         for (var b = a.document.getElementsByTagName(\"link\"), c = 0; c < b.length; c++) {
  411.                             var d = b[c];
  412.                             \"preload\" === d.rel && \"style\" === d.getAttribute(\"as\") && (a.loadCSS(d.href, d), d.rel = null)
  413.                         }
  414.                     }, !b.support()) {
  415.                         b.poly();
  416.                         var c = a.setInterval(b.poly, 300);
  417.                         a.addEventListener && a.addEventListener(\"load\", function() {
  418.                             a.clearInterval(c)
  419.                         })
  420.                     }
  421.                 }
  422.             }(this);
  423.         </script>
  424.         ";
  425.         // line 227
  426.         echo "        ";
  427.         // line 230
  428.         echo "        ";
  429.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  430.         echo "
  431.         
  432.         ";
  433.         // line 232
  434.         $this->displayBlock('javascripts'$context$blocks);
  435.         // line 233
  436.         echo "    </body>
  437. </html>
  438. ";
  439.         
  440.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  441.         
  442.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  443.     }
  444.     // line 13
  445.     public function block_title($context, array $blocks = [])
  446.     {
  447.         $macros $this->macros;
  448.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  449.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  450.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  451.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  452.         echo "Annuaire de l'enseignement privé";
  453.         
  454.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  455.         
  456.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  457.     }
  458.     // line 16
  459.     public function block_description($context, array $blocks = [])
  460.     {
  461.         $macros $this->macros;
  462.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  463.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  464.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  465.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  466.         
  467.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  468.         
  469.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  470.     }
  471.     // line 108
  472.     public function block_data_layer($context, array $blocks = [])
  473.     {
  474.         $macros $this->macros;
  475.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  476.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""data_layer"));
  477.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  478.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""data_layer"));
  479.         
  480.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  481.         
  482.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  483.     }
  484.     // line 130
  485.     public function block_body($context, array $blocks = [])
  486.     {
  487.         $macros $this->macros;
  488.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  489.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  490.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  491.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  492.         
  493.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  494.         
  495.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  496.     }
  497.     // line 144
  498.     public function block_stylesheets($context, array $blocks = [])
  499.     {
  500.         $macros $this->macros;
  501.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  502.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  503.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  504.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  505.         
  506.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  507.         
  508.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  509.     }
  510.     // line 232
  511.     public function block_javascripts($context, array $blocks = [])
  512.     {
  513.         $macros $this->macros;
  514.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  515.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  516.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  517.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  518.         
  519.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  520.         
  521.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  522.     }
  523.     public function getTemplateName()
  524.     {
  525.         return "base.html.twig";
  526.     }
  527.     public function isTraitable()
  528.     {
  529.         return false;
  530.     }
  531.     public function getDebugInfo()
  532.     {
  533.         return array (  561 => 232,  543 => 144,  525 => 130,  507 => 108,  489 => 16,  470 => 13,  458 => 233,  456 => 232,  450 => 230,  448 => 227,  365 => 145,  363 => 144,  357 => 142,  351 => 134,  348 => 132,  345 => 131,  342 => 130,  339 => 129,  337 => 128,  334 => 127,  315 => 109,  312 => 108,  306 => 103,  300 => 99,  298 => 98,  288 => 95,  286 => 94,  283 => 93,  274 => 91,  270 => 90,  267 => 89,  261 => 87,  258 => 86,  252 => 84,  250 => 83,  244 => 80,  237 => 77,  235 => 76,  231 => 75,  227 => 74,  224 => 73,  221 => 72,  218 => 71,  215 => 70,  212 => 69,  209 => 68,  207 => 67,  204 => 66,  201 => 65,  198 => 64,  195 => 63,  192 => 62,  189 => 61,  187 => 60,  176 => 52,  172 => 51,  168 => 50,  164 => 49,  160 => 48,  142 => 33,  138 => 32,  132 => 29,  128 => 28,  120 => 26,  112 => 25,  106 => 22,  104 => 21,  100 => 20,  90 => 16,  78 => 13,  75 => 12,  69 => 10,  65 => 8,  63 => 7,  58 => 6,  56 => 5,  51 => 2,  49 => 1,);
  534.     }
  535.     public function getSourceContext()
  536.     {
  537.         return new Source("{%- set urlCanonical = urlCanonical | default(app.request.uri) -%}
  538. <!DOCTYPE html>
  539. <html lang=\"fr\">
  540.     <head>
  541.         {% if robots_tag is defined and robots_tag is not null -%}
  542.             <meta name=\"robots\" content=\"{{ robots_tag }}\">
  543.         {% elseif noindex is defined and noindex == true -%}
  544.             <meta name=\"robots\" content=\"noindex, nofollow\">
  545.         {% else -%}
  546.             <meta name=\"robots\" content=\"{{ isNoIndex() ? 'noindex, nofollow' : 'index, follow' }}\">
  547.         {% endif -%}
  548.         <meta charset=\"UTF-8\">
  549.         <title>{% apply clean_whitespace %}{% apply spaceless %}{% block title %}Annuaire de l'enseignement privé{% endblock %}{% endapply %}{% endapply %}</title>
  550.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
  551.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  552.         <meta name=\"description\" content=\"{% apply spaceless %}{% block description %}{% endblock %}{% endapply %}\"/>
  553.         <meta name=\"trustpilot-one-time-domain-verification-id\" content=\"51974281-b2ee-4cb4-b89a-546e6217fa70\"/>
  554.         <link rel=\"canonical\" href=\"{{ urlCanonical | replace({'http://': 'https://'}) }}\">
  555.         {% if urlAmp is defined and urlAmp is not empty %}
  556.             <link rel=\"amphtml\" href=\"{{ urlAmp | replace({'http://': 'https://'}) }}\">
  557.         {% endif -%}
  558.         <meta property=\"og:title\" content=\"{% apply spaceless %}{{ block('title')  }}{% endapply %}\">
  559.         <meta property=\"og:description\" content=\"{% apply spaceless %}{{ block('description') }}{% endapply %}\">
  560.         <meta property=\"og:type\" content=\"website\">
  561.         <meta property=\"og:image\" content=\"{{ absolute_url(asset('build/images/logo.png')) | replace({'http://': 'https://'})  }}\">
  562.         <meta property=\"og:url\" content=\"{{ urlCanonical | replace({'http://': 'https://'}) }}\">
  563.         <meta property=\"og:locale\" content=\"fr_FR\">
  564.         <meta property=\"og:site_name\" content=\"L'annuaire officiel de l'enseignement privé\">
  565.         <meta name=\"google-site-verification\" content=\"{{ googleSiteVerification }}\" />
  566.         <link rel=\"sitemap\" href=\"{{ asset('sitemap.xml') }}\" />
  567.         <meta name=\"language\" content=\"fr\">
  568.         <meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1\">
  569.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  570.         <meta name=\"msapplication-tap-highlight\" content=\"no\">
  571.         <meta name=\"format-detection\" content=\"telephone=no\">
  572.         <style type=\"text/css\">
  573.             body, html {
  574.                 opacity: 0;
  575.                 visibility: hidden;
  576.                 transition: opacity .3s ease-in-out;
  577.             }
  578.         </style>
  579.         <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"{{ preload(asset('apple-touch-icon.png'), {as: 'image', nopush: true}) }}\">
  580.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ preload(asset('favicon-32x32.png'), {as: 'image', nopush: true}) }}\">
  581.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ preload(asset('favicon-16x16.png'), {as: 'image', nopush: true}) }}\">
  582.         <link rel=\"manifest\" href=\"{{ asset('manifest.json') }}\">
  583.         <link rel=\"mask-icon\" href=\"{{ asset('safari-pinned-tab.svg') }}\" color=\"#5bbad5\">
  584.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  585.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  586.         <meta name=\"theme-color\" content=\"#ffffff\">
  587.         <script>var cookie_notice = {\"cookie_notice_position\":\"bottom\",\"cookie_notice_fontfamily\":\"Helvetica, Arial, sans-serif\",\"cookie_notice_textcolor\":\"#fff\",\"cookie_notice_textsize\":\"12\",\"cookie_notice_bgcolor\":\"#2184a4\",\"cookie_notice_opacity\":\"1\",\"cookie_notice_apperance\":\"slide\",\"cookie_notice_accept_bgcolor\":\"#31b5df\",\"cookie_notice_accept_color\":\"#fff\",\"cookie_notice_accept_shape\":\"square\",\"cookie_notice_accept_radius\":\"0\"};</script>
  588.         
  589.         {% if etablissement is defined and etablissement is not null %}
  590.             {% if etablissement.isClient %}
  591.             {% set content_group = 'content_group5' %}
  592.             {% else %}
  593.             {% set content_group = 'content_group4' %}
  594.             {% endif %}
  595.             {% if etablissement.typeClient == 'internat' %}
  596.             {% set onglet = 'internat' %}
  597.             {% else %}
  598.             {% set onglet = typeOnglet(etablissement.type) %}
  599.             {% endif %}
  600.         {% endif %}
  601.         <script type=\"application/ld+json\">{{ jsonLdWebsite() | json_encode() | raw }}</script>
  602.         {% for item in siteLdJson %}
  603.             {%- if item == 'etablissement' -%}
  604.                 <script type=\"application/ld+json\">{{ jsonLdEtablissement(etablissement, asset('build/images/no-logo.png')) | json_encode() | raw }}</script>
  605.                 
  606.                 <!-- #formations -->
  607.                 <script type=\"application/ld+json\">{{ jsonLdDiplomes(formations, dc, etablissement)  | raw }}</script>
  608.                 <!-- #formations# -->
  609.                 {% if etablissement.videos|length > 0 -%}
  610.                     <script type=\"application/ld+json\">{{ jsonLdVideo(etablissement.videos[0]) | json_encode() | raw }}</script>
  611.                 {% endif %}
  612.                 {% if etablissement.diaporamas|length > 0 -%}
  613.                     <script type=\"application/ld+json\">{{ jsonLdDiapo( etablissement.diaporamas[0].photo[0]) | json_encode() | raw }}</script>
  614.                 {% endif %}
  615.                 {% if etablissement.actualites|length > 0 -%}
  616.                 {% for actu in etablissement.actualites %}
  617.                     <script type=\"application/ld+json\">{{ jsonLdActualite( actu ) | json_encode() | raw }}</script>
  618.                 {% endfor %}
  619.                 {% endif %}
  620.             {%- elseif item == 'offre-emploi' and offre.jsonLd -%}
  621.                 <script type=\"application/ld+json\">{{ offre.jsonLd|raw }}</script>
  622.             {% endif -%}
  623.         {%- endfor -%}
  624.         {%- if faqs is defined and faqs | length > 0 -%}
  625.             <script type=\"application/ld+json\">{{ jsonLdFaq( faqs ) | raw }}</script>
  626.         {% endif -%}
  627.         
  628.         {# 1. Déclaration du dataLayer #}
  629.         <script>
  630.         window.dataLayer = window.dataLayer || [];
  631.         </script>
  632.         {# 2. Les push métier (page_context, view_item, etc #}
  633.         {% block data_layer %}{% endblock %}
  634.         <!-- Google Tag Manager -->
  635.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  636.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  637.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  638.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  639.         })(window,document,'script','dataLayer','GTM-PHS7FB52');</script>
  640.         <!-- End Google Tag Manager -->
  641.     </head>
  642.     <body>
  643.         <!-- Google Tag Manager (noscript) -->
  644.         <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PHS7FB52\"
  645.         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  646.         <!-- End Google Tag Manager (noscript) -->
  647.         {# {% cache \"base;header;v1\" ttl(3600) %} #}
  648.         {% include '_includes/header.html.twig' %}
  649.         {# {% endcache %} #}
  650.         {% include '_includes/alerts.html.twig' %}
  651.         {% block body %}{% endblock %}
  652.         {% include '_includes/footer.html.twig' %}
  653.         {# ----- CSS ------------------------------------------------------- #}
  654.         <link rel=\"preload\" as=\"font\" href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">
  655.         <noscript><link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" rel=\"stylesheet\"></noscript>
  656.         
  657.         {# {% for css in encore_entry_css_files('app') %}
  658.             <link rel=\"preload\" href=\"{{ asset(css) }}\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\"/>
  659.             <noscript><link href=\"{{ asset(css) }}\" rel=\"stylesheet\"></noscript>
  660.         {% endfor %} #}
  661.         {{ encore_entry_link_tags('app') }}
  662.         {% block stylesheets %}{% endblock %}
  663.         <script>
  664.             /*! loadCSS: load a CSS file asynchronously. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */
  665.             !function(a) {
  666.                 \"use strict\";
  667.                 var b = function(b, c, d) {
  668.                     function j(a) {
  669.                         if (e.body)
  670.                             return a();
  671.                         setTimeout(function() {
  672.                             j(a)
  673.                         })
  674.                     }
  675.                     function l() {
  676.                         f.addEventListener && f.removeEventListener(\"load\", l),
  677.                         f.media = d || \"all\"
  678.                     }
  679.                     var g,
  680.                         e = a.document,
  681.                         f = e.createElement(\"link\");
  682.                     if (c)
  683.                         g = c;
  684.                     else {
  685.                         var h = (e.body || e.getElementsByTagName(\"head\")[0]).childNodes;
  686.                         g = h[h.length - 1]
  687.                     }
  688.                     var i = e.styleSheets;
  689.                     f.rel = \"stylesheet\",
  690.                     f.href = b,
  691.                     f.media = \"only x\",
  692.                     j(function() {
  693.                         g.parentNode.insertBefore(
  694.                             f,
  695.                             c
  696.                                 ? g
  697.                                 : g.nextSibling
  698.                         )
  699.                     });
  700.                     var k = function(a) {
  701.                         for (var b = f.href, c = i.length; c--;)
  702.                             if (i[c].href === b)
  703.                                 return a();
  704.                     setTimeout(function() {
  705.                             k(a)
  706.                         })
  707.                     };
  708.                     return f.addEventListener && f.addEventListener(\"load\", l),
  709.                     f.onloadcssdefined = k,
  710.                     k(l),
  711.                     f
  712.                 };
  713.                 \"undefined\" != typeof exports
  714.                     ? exports.loadCSS = b
  715.                     : a.loadCSS = b
  716.             }(
  717.                 \"undefined\" != typeof global
  718.                     ? global
  719.                     : this
  720.             ),
  721.             function(a) {
  722.                 if (a.loadCSS) {
  723.                     var b = loadCSS.relpreload = {};
  724.                     if (b.support = function() {
  725.                         try {
  726.                             return a.document.createElement(\"link\").relList.supports(\"preload\")
  727.                         } catch (a) {}
  728.                     }, b.poly = function() {
  729.                         for (var b = a.document.getElementsByTagName(\"link\"), c = 0; c < b.length; c++) {
  730.                             var d = b[c];
  731.                             \"preload\" === d.rel && \"style\" === d.getAttribute(\"as\") && (a.loadCSS(d.href, d), d.rel = null)
  732.                         }
  733.                     }, !b.support()) {
  734.                         b.poly();
  735.                         var c = a.setInterval(b.poly, 300);
  736.                         a.addEventListener && a.addEventListener(\"load\", function() {
  737.                             a.clearInterval(c)
  738.                         })
  739.                     }
  740.                 }
  741.             }(this);
  742.         </script>
  743.         {# ----- Script ----------------------------------------------------- #}
  744.         {# {% for js in encore_entry_js_files('app') %}
  745.             <script src=\"{{ asset(js) }}\" type=\"text/javascript\" defer=\"defer\"></script>
  746.         {% endfor %} #}
  747.         {{ encore_entry_script_tags('app') }}
  748.         
  749.         {% block javascripts %}{% endblock %}
  750.     </body>
  751. </html>
  752. ""base.html.twig""/app/templates/base.html.twig");
  753.     }
  754. }