<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* layouts/layout.html.twig */
class __TwigTemplate_d60e960f29d177d2eebbe70070018b01 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout.html.twig"));
// line 1
$_v0 = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 2
yield "
";
// line 4
yield " ";
$context["pageName"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("pageName", null, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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, true, 4), "locale", [], "any", false, false, true, 4), 4, $this->source));
// line 5
yield "
";
// line 6
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 6, $this->source); })()), "request", [], "any", false, false, true, 6), "get", ["no-media"], "method", false, false, true, 6) != 1)) {
// line 7
yield "
";
// line 9
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/app.min.css")], "method", false, false, true, 9);
// line 10
yield "
";
// line 11
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 11, $this->source); })())) {
// line 12
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/editmode.min.css")], "method", false, false, true, 12);
// line 13
yield " ";
}
// line 14
yield "
";
// line 16
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/app.min.js")], "method", false, false, true, 16);
// line 17
yield "
";
}
// line 19
yield "
";
// line 21
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 21, $this->source); })()), "getTitle", [], "method", false, false, true, 21)], "method", false, false, true, 21);
// line 22
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [(isset($context["pageName"]) || array_key_exists("pageName", $context) ? $context["pageName"] : (function () { throw new RuntimeError('Variable "pageName" does not exist.', 22, $this->source); })())], "method", false, false, true, 22);
// line 23
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 23, $this->source); })()), "getTitle", [], "method", false, false, true, 23)) {
// line 24
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" | "], "method", false, false, true, 24);
// line 25
yield " ";
}
// line 26
yield "
";
// line 28
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 28, $this->source); })()), "getDescription", [], "method", false, false, true, 28)], "method", false, false, true, 28);
// line 29
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setName", ["language", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 29, $this->source); })()), "request", [], "any", false, false, true, 29), "locale", [], "any", false, false, true, 29)], "method", false, false, true, 29);
// line 30
yield "
";
// line 32
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:title", CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 32, $this->source); })()), "getTitle", [], "method", false, false, true, 32)], "method", false, false, true, 32);
// line 33
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:description", CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 33, $this->source); })()), "getDescription", [], "method", false, false, true, 33)], "method", false, false, true, 33);
// line 34
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:type", "website"], "method", false, false, true, 34);
// line 35
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:url", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "request", [], "any", false, false, true, 35), "uri", [], "any", false, false, true, 35)], "method", false, false, true, 35);
// line 36
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:locale", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 36, $this->source); })()), "request", [], "any", false, false, true, 36), "locale", [], "any", false, false, true, 36)], "method", false, false, true, 36);
// line 37
yield "
";
// line 38
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["document"] ?? null), "getProperty", ["ogImage"], "method", true, true, true, 38) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 38, $this->source); })()), "getProperty", ["ogImage"], "method", false, false, true, 38)))) {
// line 39
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image", (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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, true, 39), "getSchemeAndHttpHost", [], "method", false, false, true, 39) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 39, $this->source); })()), "getProperty", ["ogImage"], "method", false, false, true, 39), "thumbnail", ["ogImage"], "method", false, false, true, 39), "path", [], "any", false, false, true, 39))], "method", false, false, true, 39);
// line 40
yield " ";
} elseif (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("ogImage") && !(null === $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("ogImage")))) {
// line 41
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image", (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "request", [], "any", false, false, true, 41), "getSchemeAndHttpHost", [], "method", false, false, true, 41) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("ogImage"), "thumbnail", ["ogImage"], "method", false, false, true, 41), "path", [], "any", false, false, true, 41))], "method", false, false, true, 41);
// line 42
yield " ";
}
// line 43
yield "
";
yield from [];
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
yield Twig\Extension\CoreExtension::spaceless($_v0);
// line 45
yield "
<!DOCTYPE html>
<html lang=\"";
// line 47
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, true, 47), "locale", [], "any", false, false, true, 47), 47, $this->source), "html", null, true);
yield "\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
";
// line 53
yield $this->env->getFunction('pimcore_head_title')->getCallable()();
yield "
";
// line 54
yield $this->env->getFunction('pimcore_head_meta')->getCallable()();
yield "
";
// line 57
yield "
";
// line 58
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "request", [], "any", false, false, true, 58), "get", ["no-media"], "method", false, false, true, 58) != 1)) {
// line 59
yield "
";
// line 61
yield " <link rel=\"icon\" type=\"image/png\" href=\"/assets/favicon/favicon-96x96.png\" sizes=\"96x96\" />
<link rel=\"icon\" type=\"image/svg+xml\" href=\"/assets/favicon/favicon.svg\" />
<link rel=\"shortcut icon\" href=\"/assets/favicon/favicon.ico\" />
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/favicon/apple-touch-icon.png\" />
<meta name=\"apple-mobile-web-app-title\" content=\"Annavation\" />
<link rel=\"manifest\" href=\"/assets/favicon/site.webmanifest\" />
";
// line 69
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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, true, 69), "getSchemeAndHttpHost", [], "any", false, false, true, 69), 69, $this->source) . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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, true, 69), "baseUrl", [], "any", false, false, true, 69), 69, $this->source)) . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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, true, 69), "pathInfo", [], "any", false, false, true, 69), 69, $this->source)), "html", null, true);
yield "\"/>
";
// line 71
yield $this->env->getFunction('pimcore_head_link')->getCallable()();
yield "
";
// line 74
yield "
";
// line 76
yield " ";
yield from $this->loadTemplate("includes/window-vars.html.twig", "layouts/layout.html.twig", 76)->unwrap()->yield($context);
// line 77
yield "
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link href=\"https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/assets/swiss-hexagon/general.css\">
<script src=\"/assets/swiss-hexagon/new.js\"></script>
<script src=\"/assets/swiss-hexagon/search.js\"></script>
";
// line 87
yield " ";
if ((isset($context["google_site_verification"]) || array_key_exists("google_site_verification", $context) ? $context["google_site_verification"] : (function () { throw new RuntimeError('Variable "google_site_verification" does not exist.', 87, $this->source); })())) {
// line 88
yield " <meta name=\"google-site-verification\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["google_site_verification"]) || array_key_exists("google_site_verification", $context) ? $context["google_site_verification"] : (function () { throw new RuntimeError('Variable "google_site_verification" does not exist.', 88, $this->source); })()), 88, $this->source), "html", null, true);
yield "\">
";
}
// line 90
yield "
";
// line 92
yield " ";
if ((isset($context["seobility"]) || array_key_exists("seobility", $context) ? $context["seobility"] : (function () { throw new RuntimeError('Variable "seobility" does not exist.', 92, $this->source); })())) {
// line 93
yield " <meta name=\"seobility\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["seobility"]) || array_key_exists("seobility", $context) ? $context["seobility"] : (function () { throw new RuntimeError('Variable "seobility" does not exist.', 93, $this->source); })()), 93, $this->source), "html", null, true);
yield "\">
";
}
// line 95
yield "
";
// line 96
yield Twig\Extension\CoreExtension::include($this->env, $context, "layouts/components/structured-data.html.twig");
yield "
";
}
// line 99
yield "
</head>
<body id=\"body\" class=\"body ";
// line 102
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 102, $this->source); })())) {
yield " editmode ";
}
yield "\">
";
// line 104
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 104, $this->source); })()), "request", [], "any", false, false, true, 104), "get", ["no-media"], "method", false, false, true, 104) != 1)) {
// line 105
yield " ";
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 105, $this->source); })())) {
// line 106
yield " <div class=\"navigation-container \" id=\"navigation-container\">
<div class=\"wrapper flex space-between center\">
<button class=\"menu-btn open\" aria-label=\"menu open\" >
<svg width=\"23\" height=\"20\" viewBox=\"0 0 23 20\">
<g id=\"Gruppe_198\" data-name=\"Gruppe 198\" transform=\"translate(-322 -25)\">
<rect id=\"Rechteck_31\" data-name=\"Rechteck 31\" width=\"23\" height=\"4\" transform=\"translate(322 41)\"/>
<rect id=\"Rechteck_1053\" data-name=\"Rechteck 1053\" width=\"23\" height=\"4\" transform=\"translate(322 33)\"/>
<rect id=\"Rechteck_1054\" data-name=\"Rechteck 1054\" width=\"23\" height=\"4\" transform=\"translate(322 25)\"/>
</g>
</svg>
</button>
<a class=\"hav-logo flex\" href=\"/\">
<img src=\"";
// line 120
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/logo/logo.png"), "html", null, true);
yield "\" alt=\"Swiss Hexagon\" ";
if (((isset($context["deviceType"]) || array_key_exists("deviceType", $context) ? $context["deviceType"] : (function () { throw new RuntimeError('Variable "deviceType" does not exist.', 120, $this->source); })()) == "phone")) {
yield " width=\"250\" height=\"70\" ";
} else {
yield "width=\"300\" height=\"70\"";
}
yield ">
</a>
<div class=\"content flex space-between\" id=\"menu-content\">
";
// line 134
yield " ";
yield from $this->loadTemplate("includes/top-header.html.twig", "layouts/layout.html.twig", 134)->unwrap()->yield($context);
// line 135
yield " ";
yield from $this->loadTemplate("includes/navigation.html.twig", "layouts/layout.html.twig", 135)->unwrap()->yield($context);
// line 140
yield "
<button class=\"menu-btn close\">
<svg width=\"19.093\" height=\"19.092\" viewBox=\"0 0 19.093 19.092\">
<g id=\"Gruppe_10241\" data-name=\"Gruppe 10241\" transform=\"translate(-316.953 -25)\">
<rect id=\"Rechteck_1071\" data-name=\"Rechteck 1071\" width=\"23\" height=\"4\" transform=\"translate(336.045 27.828) rotate(135)\" fill=\"#fff\"/>
<rect id=\"Rechteck_1072\" data-name=\"Rechteck 1072\" width=\"23\" height=\"4\" transform=\"translate(319.782 25) rotate(45)\" fill=\"#fff\"/>
</g>
</svg>
</button>
</div>
</div>
</div>
";
}
// line 154
yield " ";
}
// line 155
yield "
";
// line 157
yield " <div class=\"wrapper-body\">
";
// line 158
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 158, $this->source); })()), "request", [], "any", false, false, true, 158), "get", ["no-media"], "method", false, false, true, 158) != 1)) {
// line 159
yield " ";
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 159, $this->source); })())) {
// line 160
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 160, $this->source); })()), "getPRoperty", ["DownloadRevealWindow"], "method", false, false, true, 160)) {
// line 161
yield " <div class=\"float-button\">
<img src=\"";
// line 162
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/paper.svg"), "html", null, true);
yield "\" alt=\"Download\" height=\"38\" width=\"30\">
<div class=\"content-box\">
<button class=\"close-reveal\">
<svg width=\"16.899\" height=\"16.754\" viewBox=\"0 0 16.899 16.754\">
<path id=\"Pfad_340\" data-name=\"Pfad 340\" d=\"M8.572,7.892,15.545.918a.5.5,0,0,0,0-.729.5.5,0,0,0-.729,0L7.843,7.129.869.155a.625.625,0,0,0-.763,0,.625.625,0,0,0,0,.763L7.08,7.892.106,14.866a.5.5,0,0,0,0,.729.522.522,0,0,0,.382.139.522.522,0,0,0,.382-.139L7.843,8.621l6.974,6.974a.594.594,0,0,0,.763,0,.5.5,0,0,0,0-.729Z\" transform=\"translate(0.606 0.521)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"1\"/>
</svg>
</button>
<p class=\"headline\">";
// line 169
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 169, $this->source); })()), "getPRoperty", ["DownloadRevealWindow"], "method", false, false, true, 169), "getTitle", [], "method", false, false, true, 169), 169, $this->source), "html", null, true);
yield "</p>
<p>
";
// line 171
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 171, $this->source); })()), "getPRoperty", ["DownloadRevealWindow"], "method", false, false, true, 171), "getDescription", [], "method", false, false, true, 171), 171, $this->source), "html", null, true);
yield "
</p>
<div class=\"buttons-row flex center\">
<div class=\"btn primary\">
<a class=\"flex\" href=\"";
// line 175
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 175, $this->source); })()), "getPRoperty", ["DownloadRevealWindow"], "method", false, false, true, 175), "getPdf", [], "method", false, false, true, 175), 175, $this->source), "html", null, true);
yield "\" target=\"_blank\">
<span>";
// line 176
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DOWNLOAD"), "html", null, true);
yield "
<svg width=\"15.708\" height=\"10.709\" viewBox=\"0 0 15.708 10.709\">
<g transform=\"translate(0 0.354)\">
<g transform=\"translate(0)\">
<path class=\"line\" d=\"M7.5,18h15\" transform=\"translate(-7.5 -13)\" fill=\"none\" stroke=\"#fff\" stroke-linejoin=\"round\" stroke-width=\"1\"/>
<path class=\"arrow\" d=\"M18,7.5l5.026,5L18,17.5\" transform=\"translate(-8.027 -7.5)\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1\"/>
</g>
</g>
</svg>
</span>
</a>
</div>
</div>
</div>
</div>
";
}
// line 192
yield " ";
}
// line 193
yield " ";
}
// line 194
yield "
";
// line 195
yield from $this->unwrap()->yieldBlock("content", $context, $blocks);
yield "
</div>
";
// line 199
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 199, $this->source); })()), "request", [], "any", false, false, true, 199), "get", ["no-media"], "method", false, false, true, 199) != 1)) {
// line 200
yield "
";
// line 201
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 201, $this->source); })())) {
// line 202
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, "includes/blocks/cookies-eu-banner.html.twig");
yield "
";
}
// line 204
yield "
";
// line 206
yield " ";
yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 206, $this->source); })()), "getProperty", ["footer"], "method", false, false, true, 206), 206, $this->source));
yield "
";
// line 208
yield $this->env->getFunction('pimcore_head_script')->getCallable()();
yield "
";
// line 211
yield "
";
}
// line 212
yield "
";
// line 214
yield Twig\Extension\CoreExtension::include($this->env, $context, "layouts/components/svg-clippaths.html.twig");
yield "
</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "layouts/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 436 => 214, 432 => 212, 428 => 211, 424 => 208, 418 => 206, 415 => 204, 409 => 202, 407 => 201, 404 => 200, 402 => 199, 395 => 195, 392 => 194, 389 => 193, 386 => 192, 367 => 176, 363 => 175, 356 => 171, 351 => 169, 341 => 162, 338 => 161, 335 => 160, 332 => 159, 330 => 158, 327 => 157, 324 => 155, 321 => 154, 305 => 140, 302 => 135, 299 => 134, 287 => 120, 271 => 106, 268 => 105, 266 => 104, 259 => 102, 254 => 99, 248 => 96, 245 => 95, 239 => 93, 236 => 92, 233 => 90, 227 => 88, 224 => 87, 213 => 77, 210 => 76, 207 => 74, 203 => 71, 197 => 69, 188 => 61, 185 => 59, 183 => 58, 180 => 57, 176 => 54, 172 => 53, 163 => 47, 159 => 45, 157 => 1, 152 => 43, 149 => 42, 146 => 41, 143 => 40, 140 => 39, 138 => 38, 135 => 37, 132 => 36, 129 => 35, 126 => 34, 123 => 33, 120 => 32, 117 => 30, 114 => 29, 111 => 28, 108 => 26, 105 => 25, 102 => 24, 99 => 23, 96 => 22, 93 => 21, 90 => 19, 86 => 17, 83 => 16, 80 => 14, 77 => 13, 74 => 12, 72 => 11, 69 => 10, 66 => 9, 63 => 7, 61 => 6, 58 => 5, 55 => 4, 52 => 2, 50 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% apply spaceless %}
{# Page name #}
{% set pageName = pimcore_website_config('pageName', null, app.request.locale) %}
{% if app.request.get('no-media') != 1 %}
{# CSS #}
{% do pimcore_head_link().appendStylesheet(asset('assets/css/app.min.css')) %}
{% if editmode %}
{% do pimcore_head_link().appendStylesheet(asset('assets/css/editmode.min.css')) %}
{% endif %}
{# JS #}
{% do pimcore_head_script().appendFile(asset('assets/js/app.min.js')) %}
{% endif %}
{# Title #}
{% do pimcore_head_title().set(document.getTitle()) %}
{% do pimcore_head_title().append(pageName) %}
{% if document.getTitle() %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% endif %}
{# Meta-Tags #}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% do pimcore_head_meta().setName('language', app.request.locale) %}
{# OG-Tags #}
{% do pimcore_head_meta().setProperty('og:title', document.getTitle()) %}
{% do pimcore_head_meta().setProperty('og:description', document.getDescription()) %}
{% do pimcore_head_meta().setProperty('og:type', 'website') %}
{% do pimcore_head_meta().setProperty('og:url', app.request.uri) %}
{% do pimcore_head_meta().setProperty('og:locale', app.request.locale) %}
{% if document.getProperty('ogImage') is defined and document.getProperty('ogImage') is not null %}
{% do pimcore_head_meta().setProperty('og:image',app.request.getSchemeAndHttpHost() ~ document.getProperty('ogImage').thumbnail('ogImage').path) %}
{% elseif pimcore_website_config('ogImage') and pimcore_website_config('ogImage') is not null %}
{% do pimcore_head_meta().setProperty('og:image', app.request.getSchemeAndHttpHost() ~ pimcore_website_config('ogImage').thumbnail('ogImage').path) %}
{% endif %}
{% endapply %}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{# {% block layout_head_meta deferred %}
{% endblock %} #}
{% if app.request.get('no-media') != 1 %}
{# Favicon #}
<link rel=\"icon\" type=\"image/png\" href=\"/assets/favicon/favicon-96x96.png\" sizes=\"96x96\" />
<link rel=\"icon\" type=\"image/svg+xml\" href=\"/assets/favicon/favicon.svg\" />
<link rel=\"shortcut icon\" href=\"/assets/favicon/favicon.ico\" />
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/assets/favicon/apple-touch-icon.png\" />
<meta name=\"apple-mobile-web-app-title\" content=\"Annavation\" />
<link rel=\"manifest\" href=\"/assets/favicon/site.webmanifest\" />
{# Canonical #}
<link rel=\"canonical\" href=\"{{ app.request.getSchemeAndHttpHost ~ app.request.baseUrl ~ app.request.pathInfo }}\"/>
{{ pimcore_head_link() }}
{# {% block head_stylesheets deferred %}
{% endblock %} #}
{# window variables #}
{% include 'includes/window-vars.html.twig' %}
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link href=\"https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/assets/swiss-hexagon/general.css\">
<script src=\"/assets/swiss-hexagon/new.js\"></script>
<script src=\"/assets/swiss-hexagon/search.js\"></script>
{# Google Search Console #}
{% if google_site_verification %}
<meta name=\"google-site-verification\" content=\"{{ google_site_verification }}\">
{% endif %}
{# Seobility #}
{% if seobility %}
<meta name=\"seobility\" content=\"{{ seobility }}\">
{% endif %}
{{ include('layouts/components/structured-data.html.twig') }}
{% endif %}
</head>
<body id=\"body\" class=\"body {% if editmode %} editmode {% endif %}\">
{% if app.request.get('no-media') != 1 %}
{% if not editmode %}
<div class=\"navigation-container \" id=\"navigation-container\">
<div class=\"wrapper flex space-between center\">
<button class=\"menu-btn open\" aria-label=\"menu open\" >
<svg width=\"23\" height=\"20\" viewBox=\"0 0 23 20\">
<g id=\"Gruppe_198\" data-name=\"Gruppe 198\" transform=\"translate(-322 -25)\">
<rect id=\"Rechteck_31\" data-name=\"Rechteck 31\" width=\"23\" height=\"4\" transform=\"translate(322 41)\"/>
<rect id=\"Rechteck_1053\" data-name=\"Rechteck 1053\" width=\"23\" height=\"4\" transform=\"translate(322 33)\"/>
<rect id=\"Rechteck_1054\" data-name=\"Rechteck 1054\" width=\"23\" height=\"4\" transform=\"translate(322 25)\"/>
</g>
</svg>
</button>
<a class=\"hav-logo flex\" href=\"/\">
<img src=\"{{ asset('assets/logo/logo.png') }}\" alt=\"Swiss Hexagon\" {% if deviceType == \"phone\" %} width=\"250\" height=\"70\" {% else %}width=\"300\" height=\"70\"{% endif %}>
</a>
<div class=\"content flex space-between\" id=\"menu-content\">
{#
<div class=\"search\">
<form class=\"search-form flex\" id=\"navigation-search-form\" action=\"{{ document.getProperty('search') }}\" name=\"q\" novalidate=\"\">
<input class=\"search-input\" id=\"navigation-search-input\" type=\"text\" name=\"q\" value=\"\" placeholder=\"{{ 'Suche' | trans }}...\" required=\"\">
<button title=\"Suche\" class=\"flex\" type=\"submit\" id=\"search-submit\">
<svg width=\"20\" height=\"20.005\" viewBox=\"0 0 20 20.005\">
<path d=\"M24.265,23.05,18.7,17.436a7.927,7.927,0,1,0-1.2,1.219l5.526,5.578a.856.856,0,0,0,1.208.031A.862.862,0,0,0,24.265,23.05ZM12.474,18.722A6.259,6.259,0,1,1,16.9,16.889,6.221,6.221,0,0,1,12.474,18.722Z\" transform=\"translate(-4.5 -4.493)\" fill=\"#fff\"/>
</svg>
</button>
</form>
</div> #}
{% include 'includes/top-header.html.twig' %}
{% include 'includes/navigation.html.twig' %}
{#
<div class=\"menu-logo\">
<img src=\"{{ asset('assets/logo/logo.png') }}\" alt=\"Swiss Hexagon\" {% if deviceType == \"phone\" %} width=\"108.2\" height=\"70.19\" {% else %}width=\"224\" height=\"68\"{% endif %}>
</div> #}
<button class=\"menu-btn close\">
<svg width=\"19.093\" height=\"19.092\" viewBox=\"0 0 19.093 19.092\">
<g id=\"Gruppe_10241\" data-name=\"Gruppe 10241\" transform=\"translate(-316.953 -25)\">
<rect id=\"Rechteck_1071\" data-name=\"Rechteck 1071\" width=\"23\" height=\"4\" transform=\"translate(336.045 27.828) rotate(135)\" fill=\"#fff\"/>
<rect id=\"Rechteck_1072\" data-name=\"Rechteck 1072\" width=\"23\" height=\"4\" transform=\"translate(319.782 25) rotate(45)\" fill=\"#fff\"/>
</g>
</svg>
</button>
</div>
</div>
</div>
{% endif %}
{% endif %}
{# Content #}
<div class=\"wrapper-body\">
{% if app.request.get('no-media') != 1 %}
{% if not editmode %}
{% if document.getPRoperty('DownloadRevealWindow') %}
<div class=\"float-button\">
<img src=\"{{ asset('assets/images/paper.svg') }}\" alt=\"Download\" height=\"38\" width=\"30\">
<div class=\"content-box\">
<button class=\"close-reveal\">
<svg width=\"16.899\" height=\"16.754\" viewBox=\"0 0 16.899 16.754\">
<path id=\"Pfad_340\" data-name=\"Pfad 340\" d=\"M8.572,7.892,15.545.918a.5.5,0,0,0,0-.729.5.5,0,0,0-.729,0L7.843,7.129.869.155a.625.625,0,0,0-.763,0,.625.625,0,0,0,0,.763L7.08,7.892.106,14.866a.5.5,0,0,0,0,.729.522.522,0,0,0,.382.139.522.522,0,0,0,.382-.139L7.843,8.621l6.974,6.974a.594.594,0,0,0,.763,0,.5.5,0,0,0,0-.729Z\" transform=\"translate(0.606 0.521)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"1\"/>
</svg>
</button>
<p class=\"headline\">{{ document.getPRoperty('DownloadRevealWindow').getTitle() }}</p>
<p>
{{ document.getPRoperty('DownloadRevealWindow').getDescription() }}
</p>
<div class=\"buttons-row flex center\">
<div class=\"btn primary\">
<a class=\"flex\" href=\"{{ document.getPRoperty('DownloadRevealWindow').getPdf() }}\" target=\"_blank\">
<span>{{ 'DOWNLOAD' | trans }}
<svg width=\"15.708\" height=\"10.709\" viewBox=\"0 0 15.708 10.709\">
<g transform=\"translate(0 0.354)\">
<g transform=\"translate(0)\">
<path class=\"line\" d=\"M7.5,18h15\" transform=\"translate(-7.5 -13)\" fill=\"none\" stroke=\"#fff\" stroke-linejoin=\"round\" stroke-width=\"1\"/>
<path class=\"arrow\" d=\"M18,7.5l5.026,5L18,17.5\" transform=\"translate(-8.027 -7.5)\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1\"/>
</g>
</g>
</svg>
</span>
</a>
</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
{% endif %}
{{ block('content') }}
</div>
{% if app.request.get('no-media') != 1 %}
{% if not editmode %}
{{ include('includes/blocks/cookies-eu-banner.html.twig') }}
{% endif %}
{# footer #}
{{ pimcore_inc(document.getProperty('footer')) }}
{{ pimcore_head_script() }}
{# {% block headscripts deferred %}
{% endblock %} #}
{% endif %}
{{ include('layouts/components/svg-clippaths.html.twig') }}
</body>
</html>", "layouts/layout.html.twig", "/home/httpd/vhosts/annavation.a4interactive.ch/httpdocs/dev/templates/layouts/layout.html.twig");
}
public function checkSecurity()
{
static $tags = ["apply" => 1, "set" => 4, "if" => 6, "do" => 9, "include" => 76];
static $filters = ["spaceless" => 1, "escape" => 47, "trans" => 176];
static $functions = ["pimcore_website_config" => 4, "pimcore_head_link" => 9, "asset" => 9, "pimcore_head_script" => 16, "pimcore_head_title" => 21, "pimcore_head_meta" => 28, "include" => 96, "pimcore_inc" => 206];
try {
$this->sandbox->checkSecurity(
['apply', 'set', 'if', 'do', 'include'],
['spaceless', 'escape', 'trans'],
['pimcore_website_config', 'pimcore_head_link', 'asset', 'pimcore_head_script', 'pimcore_head_title', 'pimcore_head_meta', 'include', 'pimcore_inc'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}