var/cache/dev/twig/53/53e3c323a6e6a744a37c0267907f383f.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @NotarisFrontend/module/mobile_subsite_subnav.html.twig */
  14. class __TwigTemplate_186e33bceca3084dfebc3a724e6c6f47 extends \Twig\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.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros = $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/module/mobile_subsite_subnav.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/module/mobile_subsite_subnav.html.twig"));
  33.         // line 1
  34.         $context['_parent'] = $context;
  35.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 1, $this->source); })()), "sections", [], "any", false, false, false, 1), function ($__section__) use ($context, $macros) { $context["section"] = $__section__; return (((null === twig_get_attribute($this->env, $this->source, $context["section"], "parent", [], "any", false, false, false, 1)) && twig_get_attribute($this->env, $this->source, $context["section"], "isActive", [], "any", false, false, false, 1)) && twig_get_attribute($this->env, $this->source, $context["section"], "showNavigation", [], "any", false, false, false, 1)); }));
  36.         foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
  37.             // line 2
  38.             echo "<li class=\"";
  39.             if (array_key_exists("currentslug", $context)) {
  40.                 if (((isset($context["currentslug"]) || array_key_exists("currentslug", $context) ? $context["currentslug"] : (function () { throw new RuntimeError('Variable "currentslug" does not exist.', 2, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["section"], "slug", [], "any", false, false, false, 2))) {
  41.                     echo "active";
  42.                 }
  43.             }
  44.             echo "\">
  45. ";
  46.             // line 3
  47.             if (twig_get_attribute($this->env, $this->source, $context["section"], "redirectUrl", [], "any", false, false, false, 3)) {
  48.                 // line 4
  49.                 echo "    ";
  50.                 if ((twig_in_filter("rekenmodule", twig_get_attribute($this->env, $this->source, $context["section"], "redirectUrl", [], "any", false, false, false, 4)) || twig_in_filter("calcul", twig_get_attribute($this->env, $this->source, $context["section"], "redirectUrl", [], "any", false, false, false, 4)))) {
  51.                     // line 5
  52.                     echo "        ";
  53.                     $context["rekenmodule"] = "rekenmodule";
  54.                     // line 6
  55.                     echo "    ";
  56.                 }
  57.             } else {
  58.                 // line 8
  59.                 echo "    ";
  60.                 $context["rekenmodule"] = "";
  61.             }
  62.             // line 10
  63.             echo "
  64.         <a class=\"u-color-black\" href=\"";
  65.             // line 11
  66.             if (twig_get_attribute($this->env, $this->source, $context["section"], "redirectUrl", [], "any", false, false, false, 11)) {
  67.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["section"], "redirectUrl", [], "any", false, false, false, 11), "html", null, true);
  68.             } else {
  69.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_detail", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 11, $this->source); })()), "slug", [], "any", false, false, false, 11), "slugdetail" => twig_get_attribute($this->env, $this->source, $context["section"], "slug", [], "any", false, false, false, 11)]), "html", null, true);
  70.             }
  71.             echo "\" ";
  72.             if (((isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 11, $this->source); })()) != "")) {
  73.                 echo "data-type=\"";
  74.                 echo twig_escape_filter($this->env, (isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 11, $this->source); })()), "html", null, true);
  75.                 echo "\"";
  76.             }
  77.             echo " title=\"";
  78.             echo twig_get_attribute($this->env, $this->source, $context["section"], "navigation", [], "any", false, false, false, 11);
  79.             echo "\">";
  80.             echo twig_get_attribute($this->env, $this->source, $context["section"], "navigation", [], "any", false, false, false, 11);
  81.             echo "</a>
  82.         ";
  83.             // line 13
  84.             if (array_key_exists("currentslug", $context)) {
  85.                 // line 14
  86.                 echo "            ";
  87.                 if (((isset($context["currentslug"]) || array_key_exists("currentslug", $context) ? $context["currentslug"] : (function () { throw new RuntimeError('Variable "currentslug" does not exist.', 14, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["section"], "slug", [], "any", false, false, false, 14))) {
  88.                     // line 15
  89.                     echo "                <ul>
  90.                     ";
  91.                     // line 16
  92.                     $context['_parent'] = $context;
  93.                     $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, $context["section"], "children", [], "any", false, false, false, 16), function ($__children__) use ($context, $macros) { $context["children"] = $__children__; return twig_get_attribute($this->env, $this->source, $context["children"], "isActive", [], "any", false, false, false, 16); }));
  94.                     foreach ($context['_seq'] as $context["_key"] => $context["children"]) {
  95.                         // line 17
  96.                         echo "                        <li ";
  97.                         if ((array_key_exists("currentslug2", $context) && ((isset($context["currentslug2"]) || array_key_exists("currentslug2", $context) ? $context["currentslug2"] : (function () { throw new RuntimeError('Variable "currentslug2" does not exist.', 17, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["children"], "slug", [], "any", false, false, false, 17)))) {
  98.                             echo "class=\"active\"";
  99.                         }
  100.                         echo ">
  101.                         ";
  102.                         // line 18
  103.                         if (twig_get_attribute($this->env, $this->source, $context["children"], "redirectUrl", [], "any", false, false, false, 18)) {
  104.                             // line 19
  105.                             echo "                            ";
  106.                             if ((twig_in_filter("rekenmodule", twig_get_attribute($this->env, $this->source, $context["children"], "redirectUrl", [], "any", false, false, false, 19)) || twig_in_filter("calcul", twig_get_attribute($this->env, $this->source, $context["children"], "redirectUrl", [], "any", false, false, false, 19)))) {
  107.                                 // line 20
  108.                                 echo "                                ";
  109.                                 $context["rekenmodule"] = "rekenmodule";
  110.                                 // line 21
  111.                                 echo "                            ";
  112.                             }
  113.                             // line 22
  114.                             echo "                        ";
  115.                         } else {
  116.                             // line 23
  117.                             echo "                            ";
  118.                             $context["rekenmodule"] = "";
  119.                             // line 24
  120.                             echo "                        ";
  121.                         }
  122.                         // line 25
  123.                         echo "
  124.                             ";
  125.                         // line 26
  126.                         if (twig_in_filter("notaris_frontend_tv", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "get", [0 => "_route"], "method", false, false, false, 26))) {
  127.                             // line 27
  128.                             echo "                                <a class=\"u-color-black-60\" href=\"";
  129.                             if (twig_get_attribute($this->env, $this->source, $context["children"], "redirectUrl", [], "any", false, false, false, 27)) {
  130.                                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["children"], "redirectUrl", [], "any", false, false, false, 27), "html", null, true);
  131.                             } else {
  132.                                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tv_detail", ["slug" => twig_get_attribute($this->env, $this->source, $context["children"], "slug", [], "any", false, false, false, 27)]), "html", null, true);
  133.                             }
  134.                             echo "\" ";
  135.                             if (((isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 27, $this->source); })()) != "")) {
  136.                                 echo "data-type=\"";
  137.                                 echo twig_escape_filter($this->env, (isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 27, $this->source); })()), "html", null, true);
  138.                                 echo "\"";
  139.                             }
  140.                             echo " title=\"";
  141.                             echo twig_get_attribute($this->env, $this->source, $context["children"], "navigation", [], "any", false, false, false, 27);
  142.                             echo "\">";
  143.                             echo twig_get_attribute($this->env, $this->source, $context["children"], "navigation", [], "any", false, false, false, 27);
  144.                             echo "</a>
  145.                             ";
  146.                         } else {
  147.                             // line 29
  148.                             echo "                                ";
  149.                             if ((((isset($context["currentslug"]) || array_key_exists("currentslug", $context) ? $context["currentslug"] : (function () { throw new RuntimeError('Variable "currentslug" does not exist.', 29, $this->source); })()) == "other-languages") || ((isset($context["currentslug"]) || array_key_exists("currentslug", $context) ? $context["currentslug"] : (function () { throw new RuntimeError('Variable "currentslug" does not exist.', 29, $this->source); })()) == "other-languages-1"))) {
  150.                                 // line 30
  151.                                 echo "                                    <a class=\"u-color-black\" href=\"";
  152.                                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_detail", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 30, $this->source); })()), "slug", [], "any", false, false, false, 30), "slugdetail" => twig_get_attribute($this->env, $this->source, $context["children"], "slug", [], "any", false, false, false, 30)]), "html", null, true);
  153.                                 echo "\" ";
  154.                                 if (((isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 30, $this->source); })()) != "")) {
  155.                                     echo "data-type=\"";
  156.                                     echo twig_escape_filter($this->env, (isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 30, $this->source); })()), "html", null, true);
  157.                                     echo "\"";
  158.                                 }
  159.                                 echo " title=\"";
  160.                                 echo twig_get_attribute($this->env, $this->source, $context["children"], "navigation", [], "any", false, false, false, 30);
  161.                                 echo "\">";
  162.                                 echo twig_get_attribute($this->env, $this->source, $context["children"], "navigation", [], "any", false, false, false, 30);
  163.                                 echo "</a>
  164.                                 ";
  165.                             } else {
  166.                                 // line 32
  167.                                 echo "                                    <a class=\"u-color-black\" href=\"";
  168.                                 if (twig_get_attribute($this->env, $this->source, $context["children"], "redirectUrl", [], "any", false, false, false, 32)) {
  169.                                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["children"], "redirectUrl", [], "any", false, false, false, 32), "html", null, true);
  170.                                 } else {
  171.                                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_detail2", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 32, $this->source); })()), "slug", [], "any", false, false, false, 32), "slugdetail" => twig_get_attribute($this->env, $this->source, $context["section"], "slug", [], "any", false, false, false, 32), "slugdetail2" => twig_get_attribute($this->env, $this->source, $context["children"], "slug", [], "any", false, false, false, 32)]), "html", null, true);
  172.                                 }
  173.                                 echo "\" ";
  174.                                 if (((isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 32, $this->source); })()) != "")) {
  175.                                     echo "data-type=\"";
  176.                                     echo twig_escape_filter($this->env, (isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 32, $this->source); })()), "html", null, true);
  177.                                     echo "\"";
  178.                                 }
  179.                                 echo " title=\"";
  180.                                 echo twig_get_attribute($this->env, $this->source, $context["children"], "navigation", [], "any", false, false, false, 32);
  181.                                 echo "\">";
  182.                                 echo twig_get_attribute($this->env, $this->source, $context["children"], "navigation", [], "any", false, false, false, 32);
  183.                                 echo "</a>
  184.                                 ";
  185.                             }
  186.                             // line 34
  187.                             echo "                            ";
  188.                         }
  189.                         // line 35
  190.                         echo "                            ";
  191.                         if ((array_key_exists("currentslug2", $context) && ((isset($context["currentslug2"]) || array_key_exists("currentslug2", $context) ? $context["currentslug2"] : (function () { throw new RuntimeError('Variable "currentslug2" does not exist.', 35, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["children"], "slug", [], "any", false, false, false, 35)))) {
  192.                             // line 36
  193.                             echo "                                <ul>
  194.                                     ";
  195.                             // line 37
  196.                             $context['_parent'] = $context;
  197.                             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, $context["children"], "children", [], "any", false, false, false, 37), function ($__subchildren__) use ($context, $macros) { $context["subchildren"] = $__subchildren__; return twig_get_attribute($this->env, $this->source, $context["subchildren"], "isActive", [], "any", false, false, false, 37); }));
  198.                             foreach ($context['_seq'] as $context["_key"] => $context["subchildren"]) {
  199.                                 // line 38
  200.                                 echo "                                        <li ";
  201.                                 if (((isset($context["currentslug3"]) || array_key_exists("currentslug3", $context) ? $context["currentslug3"] : (function () { throw new RuntimeError('Variable "currentslug3" does not exist.', 38, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["subchildren"], "slug", [], "any", false, false, false, 38))) {
  202.                                     echo "class=\"active\"";
  203.                                 }
  204.                                 echo ">
  205.                                         ";
  206.                                 // line 39
  207.                                 if (twig_get_attribute($this->env, $this->source, $context["subchildren"], "redirectUrl", [], "any", false, false, false, 39)) {
  208.                                     // line 40
  209.                                     echo "                                            ";
  210.                                     if ((twig_in_filter("rekenmodule", twig_get_attribute($this->env, $this->source, $context["subchildren"], "redirectUrl", [], "any", false, false, false, 40)) || twig_in_filter("calcul", twig_get_attribute($this->env, $this->source, $context["subchildren"], "redirectUrl", [], "any", false, false, false, 40)))) {
  211.                                         // line 41
  212.                                         echo "                                                ";
  213.                                         $context["rekenmodule"] = "rekenmodule";
  214.                                         // line 42
  215.                                         echo "                                            ";
  216.                                     }
  217.                                     // line 43
  218.                                     echo "                                        ";
  219.                                 } else {
  220.                                     // line 44
  221.                                     echo "                                            ";
  222.                                     $context["rekenmodule"] = "";
  223.                                     // line 45
  224.                                     echo "                                        ";
  225.                                 }
  226.                                 // line 46
  227.                                 echo "
  228.                                             ";
  229.                                 // line 47
  230.                                 if ((((isset($context["currentslug"]) || array_key_exists("currentslug", $context) ? $context["currentslug"] : (function () { throw new RuntimeError('Variable "currentslug" does not exist.', 47, $this->source); })()) == "other-languages") || ((isset($context["currentslug"]) || array_key_exists("currentslug", $context) ? $context["currentslug"] : (function () { throw new RuntimeError('Variable "currentslug" does not exist.', 47, $this->source); })()) == "other-languages-1"))) {
  231.                                     // line 48
  232.                                     echo "                                                <a class=\"u-color-black\" href=\"";
  233.                                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_detail2", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 48, $this->source); })()), "slug", [], "any", false, false, false, 48), "slugdetail" => twig_get_attribute($this->env, $this->source, $context["children"], "slug", [], "any", false, false, false, 48), "slugdetail2" => twig_get_attribute($this->env, $this->source, $context["subchildren"], "slug", [], "any", false, false, false, 48)]), "html", null, true);
  234.                                     echo "\" ";
  235.                                     if (((isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 48, $this->source); })()) != "")) {
  236.                                         echo "data-type=\"";
  237.                                         echo twig_escape_filter($this->env, (isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 48, $this->source); })()), "html", null, true);
  238.                                         echo "\"";
  239.                                     }
  240.                                     echo " title=\"";
  241.                                     echo twig_get_attribute($this->env, $this->source, $context["subchildren"], "navigation", [], "any", false, false, false, 48);
  242.                                     echo "\">";
  243.                                     echo twig_get_attribute($this->env, $this->source, $context["subchildren"], "navigation", [], "any", false, false, false, 48);
  244.                                     echo "</a>
  245.                                             ";
  246.                                 } else {
  247.                                     // line 50
  248.                                     echo "                                                <a class=\"u-color-black\" href=\"";
  249.                                     if (twig_get_attribute($this->env, $this->source, $context["subchildren"], "redirectUrl", [], "any", false, false, false, 50)) {
  250.                                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["subchildren"], "redirectUrl", [], "any", false, false, false, 50), "html", null, true);
  251.                                     } else {
  252.                                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_detail3", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 50, $this->source); })()), "slug", [], "any", false, false, false, 50), "slugdetail" => twig_get_attribute($this->env, $this->source, $context["section"], "slug", [], "any", false, false, false, 50), "slugdetail2" => twig_get_attribute($this->env, $this->source, $context["children"], "slug", [], "any", false, false, false, 50), "slugdetail3" => twig_get_attribute($this->env, $this->source, $context["subchildren"], "slug", [], "any", false, false, false, 50)]), "html", null, true);
  253.                                     }
  254.                                     echo "\" ";
  255.                                     if (((isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 50, $this->source); })()) != "")) {
  256.                                         echo "data-type=\"";
  257.                                         echo twig_escape_filter($this->env, (isset($context["rekenmodule"]) || array_key_exists("rekenmodule", $context) ? $context["rekenmodule"] : (function () { throw new RuntimeError('Variable "rekenmodule" does not exist.', 50, $this->source); })()), "html", null, true);
  258.                                         echo "\"";
  259.                                     }
  260.                                     echo " title=\"";
  261.                                     echo twig_get_attribute($this->env, $this->source, $context["subchildren"], "navigation", [], "any", false, false, false, 50);
  262.                                     echo "\">";
  263.                                     echo twig_get_attribute($this->env, $this->source, $context["subchildren"], "navigation", [], "any", false, false, false, 50);
  264.                                     echo "</a>
  265.                                             ";
  266.                                 }
  267.                                 // line 52
  268.                                 echo "                                        </li>
  269.                                     ";
  270.                             }
  271.                             $_parent = $context['_parent'];
  272.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subchildren'], $context['_parent'], $context['loop']);
  273.                             $context = array_intersect_key($context, $_parent) + $_parent;
  274.                             // line 54
  275.                             echo "                                </ul>
  276.                             ";
  277.                         }
  278.                         // line 56
  279.                         echo "                        </li>
  280.                     ";
  281.                     }
  282.                     $_parent = $context['_parent'];
  283.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']);
  284.                     $context = array_intersect_key($context, $_parent) + $_parent;
  285.                     // line 58
  286.                     echo "                </ul>
  287.             ";
  288.                 }
  289.                 // line 60
  290.                 echo "        ";
  291.             }
  292.             // line 61
  293.             echo "    </li>
  294. ";
  295.         }
  296.         $_parent = $context['_parent'];
  297.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
  298.         $context = array_intersect_key($context, $_parent) + $_parent;
  299.         // line 63
  300.         echo "<li ";
  301.         if (twig_in_filter("notaris_frontend_subsite_news", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 63, $this->source); })()), "request", [], "any", false, false, false, 63), "get", [0 => "_route"], "method", false, false, false, 63))) {
  302.             echo "class=\"active\"";
  303.         }
  304.         echo ">
  305.     <a class=\"u-color-black\" href=\"";
  306.         // line 64
  307.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_news", ["subsiteslug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 64, $this->source); })()), "slug", [], "any", false, false, false, 64)]), "html", null, true);
  308.         echo "\" title=\"";
  309.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sn_actueel");
  310.         echo "\">";
  311.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sn_actueel");
  312.         echo "</a>
  313. </li>
  314. <li ";
  315.         // line 66
  316.         if (twig_in_filter("notaris_frontend_faq_subsite", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "request", [], "any", false, false, false, 66), "get", [0 => "_route"], "method", false, false, false, 66))) {
  317.             echo "class=\"active\"";
  318.         }
  319.         echo ">
  320.     <a class=\"u-color-black\" href=\"";
  321.         // line 67
  322.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_faq_subsite", ["subsiteSlug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 67, $this->source); })()), "slug", [], "any", false, false, false, 67)]), "html", null, true);
  323.         echo "\" title=\"";
  324.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sn_vragenenantwoorden");
  325.         echo "\">";
  326.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sn_vragenenantwoorden");
  327.         echo "</a>
  328. </li>
  329. <li ";
  330.         // line 69
  331.         if (twig_in_filter("notaris_frontend_brochures", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 69, $this->source); })()), "request", [], "any", false, false, false, 69), "get", [0 => "_route"], "method", false, false, false, 69))) {
  332.             echo "class=\"active\"";
  333.         }
  334.         echo ">
  335.     <a class=\"u-color-black\" href=\"";
  336.         // line 70
  337.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_brochures", ["subsiteSlug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 70, $this->source); })()), "slug", [], "any", false, false, false, 70)]), "html", null, true);
  338.         echo "\" title=\"";
  339.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("md_publi");
  340.         echo "\">";
  341.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("md_publi");
  342.         echo "</a>
  343. </li>
  344. <li ";
  345.         // line 73
  346.         if (twig_in_filter("notaris_frontend_tv_detail", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 73, $this->source); })()), "request", [], "any", false, false, false, 73), "get", [0 => "_route"], "method", false, false, false, 73))) {
  347.             echo "class=\"active\"";
  348.         }
  349.         echo ">
  350.     <a class=\"u-color-black\" href=\"";
  351.         // line 74
  352.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tv_detail", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 74, $this->source); })()), "slug", [], "any", false, false, false, 74)]), "html", null, true);
  353.         echo "\" title=\"";
  354.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sv_notaristv");
  355.         echo "\">";
  356.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sv_notaristv");
  357.         echo "</a>
  358. </li>
  359. ";
  360.         
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  362.         
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  364.     }
  365.     public function getTemplateName()
  366.     {
  367.         return "@NotarisFrontend/module/mobile_subsite_subnav.html.twig";
  368.     }
  369.     public function isTraitable()
  370.     {
  371.         return false;
  372.     }
  373.     public function getDebugInfo()
  374.     {
  375.         return array (  363 => 74,  357 => 73,  347 => 70,  341 => 69,  332 => 67,  326 => 66,  317 => 64,  310 => 63,  303 => 61,  300 => 60,  296 => 58,  289 => 56,  285 => 54,  278 => 52,  258 => 50,  242 => 48,  240 => 47,  237 => 46,  234 => 45,  231 => 44,  228 => 43,  225 => 42,  222 => 41,  219 => 40,  217 => 39,  210 => 38,  206 => 37,  203 => 36,  200 => 35,  197 => 34,  177 => 32,  161 => 30,  158 => 29,  138 => 27,  136 => 26,  133 => 25,  130 => 24,  127 => 23,  124 => 22,  121 => 21,  118 => 20,  115 => 19,  113 => 18,  106 => 17,  102 => 16,  99 => 15,  96 => 14,  94 => 13,  75 => 11,  72 => 10,  68 => 8,  64 => 6,  61 => 5,  58 => 4,  56 => 3,  47 => 2,  43 => 1,);
  376.     }
  377.     public function getSourceContext()
  378.     {
  379.         return new Source("{% for section in subsite.sections|filter(section => section.parent is null and section.isActive and section.showNavigation) %}
  380. <li class=\"{% if currentslug is defined %}{% if currentslug == section.slug %}active{% endif %}{% endif %}\">
  381. {% if section.redirectUrl %}
  382.     {% if 'rekenmodule' in section.redirectUrl or 'calcul' in section.redirectUrl %}
  383.         {% set rekenmodule = \"rekenmodule\" %}
  384.     {% endif %}
  385. {% else %}
  386.     {% set rekenmodule = '' %}
  387. {% endif %}
  388.         <a class=\"u-color-black\" href=\"{% if section.redirectUrl %}{{ section.redirectUrl }}{% else %}{{ path('notaris_frontend_subsite_detail', {'slug': subsite.slug, 'slugdetail': section.slug }) }}{% endif %}\" {% if rekenmodule != '' %}data-type=\"{{rekenmodule}}\"{% endif %} title=\"{{ section.navigation | raw  }}\">{{ section.navigation | raw }}</a>
  389.         {% if currentslug is defined %}
  390.             {% if currentslug == section.slug %}
  391.                 <ul>
  392.                     {% for children in section.children|filter(children => children.isActive) %}
  393.                         <li {% if currentslug2 is defined and currentslug2 == children.slug %}class=\"active\"{% endif %}>
  394.                         {% if children.redirectUrl %}
  395.                             {% if 'rekenmodule' in children.redirectUrl or 'calcul' in children.redirectUrl %}
  396.                                 {% set rekenmodule = \"rekenmodule\" %}
  397.                             {% endif %}
  398.                         {% else %}
  399.                             {% set rekenmodule = '' %}
  400.                         {% endif %}
  401.                             {% if 'notaris_frontend_tv' in app.request.get('_route') %}
  402.                                 <a class=\"u-color-black-60\" href=\"{% if children.redirectUrl %}{{ children.redirectUrl }}{% else %}{{ path('notaris_frontend_tv_detail', {'slug': children.slug }) }}{% endif %}\" {% if rekenmodule != '' %}data-type=\"{{rekenmodule}}\"{% endif %} title=\"{{ children.navigation | raw  }}\">{{ children.navigation | raw  }}</a>
  403.                             {% else %}
  404.                                 {% if currentslug == 'other-languages' or currentslug == 'other-languages-1' %}
  405.                                     <a class=\"u-color-black\" href=\"{{ path('notaris_frontend_subsite_detail', {'slug': subsite.slug, 'slugdetail': children.slug}) }}\" {% if rekenmodule != '' %}data-type=\"{{rekenmodule}}\"{% endif %} title=\"{{ children.navigation | raw  }}\">{{ children.navigation  | raw  }}</a>
  406.                                 {% else %}
  407.                                     <a class=\"u-color-black\" href=\"{% if children.redirectUrl %}{{ children.redirectUrl }}{% else %}{{ path('notaris_frontend_subsite_detail2', {'slug': subsite.slug, 'slugdetail': section.slug, 'slugdetail2': children.slug}) }}{% endif %}\" {% if rekenmodule != '' %}data-type=\"{{rekenmodule}}\"{% endif %} title=\"{{ children.navigation | raw  }}\">{{ children.navigation  | raw  }}</a>
  408.                                 {% endif %}
  409.                             {% endif %}
  410.                             {% if currentslug2 is defined and currentslug2 == children.slug %}
  411.                                 <ul>
  412.                                     {% for subchildren in children.children|filter(subchildren => subchildren.isActive) %}
  413.                                         <li {% if currentslug3 == subchildren.slug %}class=\"active\"{% endif %}>
  414.                                         {% if subchildren.redirectUrl %}
  415.                                             {% if 'rekenmodule' in subchildren.redirectUrl or 'calcul' in subchildren.redirectUrl %}
  416.                                                 {% set rekenmodule = \"rekenmodule\" %}
  417.                                             {% endif %}
  418.                                         {% else %}
  419.                                             {% set rekenmodule = '' %}
  420.                                         {% endif %}
  421.                                             {% if currentslug == 'other-languages' or currentslug == 'other-languages-1' %}
  422.                                                 <a class=\"u-color-black\" href=\"{{ path('notaris_frontend_subsite_detail2', {'slug': subsite.slug, 'slugdetail': children.slug, 'slugdetail2': subchildren.slug}) }}\" {% if rekenmodule != '' %}data-type=\"{{rekenmodule}}\"{% endif %} title=\"{{ subchildren.navigation | raw  }}\">{{ subchildren.navigation  | raw }}</a>
  423.                                             {% else %}
  424.                                                 <a class=\"u-color-black\" href=\"{% if subchildren.redirectUrl %}{{ subchildren.redirectUrl }}{% else %}{{ path('notaris_frontend_subsite_detail3', {'slug': subsite.slug, 'slugdetail': section.slug, 'slugdetail2': children.slug, 'slugdetail3': subchildren.slug}) }}{% endif %}\" {% if rekenmodule != '' %}data-type=\"{{rekenmodule}}\"{% endif %} title=\"{{ subchildren.navigation | raw  }}\">{{ subchildren.navigation  | raw }}</a>
  425.                                             {% endif %}
  426.                                         </li>
  427.                                     {% endfor %}
  428.                                 </ul>
  429.                             {% endif %}
  430.                         </li>
  431.                     {% endfor %}
  432.                 </ul>
  433.             {% endif %}
  434.         {% endif %}
  435.     </li>
  436. {% endfor %}
  437. <li {% if 'notaris_frontend_subsite_news' in app.request.get('_route') %}class=\"active\"{% endif %}>
  438.     <a class=\"u-color-black\" href=\"{{ path('notaris_frontend_subsite_news', {'subsiteslug': subsite.slug}) }}\" title=\"{{ \"sn_actueel\" | trans | raw }}\">{{ \"sn_actueel\" | trans | raw }}</a>
  439. </li>
  440. <li {% if 'notaris_frontend_faq_subsite' in app.request.get('_route') %}class=\"active\"{% endif %}>
  441.     <a class=\"u-color-black\" href=\"{{ path('notaris_frontend_faq_subsite', {'subsiteSlug': subsite.slug}) }}\" title=\"{{ \"sn_vragenenantwoorden\" | trans | raw }}\">{{ \"sn_vragenenantwoorden\" | trans | raw }}</a>
  442. </li>
  443. <li {% if 'notaris_frontend_brochures' in app.request.get('_route') %}class=\"active\"{% endif %}>
  444.     <a class=\"u-color-black\" href=\"{{ path('notaris_frontend_brochures', {'subsiteSlug': subsite.slug}) }}\" title=\"{{ \"md_publi\" | trans | raw }}\">{{ \"md_publi\" | trans | raw }}</a>
  445. </li>
  446. <li {% if 'notaris_frontend_tv_detail' in app.request.get('_route') %}class=\"active\"{% endif %}>
  447.     <a class=\"u-color-black\" href=\"{{ path('notaris_frontend_tv_detail', {'slug': subsite.slug}) }}\" title=\"{{ \"sv_notaristv\" | trans | raw }}\">{{ \"sv_notaristv\" | trans | raw }}</a>
  448. </li>
  449. ", "@NotarisFrontend/module/mobile_subsite_subnav.html.twig", "/data/sites/web/notarisdc-projectsbe/subsites/apps/default/releases/7/src/Notaris/FrontendBundle/Resources/views/module/mobile_subsite_subnav.html.twig");
  450.     }
  451. }