<?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.winter-2025.html.twig */
class __TwigTemplate_25a3e094e0f1a35f31d4b5b3b808872d 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'],
'additionalHead' => [$this, 'block_additionalHead'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'infiniteLoop' => [$this, 'block_infiniteLoop'],
'javascriptInfiniteLoop' => [$this, 'block_javascriptInfiniteLoop'],
'ajax_helpers' => [$this, 'block_ajax_helpers'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.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.winter-2025.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.winter-2025.html.twig"));
// line 2
$macros["layout"] = $this->macros["layout"] = $this->load("@StartPlatzEventBundle/Admin/_macros.bs4.html.twig", 2)->unwrap();
// line 3
$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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "get", ["_route"], "method", false, false, false, 3);
// line 1
$this->parent = $this->load("@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.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 5
/**
* @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 6
yield " ";
// line 7
yield " ";
$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.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "get", ["lang", ((CoreExtension::getAttribute($this->env, $this->source, ($context["event"] ?? null), "lang", [], "any", true, true, false, 7)) ? (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.', 7, $this->source); })()), "lang", [], "any", false, false, false, 7), "de")) : ("de"))], "method", false, false, false, 7));
// line 8
yield " ";
$context["isEnglish"] = ((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 8, $this->source); })()) == "en");
// line 9
yield "
";
// line 11
yield " ";
$context["seoTitle"] = ((((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); })()), "seoTitleEn", [], "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); })()), "seoTitleEn", [], "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); })()), "seoTitle", [], "any", false, false, false, 11)));
// line 12
yield " ";
$context["seoDescription"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 12, $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.', 12, $this->source); })()), "seoDescriptionEn", [], "any", false, false, false, 12))) ? (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.', 12, $this->source); })()), "seoDescriptionEn", [], "any", false, false, false, 12)) : (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.', 12, $this->source); })()), "seoDescription", [], "any", false, false, false, 12)));
// line 13
yield " ";
$context["seoKeyword"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 13, $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.', 13, $this->source); })()), "seoKeywordEn", [], "any", false, false, false, 13))) ? (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.', 13, $this->source); })()), "seoKeywordEn", [], "any", false, false, false, 13)) : (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.', 13, $this->source); })()), "seoKeyword", [], "any", false, false, false, 13)));
// line 14
yield "
";
// line 16
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.', 16, $this->source); })()), "status", [], "any", false, false, false, 16) == "archive")) {
// line 17
yield " ";
$context["archivePrefix"] = (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 17, $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.', 17, $this->source); })()), "startDate", [], "any", false, false, false, 17), "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.', 17, $this->source); })()), "startDate", [], "any", false, false, false, 17), "d.m.Y")) . ": ")));
// line 18
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.', 18, $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.', 18, $this->source); })()), 0, 140), "html", null, true);
yield "\">
";
} else {
// line 20
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.', 20, $this->source); })()), "html", null, true);
yield "\">
";
}
// line 22
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.', 22, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"author\" content=\"";
// line 23
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.', 23, $this->source); })()), "trainer", [], "any", false, false, false, 23), "html", null, true);
yield "\">
";
// line 25
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.', 25, $this->source); })()), "environment", [], "any", false, false, false, 25) == "prod")) {
// line 26
yield " <meta name=\"robots\" content=\"index,follow\">
";
// line 27
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.', 27, $this->source); })()), "seriesTag", [], "any", false, false, false, 27))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 28
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.', 28, $this->source); })()), "seriesTag", [], "any", false, false, false, 28), "lang" => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 28, $this->source); })())]), "html", null, true);
yield "\" />
";
} else {
// line 30
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.', 30, $this->source); })()), "slug", [], "any", false, false, false, 30)), "html", null, true);
if (((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 30, $this->source); })()) == "en")) {
yield "?lang=en";
}
yield "\" />
";
}
// line 32
yield "
";
// line 34
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.', 34, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 34)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 35
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.', 35, $this->source); })()), "slug", [], "any", false, false, false, 35)), "html", null, true);
yield "?lang=de\" />
<link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/";
// line 36
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.', 36, $this->source); })()), "slug", [], "any", false, false, false, 36)), "html", null, true);
yield "?lang=en\" />
<link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/";
// line 37
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.', 37, $this->source); })()), "slug", [], "any", false, false, false, 37)), "html", null, true);
yield "\" />
";
}
// line 39
yield " ";
} else {
// line 40
yield " <meta name=\"robots\" content=\"noindex,nofollow\">
";
}
// line 42
yield "
<!-- Open Graph with language support -->
<meta property=\"og:title\" content=\"";
// line 44
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.', 44, $this->source); })()), "html", null, true);
yield "\">
<meta property=\"og:description\" content=\"";
// line 45
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.', 45, $this->source); })()), "html", null, true);
yield "\">
<meta property=\"og:image\" content=\"";
// line 46
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.', 46, $this->source); })()), "imageLink", [], "any", false, false, false, 46), "html", null, true);
yield "\">
<meta property=\"og:locale\" content=\"";
// line 47
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 47, $this->source); })()) == "en")) ? ("en_US") : ("de_DE"));
yield "\">
";
// line 48
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.', 48, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 48)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 49
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.', 49, $this->source); })()) == "en")) ? ("de_DE") : ("en_US"));
yield "\">
";
}
// line 51
yield "
<!-- Twitter Card -->
<meta name=\"twitter:card\" content=\"summary\">
<meta name=\"twitter:title\" content=\"";
// line 54
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.', 54, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"twitter:description\" content=\"";
// line 55
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.', 55, $this->source); })()), "html", null, true);
yield "\">
<meta name=\"twitter:image\" content=\"";
// line 56
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.', 56, $this->source); })()), "imageLink", [], "any", false, false, false, 56), "html", null, true);
yield "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 60
/**
* @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.', 60, $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.', 60, $this->source); })()), "seoTitle", [], "any", false, false, false, 60))) : (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.', 60, $this->source); })()), "seoTitle", [], "any", false, false, false, 60))), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 63
/**
* @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 64
yield " ";
// line 67
yield "
";
// line 68
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.', 68, $this->source); })()), "additionalCss", [], "any", false, false, false, 68))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 69
yield " <!-- addition css styles only for this event -->
<style>
.bg-registration {
background-color: #9632FF;
}
";
// line 74
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.', 74, $this->source); })()), "additionalCss", [], "any", false, false, false, 74)), ["event" => // line 75
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 75, $this->source); })()), "batch" => // line 76
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 76, $this->source); })()), "isMultiBatchEvent" => // line 77
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 77, $this->source); })())]);
// line 78
yield "
</style>
";
}
// line 81
yield "
";
// line 83
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.', 83, $this->source); })()), "metaPixelId", [], "any", false, false, false, 83)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 84
yield " <!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '";
// line 94
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.', 94, $this->source); })()), "metaPixelId", [], "any", false, false, false, 94), "html", null, true);
yield "');
fbq('track', 'PageView');
</script>
<noscript>
<img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=";
// line 99
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.', 99, $this->source); })()), "metaPixelId", [], "any", false, false, false, 99), "html", null, true);
yield "&ev=PageView&noscript=1\"/>
</noscript>
<!-- End Meta Pixel Code -->
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 106
/**
* @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 107
yield " ";
// line 108
yield " ";
$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.', 108, $this->source); })()), "request", [], "any", false, false, false, 108), "get", ["lang", ((CoreExtension::getAttribute($this->env, $this->source, ($context["event"] ?? null), "lang", [], "any", true, true, false, 108)) ? (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.', 108, $this->source); })()), "lang", [], "any", false, false, false, 108), "de")) : ("de"))], "method", false, false, false, 108));
// line 109
yield " ";
$context["isEnglish"] = ((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 109, $this->source); })()) == "en");
// line 110
yield "
";
// line 112
yield " ";
$context["navbar"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 112, $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.', 112, $this->source); })()), "navbarEn", [], "any", false, false, false, 112))) ? (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.', 112, $this->source); })()), "navbarEn", [], "any", false, false, false, 112)) : (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.', 112, $this->source); })()), "navbar", [], "any", false, false, false, 112)));
// line 113
yield " ";
$context["teaser"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 113, $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.', 113, $this->source); })()), "teaserEn", [], "any", false, false, false, 113))) ? (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.', 113, $this->source); })()), "teaserEn", [], "any", false, false, false, 113)) : (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.', 113, $this->source); })()), "teaser", [], "any", false, false, false, 113)));
// line 114
yield " ";
$context["content"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 114, $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.', 114, $this->source); })()), "contentEn", [], "any", false, false, false, 114))) ? (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.', 114, $this->source); })()), "contentEn", [], "any", false, false, false, 114)) : (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.', 114, $this->source); })()), "content", [], "any", false, false, false, 114)));
// line 115
yield " ";
$context["contentTwig"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 115, $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.', 115, $this->source); })()), "contentTwigEn", [], "any", false, false, false, 115))) ? (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.', 115, $this->source); })()), "contentTwigEn", [], "any", false, false, false, 115)) : (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.', 115, $this->source); })()), "contentTwig", [], "any", false, false, false, 115)));
// line 116
yield " ";
$context["postCtaContent"] = ((((isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 116, $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.', 116, $this->source); })()), "postCtaContentEn", [], "any", false, false, false, 116))) ? (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.', 116, $this->source); })()), "postCtaContentEn", [], "any", false, false, false, 116)) : (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.', 116, $this->source); })()), "postCtaContent", [], "any", false, false, false, 116)));
// line 117
yield "
<!-- start part navbar -->
";
// line 119
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.', 119, $this->source); })())), ["event" => // line 120
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 120, $this->source); })()), "batch" => // line 121
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 121, $this->source); })()), "isMultiBatchEvent" => // line 122
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 122, $this->source); })()), "lang" => // line 123
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 123, $this->source); })()), "isEnglish" => // line 124
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 124, $this->source); })()), "phrases" => // line 125
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 125, $this->source); })())]);
// line 126
yield "
<!-- end part navbar -->
<!-- start part title, time and location -->
";
// line 130
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.', 130, $this->source); })())), ["event" => // line 131
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 131, $this->source); })()), "batch" => // line 132
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 132, $this->source); })()), "isMultiBatchEvent" => // line 133
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 133, $this->source); })()), "lang" => // line 134
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 134, $this->source); })()), "isEnglish" => // line 135
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 135, $this->source); })()), "phrases" => // line 136
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 136, $this->source); })())]);
// line 137
yield "
<!-- end part title, time and location -->
<!-- Archive Banner (SEO-optimized: no redirect) -->
";
// line 141
yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig", 141)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 142
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 142, $this->source); })()), "isEnglish" => // line 143
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 143, $this->source); })())]));
// line 145
yield " <!-- end archive banner -->
";
// line 147
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.', 147, $this->source); })()), "session", [], "any", false, false, false, 147), "flashbag", [], "any", false, false, false, 147), "has", ["notice"], "method", false, false, false, 147)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 148
yield " <!-- start part flashbag notices -->
<section class=\"bg-sp-grey py-3\">
<div class=\"container\">
<div class=\"content-wrapper content-background\">
";
// line 152
$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.', 152, $this->source); })()), "session", [], "any", false, false, false, 152), "flashbag", [], "any", false, false, false, 152), "get", ["notice"], "method", false, false, false, 152));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 153
yield " <div class=\"text-center alert ";
if (CoreExtension::inFilter("SUCCESS", $context["flashMessage"])) {
yield "alert-success";
} elseif (CoreExtension::inFilter("ERROR", $context["flashMessage"])) {
yield "alert-danger";
} else {
yield "alert-default";
}
yield "\" role=\"alert\">";
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 155
yield " ";
yield (isset($context["editFeedback"]) || array_key_exists("editFeedback", $context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.', 155, $this->source); })());
yield "
</div> <!-- End of content-wrapper -->
</div>
</section>
<!-- end part flashbag notices -->
";
}
// line 161
yield "
";
// line 163
if ((((isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 163, $this->source); })()) && (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 163, $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.', 163, $this->source); })()), "applicationStatus", [], "any", false, false, false, 163))) {
// line 164
yield " <!-- start part feedback application process -->
";
// line 165
yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig", 165)->unwrap()->yield($context);
// line 166
yield " <!-- end part feedback application process -->
";
}
// line 168
yield "
<!-- start part content -->
";
// line 170
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.', 170, $this->source); })())), ["event" => // line 171
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 171, $this->source); })()), "batch" => // line 172
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 172, $this->source); })()), "isMultiBatchEvent" => // line 173
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 173, $this->source); })()), "lang" => // line 174
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 174, $this->source); })()), "isEnglish" => // line 175
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 175, $this->source); })()), "phrases" => // line 176
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 176, $this->source); })())]);
// line 177
yield "
<!-- end part content -->
";
// line 180
if ((($tmp = (isset($context["contentTwig"]) || array_key_exists("contentTwig", $context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.', 180, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 181
yield " <!-- start part contentTwig (dynamic Twig content) -->
";
// line 182
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.', 182, $this->source); })())), ["event" => // line 183
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 183, $this->source); })()), "batch" => // line 184
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 184, $this->source); })()), "isMultiBatchEvent" => // line 185
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 185, $this->source); })()), "futureBatches" => // line 186
(isset($context["futureBatches"]) || array_key_exists("futureBatches", $context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.', 186, $this->source); })()), "allBatches" => // line 187
(isset($context["allBatches"]) || array_key_exists("allBatches", $context) ? $context["allBatches"] : (function () { throw new RuntimeError('Variable "allBatches" 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 "
<!-- end part contentTwig -->
";
}
// line 194
yield "
<!-- start part anmeldung -->
";
// line 197
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.winter-2025.html.twig", 197)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 198
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 198, $this->source); })()), "batch" => // line 199
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 199, $this->source); })()), "batchIsOpen" => // line 200
(isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen", $context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.', 200, $this->source); })()), "application" => // line 201
(isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 201, $this->source); })()), "settings" => // line 202
(isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 202, $this->source); })()), "isMultiBatchEvent" => // line 203
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 203, $this->source); })()), "futureBatches" => // line 204
(isset($context["futureBatches"]) || array_key_exists("futureBatches", $context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.', 204, $this->source); })()), "lang" => // line 205
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 205, $this->source); })()), "isEnglish" => // line 206
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 206, $this->source); })()), "phrases" => // line 207
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 207, $this->source); })())]));
// line 209
yield " <!-- end part anmeldung -->
<!-- start tags -->
";
// line 212
yield from $this->load("@StartPlatzEvent/Default/_section.tags.html.twig", 212)->unwrap()->yield($context);
// line 213
yield " <!-- end tags -->
<!-- start post cta content -->
";
// line 216
if ((($tmp = (isset($context["postCtaContent"]) || array_key_exists("postCtaContent", $context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.', 216, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 217
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.', 217, $this->source); })())), ["event" => // line 218
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 218, $this->source); })()), "batch" => // line 219
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 219, $this->source); })()), "isMultiBatchEvent" => // line 220
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 220, $this->source); })()), "lang" => // line 221
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 221, $this->source); })()), "isEnglish" => // line 222
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 222, $this->source); })()), "phrases" => // line 223
(isset($context["phrases"]) || array_key_exists("phrases", $context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.', 223, $this->source); })())]);
// line 224
yield "
";
}
// line 226
yield " <!-- end post cta content -->
";
// line 228
if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers", $context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.', 228, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 229
yield " <!-- start part speakers and partners -->
";
// line 230
yield from $this->load("@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig", 230)->unwrap()->yield($context);
// line 231
yield " <!-- end part speakers and partners -->
";
}
// line 233
yield "
<!-- start part past batches -->
";
// line 235
yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig", 235)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 236
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 236, $this->source); })()), "isMultiBatchEvent" => // line 237
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 237, $this->source); })()), "pastBatches" => // line 238
(isset($context["pastBatches"]) || array_key_exists("pastBatches", $context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.', 238, $this->source); })()), "isEnglish" => // line 239
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 239, $this->source); })())]));
// line 241
yield " <!-- end part past batches -->
";
// line 243
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.', 243, $this->source); })()), "user", [], "any", false, false, false, 243) && (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 243, $this->source); })()))) {
// line 244
yield " <!-- start part promote this event -->
";
// line 245
yield from $this->load("@StartPlatzEvent/Default/_section.promote-this-event.html.twig", 245)->unwrap()->yield($context);
// line 246
yield " <!-- end part promote this event -->
";
}
// line 248
yield "
";
// line 250
if ((((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 250) && 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.', 250, $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.', 250, $this->source); })()), "canReadList", [], "any", false, false, false, 250))) {
// line 251
yield " <section class=\"bg-sp-grey py-3\">
<div class=\"container\">
<div class=\"content-wrapper content-background\">
Hier kannst Du die Teilnehmerliste einsehen
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 255
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.', 255, $this->source); })()), "id", [], "any", false, false, false, 255)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
</div>
</section>
";
}
// line 260
yield "
";
// line 261
if (CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 261)) {
// line 262
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 262), "admin", [], "any", true, true, false, 262) && 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.', 262, $this->source); })()), "user", [], "any", false, false, false, 262), "admin", [], "any", false, false, false, 262))) {
// line 263
yield " <!-- start part startplatz admin section -->
";
// line 264
yield from $this->load("@StartPlatzEvent/Default/_section.startplatz-admin-section.html.twig", 264)->unwrap()->yield($context);
// line 265
yield " <!-- end part startplatz admin section -->
";
}
// line 267
yield " ";
}
// line 268
yield "
";
// line 270
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.', 270, $this->source); })()), "hasEnglishVersion", [], "any", false, false, false, 270)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 271
yield " <div class=\"language-switcher-container\">
<div class=\"language-switcher\">
<a href=\"?lang=de\" class=\"lang-link ";
// line 273
yield ((((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 273, $this->source); })()) == "de")) ? ("active") : (""));
yield "\" title=\"Deutsch\">
<span class=\"flag\">🇩🇪</span>
<span class=\"lang-code\">DE</span>
</a>
<span class=\"separator\">|</span>
<a href=\"?lang=en\" class=\"lang-link ";
// 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); })()) == "en")) ? ("active") : (""));
yield "\" title=\"English\">
<span class=\"flag\">🇬🇧</span>
<span class=\"lang-code\">EN</span>
</a>
</div>
</div>
<style>
.language-switcher-container {
position: fixed;
top: 120px;
right: 20px;
z-index: 1000;
}
.language-switcher {
background: white;
border: 2px solid #9632FF;
border-radius: 25px;
padding: 8px 16px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
display: flex;
align-items: center;
gap: 8px;
}
.language-switcher .lang-link {
display: flex;
align-items: center;
gap: 4px;
text-decoration: none;
color: #333;
font-weight: 500;
padding: 4px 8px;
border-radius: 15px;
transition: all 0.2s;
}
.language-switcher .lang-link:hover {
background-color: #f0f0f0;
}
.language-switcher .lang-link.active {
background-color: #9632FF;
color: white;
}
.language-switcher .flag {
font-size: 20px;
line-height: 1;
}
.language-switcher .lang-code {
font-size: 14px;
font-weight: 600;
}
.language-switcher .separator {
color: #ccc;
font-weight: 300;
}
@media (max-width: 768px) {
.language-switcher-container {
top: 80px;
right: 10px;
}
.language-switcher {
padding: 6px 12px;
}
}
</style>
";
}
// line 342
yield "
<!-- homepage event single page ends -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 346
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(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", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 347
yield " ";
if ((($tmp = !((array_key_exists("embed", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["embed"]) || array_key_exists("embed", $context) ? $context["embed"] : (function () { throw new RuntimeError('Variable "embed" does not exist.', 347, $this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 348
yield " ";
yield from $this->load("@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig", 348)->unwrap()->yield($context);
// line 349
yield " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 352
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_infiniteLoop(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", "infiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "infiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 353
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascriptInfiniteLoop(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", "javascriptInfiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptInfiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 354
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_ajax_helpers(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", "ajax_helpers"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ajax_helpers"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 356
/**
* @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 357
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.', 357, $this->source); })()), "additionalJs", [], "any", false, false, false, 357))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 358
yield " <!-- Additional JavaScript for this event -->
<script>
// Available variables: event, batch, lang, isEnglish
var eventData = {
id: ";
// line 362
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.', 362, $this->source); })()), "id", [], "any", false, false, false, 362), "html", null, true);
yield ",
title: \"";
// line 363
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.', 363, $this->source); })()), "title", [], "any", false, false, false, 363), "js"), "html", null, true);
yield "\",
slug: \"";
// line 364
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.', 364, $this->source); })()), "slug", [], "any", false, false, false, 364), "js"), "html", null, true);
yield "\",
lang: \"";
// line 365
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.', 365, $this->source); })()), "html", null, true);
yield "\",
isEnglish: ";
// line 366
yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 366, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("true") : ("false"));
yield "
};
";
// line 369
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.', 369, $this->source); })()), "additionalJs", [], "any", false, false, false, 369)), ["event" => // line 370
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 370, $this->source); })()), "batch" => // line 371
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 371, $this->source); })()), "lang" => // line 372
(isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 372, $this->source); })()), "isEnglish" => // line 373
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 373, $this->source); })())]);
// line 374
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.winter-2025.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 885 => 374, 883 => 373, 882 => 372, 881 => 371, 880 => 370, 879 => 369, 873 => 366, 869 => 365, 865 => 364, 861 => 363, 857 => 362, 851 => 358, 848 => 357, 835 => 356, 813 => 354, 791 => 353, 769 => 352, 757 => 349, 754 => 348, 751 => 347, 738 => 346, 725 => 342, 658 => 278, 650 => 273, 646 => 271, 643 => 270, 640 => 268, 637 => 267, 633 => 265, 631 => 264, 628 => 263, 625 => 262, 623 => 261, 620 => 260, 612 => 255, 606 => 251, 604 => 250, 600 => 248, 596 => 246, 594 => 245, 591 => 244, 589 => 243, 585 => 241, 583 => 239, 582 => 238, 581 => 237, 580 => 236, 579 => 235, 575 => 233, 571 => 231, 569 => 230, 566 => 229, 564 => 228, 560 => 226, 556 => 224, 554 => 223, 553 => 222, 552 => 221, 551 => 220, 550 => 219, 549 => 218, 547 => 217, 545 => 216, 540 => 213, 538 => 212, 533 => 209, 531 => 207, 530 => 206, 529 => 205, 528 => 204, 527 => 203, 526 => 202, 525 => 201, 524 => 200, 523 => 199, 522 => 198, 521 => 197, 516 => 194, 511 => 191, 509 => 190, 508 => 189, 507 => 188, 506 => 187, 505 => 186, 504 => 185, 503 => 184, 502 => 183, 501 => 182, 498 => 181, 496 => 180, 491 => 177, 489 => 176, 488 => 175, 487 => 174, 486 => 173, 485 => 172, 484 => 171, 483 => 170, 479 => 168, 475 => 166, 473 => 165, 470 => 164, 468 => 163, 464 => 161, 454 => 155, 437 => 153, 433 => 152, 427 => 148, 425 => 147, 421 => 145, 419 => 143, 418 => 142, 417 => 141, 411 => 137, 409 => 136, 408 => 135, 407 => 134, 406 => 133, 405 => 132, 404 => 131, 403 => 130, 397 => 126, 395 => 125, 394 => 124, 393 => 123, 392 => 122, 391 => 121, 390 => 120, 389 => 119, 385 => 117, 382 => 116, 379 => 115, 376 => 114, 373 => 113, 370 => 112, 367 => 110, 364 => 109, 361 => 108, 359 => 107, 346 => 106, 330 => 99, 322 => 94, 310 => 84, 307 => 83, 304 => 81, 299 => 78, 297 => 77, 296 => 76, 295 => 75, 294 => 74, 287 => 69, 285 => 68, 282 => 67, 280 => 64, 267 => 63, 244 => 60, 231 => 56, 227 => 55, 223 => 54, 218 => 51, 212 => 49, 210 => 48, 206 => 47, 202 => 46, 198 => 45, 194 => 44, 190 => 42, 186 => 40, 183 => 39, 178 => 37, 174 => 36, 169 => 35, 166 => 34, 163 => 32, 154 => 30, 148 => 28, 146 => 27, 143 => 26, 141 => 25, 136 => 23, 131 => 22, 125 => 20, 118 => 18, 115 => 17, 112 => 16, 109 => 14, 106 => 13, 103 => 12, 100 => 11, 97 => 9, 94 => 8, 91 => 7, 89 => 6, 76 => 5, 65 => 1, 63 => 3, 61 => 2, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig\" %}
{% import \"@StartPlatzEventBundle/Admin/_macros.bs4.html.twig\" as layout %}
{% set currentPath = app.request.get('_route') %}
{% block metaData %}
{# Language Detection for SEO - 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 %}
{# 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=\"{{ event.imageLink }}\">
<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=\"{{ event.imageLink }}\">
{% endblock %}
{% block title %}{{ seoTitle|default(event.seoTitle) }}{% endblock %}
{% block additionalHead %}
{#
{% include \"@StartPlatzStyle/CSS/_homepage.sinlge-event.version-2023-fall.html.twig\" %}
#}
{% if event.additionalCss is not empty %}
<!-- addition css styles only for this event -->
<style>
.bg-registration {
background-color: #9632FF;
}
{{ include(template_from_string(event.additionalCss), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent
}) }}
</style>
{% endif %}
{# Meta Pixel tracking - PageView Event #}
{% if event.metaPixelId %}
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '{{ event.metaPixelId }}');
fbq('track', 'PageView');
</script>
<noscript>
<img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id={{ event.metaPixelId }}&ev=PageView&noscript=1\"/>
</noscript>
<!-- End Meta Pixel Code -->
{% endif %}
{% endblock %}
{% block content %}
{# Language Detection Logic - uses event.lang as default if set #}
{% set lang = app.request.get('lang', event.lang|default('de'))|lower %}
{% set isEnglish = lang == 'en' %}
{# 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 = 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 %}
<!-- start part navbar -->
{{ include(template_from_string(navbar), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
<!-- end part navbar -->
<!-- start part title, time and location -->
{{ include(template_from_string(teaser), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
<!-- end part title, time and location -->
<!-- Archive Banner (SEO-optimized: no redirect) -->
{% include '@StartPlatzEvent/Default/_event.part.archive-banner.html.twig' with {
'event': event,
'isEnglish': isEnglish
} %}
<!-- end archive banner -->
{% if app.session.flashbag.has('notice') %}
<!-- start part flashbag notices -->
<section class=\"bg-sp-grey py-3\">
<div class=\"container\">
<div class=\"content-wrapper content-background\">
{% for flashMessage in app.session.flashbag.get('notice') %}
<div class=\"text-center alert {% if 'SUCCESS' in flashMessage %}alert-success{% elseif 'ERROR' in flashMessage %}alert-danger{% else %}alert-default{% endif %}\" role=\"alert\">{{ flashMessage|replace({'SUCCESS': ''})|raw }}</div>
{% endfor %}
{{ editFeedback|raw }}
</div> <!-- End of content-wrapper -->
</div>
</section>
<!-- end part flashbag notices -->
{% endif %}
{% if batch and application and application.applicationStatus %}
<!-- start part feedback application process -->
{% include \"@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig\" %}
<!-- end part feedback application process -->
{% endif %}
<!-- start part content -->
{{ include(template_from_string(content), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
<!-- end part content -->
{% if contentTwig %}
<!-- start part contentTwig (dynamic Twig content) -->
{{ include(template_from_string(contentTwig), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'futureBatches': futureBatches,
'allBatches': allBatches,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
<!-- end part contentTwig -->
{% endif %}
<!-- start part anmeldung -->
{% include \"@StartPlatzEvent/Default/_registration.batch.winter-2025.html.twig\" with {
'event': event,
'batch': batch,
'batchIsOpen': batchIsOpen,
'application': application,
'settings': settings,
'isMultiBatchEvent': isMultiBatchEvent,
'futureBatches': futureBatches,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
} %}
<!-- end part anmeldung -->
<!-- start tags -->
{% include \"@StartPlatzEvent/Default/_section.tags.html.twig\" %}
<!-- end tags -->
<!-- start post cta content -->
{% if postCtaContent %}
{{ include(template_from_string(postCtaContent), {
'event': event,
'batch': batch,
'isMultiBatchEvent': isMultiBatchEvent,
'lang': lang,
'isEnglish': isEnglish,
'phrases': phrases
}) }}
{% endif %}
<!-- end post cta content -->
{% if speakers %}
<!-- start part speakers and partners -->
{% include \"@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig\" %}
<!-- end part speakers and partners -->
{% endif %}
<!-- start part past batches -->
{% include \"@StartPlatzEvent/Default/_section.past-batches.html.twig\" with {
'event': event,
'isMultiBatchEvent': isMultiBatchEvent,
'pastBatches': pastBatches,
'isEnglish': isEnglish
} %}
<!-- end part past batches -->
{% if app.user and batch %}
<!-- start part promote this event -->
{% include \"@StartPlatzEvent/Default/_section.promote-this-event.html.twig\" %}
<!-- end part promote this event -->
{% endif %}
{% if app.user is defined and application is defined and application is not null and application.canReadList %}
<section class=\"bg-sp-grey py-3\">
<div class=\"container\">
<div class=\"content-wrapper content-background\">
Hier kannst Du die Teilnehmerliste einsehen
<a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\" role=\"button\">participants</a>
</div>
</div>
</section>
{% endif %}
{% if app.user is defined %}
{% if app.user.admin is defined and app.user.admin %}
<!-- start part startplatz admin section -->
{% include \"@StartPlatzEvent/Default/_section.startplatz-admin-section.html.twig\" %}
<!-- end part startplatz admin section -->
{% endif %}
{% endif %}
{# Language Switcher Component #}
{% if event.hasEnglishVersion %}
<div class=\"language-switcher-container\">
<div class=\"language-switcher\">
<a href=\"?lang=de\" class=\"lang-link {{ lang == 'de' ? 'active' : '' }}\" title=\"Deutsch\">
<span class=\"flag\">🇩🇪</span>
<span class=\"lang-code\">DE</span>
</a>
<span class=\"separator\">|</span>
<a href=\"?lang=en\" class=\"lang-link {{ lang == 'en' ? 'active' : '' }}\" title=\"English\">
<span class=\"flag\">🇬🇧</span>
<span class=\"lang-code\">EN</span>
</a>
</div>
</div>
<style>
.language-switcher-container {
position: fixed;
top: 120px;
right: 20px;
z-index: 1000;
}
.language-switcher {
background: white;
border: 2px solid #9632FF;
border-radius: 25px;
padding: 8px 16px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
display: flex;
align-items: center;
gap: 8px;
}
.language-switcher .lang-link {
display: flex;
align-items: center;
gap: 4px;
text-decoration: none;
color: #333;
font-weight: 500;
padding: 4px 8px;
border-radius: 15px;
transition: all 0.2s;
}
.language-switcher .lang-link:hover {
background-color: #f0f0f0;
}
.language-switcher .lang-link.active {
background-color: #9632FF;
color: white;
}
.language-switcher .flag {
font-size: 20px;
line-height: 1;
}
.language-switcher .lang-code {
font-size: 14px;
font-weight: 600;
}
.language-switcher .separator {
color: #ccc;
font-weight: 300;
}
@media (max-width: 768px) {
.language-switcher-container {
top: 80px;
right: 10px;
}
.language-switcher {
padding: 6px 12px;
}
}
</style>
{% endif %}
<!-- homepage event single page ends -->
{% endblock %}
{% block footer %}
{% if not embed|default(false) %}
{% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
{% endif %}
{% endblock %}
{% block infiniteLoop %}{% endblock %}
{% block javascriptInfiniteLoop %}{% endblock %}
{% block ajax_helpers %}{% endblock %}
{% block javascripts %}
{% if event.additionalJs is not empty %}
<!-- Additional JavaScript for this event -->
<script>
// Available variables: event, batch, lang, isEnglish
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 %}
{% endblock %}
", "@StartPlatzEventBundle/Default/event-single.winter-2025.html.twig", "/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.winter-2025.html.twig");
}
}