<?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;
/* @StartPlatzEventBundle/Default/event-single.tailwind.html.twig */
class __TwigTemplate_5b2a7b52051dbdc98881650b6a7f53a2 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->blocks = [
'metaData' => [$this, 'block_metaData'],
'title' => [$this, 'block_title'],
'styles' => [$this, 'block_styles'],
'additionalHead' => [$this, 'block_additionalHead'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@StartPlatzStyleBundle/base.tailwind.public.html.twig";
}
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", "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig"));
// line 2
$context["currentPath"] = 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "get", ["_route"], "method", false, false, false, 2);
// line 5
$context["lang"] = Twig\Extension\CoreExtension::lower($this->env->getCharset(), 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.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "get", ["lang", ((CoreExtension::getAttribute($this->env, $this->source, ($context["event"] ?? null), "lang", [], "any", true, true, false, 5)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 5, $this->source); })()), "lang", [], "any", false, false, false, 5), "de")) : ("de"))], "method", false, false, false, 5));
// line 6
$context["isEnglish"] = ((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 6, $this->source); })()) == "en");
// line 9
$context["seoTitle"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 9, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 9, $this->source); })()), "seoTitleEn", [], "any", false, false, false, 9))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 9, $this->source); })()), "seoTitleEn", [], "any", false, false, false, 9)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 9, $this->source); })()), "seoTitle", [], "any", false, false, false, 9)));
// line 10
$context["seoDescription"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 10, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 10, $this->source); })()), "seoDescriptionEn", [], "any", false, false, false, 10))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 10, $this->source); })()), "seoDescriptionEn", [], "any", false, false, false, 10)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 10, $this->source); })()), "seoDescription", [], "any", false, false, false, 10)));
// line 11
$context["seoKeyword"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 11, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 11, $this->source); })()), "seoKeywordEn", [], "any", false, false, false, 11))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 11, $this->source); })()), "seoKeywordEn", [], "any", false, false, false, 11)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 11, $this->source); })()), "seoKeyword", [], "any", false, false, false, 11)));
// line 14
$context["isSonderseite"] = ((array_key_exists("batch", $context) && (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 14, $this->source); })())) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 14, $this->source); })()), "hasCustomPage", [], "method", false, false, false, 14));
// line 15
if ((($tmp = (isset($context["isSonderseite"]) || array_key_exists("isSonderseite", $context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.', 15, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 16
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 16, $this->source); })()), "landingPageTitle", [], "any", false, false, false, 16)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 17
$context["seoTitle"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 17, $this->source); })()), "landingPageTitle", [], "any", false, false, false, 17);
}
// line 19
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 19, $this->source); })()), "landingPageDescription", [], "any", false, false, false, 19)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 20
$context["seoDescription"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 20, $this->source); })()), "landingPageDescription", [], "any", false, false, false, 20);
}
}
// line 23
$context["socialImage"] = ((((isset($context["isSonderseite"]) || array_key_exists("isSonderseite", $context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.', 23, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 23, $this->source); })()), "landingPageSocialImage", [], "any", false, false, false, 23))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 23, $this->source); })()), "landingPageSocialImage", [], "any", false, false, false, 23)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 23, $this->source); })()), "imageLink", [], "any", false, false, false, 23)));
// line 1
$this->parent = $this->load("@StartPlatzStyleBundle/base.tailwind.public.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 25
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metaData(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(), "block", "metaData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaData"));
// line 26
yield " ";
// line 27
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 27, $this->source); })()), "status", [], "any", false, false, false, 27) == "archive")) {
// line 28
yield " ";
$context["archivePrefix"] = (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 28, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ((("Past event from " . $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 28, $this->source); })()), "startDate", [], "any", false, false, false, 28), "F j, Y")) . ": ")) : ((("Vergangene Veranstaltung vom " . $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 28, $this->source); })()), "startDate", [], "any", false, false, false, 28), "d.m.Y")) . ": ")));
// line 29
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["archivePrefix"]) || array_key_exists("archivePrefix", $context) ? $context["archivePrefix"] : (function () { throw new RuntimeError('Variable "archivePrefix" does not exist.', 29, $this->source); })()), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 29, $this->source); })()), 0, 140), "html", null, true);
yield "\">
";
} else {
// line 31
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 31, $this->source); })()), "html", null, true);
yield "\">
";
}
// line 33
yield " <meta name=\"keywords\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoKeyword"]) || array_key_exists("seoKeyword", $context) ? $context["seoKeyword"] : (function () { throw new RuntimeError('Variable "seoKeyword" does not exist.', 33, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"author\" content=\"";
// line 34
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 34, $this->source); })()), "trainer", [], "any", false, false, false, 34), "html", null, true);
yield "\">
";
// line 36
if ((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); })()), "environment", [], "any", false, false, false, 36) == "prod")) {
// line 37
yield " <meta name=\"robots\" content=\"index,follow\">
";
// line 38
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 38, $this->source); })()), "seriesTag", [], "any", false, false, false, 38))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 39
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("event_series", ["seriesTag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 39, $this->source); })()), "seriesTag", [], "any", false, false, false, 39), "lang" => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 39, $this->source); })())]), "html", null, true);
yield "\" />
";
} else {
// line 41
yield " <link rel=\"canonical\" href=\"https://www.startplatz.de/event/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 41, $this->source); })()), "slug", [], "any", false, false, false, 41)), "html", null, true);
if (((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 41, $this->source); })()) == "en")) {
yield "?lang=en";
}
yield "\" />
";
}
// line 43
yield "
";
// line 45
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 45, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 45)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 46
yield " <link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 46, $this->source); })()), "slug", [], "any", false, false, false, 46)), "html", null, true);
yield "?lang=de\" />
<link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/";
// line 47
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 47, $this->source); })()), "slug", [], "any", false, false, false, 47)), "html", null, true);
yield "?lang=en\" />
<link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/";
// line 48
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 48, $this->source); })()), "slug", [], "any", false, false, false, 48)), "html", null, true);
yield "\" />
";
}
// line 50
yield " ";
} else {
// line 51
yield " <meta name=\"robots\" content=\"noindex,nofollow\">
";
}
// line 53
yield "
";
// line 55
yield " <meta property=\"og:title\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoTitle"]) || array_key_exists("seoTitle", $context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.', 55, $this->source); })()), "html", null, true);
yield "\">
<meta property=\"og:description\" content=\"";
// line 56
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 56, $this->source); })()), "html", null, true);
yield "\">
<meta property=\"og:image\" content=\"";
// line 57
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["socialImage"]) || array_key_exists("socialImage", $context) ? $context["socialImage"] : (function () { throw new RuntimeError('Variable "socialImage" does not exist.', 57, $this->source); })()), "html", null, true);
yield "\">
<meta property=\"og:locale\" content=\"";
// line 58
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 58, $this->source); })()) == "en")) ? ("en_US") : ("de_DE"));
yield "\">
";
// line 59
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 59, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 59)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 60
yield " <meta property=\"og:locale:alternate\" content=\"";
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 60, $this->source); })()) == "en")) ? ("de_DE") : ("en_US"));
yield "\">
";
}
// line 62
yield "
";
// line 64
yield " <meta name=\"twitter:card\" content=\"summary\">
<meta name=\"twitter:title\" content=\"";
// line 65
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoTitle"]) || array_key_exists("seoTitle", $context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.', 65, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"twitter:description\" content=\"";
// line 66
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 66, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"twitter:image\" content=\"";
// line 67
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["socialImage"]) || array_key_exists("socialImage", $context) ? $context["socialImage"] : (function () { throw new RuntimeError('Variable "socialImage" does not exist.', 67, $this->source); })()), "html", null, true);
yield "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 70
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(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(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("seoTitle", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["seoTitle"]) || array_key_exists("seoTitle", $context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.', 70, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 70, $this->source); })()), "seoTitle", [], "any", false, false, false, 70))) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 70, $this->source); })()), "seoTitle", [], "any", false, false, false, 70))), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 72
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_styles(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(), "block", "styles"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
// line 86
yield "<style>
/* Page Background - visible between sections */
body { background-color: #FFFFFF; }
/* Registration Section */
.bg-registration { background-color: #9632FF; }
.registration-accent { --registration-accent: #9632FF; }
/* Tags Section */
.bg-tags { background-color: #F3F4F6; }
/* Promote This Event Section */
.bg-promote { background-color: #F3F4F6; }
/* Admin Section */
.bg-admin-section { background-color: #F9FAFB; }
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 105
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_additionalHead(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(), "block", "additionalHead"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "additionalHead"));
// line 106
yield " ";
// line 107
yield " ";
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 107, $this->source); })()), "additionalCss", [], "any", false, false, false, 107))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 108
yield " <style>
";
// line 109
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 109, $this->source); })()), "additionalCss", [], "any", false, false, false, 109)), ["event" => // line 110
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 110, $this->source); })()), "batch" => // line 111
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 111, $this->source); })()), "isMultiBatchEvent" => // line 112
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 112, $this->source); })())]);
// line 113
yield "
</style>
";
}
// line 116
yield "
";
// line 118
yield " ";
if (((isset($context["isSonderseite"]) || array_key_exists("isSonderseite", $context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.', 118, $this->source); })()) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 118, $this->source); })()), "landingPageCss", [], "any", false, false, false, 118)))) {
// line 119
yield " <style>";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 119, $this->source); })()), "landingPageCss", [], "any", false, false, false, 119);
yield "</style>
";
}
// line 121
yield "
";
// line 122
yield from $this->load("@StartPlatzStyleBundle/_meta-pixel.html.twig", 122)->unwrap()->yield(CoreExtension::toArray(["meta_pixel_id" => ((CoreExtension::getAttribute($this->env, $this->source, ($context["event"] ?? null), "metaPixelId", [], "any", true, true, false, 122)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 122, $this->source); })()), "metaPixelId", [], "any", false, false, false, 122), null)) : (null))]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 125
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(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(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 126
yield " ";
// line 127
yield " ";
$context["navbar"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 127, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 127, $this->source); })()), "navbarEn", [], "any", false, false, false, 127))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 127, $this->source); })()), "navbarEn", [], "any", false, false, false, 127)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 127, $this->source); })()), "navbar", [], "any", false, false, false, 127)));
// line 128
yield " ";
$context["teaser"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 128, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 128, $this->source); })()), "teaserEn", [], "any", false, false, false, 128))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 128, $this->source); })()), "teaserEn", [], "any", false, false, false, 128)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 128, $this->source); })()), "teaser", [], "any", false, false, false, 128)));
// line 129
yield " ";
$context["content"] = ((((isset($context["isSonderseite"]) || array_key_exists("isSonderseite", $context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.', 129, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 129, $this->source); })()), "landingPageContent", [], "any", false, false, false, 129))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 129, $this->source); })()), "landingPageContent", [], "any", false, false, false, 129)) : (((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 129, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 129, $this->source); })()), "contentEn", [], "any", false, false, false, 129))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 129, $this->source); })()), "contentEn", [], "any", false, false, false, 129)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 129, $this->source); })()), "content", [], "any", false, false, false, 129)))));
// line 130
yield " ";
$context["contentTwig"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 130, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 130, $this->source); })()), "contentTwigEn", [], "any", false, false, false, 130))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 130, $this->source); })()), "contentTwigEn", [], "any", false, false, false, 130)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 130, $this->source); })()), "contentTwig", [], "any", false, false, false, 130)));
// line 131
yield " ";
$context["postCtaContent"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 131, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 131, $this->source); })()), "postCtaContentEn", [], "any", false, false, false, 131))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 131, $this->source); })()), "postCtaContentEn", [], "any", false, false, false, 131)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 131, $this->source); })()), "postCtaContent", [], "any", false, false, false, 131)));
// line 132
yield "
";
// line 134
yield " ";
if ((($tmp = (isset($context["navbar"]) || array_key_exists("navbar", $context) ? $context["navbar"] : (function () { throw new RuntimeError('Variable "navbar" does not exist.', 134, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 135
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["navbar"]) || array_key_exists("navbar", $context) ? $context["navbar"] : (function () { throw new RuntimeError('Variable "navbar" does not exist.', 135, $this->source); })())), ["event" => // line 136
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 136, $this->source); })()), "batch" => // line 137
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 137, $this->source); })()), "isMultiBatchEvent" => // line 138
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 138, $this->source); })()), "lang" => // line 139
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 139, $this->source); })()), "isEnglish" => // line 140
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 140, $this->source); })()), "phrases" => // line 141
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 141, $this->source); })())]);
// line 142
yield "
";
}
// line 144
yield "
";
// line 146
yield " ";
if ((($tmp = (isset($context["teaser"]) || array_key_exists("teaser", $context) ? $context["teaser"] : (function () { throw new RuntimeError('Variable "teaser" does not exist.', 146, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 147
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["teaser"]) || array_key_exists("teaser", $context) ? $context["teaser"] : (function () { throw new RuntimeError('Variable "teaser" does not exist.', 147, $this->source); })())), ["event" => // line 148
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 148, $this->source); })()), "batch" => // line 149
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 149, $this->source); })()), "isMultiBatchEvent" => // line 150
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 150, $this->source); })()), "lang" => // line 151
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 151, $this->source); })()), "isEnglish" => // line 152
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 152, $this->source); })()), "phrases" => // line 153
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 153, $this->source); })())]);
// line 154
yield "
";
}
// line 156
yield "
";
// line 158
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig", 158)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 159
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 159, $this->source); })()), "isEnglish" => // line 160
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 160, $this->source); })())]));
// line 162
yield "
";
// line 164
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, 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.', 164, $this->source); })()), "session", [], "any", false, false, false, 164), "flashbag", [], "any", false, false, false, 164), "has", ["notice"], "method", false, false, false, 164)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 165
yield " <section class=\"bg-gray-100 py-3\">
<div class=\"max-w-4xl mx-auto px-4\">
";
// line 167
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, 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.', 167, $this->source); })()), "session", [], "any", false, false, false, 167), "flashbag", [], "any", false, false, false, 167), "get", ["notice"], "method", false, false, false, 167));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 168
yield " <div class=\"text-center py-3 px-4 rounded-lg mb-2 ";
if (CoreExtension::inFilter("SUCCESS", $context["flashMessage"])) {
yield "bg-green-100 text-green-800";
} elseif (CoreExtension::inFilter("ERROR", $context["flashMessage"])) {
yield "bg-red-100 text-red-800";
} else {
yield "bg-gray-200 text-gray-800";
}
yield "\">
";
// line 169
yield Twig\Extension\CoreExtension::replace($context["flashMessage"], ["SUCCESS" => ""]);
yield "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 172
yield " ";
yield (isset($context["editFeedback"]) || array_key_exists("editFeedback", $context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.', 172, $this->source); })());
yield "
</div>
</section>
";
}
// line 176
yield "
";
// line 178
yield " ";
if ((((isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 178, $this->source); })()) && (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 178, $this->source); })())) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 178, $this->source); })()), "applicationStatus", [], "any", false, false, false, 178))) {
// line 179
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig", 179)->unwrap()->yield($context);
// line 180
yield " ";
}
// line 181
yield "
";
// line 183
yield " ";
if ((($tmp = (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 183, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 184
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 184, $this->source); })())), ["event" => // line 185
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 185, $this->source); })()), "batch" => // line 186
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 186, $this->source); })()), "isMultiBatchEvent" => // line 187
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 187, $this->source); })()), "lang" => // line 188
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 188, $this->source); })()), "isEnglish" => // line 189
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 189, $this->source); })()), "phrases" => // line 190
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 190, $this->source); })())]);
// line 191
yield "
";
}
// line 193
yield "
";
// line 195
yield " ";
if ((($tmp = (isset($context["contentTwig"]) || array_key_exists("contentTwig", $context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.', 195, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 196
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["contentTwig"]) || array_key_exists("contentTwig", $context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.', 196, $this->source); })())), ["event" => // line 197
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 197, $this->source); })()), "batch" => // line 198
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 198, $this->source); })()), "isMultiBatchEvent" => // line 199
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 199, $this->source); })()), "futureBatches" => // line 200
(isset($context["futureBatches"]) || array_key_exists("futureBatches", $context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.', 200, $this->source); })()), "allBatches" => // line 201
(isset($context["allBatches"]) || array_key_exists("allBatches", $context) ? $context["allBatches"] : (function () { throw new RuntimeError('Variable "allBatches" does not exist.', 201, $this->source); })()), "lang" => // line 202
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 202, $this->source); })()), "isEnglish" => // line 203
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 203, $this->source); })()), "phrases" => // line 204
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 204, $this->source); })())]);
// line 205
yield "
";
}
// line 207
yield "
";
// line 209
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.tailwind.html.twig", 209)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 210
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 210, $this->source); })()), "batch" => // line 211
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 211, $this->source); })()), "batchIsOpen" => // line 212
(isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen", $context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.', 212, $this->source); })()), "application" => // line 213
(isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 213, $this->source); })()), "settings" => // line 214
(isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 214, $this->source); })()), "isMultiBatchEvent" => // line 215
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 215, $this->source); })()), "futureBatches" => // line 216
(isset($context["futureBatches"]) || array_key_exists("futureBatches", $context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.', 216, $this->source); })()), "lang" => // line 217
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 217, $this->source); })()), "isEnglish" => // line 218
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 218, $this->source); })()), "phrases" => // line 219
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 219, $this->source); })())]));
// line 221
yield "
";
// line 223
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.tags.tailwind.html.twig", 223)->unwrap()->yield($context);
// line 224
yield "
";
// line 226
yield " ";
if ((($tmp = (isset($context["postCtaContent"]) || array_key_exists("postCtaContent", $context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.', 226, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 227
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["postCtaContent"]) || array_key_exists("postCtaContent", $context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.', 227, $this->source); })())), ["event" => // line 228
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 228, $this->source); })()), "batch" => // line 229
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 229, $this->source); })()), "isMultiBatchEvent" => // line 230
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 230, $this->source); })()), "lang" => // line 231
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 231, $this->source); })()), "isEnglish" => // line 232
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 232, $this->source); })()), "phrases" => // line 233
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 233, $this->source); })())]);
// line 234
yield "
";
}
// line 236
yield "
";
// line 238
yield " ";
if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers", $context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.', 238, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 239
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig", 239)->unwrap()->yield($context);
// line 240
yield " ";
}
// line 241
yield "
";
// line 243
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig", 243)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 244
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 244, $this->source); })()), "isMultiBatchEvent" => // line 245
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 245, $this->source); })()), "pastBatches" => // line 246
(isset($context["pastBatches"]) || array_key_exists("pastBatches", $context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.', 246, $this->source); })()), "isEnglish" => // line 247
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 247, $this->source); })())]));
// line 249
yield "
";
// line 251
yield " ";
if ((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.', 251, $this->source); })()), "user", [], "any", false, false, false, 251) && (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 251, $this->source); })()))) {
// line 252
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.promote-this-event.tailwind.html.twig", 252)->unwrap()->yield($context);
// line 253
yield " ";
}
// line 254
yield "
";
// line 256
yield " ";
if ((((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 256) && array_key_exists("application", $context)) && !(null === (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 256, $this->source); })()))) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 256, $this->source); })()), "canReadList", [], "any", false, false, false, 256))) {
// line 257
yield " <section class=\"bg-gray-100 py-6\">
<div class=\"max-w-4xl mx-auto px-4 text-center\">
<span class=\"text-gray-700\">";
// line 259
yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 259, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("You can view the participant list here") : ("Hier kannst Du die Teilnehmerliste einsehen"));
yield "</span>
<a class=\"ml-2 inline-block px-4 py-2 border border-gray-800 rounded-lg hover:bg-gray-800 hover:text-white transition-colors\" href=\"";
// line 260
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_participants", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 260, $this->source); })()), "id", [], "any", false, false, false, 260)]), "html", null, true);
yield "\">
participants
</a>
</div>
</section>
";
}
// line 266
yield "
";
// line 268
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 268)) {
// line 269
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 269), "admin", [], "any", true, true, false, 269) && 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.', 269, $this->source); })()), "user", [], "any", false, false, false, 269), "admin", [], "any", false, false, false, 269))) {
// line 270
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_section.startplatz-admin-section.tailwind.html.twig", 270)->unwrap()->yield($context);
// line 271
yield " ";
}
// line 272
yield " ";
}
// line 273
yield "
";
// line 275
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 275, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 275)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 276
yield " <div class=\"fixed top-32 right-5 z-50\" x-data=\"{ hover: false }\">
<div class=\"bg-white border-2 border-sp-purple rounded-full px-4 py-2 shadow-lg flex items-center gap-2\">
<a href=\"?lang=de\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all ";
// line 278
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 278, $this->source); })()) == "de")) ? ("bg-sp-purple text-white") : ("text-gray-800 hover:bg-gray-100"));
yield "\" title=\"Deutsch\">
<span class=\"text-xl\">DE</span>
</a>
<span class=\"text-gray-300\">|</span>
<a href=\"?lang=en\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all ";
// line 282
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 282, $this->source); })()) == "en")) ? ("bg-sp-purple text-white") : ("text-gray-800 hover:bg-gray-100"));
yield "\" title=\"English\">
<span class=\"text-xl\">EN</span>
</a>
</div>
</div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 290
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(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(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 291
yield " ";
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 291, $this->source); })()), "additionalJs", [], "any", false, false, false, 291))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 292
yield " <script>
var eventData = {
id: ";
// line 294
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 294, $this->source); })()), "id", [], "any", false, false, false, 294), "html", null, true);
yield ",
title: \"";
// line 295
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 295, $this->source); })()), "title", [], "any", false, false, false, 295), "js"), "html", null, true);
yield "\",
slug: \"";
// line 296
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 296, $this->source); })()), "slug", [], "any", false, false, false, 296), "js"), "html", null, true);
yield "\",
lang: \"";
// line 297
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 297, $this->source); })()), "html", null, true);
yield "\",
isEnglish: ";
// line 298
yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 298, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("true") : ("false"));
yield "
};
";
// line 301
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 301, $this->source); })()), "additionalJs", [], "any", false, false, false, 301)), ["event" => // line 302
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 302, $this->source); })()), "batch" => // line 303
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 303, $this->source); })()), "lang" => // line 304
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 304, $this->source); })()), "isEnglish" => // line 305
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 305, $this->source); })())]);
// line 306
yield "
</script>
";
}
// line 309
yield "
";
// line 311
yield " ";
if (((isset($context["isSonderseite"]) || array_key_exists("isSonderseite", $context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.', 311, $this->source); })()) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 311, $this->source); })()), "landingPageJs", [], "any", false, false, false, 311)))) {
// line 312
yield " <script>";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 312, $this->source); })()), "landingPageJs", [], "any", false, false, false, 312);
yield "</script>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 747 => 312, 744 => 311, 741 => 309, 736 => 306, 734 => 305, 733 => 304, 732 => 303, 731 => 302, 730 => 301, 724 => 298, 720 => 297, 716 => 296, 712 => 295, 708 => 294, 704 => 292, 701 => 291, 688 => 290, 670 => 282, 663 => 278, 659 => 276, 656 => 275, 653 => 273, 650 => 272, 647 => 271, 644 => 270, 641 => 269, 638 => 268, 635 => 266, 626 => 260, 622 => 259, 618 => 257, 615 => 256, 612 => 254, 609 => 253, 606 => 252, 603 => 251, 600 => 249, 598 => 247, 597 => 246, 596 => 245, 595 => 244, 593 => 243, 590 => 241, 587 => 240, 584 => 239, 581 => 238, 578 => 236, 574 => 234, 572 => 233, 571 => 232, 570 => 231, 569 => 230, 568 => 229, 567 => 228, 565 => 227, 562 => 226, 559 => 224, 556 => 223, 553 => 221, 551 => 219, 550 => 218, 549 => 217, 548 => 216, 547 => 215, 546 => 214, 545 => 213, 544 => 212, 543 => 211, 542 => 210, 540 => 209, 537 => 207, 533 => 205, 531 => 204, 530 => 203, 529 => 202, 528 => 201, 527 => 200, 526 => 199, 525 => 198, 524 => 197, 522 => 196, 519 => 195, 516 => 193, 512 => 191, 510 => 190, 509 => 189, 508 => 188, 507 => 187, 506 => 186, 505 => 185, 503 => 184, 500 => 183, 497 => 181, 494 => 180, 491 => 179, 488 => 178, 485 => 176, 477 => 172, 468 => 169, 457 => 168, 453 => 167, 449 => 165, 446 => 164, 443 => 162, 441 => 160, 440 => 159, 438 => 158, 435 => 156, 431 => 154, 429 => 153, 428 => 152, 427 => 151, 426 => 150, 425 => 149, 424 => 148, 422 => 147, 419 => 146, 416 => 144, 412 => 142, 410 => 141, 409 => 140, 408 => 139, 407 => 138, 406 => 137, 405 => 136, 403 => 135, 400 => 134, 397 => 132, 394 => 131, 391 => 130, 388 => 129, 385 => 128, 382 => 127, 380 => 126, 367 => 125, 356 => 122, 353 => 121, 347 => 119, 344 => 118, 341 => 116, 336 => 113, 334 => 112, 333 => 111, 332 => 110, 331 => 109, 328 => 108, 325 => 107, 323 => 106, 310 => 105, 282 => 86, 269 => 72, 246 => 70, 233 => 67, 229 => 66, 225 => 65, 222 => 64, 219 => 62, 213 => 60, 211 => 59, 207 => 58, 203 => 57, 199 => 56, 194 => 55, 191 => 53, 187 => 51, 184 => 50, 179 => 48, 175 => 47, 170 => 46, 167 => 45, 164 => 43, 155 => 41, 149 => 39, 147 => 38, 144 => 37, 142 => 36, 137 => 34, 132 => 33, 126 => 31, 119 => 29, 116 => 28, 113 => 27, 111 => 26, 98 => 25, 87 => 1, 85 => 23, 81 => 20, 79 => 19, 76 => 17, 74 => 16, 72 => 15, 70 => 14, 68 => 11, 66 => 10, 64 => 9, 62 => 6, 60 => 5, 58 => 2, 45 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"@StartPlatzStyleBundle/base.tailwind.public.html.twig\" %}
{% set currentPath = app.request.get('_route') %}
{# Language Detection - uses event.lang as default if set #}
{% set lang = app.request.get('lang', event.lang|default('de'))|lower %}
{% set isEnglish = lang == 'en' %}
{# Select SEO content based on language with fallback #}
{% set seoTitle = isEnglish and event.seoTitleEn ? event.seoTitleEn : event.seoTitle %}
{% set seoDescription = isEnglish and event.seoDescriptionEn ? event.seoDescriptionEn : event.seoDescription %}
{% set seoKeyword = isEnglish and event.seoKeywordEn ? event.seoKeywordEn : event.seoKeyword %}
{# Sonderseite: batch-level overrides when custom page is active #}
{% set isSonderseite = batch is defined and batch and batch.hasCustomPage() %}
{% if isSonderseite %}
{% if batch.landingPageTitle %}
{% set seoTitle = batch.landingPageTitle %}
{% endif %}
{% if batch.landingPageDescription %}
{% set seoDescription = batch.landingPageDescription %}
{% endif %}
{% endif %}
{% set socialImage = (isSonderseite and batch.landingPageSocialImage) ? batch.landingPageSocialImage : event.imageLink %}
{% block metaData %}
{# Optimize meta description for archived events #}
{% if event.status == 'archive' %}
{% set archivePrefix = isEnglish ? 'Past event from ' ~ event.startDate|date('F j, Y') ~ ': ' : 'Vergangene Veranstaltung vom ' ~ event.startDate|date('d.m.Y') ~ ': ' %}
<meta name=\"description\" content=\"{{ archivePrefix }}{{ seoDescription|slice(0, 140) }}\">
{% else %}
<meta name=\"description\" content=\"{{ seoDescription }}\">
{% endif %}
<meta name=\"keywords\" content=\"{{ seoKeyword }}\">
<meta name=\"author\" content=\"{{ event.trainer }}\">
{% if app.environment == 'prod' %}
<meta name=\"robots\" content=\"index,follow\">
{% if event.seriesTag is not empty %}
<link rel=\"canonical\" href=\"{{ path('event_series', {'seriesTag': event.seriesTag, 'lang': lang}) }}\" />
{% else %}
<link rel=\"canonical\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}{% if lang == 'en' %}?lang=en{% endif %}\" />
{% endif %}
{# hreflang tags for bilingual support #}
{% if event.hasEnglishVersion %}
<link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=de\" />
<link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=en\" />
<link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}\" />
{% endif %}
{% else %}
<meta name=\"robots\" content=\"noindex,nofollow\">
{% endif %}
{# Open Graph with language support #}
<meta property=\"og:title\" content=\"{{ seoTitle }}\">
<meta property=\"og:description\" content=\"{{ seoDescription }}\">
<meta property=\"og:image\" content=\"{{ socialImage }}\">
<meta property=\"og:locale\" content=\"{{ lang == 'en' ? 'en_US' : 'de_DE' }}\">
{% if event.hasEnglishVersion %}
<meta property=\"og:locale:alternate\" content=\"{{ lang == 'en' ? 'de_DE' : 'en_US' }}\">
{% endif %}
{# Twitter Card #}
<meta name=\"twitter:card\" content=\"summary\">
<meta name=\"twitter:title\" content=\"{{ seoTitle }}\">
<meta name=\"twitter:description\" content=\"{{ seoDescription }}\">
<meta name=\"twitter:image\" content=\"{{ socialImage }}\">
{% endblock %}
{% block title %}{{ seoTitle|default(event.seoTitle) }}{% endblock %}
{% block styles %}
{#
╔═══════════════════════════════════════════════════════════════════════╗
║ DEFAULT STYLES - werden durch event.additionalCss überschrieben ║
║ ║
║ Anpassbar via additionalCss (Beispiel Dark Theme): ║
║ body { background-color: #0a0a0a; } ║
║ .bg-registration { background-color: #171717; } ║
║ .registration-accent { --registration-accent: #3D9DD6; } ║
║ .bg-tags { background-color: #171717; } ║
║ .bg-promote { background-color: #171717; } ║
║ .bg-admin-section { background-color: #171717; } ║
╚═══════════════════════════════════════════════════════════════════════╝
#}
<style>
/* Page Background - visible between sections */
body { background-color: #FFFFFF; }
/* Registration Section */
.bg-registration { background-color: #9632FF; }
.registration-accent { --registration-accent: #9632FF; }
/* Tags Section */
.bg-tags { background-color: #F3F4F6; }
/* Promote This Event Section */
.bg-promote { background-color: #F3F4F6; }
/* Admin Section */
.bg-admin-section { background-color: #F9FAFB; }
</style>
{% endblock %}
{% block additionalHead %}
{# Custom CSS from Event #}
{% if event.additionalCss is not empty %}
<style>
{{ include(template_from_string(event.additionalCss), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent
}) }}
</style>
{% endif %}
{# Sonderseite: batch-level CSS overrides #}
{% if isSonderseite and batch.landingPageCss is not empty %}
<style>{{ batch.landingPageCss|raw }}</style>
{% endif %}
{% include \"@StartPlatzStyleBundle/_meta-pixel.html.twig\" with { meta_pixel_id: event.metaPixelId|default(null) } only %}
{% endblock %}
{% block content %}
{# Select content based on language with fallback to German #}
{% set navbar = isEnglish and event.navbarEn ? event.navbarEn : event.navbar %}
{% set teaser = isEnglish and event.teaserEn ? event.teaserEn : event.teaser %}
{% set content = (isSonderseite and batch.landingPageContent) ? batch.landingPageContent : (isEnglish and event.contentEn ? event.contentEn : event.content) %}
{% set contentTwig = isEnglish and event.contentTwigEn ? event.contentTwigEn : event.contentTwig %}
{% set postCtaContent = isEnglish and event.postCtaContentEn ? event.postCtaContentEn : event.postCtaContent %}
{# Navbar Section #}
{% if navbar %}
{{ include(template_from_string(navbar), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Teaser Section #}
{% if teaser %}
{{ include(template_from_string(teaser), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Archive Banner (SEO-optimized: no redirect) #}
{% include '@StartPlatzEvent/Default/_event.part.archive-banner.html.twig' with {
'event': event,
'isEnglish': isEnglish
} %}
{# Flash Messages (Notices) #}
{% if app.session.flashbag.has('notice') %}
<section class=\"bg-gray-100 py-3\">
<div class=\"max-w-4xl mx-auto px-4\">
{% for flashMessage in app.session.flashbag.get('notice') %}
<div class=\"text-center py-3 px-4 rounded-lg mb-2 {% if 'SUCCESS' in flashMessage %}bg-green-100 text-green-800{% elseif 'ERROR' in flashMessage %}bg-red-100 text-red-800{% else %}bg-gray-200 text-gray-800{% endif %}\">
{{ flashMessage|replace({'SUCCESS': ''})|raw }}
</div>
{% endfor %}
{{ editFeedback|raw }}
</div>
</section>
{% endif %}
{# Application Status Feedback #}
{% if batch and application and application.applicationStatus %}
{% include \"@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig\" %}
{% endif %}
{# Main Content Section #}
{% if content %}
{{ include(template_from_string(content), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Dynamic Twig Content #}
{% if contentTwig %}
{{ include(template_from_string(contentTwig), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'futureBatches': futureBatches,
'allBatches': allBatches,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Registration Section #}
{% include \"@StartPlatzEvent/Default/_registration.batch.tailwind.html.twig\" with {
'event': event,
'batch': batch,
'batchIsOpen': batchIsOpen,
'application': application,
'settings': settings,
'isMultiBatchEvent': isMultiBatchEvent,
'futureBatches': futureBatches,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
} %}
{# Tags Section #}
{% include \"@StartPlatzEvent/Default/_section.tags.tailwind.html.twig\" %}
{# Post CTA Content #}
{% if postCtaContent %}
{{ include(template_from_string(postCtaContent), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
{# Speakers Section #}
{% if speakers %}
{% include \"@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig\" %}
{% endif %}
{# Past Batches Section #}
{% include \"@StartPlatzEvent/Default/_section.past-batches.html.twig\" with {
'event': event,
'isMultiBatchEvent': isMultiBatchEvent,
'pastBatches': pastBatches,
'isEnglish': isEnglish
} %}
{# Promote This Event (for logged-in users) #}
{% if app.user and batch %}
{% include \"@StartPlatzEvent/Default/_section.promote-this-event.tailwind.html.twig\" %}
{% endif %}
{# Participant List Access #}
{% if app.user is defined and application is defined and application is not null and application.canReadList %}
<section class=\"bg-gray-100 py-6\">
<div class=\"max-w-4xl mx-auto px-4 text-center\">
<span class=\"text-gray-700\">{{ isEnglish ? 'You can view the participant list here' : 'Hier kannst Du die Teilnehmerliste einsehen' }}</span>
<a class=\"ml-2 inline-block px-4 py-2 border border-gray-800 rounded-lg hover:bg-gray-800 hover:text-white transition-colors\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\">
participants
</a>
</div>
</section>
{% endif %}
{# Admin Section #}
{% if app.user is defined %}
{% if app.user.admin is defined and app.user.admin %}
{% include \"@StartPlatzEvent/Default/_section.startplatz-admin-section.tailwind.html.twig\" %}
{% endif %}
{% endif %}
{# Language Switcher Component #}
{% if event.hasEnglishVersion %}
<div class=\"fixed top-32 right-5 z-50\" x-data=\"{ hover: false }\">
<div class=\"bg-white border-2 border-sp-purple rounded-full px-4 py-2 shadow-lg flex items-center gap-2\">
<a href=\"?lang=de\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all {{ lang == 'de' ? 'bg-sp-purple text-white' : 'text-gray-800 hover:bg-gray-100' }}\" title=\"Deutsch\">
<span class=\"text-xl\">DE</span>
</a>
<span class=\"text-gray-300\">|</span>
<a href=\"?lang=en\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all {{ lang == 'en' ? 'bg-sp-purple text-white' : 'text-gray-800 hover:bg-gray-100' }}\" title=\"English\">
<span class=\"text-xl\">EN</span>
</a>
</div>
</div>
{% endif %}
{% endblock %}
{% block javascripts %}
{% if event.additionalJs is not empty %}
<script>
var eventData = {
id: {{ event.id }},
title: \"{{ event.title|e('js') }}\",
slug: \"{{ event.slug|e('js') }}\",
lang: \"{{ lang }}\",
isEnglish: {{ isEnglish ? 'true' : 'false' }}
};
{{ include(template_from_string(event.additionalJs), {
'event': event,
'batch': batch,
'lang': lang,
'isEnglish': isEnglish
})|raw }}
</script>
{% endif %}
{# Sonderseite: batch-level JS #}
{% if isSonderseite and batch.landingPageJs is not empty %}
<script>{{ batch.landingPageJs|raw }}</script>
{% endif %}
{% endblock %}
", "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig", "/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.tailwind.html.twig");
}
}