var/cache/dev/twig/16/166888e692801950b55a3dd5dd2ed78e.php line 97

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_595b17a10d12a915497424676877723e 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.             'meta' => [$this'block_meta'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'body' => [$this'block_body'],
  28.             'content' => [$this'block_content'],
  29.             'modals' => [$this'block_modals'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html lang=\"fr\">
  42.     <head>
  43.       <meta charset=\"utf-8\">
  44.         
  45.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  46.         <link rel=\"icon\" type=\"image/png\" href=\"/assets/img/favicon.png\" />
  47.         <!-- Google Tag Manager -->
  48. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  49. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  50. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  51. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  52. })(window,document,'script','dataLayer','GTM-KJDMBH7N');</script>
  53. <!-- End Google Tag Manager -->
  54.         ";
  55.         // line 17
  56.         $this->displayBlock('meta'$context$blocks);
  57.         // line 20
  58.         echo "        ";
  59.         $this->displayBlock('stylesheets'$context$blocks);
  60.         // line 41
  61.         echo "
  62.         ";
  63.         // line 42
  64.         $this->displayBlock('javascripts'$context$blocks);
  65.         // line 138
  66.         echo "
  67.     </head>
  68.     <body>
  69.         <!-- Google Tag Manager (noscript) -->
  70. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-KJDMBH7N\"
  71. height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  72. <!-- End Google Tag Manager (noscript) -->
  73.         ";
  74.         // line 149
  75.         $this->displayBlock('body'$context$blocks);
  76.         // line 150
  77.         echo "    
  78.     <header id=\"nav-header\">
  79.     ";
  80.         // line 153
  81.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\headerController::renderHeader"));
  82.         // line 155
  83.         echo "
  84.          ";
  85.         // line 157
  86.         echo "    </header>
  87.     <main>
  88.         ";
  89.         // line 159
  90.         $this->displayBlock('content'$context$blocks);
  91.         // line 161
  92.         echo "    </main>
  93.      ";
  94.         // line 162
  95.         $this->loadTemplate("/bandemobile.html.twig""base.html.twig"162)->display($context);
  96.         // line 163
  97.         echo "     <footer class=\"home_footer\">
  98.         ";
  99.         // line 164
  100.         $this->loadTemplate("/footer.html.twig""base.html.twig"164)->display($context);
  101.         // line 165
  102.         echo "    </footer>
  103.     ";
  104.         // line 166
  105.         $this->displayBlock('modals'$context$blocks);
  106.         // line 169
  107.         echo "
  108.     </body>
  109. </html>
  110. ";
  111.         
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113.         
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  115.     }
  116.     // line 17
  117.     public function block_meta($context, array $blocks = [])
  118.     {
  119.         $macros $this->macros;
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  124.         // line 18
  125.         echo "        <title>My Audio</title>
  126.         ";
  127.         
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.     }
  132.     // line 20
  133.     public function block_stylesheets($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  140.         // line 21
  141.         echo "            ";
  142.         // line 22
  143.         echo "            <link rel=\"stylesheet\" href=\"/assets/css/fancybox.css\">
  144.             <link rel=\"stylesheet\" href=\"/assets/lib/bootstrap-5.0.2-dist/css/bootstrap.css\">
  145.             <link rel=\"stylesheet\" href=\"https://pro.fontawesome.com/releases/v5.10.0/css/all.css\"
  146.             integrity=\"sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p\" crossorigin=\"anonymous\" />
  147.             <!--icon-->
  148.             <link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">
  149.             <link rel=\"stylesheet\" href=\"https://storage.googleapis.com/code.getmdl.io/1.0.0/material.indigo-red.min.css\">
  150.             <!--Font-->
  151.             <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
  152.             <link href=\"https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;600;700;800&display=swap\"
  153.                 rel=\"stylesheet\">
  154.                 <link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap\" rel=\"stylesheet\">
  155.                         <link rel=\"stylesheet\" href=\"/assets/css/modal.css\">
  156.             <link rel=\"stylesheet\" href=\"/assets/css/header.css\">
  157.             <link rel=\"stylesheet\" href=\"/assets/css/footer.css\">
  158.             <link rel=\"stylesheet\" href=\"/assets/css/cookiebot.css\">
  159.         ";
  160.         
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  162.         
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164.     }
  165.     // line 42
  166.     public function block_javascripts($context, array $blocks = [])
  167.     {
  168.         $macros $this->macros;
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  173.         // line 43
  174.         echo "            ";
  175.         // line 44
  176.         echo "             <!--jquery-->
  177.             <script src=\"/assets/lib/jquery-3.6.0.min.js\"></script>
  178.             <script src=\"/assets/lib/jquery-migrate-3.3.2.min.js\"></script>
  179.             <!--bootstrap-->
  180.             <script src=\"/assets/lib/bootstrap-5.0.2-dist/js/bootstrap.bundle.min.js\"></script>
  181.         
  182.             <!--Material-->
  183.             <script src=\"https://storage.googleapis.com/code.getmdl.io/1.0.0/material.min.js\"></script>
  184.             <script src=\"/assets/lib/date.format.js\"></script>   
  185.             <script src=\"/assets/js/global.js\"></script>  
  186.             <script src=\"/assets/js/login.js\"></script>   
  187.              <script src=\"/assets/js/fancybox.js\"></script>
  188.              <script src=\"/assets/js/cookies.js\"></script>
  189.              <script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"c451ab3b-1959-4a45-8bb3-bf606483c0b1\" data-blockingmode=\"auto\" type=\"text/javascript\"></script>
  190. \t\t\t<script type=\"text/javascript\">
  191.                 // \$(document).ready(function() {
  192.                 //     \$('body').cookieConsent({
  193.                 //         mode: 'bandeau',
  194.                 //         bandeau: {
  195.                 //             windows: '/bandeau'
  196.                 //         },
  197.                 //         windowsConfig: '/consent-config',
  198.                 //     });
  199.                 // });
  200.                \$(document).ready(function() {
  201.     var bannerIsClosed = false; // Flag to keep track if the banner is closed
  202.     function toggleStickyLinks() {
  203.         var footerOffset = \$('footer').offset().top;
  204.         var \$stickyLinks = \$('.sticky-links-mobile');
  205.         var screenWidth = \$(window).width();
  206.         if (screenWidth < 600) {
  207.              if (bannerClosed) {
  208.                   \$('.sticky-links-mobile').hide();
  209.                 }
  210.                 else {
  211.                  \$stickyLinks.css('display', 'block');
  212.                 }
  213.            \$(window).scroll(function() {
  214.     // Check if banner is closed, if so, do not show it again
  215.     if (bannerClosed) {
  216.         return;
  217.     }
  218.     if (bannerClosed) {
  219.         \$('.sticky-links-mobile').hide();
  220.     } else {
  221.         \$stickyLinks.css('display', 'block');
  222.     }
  223.     var scrollPosition = \$(window).scrollTop();
  224.     if (scrollPosition + \$(window).height() >= footerOffset) {
  225.         \$stickyLinks.css('display', 'none');
  226.     } else {
  227.         \$stickyLinks.css('display', 'block');
  228.     }
  229. });
  230.         } else {
  231.             \$stickyLinks.css('display', 'none');
  232.         }
  233.     }
  234.     // Call the function initially
  235.     toggleStickyLinks();
  236.     // Re-call the function on window resize
  237.     \$(window).resize(function() {
  238.         toggleStickyLinks();
  239.     });
  240.    // Close banner event
  241.     \$('.sticky-links-mobile .close-banner').on('click', function() {
  242.         \$('.sticky-links-mobile').hide();
  243.             document.cookie = \"bannerClosed=true; expires=Fri, 31 Dec 9999 23:59:59 GMT\";
  244.              bannerClosed = true;
  245.     });
  246.     var cookies = document.cookie.split(';');
  247.     var bannerClosed = false;
  248.     for (var i = 0; i < cookies.length; i++) {
  249.         var cookie = cookies[i].trim();
  250.         if (cookie.indexOf('bannerClosed=true') === 0) {
  251.             bannerClosed = true;
  252.             break;
  253.         }
  254.     }
  255.     if (bannerClosed) {
  256.         \$('.sticky-links-mobile').hide();
  257.     }
  258. });
  259.             </script>   
  260.         ";
  261.         
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  263.         
  264.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  265.     }
  266.     // line 149
  267.     public function block_body($context, array $blocks = [])
  268.     {
  269.         $macros $this->macros;
  270.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  271.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  272.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  273.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  274.         
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  276.         
  277.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  278.     }
  279.     // line 159
  280.     public function block_content($context, array $blocks = [])
  281.     {
  282.         $macros $this->macros;
  283.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  284.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  285.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  286.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  287.         // line 160
  288.         echo "        ";
  289.         
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  291.         
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  293.     }
  294.     // line 166
  295.     public function block_modals($context, array $blocks = [])
  296.     {
  297.         $macros $this->macros;
  298.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  300.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  302.         // line 167
  303.         echo "            ";
  304.         $this->loadTemplate("/modal/modalConnect.html.twig""base.html.twig"167)->display($context);
  305.         // line 168
  306.         echo "    ";
  307.         
  308.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  309.         
  310.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  311.     }
  312.     public function getTemplateName()
  313.     {
  314.         return "base.html.twig";
  315.     }
  316.     public function isTraitable()
  317.     {
  318.         return false;
  319.     }
  320.     public function getDebugInfo()
  321.     {
  322.         return array (  364 => 168,  361 => 167,  351 => 166,  341 => 160,  331 => 159,  313 => 149,  210 => 44,  208 => 43,  198 => 42,  170 => 22,  168 => 21,  158 => 20,  147 => 18,  137 => 17,  123 => 169,  121 => 166,  118 => 165,  116 => 164,  113 => 163,  111 => 162,  108 => 161,  106 => 159,  102 => 157,  99 => 155,  97 => 153,  92 => 150,  90 => 149,  77 => 138,  75 => 42,  72 => 41,  69 => 20,  67 => 17,  49 => 1,);
  323.     }
  324.     public function getSourceContext()
  325.     {
  326.         return new Source("<!DOCTYPE html>
  327. <html lang=\"fr\">
  328.     <head>
  329.       <meta charset=\"utf-8\">
  330.         
  331.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  332.         <link rel=\"icon\" type=\"image/png\" href=\"/assets/img/favicon.png\" />
  333.         <!-- Google Tag Manager -->
  334. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  335. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  336. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  337. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  338. })(window,document,'script','dataLayer','GTM-KJDMBH7N');</script>
  339. <!-- End Google Tag Manager -->
  340.         {% block meta %}
  341.         <title>My Audio</title>
  342.         {% endblock %}
  343.         {% block stylesheets %}
  344.             {#{{ encore_entry_link_tags('app') }}#}
  345.             <link rel=\"stylesheet\" href=\"/assets/css/fancybox.css\">
  346.             <link rel=\"stylesheet\" href=\"/assets/lib/bootstrap-5.0.2-dist/css/bootstrap.css\">
  347.             <link rel=\"stylesheet\" href=\"https://pro.fontawesome.com/releases/v5.10.0/css/all.css\"
  348.             integrity=\"sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p\" crossorigin=\"anonymous\" />
  349.             <!--icon-->
  350.             <link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">
  351.             <link rel=\"stylesheet\" href=\"https://storage.googleapis.com/code.getmdl.io/1.0.0/material.indigo-red.min.css\">
  352.             <!--Font-->
  353.             <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\">
  354.             <link href=\"https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;600;700;800&display=swap\"
  355.                 rel=\"stylesheet\">
  356.                 <link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap\" rel=\"stylesheet\">
  357.                         <link rel=\"stylesheet\" href=\"/assets/css/modal.css\">
  358.             <link rel=\"stylesheet\" href=\"/assets/css/header.css\">
  359.             <link rel=\"stylesheet\" href=\"/assets/css/footer.css\">
  360.             <link rel=\"stylesheet\" href=\"/assets/css/cookiebot.css\">
  361.         {% endblock %}
  362.         {% block javascripts %}
  363.             {#{{ encore_entry_script_tags('app') }}#}
  364.              <!--jquery-->
  365.             <script src=\"/assets/lib/jquery-3.6.0.min.js\"></script>
  366.             <script src=\"/assets/lib/jquery-migrate-3.3.2.min.js\"></script>
  367.             <!--bootstrap-->
  368.             <script src=\"/assets/lib/bootstrap-5.0.2-dist/js/bootstrap.bundle.min.js\"></script>
  369.         
  370.             <!--Material-->
  371.             <script src=\"https://storage.googleapis.com/code.getmdl.io/1.0.0/material.min.js\"></script>
  372.             <script src=\"/assets/lib/date.format.js\"></script>   
  373.             <script src=\"/assets/js/global.js\"></script>  
  374.             <script src=\"/assets/js/login.js\"></script>   
  375.              <script src=\"/assets/js/fancybox.js\"></script>
  376.              <script src=\"/assets/js/cookies.js\"></script>
  377.              <script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"c451ab3b-1959-4a45-8bb3-bf606483c0b1\" data-blockingmode=\"auto\" type=\"text/javascript\"></script>
  378. \t\t\t<script type=\"text/javascript\">
  379.                 // \$(document).ready(function() {
  380.                 //     \$('body').cookieConsent({
  381.                 //         mode: 'bandeau',
  382.                 //         bandeau: {
  383.                 //             windows: '/bandeau'
  384.                 //         },
  385.                 //         windowsConfig: '/consent-config',
  386.                 //     });
  387.                 // });
  388.                \$(document).ready(function() {
  389.     var bannerIsClosed = false; // Flag to keep track if the banner is closed
  390.     function toggleStickyLinks() {
  391.         var footerOffset = \$('footer').offset().top;
  392.         var \$stickyLinks = \$('.sticky-links-mobile');
  393.         var screenWidth = \$(window).width();
  394.         if (screenWidth < 600) {
  395.              if (bannerClosed) {
  396.                   \$('.sticky-links-mobile').hide();
  397.                 }
  398.                 else {
  399.                  \$stickyLinks.css('display', 'block');
  400.                 }
  401.            \$(window).scroll(function() {
  402.     // Check if banner is closed, if so, do not show it again
  403.     if (bannerClosed) {
  404.         return;
  405.     }
  406.     if (bannerClosed) {
  407.         \$('.sticky-links-mobile').hide();
  408.     } else {
  409.         \$stickyLinks.css('display', 'block');
  410.     }
  411.     var scrollPosition = \$(window).scrollTop();
  412.     if (scrollPosition + \$(window).height() >= footerOffset) {
  413.         \$stickyLinks.css('display', 'none');
  414.     } else {
  415.         \$stickyLinks.css('display', 'block');
  416.     }
  417. });
  418.         } else {
  419.             \$stickyLinks.css('display', 'none');
  420.         }
  421.     }
  422.     // Call the function initially
  423.     toggleStickyLinks();
  424.     // Re-call the function on window resize
  425.     \$(window).resize(function() {
  426.         toggleStickyLinks();
  427.     });
  428.    // Close banner event
  429.     \$('.sticky-links-mobile .close-banner').on('click', function() {
  430.         \$('.sticky-links-mobile').hide();
  431.             document.cookie = \"bannerClosed=true; expires=Fri, 31 Dec 9999 23:59:59 GMT\";
  432.              bannerClosed = true;
  433.     });
  434.     var cookies = document.cookie.split(';');
  435.     var bannerClosed = false;
  436.     for (var i = 0; i < cookies.length; i++) {
  437.         var cookie = cookies[i].trim();
  438.         if (cookie.indexOf('bannerClosed=true') === 0) {
  439.             bannerClosed = true;
  440.             break;
  441.         }
  442.     }
  443.     if (bannerClosed) {
  444.         \$('.sticky-links-mobile').hide();
  445.     }
  446. });
  447.             </script>   
  448.         {% endblock %}
  449.     </head>
  450.     <body>
  451.         <!-- Google Tag Manager (noscript) -->
  452. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-KJDMBH7N\"
  453. height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  454. <!-- End Google Tag Manager (noscript) -->
  455.         {% block body %}{% endblock %}
  456.     
  457.     <header id=\"nav-header\">
  458.     {{ render(controller(
  459.         'App\\\\Controller\\\\headerController::renderHeader',
  460.     )) }}
  461.          {# include \"/header.html.twig\" #}
  462.     </header>
  463.     <main>
  464.         {% block content %}
  465.         {% endblock %}
  466.     </main>
  467.      {% include \"/bandemobile.html.twig\" %}
  468.      <footer class=\"home_footer\">
  469.         {% include \"/footer.html.twig\" %}
  470.     </footer>
  471.     {% block modals %}
  472.             {% include \"/modal/modalConnect.html.twig\" %}
  473.     {% endblock %}
  474.     </body>
  475. </html>
  476. ""base.html.twig""/var/www/my-audio-site/templates/base.html.twig");
  477.     }
  478. }