var/cache/dev/twig/d0/d0df6384ed105662e17e7866fc3743dc.php line 282

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* layout/layout.html.twig */
  14. class __TwigTemplate_236906a55d06291fbb7ad8d02418bd4a extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->parent = false;
  23.         $this->blocks = [
  24.             'head_stylesheets' => [$this, 'block_head_stylesheets'],
  25.             'layout_head_meta' => [$this, 'block_layout_head_meta'],
  26.             'headscripts' => [$this, 'block_headscripts'],
  27.         ];
  28.         $this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros = $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/layout.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/layout.html.twig"));
  37.         // line 1
  38.         ob_start();
  39.         // line 2
  40.         echo "
  41.     ";
  42.         // line 4
  43.         echo "    ";
  44.         $context["pageName"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("pageName", null, 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "locale", [], "any", false, false, false, 4));
  45.         // line 5
  46.         echo "
  47.     ";
  48.         // line 7
  49.         echo "    ";
  50.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/css/app.min.css")], "method", false, false, false, 7);
  51.         // line 8
  52.         echo "
  53.     ";
  54.         // line 9
  55.         if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 9, $this->source); })())) {
  56.             // line 10
  57.             echo "        ";
  58.             twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/css/editmode.min.css")], "method", false, false, false, 10);
  59.             // line 11
  60.             echo "    ";
  61.         }
  62.         // line 12
  63.         echo "    ";
  64.         // line 13
  65.         echo "
  66.     ";
  67.         // line 14
  68.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/js/app.min.js")], "method", false, false, false, 14);
  69.         // line 15
  70.         echo "
  71.     ";
  72.         // line 18
  73.         echo "    ";
  74.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "set", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 18, $this->source); })()), "getTitle", [], "method", false, false, false, 18)], "method", false, false, false, 18);
  75.         // line 19
  76.         echo "    ";
  77.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "append", [0 => (isset($context["pageName"]) || array_key_exists("pageName", $context) ? $context["pageName"] : (function () { throw new RuntimeError('Variable "pageName" does not exist.', 19, $this->source); })())], "method", false, false, false, 19);
  78.         // line 20
  79.         echo "    ";
  80.         if (twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 20, $this->source); })()), "getTitle", [], "method", false, false, false, 20)) {
  81.             // line 21
  82.             echo "        ";
  83.             twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "setSeparator", [0 => " | "], "method", false, false, false, 21);
  84.             // line 22
  85.             echo "    ";
  86.         }
  87.         // line 23
  88.         echo "
  89.     ";
  90.         // line 25
  91.         echo "    ";
  92.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setDescription", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 25, $this->source); })()), "getDescription", [], "method", false, false, false, 25)], "method", false, false, false, 25);
  93.         // line 26
  94.         echo "
  95.     ";
  96.         // line 27
  97.         if ((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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "schemeAndHttpHost", [], "any", false, false, false, 27) == "https://apimedia.a4interactive.ch")) {
  98.             // line 28
  99.             echo "        ";
  100.             twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setName", [0 => "robots", 1 => "noindex, follow"], "method", false, false, false, 28);
  101.             // line 29
  102.             echo "    ";
  103.         } else {
  104.             // line 30
  105.             echo "        ";
  106.             twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setName", [0 => "robots", 1 => "index, follow"], "method", false, false, false, 30);
  107.             // line 31
  108.             echo "    ";
  109.         }
  110.         // line 32
  111.         echo "
  112.     ";
  113.         // line 33
  114.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setName", [0 => "language", 1 => 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.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "locale", [], "any", false, false, false, 33)], "method", false, false, false, 33);
  115.         // line 34
  116.         echo "
  117.     ";
  118.         // line 36
  119.         echo "    ";
  120.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:title", 1 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 36, $this->source); })()), "getTitle", [], "method", false, false, false, 36)], "method", false, false, false, 36);
  121.         // line 37
  122.         echo "    ";
  123.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:description", 1 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 37, $this->source); })()), "getDescription", [], "method", false, false, false, 37)], "method", false, false, false, 37);
  124.         // line 38
  125.         echo "    ";
  126.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:type", 1 => "website"], "method", false, false, false, 38);
  127.         // line 39
  128.         echo "    ";
  129.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:url", 1 => 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.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "uri", [], "any", false, false, false, 39)], "method", false, false, false, 39);
  130.         // line 40
  131.         echo "    ";
  132.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:locale", 1 => 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.', 40, $this->source); })()), "request", [], "any", false, false, false, 40), "locale", [], "any", false, false, false, 40)], "method", false, false, false, 40);
  133.         // line 41
  134.         echo "
  135.     ";
  136.         // line 43
  137.         echo "    ";
  138.         // line 44
  139.         echo "    ";
  140.         if (( !array_key_exists("document", $context) ||  !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 44, $this->source); })()))) {
  141.             // line 45
  142.             echo "        ";
  143.             $context["document"] = Pimcore\Model\Document::getById(1);
  144.             // line 46
  145.             echo "    ";
  146.         }
  147.         // line 47
  148.         echo "
  149.     ";
  150.         // line 48
  151.         $context["navStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 48, $this->source); })()), "getProperty", [0 => "navigation_root"], "method", false, false, false, 48);
  152.         // line 49
  153.         echo "    ";
  154.         $context["id"] = (isset($context["documentId"]) || array_key_exists("documentId", $context) ? $context["documentId"] : (function () { throw new RuntimeError('Variable "documentId" does not exist.', 49, $this->source); })());
  155.         // line 50
  156.         echo "
  157.     ";
  158.         // line 51
  159.         if ( !call_user_func_array($this->env->getTest('instanceof')->getCallable(), [(isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 51, $this->source); })()), "\\Pimcore\\Model\\Document\\Page"])) {
  160.             // line 52
  161.             echo "
  162.         ";
  163.             // line 53
  164.             if (Pimcore\Model\Site::isSiteRequest()) {
  165.                 // line 54
  166.                 echo "            ";
  167.                 $context["site"] = Pimcore\Model\Site::getCurrentSite();
  168.                 // line 55
  169.                 echo "            ";
  170.                 $context["navStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 55, $this->source); })()), "getRootDocument", [], "method", false, false, false, 55);
  171.                 // line 56
  172.                 echo "        ";
  173.             } else {
  174.                 // line 57
  175.                 echo "            ";
  176.                 $context["navStartNode"] = Pimcore\Model\Document::getById(1);
  177.                 // line 58
  178.                 echo "        ";
  179.             }
  180.             // line 59
  181.             echo "
  182.     ";
  183.         }
  184.         // line 61
  185.         echo "
  186.     ";
  187.         // line 62
  188.         $context["mainNavigation"] = call_user_func_array($this->env->getFunction('pimcore_build_nav')->getCallable(), [["active" => (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 62, $this->source); })()), "root" => (isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 62, $this->source); })())]]);
  189.         // line 63
  190.         echo "    ";
  191.         $context["menuRenderer"] = call_user_func_array($this->env->getFunction('pimcore_nav_renderer')->getCallable(), ["menu"]);
  192.         // line 64
  193.         echo "    ";
  194.         // line 65
  195.         echo "
  196. ";
  197.         $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
  198.         // line 1
  199.         echo twig_spaceless($___internal_parse_0_);
  200.         // line 67
  201.         echo "
  202. <!DOCTYPE html>
  203. <html lang=\"";
  204.         // line 69
  205.         echo twig_escape_filter($this->env, 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), "locale", [], "any", false, false, false, 69), "html", null, true);
  206.         echo "\">
  207. <head>
  208.     <meta charset=\"UTF-8\">
  209.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  210.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5\">
  211.     ";
  212.         // line 75
  213.         $this->displayBlock('head_stylesheets', $context, $blocks);
  214.         // line 78
  215.         echo "
  216.     ";
  217.         // line 80
  218.         echo "    ";
  219.         $this->loadTemplate("includes/favicons.html.twig", "layout/layout.html.twig", 80)->display($context);
  220.         // line 81
  221.         echo "    ";
  222.         // line 82
  223.         echo "
  224.     <link rel=\"canonical\" href=\"";
  225.         // line 83
  226.         echo twig_escape_filter($this->env, ((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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "getSchemeAndHttpHost", [], "any", false, false, false, 83) . 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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "baseUrl", [], "any", false, false, false, 83)) . 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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "pathInfo", [], "any", false, false, false, 83)), "html", null, true);
  227.         echo "\"/>
  228.     ";
  229.         // line 85
  230.         $this->displayBlock('layout_head_meta', $context, $blocks);
  231.         // line 89
  232.         echo "
  233.     ";
  234.         // line 91
  235.         echo "    ";
  236.         $context["subdomainName"] = ("https://" . $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("subdomain"));
  237.         // line 92
  238.         echo "    ";
  239.         $this->loadTemplate("includes/window-vars.html.twig", "layout/layout.html.twig", 92)->display($context);
  240.         // line 93
  241.         echo "    ";
  242.         // line 94
  243.         echo "</head>
  244. <body id=\"body\">
  245. <div id=\"trigger-hero-image\" class=\"trigger-hero-image\"></div>
  246.     <div class=\"menu-bg\">
  247.         <button class=\"close-menu\">
  248.             <img src=\"";
  249.         // line 100
  250.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/images/x_button.svg"), "html", null, true);
  251.         echo "\" alt=\"Schliessen\" title=\"Schliessen\">
  252.         </button>
  253.         <div class=\"mobile-navigation\">
  254.             ";
  255.         // line 103
  256.         $this->loadTemplate("/includes/partials/ul-nav.html.twig", "layout/layout.html.twig", 103)->display($context);
  257.         // line 104
  258.         echo "
  259.             <a class=\"impress\" href=\"";
  260.         // line 105
  261.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 105, $this->source); })()), "getProperty", [0 => "dataImprintDoc"], "method", false, false, false, 105), "html", null, true);
  262.         echo "\">Impressum</a>
  263.         </div>
  264.     </div>
  265.     <main class=\"wrapper-body noSelect\">
  266.         ";
  267.         // line 110
  268.         $this->displayBlock("content", $context, $blocks);
  269.         echo "
  270.         ";
  271.         // line 112
  272.         if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 112, $this->source); })())) {
  273.             // line 113
  274.             echo "        ";
  275.             // line 114
  276.             echo "        ";
  277.         }
  278.         // line 115
  279.         echo "
  280.         ";
  281.         // line 117
  282.         echo "        ";
  283.         echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 117, $this->source); })()), "getProperty", [0 => "footer"], "method", false, false, false, 117)]);
  284.         echo "
  285.         ";
  286.         // line 119
  287.         echo "    </main>
  288. </body>
  289. ";
  290.         // line 123
  291.         $this->displayBlock('headscripts', $context, $blocks);
  292.         // line 126
  293.         echo "</html>";
  294.         $this->deferred->resolve($this, $context, $blocks);
  295.         
  296.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  297.         
  298.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  299.     }
  300.     public function block_head_stylesheets($context, array $blocks = [])
  301.     {
  302.         $this->deferred->defer($this, 'head_stylesheets');
  303.     }
  304.     // line 75
  305.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  306.     {
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  310.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
  311.         // line 76
  312.         echo "    ";
  313.         echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
  314.         echo "
  315.     ";
  316.         
  317.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  318.         
  319.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  320.         $this->deferred->resolve($this, $context, $blocks);
  321.     }
  322.     public function block_layout_head_meta($context, array $blocks = [])
  323.     {
  324.         $this->deferred->defer($this, 'layout_head_meta');
  325.     }
  326.     // line 85
  327.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  328.     {
  329.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
  331.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  332.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
  333.         // line 86
  334.         echo "        ";
  335.         echo call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []);
  336.         echo "
  337.         ";
  338.         // line 87
  339.         echo call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []);
  340.         echo "
  341.     ";
  342.         
  343.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  344.         
  345.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  346.         $this->deferred->resolve($this, $context, $blocks);
  347.     }
  348.     public function block_headscripts($context, array $blocks = [])
  349.     {
  350.         $this->deferred->defer($this, 'headscripts');
  351.     }
  352.     // line 123
  353.     public function block_headscripts_deferred($context, array $blocks = [])
  354.     {
  355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  356.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
  357.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  358.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
  359.         // line 124
  360.         echo "    ";
  361.         echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
  362.         echo "
  363. ";
  364.         
  365.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  366.         
  367.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  368.         $this->deferred->resolve($this, $context, $blocks);
  369.     }
  370.     public function getTemplateName()
  371.     {
  372.         return "layout/layout.html.twig";
  373.     }
  374.     public function isTraitable()
  375.     {
  376.         return false;
  377.     }
  378.     public function getDebugInfo()
  379.     {
  380.         return array (  395 => 124,  386 => 123,  368 => 87,  363 => 86,  354 => 85,  335 => 76,  326 => 75,  310 => 126,  308 => 123,  302 => 119,  297 => 117,  294 => 115,  291 => 114,  289 => 113,  287 => 112,  282 => 110,  274 => 105,  271 => 104,  269 => 103,  263 => 100,  255 => 94,  253 => 93,  250 => 92,  247 => 91,  244 => 89,  242 => 85,  237 => 83,  234 => 82,  232 => 81,  229 => 80,  226 => 78,  224 => 75,  215 => 69,  211 => 67,  209 => 1,  205 => 65,  203 => 64,  200 => 63,  198 => 62,  195 => 61,  191 => 59,  188 => 58,  185 => 57,  182 => 56,  179 => 55,  176 => 54,  174 => 53,  171 => 52,  169 => 51,  166 => 50,  163 => 49,  161 => 48,  158 => 47,  155 => 46,  152 => 45,  149 => 44,  147 => 43,  144 => 41,  141 => 40,  138 => 39,  135 => 38,  132 => 37,  129 => 36,  126 => 34,  124 => 33,  121 => 32,  118 => 31,  115 => 30,  112 => 29,  109 => 28,  107 => 27,  104 => 26,  101 => 25,  98 => 23,  95 => 22,  92 => 21,  89 => 20,  86 => 19,  83 => 18,  79 => 15,  77 => 14,  74 => 13,  72 => 12,  69 => 11,  66 => 10,  64 => 9,  61 => 8,  58 => 7,  55 => 5,  52 => 4,  49 => 2,  47 => 1,);
  381.     }
  382.     public function getSourceContext()
  383.     {
  384.         return new Source("{% apply spaceless %}
  385.     {# Page name #}
  386.     {% set pageName = pimcore_website_config('pageName', null, app.request.locale) %}
  387.     {# styles #}
  388.     {% do pimcore_head_link().appendStylesheet(asset('/assets/dist/css/app.min.css')) %}
  389.     {% if editmode %}
  390.         {% do pimcore_head_link().appendStylesheet(asset('/assets/dist/css/editmode.min.css')) %}
  391.     {% endif %}
  392.     {# scripts #}
  393.     {% do pimcore_head_script().appendFile(asset('/assets/dist/js/app.min.js')) %}
  394.     {# Title #}
  395.     {% do pimcore_head_title().set(document.getTitle()) %}
  396.     {% do pimcore_head_title().append(pageName) %}
  397.     {% if document.getTitle() %}
  398.         {% do pimcore_head_title().setSeparator(' | ') %}
  399.     {% endif %}
  400.     {# Meta-Tags  #}
  401.     {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  402.     {% if app.request.schemeAndHttpHost  == \"https://apimedia.a4interactive.ch\" %}
  403.         {% do pimcore_head_meta().setName('robots', 'noindex, follow') %}
  404.     {% else %}
  405.         {% do pimcore_head_meta().setName('robots', 'index, follow') %}
  406.     {% endif %}
  407.     {% do pimcore_head_meta().setName('language', app.request.locale) %}
  408.     {# OG-Tags #}
  409.     {% do pimcore_head_meta().setProperty('og:title', document.getTitle()) %}
  410.     {% do pimcore_head_meta().setProperty('og:description', document.getDescription()) %}
  411.     {% do pimcore_head_meta().setProperty('og:type', 'website') %}
  412.     {% do pimcore_head_meta().setProperty('og:url', app.request.uri) %}
  413.     {% do pimcore_head_meta().setProperty('og:locale', app.request.locale) %}
  414.     {# NAVIGATION SETTINGS START #}
  415.     {# get root node if there is no document defined (for pages which are routed directly through static route) #}
  416.     {% if not document is defined or not document %}
  417.         {% set document = pimcore_document(1) %}
  418.     {% endif %}
  419.     {% set navStartNode = document.getProperty('navigation_root') %}
  420.     {% set id = documentId %}
  421.     {% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
  422.         {% if pimcore_site_is_request() %}
  423.             {% set site = pimcore_site_current() %}
  424.             {% set navStartNode = site.getRootDocument() %}
  425.         {% else %}
  426.             {% set navStartNode = pimcore_document(1) %}
  427.         {% endif %}
  428.     {% endif %}
  429.     {% set mainNavigation = pimcore_build_nav({active: document, root: navStartNode}) %}
  430.     {% set menuRenderer = pimcore_nav_renderer('menu') %}
  431.     {# NAVIGATION SETTINGS END #}
  432. {% endapply %}
  433. <!DOCTYPE html>
  434. <html lang=\"{{ app.request.locale }}\">
  435. <head>
  436.     <meta charset=\"UTF-8\">
  437.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  438.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5\">
  439.     {% block head_stylesheets deferred %}
  440.     {{ pimcore_head_link() }}
  441.     {% endblock %}
  442.     {# favicon Start #}
  443.     {% include 'includes/favicons.html.twig' %}
  444.     {# favicon End #}
  445.     <link rel=\"canonical\" href=\"{{ app.request.getSchemeAndHttpHost ~ app.request.baseUrl ~ app.request.pathInfo }}\"/>
  446.     {% block layout_head_meta deferred %}
  447.         {{ pimcore_head_title() }}
  448.         {{ pimcore_head_meta() }}
  449.     {% endblock %}
  450.     {# window variables start #}
  451.     {% set subdomainName = \"https://#{pimcore_website_config('subdomain')}\" %}
  452.     {% include 'includes/window-vars.html.twig' %}
  453.     {# window variables end #}
  454. </head>
  455. <body id=\"body\">
  456. <div id=\"trigger-hero-image\" class=\"trigger-hero-image\"></div>
  457.     <div class=\"menu-bg\">
  458.         <button class=\"close-menu\">
  459.             <img src=\"{{ asset('/assets/images/x_button.svg') }}\" alt=\"Schliessen\" title=\"Schliessen\">
  460.         </button>
  461.         <div class=\"mobile-navigation\">
  462.             {% include '/includes/partials/ul-nav.html.twig' %}
  463.             <a class=\"impress\" href=\"{{ document.getProperty('dataImprintDoc') }}\">Impressum</a>
  464.         </div>
  465.     </div>
  466.     <main class=\"wrapper-body noSelect\">
  467.         {{ block('content') }}
  468.         {% if not editmode %}
  469.         {#{{ include('includes/blocks/cookies-eu-banner.html.twig') }}#}
  470.         {% endif %}
  471.         {# footer start #}
  472.         {{ pimcore_inc(document.getProperty('footer')) }}
  473.         {# footer end #}
  474.     </main>
  475. </body>
  476. {% block headscripts deferred %}
  477.     {{ pimcore_head_script() | raw }}
  478. {% endblock %}
  479. </html>", "layout/layout.html.twig", "/home/httpd/vhosts/a4interactive.ch/httpdocs/apimedia.a4interactive.ch/apimedia/templates/layout/layout.html.twig");
  480.     }
  481. }