var/cache/website/dev/twig/56/56eb0406db71be360437139d51fd87a1.php line 268

  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_89cfdac6e9ecc3d09e68367d8fdc79b9 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.             'style' => [$this'block_style'],
  26.             'content' => [$this'block_content'],
  27.         ];
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  36.         // line 1
  37.         $context["is_homepage"] = (((twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'1$this->source); })()), "url", [], "any"falsefalsefalse1) == "/")) ? (true) : (false));
  38.         // line 2
  39.         $context["title"] = "";
  40.         // line 3
  41.         if (twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"truetruefalse3)) {
  42.             // line 4
  43.             echo "    ";
  44.             $context["title"] = (twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'4$this->source); })()), "title", [], "any"falsefalsefalse4) . " | NDH");
  45.         }
  46.         // line 6
  47.         $context["subline"] = "";
  48.         // line 7
  49.         $context['_parent'] = $context;
  50.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'7$this->source); })()), "blocks", [], "any"falsefalsefalse7));
  51.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  52.             // line 8
  53.             echo "    ";
  54.             if ((twig_get_attribute($this->env$this->source$context["item"], "type", [], "any"falsefalsefalse8) == "heading_dynamic")) {
  55.                 // line 9
  56.                 echo "        ";
  57.                 if ((twig_get_attribute($this->env$this->source$context["item"], "heading", [], "any"truetruefalse9) && (twig_get_attribute($this->env$this->source$context["item"], "heading", [], "any"falsefalsefalse9) != ""))) {
  58.                     // line 10
  59.                     echo "            ";
  60.                     $context["subline"] = ((isset($context["subline"]) || array_key_exists("subline"$context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.'10$this->source); })()) . twig_get_attribute($this->env$this->source$context["item"], "heading", [], "any"falsefalsefalse10));
  61.                     // line 11
  62.                     echo "        ";
  63.                 }
  64.                 // line 12
  65.                 echo "        ";
  66.                 if ((twig_get_attribute($this->env$this->source$context["item"], "subline", [], "any"truetruefalse12) && (twig_get_attribute($this->env$this->source$context["item"], "subline", [], "any"falsefalsefalse12) != ""))) {
  67.                     // line 13
  68.                     echo "            ";
  69.                     $context["subline"] = (((isset($context["subline"]) || array_key_exists("subline"$context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.'13$this->source); })()) . " - ") . twig_get_attribute($this->env$this->source$context["item"], "subline", [], "any"falsefalsefalse13));
  70.                     // line 14
  71.                     echo "        ";
  72.                 }
  73.                 // line 15
  74.                 echo "    ";
  75.             }
  76.         }
  77.         $_parent $context['_parent'];
  78.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  79.         $context array_intersect_key($context$_parent) + $_parent;
  80.         // line 17
  81.         $context["media"] = ($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath("/") . "/uploads/media/pageImage/05/715-NDH_DüsseldorfHafen_Containerterminal_nacht_DSC_0882.jpg?v=1-0");
  82.         // line 18
  83.         echo "
  84. ";
  85.         // line 19
  86.         if ((twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "image", [], "any"truetruefalse19) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'19$this->source); })()), "image", [], "any"falsefalsefalse19)))) {
  87.             // line 20
  88.             echo "    ";
  89.             $context["socialImage"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'20$this->source); })()), "image", [], "any"falsefalsefalse20), 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.'20$this->source); })()), "request", [], "any"falsefalsefalse20), "locale", [], "any"falsefalsefalse20));
  90.             // line 21
  91.             echo "    ";
  92.             if ( !(null === (isset($context["socialImage"]) || array_key_exists("socialImage"$context) ? $context["socialImage"] : (function () { throw new RuntimeError('Variable "socialImage" does not exist.'21$this->source); })()))) {
  93.                 // line 22
  94.                 echo "        ";
  95.                 $context["media"] = $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["socialImage"]) || array_key_exists("socialImage"$context) ? $context["socialImage"] : (function () { throw new RuntimeError('Variable "socialImage" does not exist.'22$this->source); })()), "thumbnails", [], "any"falsefalsefalse22), "pageImage", [], "array"falsefalsefalse22));
  96.                 // line 23
  97.                 echo "    ";
  98.             }
  99.         }
  100.         // line 25
  101.         echo "
  102. <!doctype html>
  103. <html class=\"no-js\" lang=\"";
  104.         // line 27
  105.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_split_filter($this->envtwig_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.'27$this->source); })()), "request", [], "any"falsefalsefalse27), "locale", [], "any"falsefalsefalse27), "_"), 0, [], "array"falsefalsefalse27), "html"nulltrue);
  106.         echo "\">
  107. <head>
  108.     <meta charset=\"UTF-8\">
  109.     <meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
  110.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
  111.     ";
  112.         // line 33
  113.         $this->displayBlock('meta'$context$blocks);
  114.         // line 42
  115.         echo "
  116.     <meta itemprop=\"name\" content=\"";
  117.         // line 43
  118.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse43), "title", [], "any"truetruefalse43)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse43), "title", [], "any"falsefalsefalse43), (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'43$this->source); })()))) : ((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'43$this->source); })()))), "html"nulltrue);
  119.         echo "\">
  120.     <meta itemprop=\"description\" content=\"";
  121.         // line 44
  122.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse44), "description", [], "any"truetruefalse44)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse44), "description", [], "any"falsefalsefalse44), (isset($context["subline"]) || array_key_exists("subline"$context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.'44$this->source); })()))) : ((isset($context["subline"]) || array_key_exists("subline"$context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.'44$this->source); })()))), "html"nulltrue);
  123.         echo "\">
  124.     <meta itemprop=\"image\" content=\"";
  125.         // line 45
  126.         echo twig_escape_filter($this->env, (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'45$this->source); })()), "html"nulltrue);
  127.         echo "\">
  128.     <meta property=\"twitter:card\" content=\"summary_large_image\">
  129.     <meta property=\"twitter:title\" content=\"";
  130.         // line 48
  131.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse48), "title", [], "any"truetruefalse48)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse48), "title", [], "any"falsefalsefalse48), (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'48$this->source); })()))) : ((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'48$this->source); })()))), "html"nulltrue);
  132.         echo "\">
  133.     <meta property=\"twitter:domain\" content=\"";
  134.         // line 49
  135.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse49), "host", [], "any"truetruefalse49)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse49), "host", [], "any"falsefalsefalse49), "ndh.de")) : ("ndh.de")), "html"nulltrue);
  136.         echo "\">
  137.     <meta property=\"twitter:url\" content=\"";
  138.         // line 50
  139.         echo twig_escape_filter($this->env_twig_default_filter($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'50$this->source); })()), "url", [], "any"falsefalsefalse50)), "https://ndh.de"), "html"nulltrue);
  140.         echo "\">
  141.     <meta property=\"twitter:description\" content=\"";
  142.         // line 51
  143.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse51), "description", [], "any"truetruefalse51)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse51), "description", [], "any"falsefalsefalse51), (isset($context["subline"]) || array_key_exists("subline"$context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.'51$this->source); })()))) : ((isset($context["subline"]) || array_key_exists("subline"$context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.'51$this->source); })()))), "html"nulltrue);
  144.         echo "\">
  145.     <meta property=\"twitter:image\" content=\"";
  146.         // line 52
  147.         echo twig_escape_filter($this->env, (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'52$this->source); })()), "html"nulltrue);
  148.         echo "\">
  149.     <meta property=\"og:title\" content=\"";
  150.         // line 54
  151.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse54), "title", [], "any"truetruefalse54)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse54), "title", [], "any"falsefalsefalse54), (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'54$this->source); })()))) : ((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'54$this->source); })()))), "html"nulltrue);
  152.         echo "\" />
  153.     <meta property=\"og:type\" content=\"website\" />
  154.     <meta property=\"og:url\" content=\"";
  155.         // line 56
  156.         echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'56$this->source); })()), "url", [], "any"falsefalsefalse56)), "html"nulltrue);
  157.         echo "\" />
  158.     <meta property=\"og:image\" content=\"";
  159.         // line 57
  160.         echo twig_escape_filter($this->env, (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'57$this->source); })()), "html"nulltrue);
  161.         echo "\" />
  162.     <meta property=\"og:description\" content=\"";
  163.         // line 58
  164.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse58), "description", [], "any"truetruefalse58)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsetruefalse58), "description", [], "any"falsefalsefalse58), (isset($context["subline"]) || array_key_exists("subline"$context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.'58$this->source); })()))) : ((isset($context["subline"]) || array_key_exists("subline"$context) ? $context["subline"] : (function () { throw new RuntimeError('Variable "subline" does not exist.'58$this->source); })()))), "html"nulltrue);
  165.         echo "\" />
  166.     <meta property=\"og:site_name\" content=\"NDH\" />
  167.     <meta name=\"google-site-verification\" content=\"lTalCtrbJkvln6o2b1ZGmY3tx1lpKd9j3pEJ6CkJ0eA\" />
  168.     ";
  169.         // line 63
  170.         $this->displayBlock('style'$context$blocks);
  171.         // line 64
  172.         echo "    <!-- Compressed CSS -->
  173.     <link rel=\"stylesheet\" href=\"";
  174.         // line 65
  175.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/app.css"), "html"nulltrue);
  176.         echo "\">
  177.     <link rel=\"stylesheet\" href=\"";
  178.         // line 66
  179.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/style.css"), "html"nulltrue);
  180.         echo "?v=";
  181.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""YmdHis"), "html"nulltrue);
  182.         echo "\">
  183.     <link rel=\"stylesheet\" href=\"";
  184.         // line 67
  185.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/cookieconsent.css"), "html"nulltrue);
  186.         echo "\">
  187.     <link rel=\"stylesheet\" href=\"";
  188.         // line 68
  189.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/fontawesome.all.min.css"), "html"nulltrue);
  190.         echo "\">
  191.     <link rel=\"stylesheet\" href=\"";
  192.         // line 69
  193.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/motion-ui.min.css"), "html"nulltrue);
  194.         echo "\" />
  195.     <link rel='stylesheet' href=";
  196.         // line 70
  197.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/css/slim-lightbox.min.css"), "html"nulltrue);
  198.         echo " type='text/css' media='all'>
  199.     <script type=\"text/javascript\" src=";
  200.         // line 71
  201.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/slim-lightbox.min.js"), "html"nulltrue);
  202.         echo "></script>
  203.     <style>
  204.         /* Custom play button image url */
  205.         div[class^=\"youtube-player\"] .play {
  206.             background: url(";
  207.         // line 76
  208.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/playbutton.png"), "html"nulltrue);
  209.         echo ") no-repeat;
  210.         }
  211.     </style>
  212. </head>
  213. <body ";
  214.         // line 81
  215.         if ((isset($context["is_homepage"]) || array_key_exists("is_homepage"$context) ? $context["is_homepage"] : (function () { throw new RuntimeError('Variable "is_homepage" does not exist.'81$this->source); })())) {
  216.             echo "class=\"is-homepage\"";
  217.         }
  218.         echo "  data-sticky-container>
  219. <div class=\"sticky header-bar\" data-sticky data-options=\"marginTop:0;\">
  220.     <div class=\"title-bar hide-for-large\" data-hide-for=\"large\" data-responsive-toggle=\"animated-menu\">
  221.         <a href=\"/\">
  222.             <img src=\"";
  223.         // line 86
  224.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/NDH-Logo-small.png"), "html"nulltrue);
  225.         echo "\" alt=\"NDH\" style=\"max-width: 209px;\">
  226.         </a>
  227.         <button class=\"menu-icon btn\" type=\"button\" data-toggle></button>
  228.     </div>
  229.     <header id=\"animated-menu\" class=\"top-bar nd-top-bar\" style=\"width:100%\">
  230.         <div class=\"top-bar-left\">
  231.             <nav class=\"grid-x grid-margin-x grid-padding-x align-justify align-middle\">
  232.                 <div class=\"cell small-auto large-shrink text-center large-text-left show-for-large logocontainer\">
  233.                     <a href=\"/\">
  234.                         <img src=\"";
  235.         // line 95
  236.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/NDH-Logo-small.png"), "html"nulltrue);
  237.         echo "\" alt=\"NDH\" style=\"max-width: 209px;\">
  238.                     </a>
  239.                 </div>
  240.                 <ul class=\"cell auto vertical menu large-horizontal align-special\"
  241.                     data-responsive-menu=\"accordion large-dropdown\"
  242.                     data-submenu-toggle=\"true\"
  243.                     data-multi-open=\"false\"
  244.                     data-hover-delay=\"50\"
  245.                     data-closing-time=\"0\"
  246.                     aria-label=\"Hauptmenü\">
  247.                     ";
  248.         // line 106
  249.         echo "                    ";
  250.         $context['_parent'] = $context;
  251.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("main"3));
  252.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  253.             // line 107
  254.             echo "                        <li ";
  255.             echo (((is_string($__internal_compile_0 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.'107$this->source); })()), "request", [], "any"falsefalsefalse107), "uri", [], "any"falsefalsefalse107)) && is_string($__internal_compile_1 $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse107))) && ('' === $__internal_compile_1 || === strpos($__internal_compile_0$__internal_compile_1)))) ? ("class=\"is-active-special\"") : (""));
  256.             echo ">
  257.                             <a href=\"";
  258.             // line 108
  259.             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse108)), "html"nulltrue);
  260.             echo "\">
  261.                                 ";
  262.             // line 109
  263.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse109), "html"nulltrue);
  264.             echo "
  265.                                 ";
  266.             // line 110
  267.             echo (((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "children", [], "any"falsefalsefalse110)) > 0)) ? ("<span class=\"sub-arrow\">&nbsp;<i class=\"fas fa-plus-square\"></i></span>") : (""));
  268.             echo "
  269.                                 ";
  270.             // line 111
  271.             echo (((is_string($__internal_compile_2 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.'111$this->source); })()), "request", [], "any"falsefalsefalse111), "uri", [], "any"falsefalsefalse111)) && is_string($__internal_compile_3 $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse111))) && ('' === $__internal_compile_3 || === strpos($__internal_compile_2$__internal_compile_3)))) ? ("<span class=\"sr-only\">(current)</span>") : (""));
  272.             echo "
  273.                             </a>
  274.                             ";
  275.             // line 113
  276.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "children", [], "any"falsefalsefalse113)) > 0)) {
  277.                 // line 114
  278.                 echo "                            <ul class=\"nested menu\">
  279.                                 ";
  280.                 // line 115
  281.                 $context['_parent'] = $context;
  282.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["item"], "children", [], "any"falsefalsefalse115));
  283.                 foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  284.                     // line 116
  285.                     echo "                                <li ";
  286.                     echo (((is_string($__internal_compile_4 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.'116$this->source); })()), "request", [], "any"falsefalsefalse116), "uri", [], "any"falsefalsefalse116)) && is_string($__internal_compile_5 $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["child"], "url", [], "any"falsefalsefalse116))) && ('' === $__internal_compile_5 || === strpos($__internal_compile_4$__internal_compile_5)))) ? ("class=\"is-active\"") : (""));
  287.                     echo ">
  288.                                     <a href=\"";
  289.                     // line 117
  290.                     echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["child"], "url", [], "any"falsefalsefalse117)), "html"nulltrue);
  291.                     echo "\">
  292.                                         ";
  293.                     // line 118
  294.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["child"], "title", [], "any"falsefalsefalse118), "html"nulltrue);
  295.                     echo "
  296.                                         ";
  297.                     // line 119
  298.                     echo (((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["child"], "children", [], "any"falsefalsefalse119)) > 0)) ? ("<span class=\"sub-arrow\">&nbsp;<i class=\"fas fa-plus-square\"></i></span>") : (""));
  299.                     echo "
  300.                                         ";
  301.                     // line 120
  302.                     echo (((is_string($__internal_compile_6 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"falsefalsefalse120), "uri", [], "any"falsefalsefalse120)) && is_string($__internal_compile_7 $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["child"], "url", [], "any"falsefalsefalse120))) && ('' === $__internal_compile_7 || === strpos($__internal_compile_6$__internal_compile_7)))) ? ("<span class=\"sr-only\">(current)</span>") : (""));
  303.                     echo "
  304.                                     </a>
  305.                                     ";
  306.                     // line 122
  307.                     if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["child"], "children", [], "any"falsefalsefalse122)) > 0)) {
  308.                         // line 123
  309.                         echo "                                    <ul class=\"nested menu\">
  310.                                         ";
  311.                         // line 124
  312.                         $context['_parent'] = $context;
  313.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["child"], "children", [], "any"falsefalsefalse124));
  314.                         foreach ($context['_seq'] as $context["_key"] => $context["grandchild"]) {
  315.                             // line 125
  316.                             echo "                                        <li ";
  317.                             echo (((is_string($__internal_compile_8 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.'125$this->source); })()), "request", [], "any"falsefalsefalse125), "uri", [], "any"falsefalsefalse125)) && is_string($__internal_compile_9 $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["grandchild"], "url", [], "any"falsefalsefalse125))) && ('' === $__internal_compile_9 || === strpos($__internal_compile_8$__internal_compile_9)))) ? ("class=\"is-active\"") : (""));
  318.                             echo ">
  319.                                             <a href=\"";
  320.                             // line 126
  321.                             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["grandchild"], "url", [], "any"falsefalsefalse126)), "html"nulltrue);
  322.                             echo "\">
  323.                                                 ";
  324.                             // line 127
  325.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["grandchild"], "title", [], "any"falsefalsefalse127), "html"nulltrue);
  326.                             echo "
  327.                                             </a>
  328.                                         </li>
  329.                                         ";
  330.                         }
  331.                         $_parent $context['_parent'];
  332.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['grandchild'], $context['_parent'], $context['loop']);
  333.                         $context array_intersect_key($context$_parent) + $_parent;
  334.                         // line 131
  335.                         echo "                                    </ul>
  336.                                     ";
  337.                     }
  338.                     // line 133
  339.                     echo "                                </li>
  340.                                 ";
  341.                 }
  342.                 $_parent $context['_parent'];
  343.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  344.                 $context array_intersect_key($context$_parent) + $_parent;
  345.                 // line 135
  346.                 echo "                            </ul>
  347.                             ";
  348.             }
  349.             // line 137
  350.             echo "                        </li>
  351.                     ";
  352.         }
  353.         $_parent $context['_parent'];
  354.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  355.         $context array_intersect_key($context$_parent) + $_parent;
  356.         // line 139
  357.         echo "                </ul>
  358.             </nav>
  359.         </div>
  360.     </header>
  361. </div>
  362. <main>
  363.     ";
  364.         // line 145
  365.         $this->displayBlock('content'$context$blocks);
  366.         // line 146
  367.         echo "</main>
  368. ";
  369.         // line 149
  370.         if (twig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"truetruefalse149)) {
  371.             // line 150
  372.             echo "<nav aria-label=\"Sie sind hier:\" role=\"navigation\" class=\"large\">
  373.     <article class=\"grid-container\">
  374.         <ul class=\"breadcrumbs pull-width\">
  375.             ";
  376.             // line 153
  377.             if (twig_in_filter("/news/"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.'153$this->source); })()), "request", [], "any"falsefalsefalse153), "pathInfo", [], "any"falsefalsefalse153))) {
  378.                 echo "<li>
  379.                 <a href=\"/news\">News</a>
  380.                 ";
  381.                 // line 155
  382.                 if ((isset($context["news"]) || array_key_exists("news"$context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.'155$this->source); })())) {
  383.                     // line 156
  384.                     echo "                    <img aria-hidden=\"true\" class=\"nd-breadcrumb-icon\" src=\"";
  385.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/nd_icon_breadcrumbs.png"), "html"nulltrue);
  386.                     echo "\" alt=\"ND Group Icon\" />
  387.                     <a href=\"";
  388.                     // line 157
  389.                     echo twig_escape_filter($this->envtwig_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.'157$this->source); })()), "request", [], "any"falsefalsefalse157), "pathInfo", [], "any"falsefalsefalse157), "html"nulltrue);
  390.                     echo "\" aria-current=\"page\">";
  391.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["news"]) || array_key_exists("news"$context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.'157$this->source); })()), "title", [], "any"falsefalsefalse157), "html"nulltrue);
  392.                     echo "</a>
  393.                 ";
  394.                 }
  395.                 // line 159
  396.                 echo "            </li>
  397.             ";
  398.             } else {
  399.                 // line 161
  400.                 echo "                ";
  401.                 if (array_key_exists("uuid"$context)) {
  402.                     // line 162
  403.                     echo "                    ";
  404.                     $context['_parent'] = $context;
  405.                     $context['_seq'] = twig_ensure_traversable(twig_slice($this->env$this->env->getFunction('sulu_breadcrumb')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'162$this->source); })())), 1));
  406.                     $context['loop'] = [
  407.                       'parent' => $context['_parent'],
  408.                       'index0' => 0,
  409.                       'index'  => 1,
  410.                       'first'  => true,
  411.                     ];
  412.                     if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  413.                         $length count($context['_seq']);
  414.                         $context['loop']['revindex0'] = $length 1;
  415.                         $context['loop']['revindex'] = $length;
  416.                         $context['loop']['length'] = $length;
  417.                         $context['loop']['last'] = === $length;
  418.                     }
  419.                     foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  420.                         // line 163
  421.                         echo "                        <li>
  422.                             <a href=\"";
  423.                         // line 164
  424.                         echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse164)), "html"nulltrue);
  425.                         echo "\" ";
  426.                         echo ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse164)) ? ("aria-current=\"page\"") : (""));
  427.                         echo ">";
  428.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse164), "html"nulltrue);
  429.                         echo "</a>
  430.                             ";
  431.                         // line 165
  432.                         if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse165)) {
  433.                             // line 166
  434.                             echo "                                <img aria-hidden=\"true\" class=\"nd-breadcrumb-icon\" src=\"";
  435.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/img/nd_icon_breadcrumbs.png"), "html"nulltrue);
  436.                             echo "\" alt=\"ND Group Icon\" />
  437.                             ";
  438.                         }
  439.                         // line 168
  440.                         echo "                        </li>
  441.                     ";
  442.                         ++$context['loop']['index0'];
  443.                         ++$context['loop']['index'];
  444.                         $context['loop']['first'] = false;
  445.                         if (isset($context['loop']['length'])) {
  446.                             --$context['loop']['revindex0'];
  447.                             --$context['loop']['revindex'];
  448.                             $context['loop']['last'] = === $context['loop']['revindex0'];
  449.                         }
  450.                     }
  451.                     $_parent $context['_parent'];
  452.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  453.                     $context array_intersect_key($context$_parent) + $_parent;
  454.                     // line 170
  455.                     echo "                ";
  456.                 }
  457.                 // line 171
  458.                 echo "            ";
  459.             }
  460.             // line 172
  461.             echo "        </ul>
  462.     </article>
  463. </nav>
  464. ";
  465.         }
  466.         // line 176
  467.         echo "
  468. <footer class=\"callout large primary\">
  469.     <article class=\"grid-container\">
  470.         <div class=\"grid-x pull-width\">
  471.             <div class=\"large-3 cell\">
  472.                 <ul class=\"menu vertical\">
  473.                     ";
  474.         // line 182
  475.         $context['_parent'] = $context;
  476.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("meta"2));
  477.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  478.             // line 183
  479.             echo "                        <li><a href=\"";
  480.             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse183)), "html"nulltrue);
  481.             echo "\" target=\"_self\">";
  482.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse183), "html"nulltrue);
  483.             echo "</a></li>
  484.                     ";
  485.         }
  486.         $_parent $context['_parent'];
  487.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  488.         $context array_intersect_key($context$_parent) + $_parent;
  489.         // line 185
  490.         echo "                    <li><a href=\"javascript:void(0);\" id=\"cc-revoke-choice\" target=\"_self\">Cookie-Einstellungen</a></li>
  491.                 </ul>
  492.             </div>
  493.             <div class=\"large-4 large-offset-1 cell\">
  494.                 <p><strong>Neuss-Düsseldorfer Häfen</strong><br>Hammer Landstraße 3<br>41460 Neuss<br>Tel.: +49
  495.                     2131 5323-0<br>Fax: +49 2131 5323-105<br>E-Mail:&nbsp;<a href=\"mailto:info@nd-haefen.de\" class=\"contact-email\">info@nd-haefen.de</a>
  496.                 </p>
  497.                 <p><strong>Geschäftsführer:</strong><br>Ass. iur. Sascha Odermatt, Rechtsanwalt</p>
  498.             </div>
  499.             <div class=\"large-3 large-offset-1 cell\"><strong>NDH im Social Web</strong>
  500.                 <div class=\"social-icons-wrapper d-flex justify-content-start gap-5 mt-2\">
  501.                     <a href=\"https://www.facebook.com/NDHaefen\" target=\"_blank\" class=\"button-wrapper socialicon\">
  502.                         <span class=\"btn btn-primary\"><i class=\"fab fa-facebook-f text-dark\"></i></span>
  503.                     </a>
  504.                     <a href=\"https://www.instagram.com/ndhaefen\" target=\"_blank\" class=\"button-wrapper socialicon\">
  505.                         <span class=\"btn btn-primary\"><i class=\"fab fa-instagram text-dark\"></i></span>
  506.                     </a>
  507.                     <a href=\"https://de.linkedin.com/company/neuss-d%C3%BCsseldorfer-h%C3%A4fen-gmbh-&-co.-kg\" target=\"_blank\" class=\"button-wrapper socialicon\">
  508.                         <span class=\"btn btn-primary\"><i class=\"fab fa-linkedin-in text-dark\"></i></span>
  509.                     </a>
  510.                 </div>
  511.             </div>
  512.         </div>
  513.     </article>
  514. </footer>
  515. <button class=\"scrollToTopBtn\" aria-description=\"An den Seitenanfang scrollen\">TOP</button>
  516. <script src=\"";
  517.         // line 213
  518.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/jquery-3.7.1.min.js"), "html"nulltrue);
  519.         echo "\"></script>
  520. <!-- Compressed JavaScript -->
  521. <script src=\"";
  522.         // line 215
  523.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.min.js"), "html"nulltrue);
  524.         echo "\"></script>
  525. <script src=\"";
  526.         // line 216
  527.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.core.min.js"), "html"nulltrue);
  528.         echo "\"></script>
  529. <script src=\"";
  530.         // line 217
  531.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.mediaQuery.min.js"), "html"nulltrue);
  532.         echo "\"></script>
  533. <script src=\"";
  534.         // line 218
  535.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.keyboard.min.js"), "html"nulltrue);
  536.         echo "\"></script>
  537. <script src=\"";
  538.         // line 219
  539.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.motion.min.js"), "html"nulltrue);
  540.         echo "\"></script>
  541. <script src=\"";
  542.         // line 220
  543.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.triggers.min.js"), "html"nulltrue);
  544.         echo "\"></script>
  545. <script src=\"";
  546.         // line 221
  547.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.nest.min.js"), "html"nulltrue);
  548.         echo "\"></script>
  549. <script src=\"";
  550.         // line 222
  551.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.touch.min.js"), "html"nulltrue);
  552.         echo "\"></script>
  553. <script src=\"";
  554.         // line 223
  555.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.util.box.min.js"), "html"nulltrue);
  556.         echo "\"></script>
  557. <script src=\"";
  558.         // line 224
  559.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.drilldown.min.js"), "html"nulltrue);
  560.         echo "\"></script>
  561. <script src=\"";
  562.         // line 225
  563.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.accordion.min.js"), "html"nulltrue);
  564.         echo "\"></script>
  565. <script src=\"";
  566.         // line 226
  567.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.accordionMenu.min.js"), "html"nulltrue);
  568.         echo "\"></script>
  569. <script src=\"";
  570.         // line 227
  571.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.dropdown.min.js"), "html"nulltrue);
  572.         echo "\"></script>
  573. <script src=\"";
  574.         // line 228
  575.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.dropdownMenu.min.js"), "html"nulltrue);
  576.         echo "\"></script>
  577. <script src=\"";
  578.         // line 229
  579.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.responsiveMenu.min.js"), "html"nulltrue);
  580.         echo "\"></script>
  581. <script src=\"";
  582.         // line 230
  583.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.responsiveToggle.min.js"), "html"nulltrue);
  584.         echo "\"></script>
  585. <script src=\"";
  586.         // line 231
  587.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.orbit.min.js"), "html"nulltrue);
  588.         echo "\"></script>
  589. <script src=\"";
  590.         // line 232
  591.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.sticky.min.js"), "html"nulltrue);
  592.         echo "\"></script>
  593. <script src=\"";
  594.         // line 233
  595.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/foundation.toggler.min.js"), "html"nulltrue);
  596.         echo "\"></script>
  597. <script>
  598.     \$(document).foundation();
  599.     let scrollBefore = 0;
  600.     let ticking = false;
  601.     let hidden = false;
  602.     let lockHide = false;
  603.     let mobileIndicatorEl = document.querySelector('.title-bar');
  604.     let mobileIndicatorStyle = window.getComputedStyle ? getComputedStyle(mobileIndicatorEl, null) : mobileIndicatorEl.currentStyle;
  605.     let isMobile = (mobileIndicatorStyle.display !== \"none\");
  606.     document.querySelector('header').addEventListener('mouseenter', (e) => {
  607.         lockHide = true;
  608.     });
  609.     document.querySelector('header').addEventListener('mouseleave', (e) => {
  610.         lockHide = false;
  611.     });
  612.     window.addEventListener(\"scroll\", handleScroll);
  613.     // get a reference to our predefined button
  614.     var scrollToTopBtn = document.querySelector(\".scrollToTopBtn\");
  615.     function handleScroll() {
  616.         if (!isMobile) {
  617.             if (!ticking) {
  618.                 window.requestAnimationFrame(() => {
  619.                     const scrolled = window.scrollY;
  620.                     if (scrollBefore > scrolled) {
  621.                         if (hidden) {
  622.                             ticking = true;
  623.                             \$('header').fadeTo('fast', 1, () => { ticking = false; hidden = false; });
  624.                             if(scrollToTopBtn.classList.contains(\"showScrollBtn\"))
  625.                                 scrollToTopBtn.classList.remove(\"showScrollBtn\")
  626.                         } else {
  627.                             ticking = false;
  628.                         }
  629.                         scrollBefore = scrolled;
  630.                     } else {
  631.                         if (!hidden && !lockHide) {
  632.                             ticking = true;
  633.                             \$('header').fadeTo('fast', 0, () => { ticking = false; hidden = true; });
  634.                             if(!scrollToTopBtn.classList.contains(\"showScrollBtn\"))
  635.                                 scrollToTopBtn.classList.add(\"showScrollBtn\")
  636.                         } else {
  637.                             ticking = false;
  638.                         }
  639.                         scrollBefore = scrolled;
  640.                     }
  641.                 });
  642.                 ticking = true;
  643.             }
  644.         }
  645.     }
  646.     scrollToTopBtn.addEventListener(\"click\", scrollToTop);
  647.     function scrollToTop() {
  648.         window.scrollTo({
  649.             top: 0,
  650.             behavior: \"smooth\"
  651.         });
  652.     }
  653.     function decryptEmail(encoded) {
  654.         var address = atob(encoded);
  655.         window.open(\"mailto:\" + address, '_blank') || window.location.replace(\"mailto:\" + address);
  656.     }
  657. </script>
  658. <script type='text/javascript' src=";
  659.         // line 300
  660.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library/js/cookieconsent2.min.js"), "html"nulltrue);
  661.         echo " id='cookieconsent-js' defer></script>
  662. <link rel=\"stylesheet\" id=\"cookieconsent-css\" href=";
  663.         // line 301
  664.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/library//css/cookieconsent2.css"), "html"nulltrue);
  665.         echo " type=\"text/css\" media=\"all\">
  666. ";
  667.         // line 302
  668.         $context["snippets"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("cookieconsent");
  669.         // line 303
  670.         if ((isset($context["snippets"]) || array_key_exists("snippets"$context) ? $context["snippets"] : (function () { throw new RuntimeError('Variable "snippets" does not exist.'303$this->source); })())) {
  671.             // line 304
  672.             echo "    ";
  673.             $context["cookies"] = twig_get_attribute($this->env$this->source, (isset($context["snippets"]) || array_key_exists("snippets"$context) ? $context["snippets"] : (function () { throw new RuntimeError('Variable "snippets" does not exist.'304$this->source); })()), "content", [], "any"falsefalsefalse304);
  674.             // line 305
  675.             echo "    <script defer>
  676.         window.addEventListener('load', function() {
  677.             const CC = window.CookieConsent;
  678.             const cc = new CC({
  679.                 mode: 'disabled',
  680.                 type: 'opt-in',
  681.                 revokable: true,
  682.                 consentSettingsElementId: 'cc-revoke-choice',
  683.                 cookie: {
  684.                     domain: '";
  685.             // line 314
  686.             echo twig_escape_filter($this->envtwig_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.'314$this->source); })()), "request", [], "any"falsefalsefalse314), "host", [], "any"falsefalsefalse314), "html"nulltrue);
  687.             echo "',
  688.                 },
  689.                 layout: 'categories',
  690.                 showLink: false,
  691.                 palette:{
  692.                     popup: {background: \"";
  693.             // line 319
  694.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "popup_bg", [], "any"truetruefalse319)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "popup_bg", [], "any"falsefalsefalse319), "#FFFFFF")) : ("#FFFFFF")), "html"nulltrue);
  695.             echo "\", text: \"";
  696.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "popup_text", [], "any"truetruefalse319)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "popup_text", [], "any"falsefalsefalse319), "#000000")) : ("#000000")), "html"nulltrue);
  697.             echo "\", link: \"";
  698.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "popup_text", [], "any"truetruefalse319)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "popup_text", [], "any"falsefalsefalse319), "#000000")) : ("#000000")), "html"nulltrue);
  699.             echo "\"},
  700.                     button: {background: \"";
  701.             // line 320
  702.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "button_bg", [], "any"truetruefalse320)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "button_bg", [], "any"falsefalsefalse320), "#0069b2")) : ("#0069b2")), "html"nulltrue);
  703.             echo "\", text: \"";
  704.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "button_text", [], "any"truetruefalse320)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "button_text", [], "any"falsefalsefalse320), "#FFFFFF")) : ("#FFFFFF")), "html"nulltrue);
  705.             echo "\", link: \"";
  706.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "button_text", [], "any"truetruefalse320)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "button_text", [], "any"falsefalsefalse320), "#FFFFFF")) : ("#FFFFFF")), "html"nulltrue);
  707.             echo "\"},
  708.                 },
  709.                 position: '";
  710.             // line 322
  711.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "position", [], "any"truetruefalse322)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["cookies"] ?? null), "position", [], "any"falsefalsefalse322), "bottom-left")) : ("bottom-left")), "html"nulltrue);
  712.             echo "',
  713.                 content: {
  714.                     header: '";
  715.             // line 324
  716.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["cookies"]) || array_key_exists("cookies"$context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.'324$this->source); })()), "title", [], "any"falsefalsefalse324), "html"nulltrue);
  717.             echo "',
  718.                     message: `";
  719.             // line 325
  720.             echo twig_get_attribute($this->env$this->source, (isset($context["cookies"]) || array_key_exists("cookies"$context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.'325$this->source); })()), "description", [], "any"falsefalsefalse325);
  721.             echo "`,
  722.                     allow: '";
  723.             // line 326
  724.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["cookies"]) || array_key_exists("cookies"$context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.'326$this->source); })()), "btn_accept", [], "any"falsefalsefalse326), "html"nulltrue);
  725.             echo "',
  726.                     dismiss: '";
  727.             // line 327
  728.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["cookies"]) || array_key_exists("cookies"$context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.'327$this->source); })()), "btn_decline", [], "any"falsefalsefalse327), "html"nulltrue);
  729.             echo "',
  730.                     deny: '";
  731.             // line 328
  732.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["cookies"]) || array_key_exists("cookies"$context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.'328$this->source); })()), "btn_decline", [], "any"falsefalsefalse328), "html"nulltrue);
  733.             echo "',
  734.                     customize: '";
  735.             // line 329
  736.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["cookies"]) || array_key_exists("cookies"$context) ? $context["cookies"] : (function () { throw new RuntimeError('Variable "cookies" does not exist.'329$this->source); })()), "btn_settings", [], "any"falsefalsefalse329), "html"nulltrue);
  737.             echo "',
  738.                     acceptSelected: \"Auswahl speichern\",
  739.                     close: \"&#x274c\",
  740.                     policy: 'Cookie-Richtlinie',
  741.                     target: '_blank',
  742.                     link: 'Datenschutzerklärung',
  743.                     href: '/datenschutz',
  744.                     privacyPolicyLink: '/datenschutz',
  745.                     cookiePolicyLink: '/datenschutz',
  746.                     customizeHeader: '<strong>Ihre Einstellungen</strong>',
  747.                     categoryUncategorizedDisplayName: 'Ohne Kategorie',
  748.                     categoryEssentialDisplayName: 'Notwendige Cookies (immer aktiv)',
  749.                     categoryPersonalizationDisplayName: 'Personalisierungs-Cookies',
  750.                     categoryAnalyticsDisplayName: 'Analytische Cookies',
  751.                     categoryMarketingDisplayName: 'Marketing Cookies',
  752.                     categoryEssential: `Diese Cookies sind notwendig, damit diese Website ordnungsgemäß und sicher funktioniert.`,
  753.                     categoryAnalytics: 'Diese Cookies sammeln Informationen über unsere Besucher, einschließlich des geografischen Standorts und der für den Zugriff auf die Website verwendeten Technologie. Wir fassen diese Daten zusammen und verwenden sie, um unsere Website und Produkte zu verbessern.',
  754.                     customizeMessage: `Hier finden Sie eine Übersicht über die Cookies, die wir auf dieser Website verwenden. Bitte wählen Sie die Kategorien aus, mit denen Sie einverstanden sind:`,
  755.                 },
  756.                 elements: {
  757.                     policiesLinks: '',
  758.                 },
  759.                 showCategories: {
  760.                     [CC.UNCATEGORIZED]: false,
  761.                     [CC.PERSONALIZATION]: false,
  762.                     [CC.ESSENTIAL]: true,
  763.                     [CC.ANALYTICS]: true,
  764.                     [CC.MARKETING]: false,
  765.                 },
  766.             ";
  767.             // line 380
  768.             echo "            });
  769.             cc.on( \"initialized\", ( ...args ) => {
  770.                 console.log(args);
  771.                 const hasConsented = cc.popup.hasConsented().includes(true);
  772.                 if (hasConsented) {
  773.                     var _paq = window._paq = window._paq || [];
  774.                     // tracker methods like \"setCustomDimension\" should be called before \"trackPageView\"
  775.                     _paq.push([\"setDomains\", [\"*.ndh.de\",\"*.www.ndh.de\",\"ndhaefen-web-01.ndhaefen.recast-it.net\",\"*.ndhaefen-web-01.ndhaefen.recast-it.net\"]]);
  776.                     _paq.push([\"enableCrossDomainLinking\"]);
  777.                     _paq.push([\"setDoNotTrack\", true]);
  778.                     _paq.push(['trackPageView']);
  779.                     _paq.push(['enableLinkTracking']);
  780.                     _paq.push(['rememberConsentGiven']);
  781.                     (function() {
  782.                         var u=\"//ndhaefen-web-01.ndhaefen.recast-it.net/rc-matomo/\";
  783.                         _paq.push(['setTrackerUrl', u+'matomo.php']);
  784.                         _paq.push(['setSiteId', '2']);
  785.                         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  786.                         g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  787.                     })();
  788.                 }
  789.             });
  790.             cc.on( \"statusChanged\", ( ...args ) => {
  791.                 var status = [...args];
  792.                 console.log(status);
  793.                 if (status[0] === \"cookieconsent_status_ANALYTICS\"
  794.                     && status[1] === \"ALLOW\") {
  795.                     var _paq = window._paq = window._paq || [];
  796.                     // tracker methods like \"setCustomDimension\" should be called before \"trackPageView\"
  797.                     _paq.push([\"setDomains\", [\"*.ndh.de\",\"*.www.ndh.de\",\"ndhaefen-web-01.ndhaefen.recast-it.net\",\"*.ndhaefen-web-01.ndhaefen.recast-it.net\"]]);
  798.                     _paq.push([\"enableCrossDomainLinking\"]);
  799.                     _paq.push([\"setDoNotTrack\", true]);
  800.                     _paq.push(['trackPageView']);
  801.                     _paq.push(['enableLinkTracking']);
  802.                     _paq.push(['rememberConsentGiven']);
  803.                     (function() {
  804.                         var u=\"//ndhaefen-web-01.ndhaefen.recast-it.net/rc-matomo/\";
  805.                         _paq.push(['setTrackerUrl', u+'matomo.php']);
  806.                         _paq.push(['setSiteId', '2']);
  807.                         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  808.                         g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  809.                     })();
  810.                 }
  811.                 \$(\".cc-window\").hide();
  812.                 ";
  813.             // line 434
  814.             echo "
  815.             });
  816.             cc.on( \"revokeChoice\", () => {
  817.                 // Call revoke
  818.                 \$(\".cc-window\").hide();
  819.             });
  820.             cc.on('popupClosed', function () {
  821.                 cc.initCookies();
  822.             });
  823.             cc.on( \"error\", console.error );
  824.             cc.initCookies = function(grantAll = false) {
  825.                 const allowedCategories = cc.getAllowedCategories(grantAll);
  826.                 const scripts = cc.getScripts();
  827.                 for (item of allowedCategories) {
  828.                     if (scripts[item].length > 0) {
  829.                         for (script of scripts[item]) {
  830.                             cc.enableScript(script);
  831.                         }
  832.                     }
  833.                 }
  834.             }
  835.             cc.getAllowedCategories = function(grantall = false) {
  836.                 const permissions = [], allPermissions = [];
  837.                 const userConsents = cc.consents;
  838.                 for (const category in userConsents) {
  839.                     allPermissions.push(category.toLowerCase());
  840.                     if (userConsents[category] === 'ALLOW') {
  841.                         permissions.push(category.toLowerCase())
  842.                     }
  843.                 }
  844.                 return (!grantall) ? permissions : allPermissions;
  845.             }
  846.             cc.getScripts = function() {
  847.                 // Get all scripts that are hooked by the CC plugin.
  848.                 return {
  849.                     uncategorized: document.querySelectorAll('[data-cc-consent-uncategorized]'),
  850.                     essential: document.querySelectorAll('[data-cc-consent-essential]'),
  851.                     personalization: document.querySelectorAll('[data-cc-consent-personalization]'),
  852.                     analytics: document.querySelectorAll('[data-cc-consent-analytics]'),
  853.                     marketing: document.querySelectorAll('[data-cc-consent-marketing]')
  854.                 };
  855.             }
  856.         });
  857.     </script>
  858. ";
  859.         }
  860.         // line 486
  861.         echo "</body>
  862. </html>";
  863.         
  864.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  865.         
  866.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  867.     }
  868.     // line 33
  869.     public function block_meta($context, array $blocks = [])
  870.     {
  871.         $macros $this->macros;
  872.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  873.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  874.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  875.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  876.         // line 34
  877.         echo "        ";
  878.         $this->loadTemplate("@SuluWebsite/Extension/seo.html.twig""base.html.twig"34)->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env$this->source,         // line 35
  879. ($context["extension"] ?? null), "seo", [], "any"truetruefalse35)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsefalsefalse35), [])) : ([])), "content" => ((        // line 36
  880. array_key_exists("content"$context)) ? (_twig_default_filter((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'36$this->source); })()), [])) : ([])), "localizations" => ((        // line 37
  881. array_key_exists("localizations"$context)) ? (_twig_default_filter((isset($context["localizations"]) || array_key_exists("localizations"$context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.'37$this->source); })()), [])) : ([])), "shadowBaseLocale" => ((        // line 38
  882. array_key_exists("shadowBaseLocale"$context)) ? (_twig_default_filter((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale"$context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.'38$this->source); })()))) : ("")), "defaultLocale" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 39
  883. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'39$this->source); })()), "request", [], "any"falsefalsefalse39), "locale", [], "any"falsefalsefalse39)]));
  884.         // line 41
  885.         echo "    ";
  886.         
  887.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  888.         
  889.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  890.     }
  891.     // line 63
  892.     public function block_style($context, array $blocks = [])
  893.     {
  894.         $macros $this->macros;
  895.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  896.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  897.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  898.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  899.         
  900.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  901.         
  902.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  903.     }
  904.     // line 145
  905.     public function block_content($context, array $blocks = [])
  906.     {
  907.         $macros $this->macros;
  908.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  909.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  910.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  911.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  912.         
  913.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  914.         
  915.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  916.     }
  917.     public function getTemplateName()
  918.     {
  919.         return "base.html.twig";
  920.     }
  921.     public function isTraitable()
  922.     {
  923.         return false;
  924.     }
  925.     public function getDebugInfo()
  926.     {
  927.         return array (  950 => 145,  932 => 63,  922 => 41,  920 => 39,  919 => 38,  918 => 37,  917 => 36,  916 => 35,  914 => 34,  904 => 33,  893 => 486,  839 => 434,  793 => 380,  761 => 329,  757 => 328,  753 => 327,  749 => 326,  745 => 325,  741 => 324,  736 => 322,  727 => 320,  719 => 319,  711 => 314,  700 => 305,  697 => 304,  695 => 303,  693 => 302,  689 => 301,  685 => 300,  615 => 233,  611 => 232,  607 => 231,  603 => 230,  599 => 229,  595 => 228,  591 => 227,  587 => 226,  583 => 225,  579 => 224,  575 => 223,  571 => 222,  567 => 221,  563 => 220,  559 => 219,  555 => 218,  551 => 217,  547 => 216,  543 => 215,  538 => 213,  508 => 185,  497 => 183,  493 => 182,  485 => 176,  479 => 172,  476 => 171,  473 => 170,  458 => 168,  452 => 166,  450 => 165,  442 => 164,  439 => 163,  421 => 162,  418 => 161,  414 => 159,  407 => 157,  402 => 156,  400 => 155,  395 => 153,  390 => 150,  388 => 149,  384 => 146,  382 => 145,  374 => 139,  367 => 137,  363 => 135,  356 => 133,  352 => 131,  342 => 127,  338 => 126,  333 => 125,  329 => 124,  326 => 123,  324 => 122,  319 => 120,  315 => 119,  311 => 118,  307 => 117,  302 => 116,  298 => 115,  295 => 114,  293 => 113,  288 => 111,  284 => 110,  280 => 109,  276 => 108,  271 => 107,  266 => 106,  253 => 95,  241 => 86,  231 => 81,  223 => 76,  215 => 71,  211 => 70,  207 => 69,  203 => 68,  199 => 67,  193 => 66,  189 => 65,  186 => 64,  184 => 63,  176 => 58,  172 => 57,  168 => 56,  163 => 54,  158 => 52,  154 => 51,  150 => 50,  146 => 49,  142 => 48,  136 => 45,  132 => 44,  128 => 43,  125 => 42,  123 => 33,  114 => 27,  110 => 25,  106 => 23,  103 => 22,  100 => 21,  97 => 20,  95 => 19,  92 => 18,  90 => 17,  83 => 15,  80 => 14,  77 => 13,  74 => 12,  71 => 11,  68 => 10,  65 => 9,  62 => 8,  58 => 7,  56 => 6,  52 => 4,  50 => 3,  48 => 2,  46 => 1,);
  928.     }
  929.     public function getSourceContext()
  930.     {
  931.         return new Source("{% set is_homepage = (content.url == '/') ? true : false  %}
  932. {% set title = \"\" %}
  933. {% if content.title is defined %}
  934.     {% set title = content.title ~ \" | NDH\" %}
  935. {% endif %}
  936. {% set subline = \"\" %}
  937. {% for item in content.blocks %}
  938.     {% if item.type == \"heading_dynamic\" %}
  939.         {% if item.heading is defined and item.heading != \"\" %}
  940.             {% set subline = subline ~ item.heading %}
  941.         {% endif %}
  942.         {% if item.subline is defined and item.subline != \"\" %}
  943.             {% set subline = subline ~ \" - \" ~ item.subline %}
  944.         {% endif %}
  945.     {% endif %}
  946. {% endfor %}
  947. {% set media = sulu_content_path(\"/\") ~ \"/uploads/media/pageImage/05/715-NDH_DüsseldorfHafen_Containerterminal_nacht_DSC_0882.jpg?v=1-0\" %}
  948. {% if (content.image is defined) and (content.image is not empty) %}
  949.     {% set socialImage = sulu_resolve_media(content.image, app.request.locale) %}
  950.     {% if socialImage is not null %}
  951.         {% set media = sulu_content_path(socialImage.thumbnails[\"pageImage\"]) %}
  952.     {% endif %}
  953. {% endif %}
  954. <!doctype html>
  955. <html class=\"no-js\" lang=\"{{ app.request.locale|split('_')[0] }}\">
  956. <head>
  957.     <meta charset=\"UTF-8\">
  958.     <meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
  959.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
  960.     {% block meta %}
  961.         {% include \"@SuluWebsite/Extension/seo.html.twig\" with {
  962.             \"seo\": extension.seo|default([]),
  963.             \"content\": content|default([]),
  964.             \"localizations\": localizations|default([]),
  965.             \"shadowBaseLocale\": shadowBaseLocale|default(),
  966.             \"defaultLocale\": app.request.locale
  967.         } %}
  968.     {% endblock %}
  969.     <meta itemprop=\"name\" content=\"{{ extension.seo.title|default(title) }}\">
  970.     <meta itemprop=\"description\" content=\"{{ extension.seo.description|default(subline) }}\">
  971.     <meta itemprop=\"image\" content=\"{{ media }}\">
  972.     <meta property=\"twitter:card\" content=\"summary_large_image\">
  973.     <meta property=\"twitter:title\" content=\"{{ extension.seo.title|default(title) }}\">
  974.     <meta property=\"twitter:domain\" content=\"{{ app.request.host|default('ndh.de') }}\">
  975.     <meta property=\"twitter:url\" content=\"{{ sulu_content_path(content.url)|default('https://ndh.de') }}\">
  976.     <meta property=\"twitter:description\" content=\"{{ extension.seo.description|default(subline) }}\">
  977.     <meta property=\"twitter:image\" content=\"{{ media }}\">
  978.     <meta property=\"og:title\" content=\"{{ extension.seo.title|default(title) }}\" />
  979.     <meta property=\"og:type\" content=\"website\" />
  980.     <meta property=\"og:url\" content=\"{{ sulu_content_path(content.url) }}\" />
  981.     <meta property=\"og:image\" content=\"{{ media }}\" />
  982.     <meta property=\"og:description\" content=\"{{ extension.seo.description|default(subline) }}\" />
  983.     <meta property=\"og:site_name\" content=\"NDH\" />
  984.     <meta name=\"google-site-verification\" content=\"lTalCtrbJkvln6o2b1ZGmY3tx1lpKd9j3pEJ6CkJ0eA\" />
  985.     {% block style %}{% endblock %}
  986.     <!-- Compressed CSS -->
  987.     <link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/app.css\") }}\">
  988.     <link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/style.css\") }}?v={{ \"now\"|date(\"YmdHis\") }}\">
  989.     <link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/cookieconsent.css\") }}\">
  990.     <link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/fontawesome.all.min.css\") }}\">
  991.     <link rel=\"stylesheet\" href=\"{{ asset(\"/library/css/motion-ui.min.css\") }}\" />
  992.     <link rel='stylesheet' href={{ asset(\"/library/css/slim-lightbox.min.css\") }} type='text/css' media='all'>
  993.     <script type=\"text/javascript\" src={{ asset(\"/library/js/slim-lightbox.min.js\") }}></script>
  994.     <style>
  995.         /* Custom play button image url */
  996.         div[class^=\"youtube-player\"] .play {
  997.             background: url({{ asset(\"/library/img/playbutton.png\") }}) no-repeat;
  998.         }
  999.     </style>
  1000. </head>
  1001. <body {% if is_homepage %}class=\"is-homepage\"{% endif %}  data-sticky-container>
  1002. <div class=\"sticky header-bar\" data-sticky data-options=\"marginTop:0;\">
  1003.     <div class=\"title-bar hide-for-large\" data-hide-for=\"large\" data-responsive-toggle=\"animated-menu\">
  1004.         <a href=\"/\">
  1005.             <img src=\"{{ asset(\"/library/img/NDH-Logo-small.png\") }}\" alt=\"NDH\" style=\"max-width: 209px;\">
  1006.         </a>
  1007.         <button class=\"menu-icon btn\" type=\"button\" data-toggle></button>
  1008.     </div>
  1009.     <header id=\"animated-menu\" class=\"top-bar nd-top-bar\" style=\"width:100%\">
  1010.         <div class=\"top-bar-left\">
  1011.             <nav class=\"grid-x grid-margin-x grid-padding-x align-justify align-middle\">
  1012.                 <div class=\"cell small-auto large-shrink text-center large-text-left show-for-large logocontainer\">
  1013.                     <a href=\"/\">
  1014.                         <img src=\"{{ asset(\"/library/img/NDH-Logo-small.png\") }}\" alt=\"NDH\" style=\"max-width: 209px;\">
  1015.                     </a>
  1016.                 </div>
  1017.                 <ul class=\"cell auto vertical menu large-horizontal align-special\"
  1018.                     data-responsive-menu=\"accordion large-dropdown\"
  1019.                     data-submenu-toggle=\"true\"
  1020.                     data-multi-open=\"false\"
  1021.                     data-hover-delay=\"50\"
  1022.                     data-closing-time=\"0\"
  1023.                     aria-label=\"Hauptmenü\">
  1024.                     {# This navigation doesn't need recursive logic because it's only 2 levels deep #}
  1025.                     {% for item in sulu_navigation_root_tree('main', 3) %}
  1026.                         <li {{ app.request.uri starts with sulu_content_path(item.url) ? 'class=\"is-active-special\"' : '' }}>
  1027.                             <a href=\"{{ sulu_content_path(item.url) }}\">
  1028.                                 {{ item.title }}
  1029.                                 {{ item.children|length > 0 ? '<span class=\"sub-arrow\">&nbsp;<i class=\"fas fa-plus-square\"></i></span>' : '' }}
  1030.                                 {{ app.request.uri starts with sulu_content_path(item.url) ? '<span class=\"sr-only\">(current)</span>' : '' }}
  1031.                             </a>
  1032.                             {% if item.children|length > 0 %}
  1033.                             <ul class=\"nested menu\">
  1034.                                 {% for child in item.children %}
  1035.                                 <li {{ app.request.uri starts with sulu_content_path(child.url) ? 'class=\"is-active\"' : '' }}>
  1036.                                     <a href=\"{{ sulu_content_path(child.url) }}\">
  1037.                                         {{ child.title }}
  1038.                                         {{ child.children|length > 0 ? '<span class=\"sub-arrow\">&nbsp;<i class=\"fas fa-plus-square\"></i></span>' : '' }}
  1039.                                         {{ app.request.uri starts with sulu_content_path(child.url) ? '<span class=\"sr-only\">(current)</span>' : '' }}
  1040.                                     </a>
  1041.                                     {% if child.children|length > 0 %}
  1042.                                     <ul class=\"nested menu\">
  1043.                                         {% for grandchild in child.children %}
  1044.                                         <li {{ app.request.uri starts with sulu_content_path(grandchild.url) ? 'class=\"is-active\"' : '' }}>
  1045.                                             <a href=\"{{ sulu_content_path(grandchild.url) }}\">
  1046.                                                 {{ grandchild.title }}
  1047.                                             </a>
  1048.                                         </li>
  1049.                                         {% endfor %}
  1050.                                     </ul>
  1051.                                     {% endif %}
  1052.                                 </li>
  1053.                                 {% endfor %}
  1054.                             </ul>
  1055.                             {% endif %}
  1056.                         </li>
  1057.                     {% endfor %}
  1058.                 </ul>
  1059.             </nav>
  1060.         </div>
  1061.     </header>
  1062. </div>
  1063. <main>
  1064.     {% block content %}{% endblock %}
  1065. </main>
  1066. {# Page-based breadcrumb section with custom News adaption #}
  1067. {% if app.request is defined %}
  1068. <nav aria-label=\"Sie sind hier:\" role=\"navigation\" class=\"large\">
  1069.     <article class=\"grid-container\">
  1070.         <ul class=\"breadcrumbs pull-width\">
  1071.             {% if \"/news/\" in app.request.pathInfo %}<li>
  1072.                 <a href=\"/news\">News</a>
  1073.                 {% if news %}
  1074.                     <img aria-hidden=\"true\" class=\"nd-breadcrumb-icon\" src=\"{{ asset('/library/img/nd_icon_breadcrumbs.png') }}\" alt=\"ND Group Icon\" />
  1075.                     <a href=\"{{ app.request.pathInfo }}\" aria-current=\"page\">{{ news.title }}</a>
  1076.                 {% endif %}
  1077.             </li>
  1078.             {% else %}
  1079.                 {% if uuid is defined %}
  1080.                     {% for item in sulu_breadcrumb(uuid)|slice(1) %}
  1081.                         <li>
  1082.                             <a href=\"{{ sulu_content_path(item.url) }}\" {{ loop.last ? 'aria-current=\"page\"' : '' }}>{{ item.title }}</a>
  1083.                             {% if not loop.last %}
  1084.                                 <img aria-hidden=\"true\" class=\"nd-breadcrumb-icon\" src=\"{{ asset('/library/img/nd_icon_breadcrumbs.png') }}\" alt=\"ND Group Icon\" />
  1085.                             {% endif %}
  1086.                         </li>
  1087.                     {% endfor %}
  1088.                 {% endif %}
  1089.             {% endif %}
  1090.         </ul>
  1091.     </article>
  1092. </nav>
  1093. {% endif %}
  1094. <footer class=\"callout large primary\">
  1095.     <article class=\"grid-container\">
  1096.         <div class=\"grid-x pull-width\">
  1097.             <div class=\"large-3 cell\">
  1098.                 <ul class=\"menu vertical\">
  1099.                     {% for item in sulu_navigation_root_tree('meta', 2) %}
  1100.                         <li><a href=\"{{ sulu_content_path(item.url) }}\" target=\"_self\">{{ item.title }}</a></li>
  1101.                     {% endfor %}
  1102.                     <li><a href=\"javascript:void(0);\" id=\"cc-revoke-choice\" target=\"_self\">Cookie-Einstellungen</a></li>
  1103.                 </ul>
  1104.             </div>
  1105.             <div class=\"large-4 large-offset-1 cell\">
  1106.                 <p><strong>Neuss-Düsseldorfer Häfen</strong><br>Hammer Landstraße 3<br>41460 Neuss<br>Tel.: +49
  1107.                     2131 5323-0<br>Fax: +49 2131 5323-105<br>E-Mail:&nbsp;<a href=\"mailto:info@nd-haefen.de\" class=\"contact-email\">info@nd-haefen.de</a>
  1108.                 </p>
  1109.                 <p><strong>Geschäftsführer:</strong><br>Ass. iur. Sascha Odermatt, Rechtsanwalt</p>
  1110.             </div>
  1111.             <div class=\"large-3 large-offset-1 cell\"><strong>NDH im Social Web</strong>
  1112.                 <div class=\"social-icons-wrapper d-flex justify-content-start gap-5 mt-2\">
  1113.                     <a href=\"https://www.facebook.com/NDHaefen\" target=\"_blank\" class=\"button-wrapper socialicon\">
  1114.                         <span class=\"btn btn-primary\"><i class=\"fab fa-facebook-f text-dark\"></i></span>
  1115.                     </a>
  1116.                     <a href=\"https://www.instagram.com/ndhaefen\" target=\"_blank\" class=\"button-wrapper socialicon\">
  1117.                         <span class=\"btn btn-primary\"><i class=\"fab fa-instagram text-dark\"></i></span>
  1118.                     </a>
  1119.                     <a href=\"https://de.linkedin.com/company/neuss-d%C3%BCsseldorfer-h%C3%A4fen-gmbh-&-co.-kg\" target=\"_blank\" class=\"button-wrapper socialicon\">
  1120.                         <span class=\"btn btn-primary\"><i class=\"fab fa-linkedin-in text-dark\"></i></span>
  1121.                     </a>
  1122.                 </div>
  1123.             </div>
  1124.         </div>
  1125.     </article>
  1126. </footer>
  1127. <button class=\"scrollToTopBtn\" aria-description=\"An den Seitenanfang scrollen\">TOP</button>
  1128. <script src=\"{{ asset('/library/js/jquery-3.7.1.min.js') }}\"></script>
  1129. <!-- Compressed JavaScript -->
  1130. <script src=\"{{ asset('/library/js/foundation.min.js') }}\"></script>
  1131. <script src=\"{{ asset('/library/js/foundation.core.min.js') }}\"></script>
  1132. <script src=\"{{ asset('/library/js/foundation.util.mediaQuery.min.js') }}\"></script>
  1133. <script src=\"{{ asset('/library/js/foundation.util.keyboard.min.js') }}\"></script>
  1134. <script src=\"{{ asset('/library/js/foundation.util.motion.min.js') }}\"></script>
  1135. <script src=\"{{ asset('/library/js/foundation.util.triggers.min.js') }}\"></script>
  1136. <script src=\"{{ asset('/library/js/foundation.util.nest.min.js') }}\"></script>
  1137. <script src=\"{{ asset('/library/js/foundation.util.touch.min.js') }}\"></script>
  1138. <script src=\"{{ asset('/library/js/foundation.util.box.min.js') }}\"></script>
  1139. <script src=\"{{ asset('/library/js/foundation.drilldown.min.js') }}\"></script>
  1140. <script src=\"{{ asset('/library/js/foundation.accordion.min.js') }}\"></script>
  1141. <script src=\"{{ asset('/library/js/foundation.accordionMenu.min.js') }}\"></script>
  1142. <script src=\"{{ asset('/library/js/foundation.dropdown.min.js') }}\"></script>
  1143. <script src=\"{{ asset('/library/js/foundation.dropdownMenu.min.js') }}\"></script>
  1144. <script src=\"{{ asset('/library/js/foundation.responsiveMenu.min.js') }}\"></script>
  1145. <script src=\"{{ asset('/library/js/foundation.responsiveToggle.min.js') }}\"></script>
  1146. <script src=\"{{ asset('/library/js/foundation.orbit.min.js') }}\"></script>
  1147. <script src=\"{{ asset('/library/js/foundation.sticky.min.js') }}\"></script>
  1148. <script src=\"{{ asset('/library/js/foundation.toggler.min.js') }}\"></script>
  1149. <script>
  1150.     \$(document).foundation();
  1151.     let scrollBefore = 0;
  1152.     let ticking = false;
  1153.     let hidden = false;
  1154.     let lockHide = false;
  1155.     let mobileIndicatorEl = document.querySelector('.title-bar');
  1156.     let mobileIndicatorStyle = window.getComputedStyle ? getComputedStyle(mobileIndicatorEl, null) : mobileIndicatorEl.currentStyle;
  1157.     let isMobile = (mobileIndicatorStyle.display !== \"none\");
  1158.     document.querySelector('header').addEventListener('mouseenter', (e) => {
  1159.         lockHide = true;
  1160.     });
  1161.     document.querySelector('header').addEventListener('mouseleave', (e) => {
  1162.         lockHide = false;
  1163.     });
  1164.     window.addEventListener(\"scroll\", handleScroll);
  1165.     // get a reference to our predefined button
  1166.     var scrollToTopBtn = document.querySelector(\".scrollToTopBtn\");
  1167.     function handleScroll() {
  1168.         if (!isMobile) {
  1169.             if (!ticking) {
  1170.                 window.requestAnimationFrame(() => {
  1171.                     const scrolled = window.scrollY;
  1172.                     if (scrollBefore > scrolled) {
  1173.                         if (hidden) {
  1174.                             ticking = true;
  1175.                             \$('header').fadeTo('fast', 1, () => { ticking = false; hidden = false; });
  1176.                             if(scrollToTopBtn.classList.contains(\"showScrollBtn\"))
  1177.                                 scrollToTopBtn.classList.remove(\"showScrollBtn\")
  1178.                         } else {
  1179.                             ticking = false;
  1180.                         }
  1181.                         scrollBefore = scrolled;
  1182.                     } else {
  1183.                         if (!hidden && !lockHide) {
  1184.                             ticking = true;
  1185.                             \$('header').fadeTo('fast', 0, () => { ticking = false; hidden = true; });
  1186.                             if(!scrollToTopBtn.classList.contains(\"showScrollBtn\"))
  1187.                                 scrollToTopBtn.classList.add(\"showScrollBtn\")
  1188.                         } else {
  1189.                             ticking = false;
  1190.                         }
  1191.                         scrollBefore = scrolled;
  1192.                     }
  1193.                 });
  1194.                 ticking = true;
  1195.             }
  1196.         }
  1197.     }
  1198.     scrollToTopBtn.addEventListener(\"click\", scrollToTop);
  1199.     function scrollToTop() {
  1200.         window.scrollTo({
  1201.             top: 0,
  1202.             behavior: \"smooth\"
  1203.         });
  1204.     }
  1205.     function decryptEmail(encoded) {
  1206.         var address = atob(encoded);
  1207.         window.open(\"mailto:\" + address, '_blank') || window.location.replace(\"mailto:\" + address);
  1208.     }
  1209. </script>
  1210. <script type='text/javascript' src={{ asset(\"/library/js/cookieconsent2.min.js\") }} id='cookieconsent-js' defer></script>
  1211. <link rel=\"stylesheet\" id=\"cookieconsent-css\" href={{ asset(\"/library//css/cookieconsent2.css\") }} type=\"text/css\" media=\"all\">
  1212. {% set snippets = sulu_snippet_load_by_area('cookieconsent') %}
  1213. {% if snippets %}
  1214.     {% set cookies = snippets.content %}
  1215.     <script defer>
  1216.         window.addEventListener('load', function() {
  1217.             const CC = window.CookieConsent;
  1218.             const cc = new CC({
  1219.                 mode: 'disabled',
  1220.                 type: 'opt-in',
  1221.                 revokable: true,
  1222.                 consentSettingsElementId: 'cc-revoke-choice',
  1223.                 cookie: {
  1224.                     domain: '{{ app.request.host }}',
  1225.                 },
  1226.                 layout: 'categories',
  1227.                 showLink: false,
  1228.                 palette:{
  1229.                     popup: {background: \"{{ cookies.popup_bg|default(\"#FFFFFF\") }}\", text: \"{{ cookies.popup_text|default(\"#000000\") }}\", link: \"{{ cookies.popup_text|default(\"#000000\") }}\"},
  1230.                     button: {background: \"{{ cookies.button_bg|default(\"#0069b2\") }}\", text: \"{{ cookies.button_text|default(\"#FFFFFF\") }}\", link: \"{{ cookies.button_text|default(\"#FFFFFF\") }}\"},
  1231.                 },
  1232.                 position: '{{ cookies.position|default(\"bottom-left\") }}',
  1233.                 content: {
  1234.                     header: '{{ cookies.title }}',
  1235.                     message: `{{ cookies.description|raw }}`,
  1236.                     allow: '{{ cookies.btn_accept }}',
  1237.                     dismiss: '{{ cookies.btn_decline }}',
  1238.                     deny: '{{ cookies.btn_decline }}',
  1239.                     customize: '{{ cookies.btn_settings }}',
  1240.                     acceptSelected: \"Auswahl speichern\",
  1241.                     close: \"&#x274c\",
  1242.                     policy: 'Cookie-Richtlinie',
  1243.                     target: '_blank',
  1244.                     link: 'Datenschutzerklärung',
  1245.                     href: '/datenschutz',
  1246.                     privacyPolicyLink: '/datenschutz',
  1247.                     cookiePolicyLink: '/datenschutz',
  1248.                     customizeHeader: '<strong>Ihre Einstellungen</strong>',
  1249.                     categoryUncategorizedDisplayName: 'Ohne Kategorie',
  1250.                     categoryEssentialDisplayName: 'Notwendige Cookies (immer aktiv)',
  1251.                     categoryPersonalizationDisplayName: 'Personalisierungs-Cookies',
  1252.                     categoryAnalyticsDisplayName: 'Analytische Cookies',
  1253.                     categoryMarketingDisplayName: 'Marketing Cookies',
  1254.                     categoryEssential: `Diese Cookies sind notwendig, damit diese Website ordnungsgemäß und sicher funktioniert.`,
  1255.                     categoryAnalytics: 'Diese Cookies sammeln Informationen über unsere Besucher, einschließlich des geografischen Standorts und der für den Zugriff auf die Website verwendeten Technologie. Wir fassen diese Daten zusammen und verwenden sie, um unsere Website und Produkte zu verbessern.',
  1256.                     customizeMessage: `Hier finden Sie eine Übersicht über die Cookies, die wir auf dieser Website verwenden. Bitte wählen Sie die Kategorien aus, mit denen Sie einverstanden sind:`,
  1257.                 },
  1258.                 elements: {
  1259.                     policiesLinks: '',
  1260.                 },
  1261.                 showCategories: {
  1262.                     [CC.UNCATEGORIZED]: false,
  1263.                     [CC.PERSONALIZATION]: false,
  1264.                     [CC.ESSENTIAL]: true,
  1265.                     [CC.ANALYTICS]: true,
  1266.                     [CC.MARKETING]: false,
  1267.                 },
  1268.             {#
  1269.                 /*
  1270.                 overrideHTML: '<div role=\"dialog\" aria-live=\"polite\" aria-label=\"cookieconsent\" aria-describedby=\"cookieconsent:desc\" class=\"cc-window cc-floating cc-type-opt-in cc-theme-block cc-bottom cc-left cc-color-override--1391549038\" style=\"background-color:{{ cookies.popup_bg }};text-align: left;color: {{ cookies.popup_text }};font-family: \\'Open Sans\\', Sans-serif !important; font-size: 1em;font-weight: 400;font-style: normal; box-shadow: rgb(0 0 0 / 6%) 0px 0px 20px 10px\">' +
  1271.                         '<!--googleoff: all-->' +
  1272.                         '<span class=\"cc-header\">' +
  1273.                         '{{ cookies.title }}' +
  1274.                         '</span>' +
  1275.                         '&nbsp;' +
  1276.                         '<span id=\"cookieconsent:desc\" class=\"cc-message\">' +
  1277.                         '{{ cookies.description|raw }}' +
  1278.                         '</span>' +
  1279.                         '<div class=\"cc-compliance cc-highlight\">' +
  1280.                         '<a aria-label=\"dismiss cookie message\" role=\"button\" tabindex=\"0\" class=\"cc-btn cc-DISMISS\" style=\"background-color: {{ cookies.button_bg }}; color: {{ cookies.button_text }}; border: none; text-decoration: none; font-family: \\'Open Sans\\', Sans-serif; text-transform: uppercase;\">{{ cookies.btn_decline }}</a>' +
  1281.                         '<a data-bs-toggle=\"modal\" data-bs-target=\"#ccSETTINGSmodal\" aria-label=\"settings cookie message\" role=\"button\" tabindex=\"0\" class=\"cc-btn cc-SETTINGS\" style=\"background-color: {{ cookies.button_bg }}; color: {{ cookies.button_text }}; border: none; text-decoration: none; font-family: \\'Open Sans\\', Sans-serif; text-transform: uppercase;\">{{ cookies.btn_settings }}</a>' +
  1282.                         '</div>' +
  1283.                         '<div class=\"cc-compliance\" style=\"margin-top: 10px;\">' +
  1284.                         '<a aria-label=\"allow cookies\" role=\"button\" tabindex=\"0\" class=\"cc-btn cc-ALLOW\" style=\"background-color: {{ cookies.button_bg }}; color: {{ cookies.button_text }}; border: none; text-decoration: none; font-family: \\'Open Sans\\', Sans-serif; text-transform: uppercase;\">{{ cookies.btn_accept }}</a>' +
  1285.                         '</div>' +
  1286.                         '<!--googleon: all-->' +
  1287.                         '</div>'
  1288.                         */
  1289.             #}
  1290.             });
  1291.             cc.on( \"initialized\", ( ...args ) => {
  1292.                 console.log(args);
  1293.                 const hasConsented = cc.popup.hasConsented().includes(true);
  1294.                 if (hasConsented) {
  1295.                     var _paq = window._paq = window._paq || [];
  1296.                     // tracker methods like \"setCustomDimension\" should be called before \"trackPageView\"
  1297.                     _paq.push([\"setDomains\", [\"*.ndh.de\",\"*.www.ndh.de\",\"ndhaefen-web-01.ndhaefen.recast-it.net\",\"*.ndhaefen-web-01.ndhaefen.recast-it.net\"]]);
  1298.                     _paq.push([\"enableCrossDomainLinking\"]);
  1299.                     _paq.push([\"setDoNotTrack\", true]);
  1300.                     _paq.push(['trackPageView']);
  1301.                     _paq.push(['enableLinkTracking']);
  1302.                     _paq.push(['rememberConsentGiven']);
  1303.                     (function() {
  1304.                         var u=\"//ndhaefen-web-01.ndhaefen.recast-it.net/rc-matomo/\";
  1305.                         _paq.push(['setTrackerUrl', u+'matomo.php']);
  1306.                         _paq.push(['setSiteId', '2']);
  1307.                         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  1308.                         g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  1309.                     })();
  1310.                 }
  1311.             });
  1312.             cc.on( \"statusChanged\", ( ...args ) => {
  1313.                 var status = [...args];
  1314.                 console.log(status);
  1315.                 if (status[0] === \"cookieconsent_status_ANALYTICS\"
  1316.                     && status[1] === \"ALLOW\") {
  1317.                     var _paq = window._paq = window._paq || [];
  1318.                     // tracker methods like \"setCustomDimension\" should be called before \"trackPageView\"
  1319.                     _paq.push([\"setDomains\", [\"*.ndh.de\",\"*.www.ndh.de\",\"ndhaefen-web-01.ndhaefen.recast-it.net\",\"*.ndhaefen-web-01.ndhaefen.recast-it.net\"]]);
  1320.                     _paq.push([\"enableCrossDomainLinking\"]);
  1321.                     _paq.push([\"setDoNotTrack\", true]);
  1322.                     _paq.push(['trackPageView']);
  1323.                     _paq.push(['enableLinkTracking']);
  1324.                     _paq.push(['rememberConsentGiven']);
  1325.                     (function() {
  1326.                         var u=\"//ndhaefen-web-01.ndhaefen.recast-it.net/rc-matomo/\";
  1327.                         _paq.push(['setTrackerUrl', u+'matomo.php']);
  1328.                         _paq.push(['setSiteId', '2']);
  1329.                         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  1330.                         g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  1331.                     })();
  1332.                 }
  1333.                 \$(\".cc-window\").hide();
  1334.                 {#
  1335.                 // TODO:
  1336.                 //Matomo akin to https://developer.matomo.org/guides/tracking-consent
  1337.                 //implement with
  1338.                 // remember tracking consent was given for all subsequent page views and visits
  1339.                 //_paq.push(['rememberConsentGiven']);
  1340.                 // OR remember cookie consent was given for all subsequent page views and visits
  1341.                 //_paq.push(['rememberCookieConsentGiven']);
  1342.                 #}
  1343.             });
  1344.             cc.on( \"revokeChoice\", () => {
  1345.                 // Call revoke
  1346.                 \$(\".cc-window\").hide();
  1347.             });
  1348.             cc.on('popupClosed', function () {
  1349.                 cc.initCookies();
  1350.             });
  1351.             cc.on( \"error\", console.error );
  1352.             cc.initCookies = function(grantAll = false) {
  1353.                 const allowedCategories = cc.getAllowedCategories(grantAll);
  1354.                 const scripts = cc.getScripts();
  1355.                 for (item of allowedCategories) {
  1356.                     if (scripts[item].length > 0) {
  1357.                         for (script of scripts[item]) {
  1358.                             cc.enableScript(script);
  1359.                         }
  1360.                     }
  1361.                 }
  1362.             }
  1363.             cc.getAllowedCategories = function(grantall = false) {
  1364.                 const permissions = [], allPermissions = [];
  1365.                 const userConsents = cc.consents;
  1366.                 for (const category in userConsents) {
  1367.                     allPermissions.push(category.toLowerCase());
  1368.                     if (userConsents[category] === 'ALLOW') {
  1369.                         permissions.push(category.toLowerCase())
  1370.                     }
  1371.                 }
  1372.                 return (!grantall) ? permissions : allPermissions;
  1373.             }
  1374.             cc.getScripts = function() {
  1375.                 // Get all scripts that are hooked by the CC plugin.
  1376.                 return {
  1377.                     uncategorized: document.querySelectorAll('[data-cc-consent-uncategorized]'),
  1378.                     essential: document.querySelectorAll('[data-cc-consent-essential]'),
  1379.                     personalization: document.querySelectorAll('[data-cc-consent-personalization]'),
  1380.                     analytics: document.querySelectorAll('[data-cc-consent-analytics]'),
  1381.                     marketing: document.querySelectorAll('[data-cc-consent-marketing]')
  1382.                 };
  1383.             }
  1384.         });
  1385.     </script>
  1386. {% endif %}
  1387. </body>
  1388. </html>""base.html.twig""/var/www/vhosts/previews/nd-haefen/templates/base.html.twig");
  1389.     }
  1390. }