var/cache/dev/twig/1f/1f614b7f7532abbba32d55f05614b444.php line 316

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @StartPlatzEventBundle/Default/event-single.tailwind.html.twig */
  16. class __TwigTemplate_5b2a7b52051dbdc98881650b6a7f53a2 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'metaData' => [$this'block_metaData'],
  29.             'title' => [$this'block_title'],
  30.             'styles' => [$this'block_styles'],
  31.             'additionalHead' => [$this'block_additionalHead'],
  32.             'content' => [$this'block_content'],
  33.             'javascripts' => [$this'block_javascripts'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  37.     {
  38.         // line 1
  39.         return "@StartPlatzStyleBundle/base.tailwind.public.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzEventBundle/Default/event-single.tailwind.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzEventBundle/Default/event-single.tailwind.html.twig"));
  48.         // line 2
  49.         $context["currentPath"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse2), "get", ["_route"], "method"falsefalsefalse2);
  50.         // line 5
  51.         $context["lang"] = Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse5), "get", ["lang", ((CoreExtension::getAttribute($this->env$this->source, ($context["event"] ?? null), "lang", [], "any"truetruefalse5)) ? (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"falsefalsefalse5), "de")) : ("de"))], "method"falsefalsefalse5));
  52.         // line 6
  53.         $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");
  54.         // line 9
  55.         $context["seoTitle"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'9$this->source); })()), "seoTitle", [], "any"falsefalsefalse9);
  56.         // line 10
  57.         $context["seoDescription"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'10$this->source); })()), "seoDescription", [], "any"falsefalsefalse10);
  58.         // line 11
  59.         $context["seoKeyword"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'11$this->source); })()), "seoKeyword", [], "any"falsefalsefalse11);
  60.         // line 12
  61.         $context["socialImage"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'12$this->source); })()), "imagelink", [], "any"falsefalsefalse12);
  62.         // line 1
  63.         $this->parent $this->load("@StartPlatzStyleBundle/base.tailwind.public.html.twig"1);
  64.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.     }
  70.     // line 14
  71.     /**
  72.      * @return iterable<null|scalar|\Stringable>
  73.      */
  74.     public function block_metaData(array $context, array $blocks = []): iterable
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  81.         // line 15
  82.         yield "    ";
  83.         // line 16
  84.         yield "    ";
  85.         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"falsefalsefalse16) == "archive")) {
  86.             // line 17
  87.             yield "        ";
  88.             $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"falsefalsefalse17), "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"falsefalsefalse17), "d.m.Y")) . ": ")));
  89.             // line 18
  90.             yield "        <meta name=\"description\" content=\"";
  91.             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"nulltrue);
  92.             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); })()), 0140), "html"nulltrue);
  93.             yield "\">
  94.     ";
  95.         } else {
  96.             // line 20
  97.             yield "        <meta name=\"description\" content=\"";
  98.             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"nulltrue);
  99.             yield "\">
  100.     ";
  101.         }
  102.         // line 22
  103.         yield "    <meta name=\"keywords\" content=\"";
  104.         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"nulltrue);
  105.         yield "\">
  106.     <meta name=\"author\" content=\"";
  107.         // line 23
  108.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'23$this->source); })()), "trainer", [], "any"falsefalsefalse23), "html"nulltrue);
  109.         yield "\">
  110.     ";
  111.         // line 25
  112.         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"falsefalsefalse25) == "prod")) {
  113.             // line 26
  114.             yield "        <meta name=\"robots\" content=\"index,follow\">
  115.         ";
  116.             // line 27
  117.             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"falsefalsefalse27))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  118.                 // line 28
  119.                 yield "            <link rel=\"canonical\" href=\"";
  120.                 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"falsefalsefalse28), "lang" => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'28$this->source); })())]), "html"nulltrue);
  121.                 yield "\" />
  122.         ";
  123.             } else {
  124.                 // line 30
  125.                 yield "            <link rel=\"canonical\" href=\"https://www.startplatz.de/event/";
  126.                 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"falsefalsefalse30)), "html"nulltrue);
  127.                 if (((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'30$this->source); })()) == "en")) {
  128.                     yield "?lang=en";
  129.                 }
  130.                 yield "\" />
  131.         ";
  132.             }
  133.             // line 32
  134.             yield "
  135.         ";
  136.             // line 34
  137.             yield "        ";
  138.             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"falsefalsefalse34)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  139.                 // line 35
  140.                 yield "            <link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/";
  141.                 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"falsefalsefalse35)), "html"nulltrue);
  142.                 yield "?lang=de\" />
  143.             <link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/";
  144.                 // line 36
  145.                 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"falsefalsefalse36)), "html"nulltrue);
  146.                 yield "?lang=en\" />
  147.             <link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/";
  148.                 // line 37
  149.                 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"falsefalsefalse37)), "html"nulltrue);
  150.                 yield "\" />
  151.         ";
  152.             }
  153.             // line 39
  154.             yield "    ";
  155.         } else {
  156.             // line 40
  157.             yield "        <meta name=\"robots\" content=\"noindex,nofollow\">
  158.     ";
  159.         }
  160.         // line 42
  161.         yield "
  162.     ";
  163.         // line 44
  164.         yield "    <meta property=\"og:title\" content=\"";
  165.         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"nulltrue);
  166.         yield "\">
  167.     <meta property=\"og:description\" content=\"";
  168.         // line 45
  169.         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"nulltrue);
  170.         yield "\">
  171.     <meta property=\"og:image\" content=\"";
  172.         // line 46
  173.         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.'46$this->source); })()), "html"nulltrue);
  174.         yield "\">
  175.     <meta property=\"og:locale\" content=\"";
  176.         // line 47
  177.         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"));
  178.         yield "\">
  179.     ";
  180.         // line 48
  181.         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"falsefalsefalse48)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  182.             // line 49
  183.             yield "        <meta property=\"og:locale:alternate\" content=\"";
  184.             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"));
  185.             yield "\">
  186.     ";
  187.         }
  188.         // line 51
  189.         yield "
  190.     ";
  191.         // line 53
  192.         yield "    <meta name=\"twitter:card\" content=\"summary\">
  193.     <meta name=\"twitter:title\" content=\"";
  194.         // line 54
  195.         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"nulltrue);
  196.         yield "\">
  197.     <meta name=\"twitter:description\" content=\"";
  198.         // line 55
  199.         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"nulltrue);
  200.         yield "\">
  201.     <meta name=\"twitter:image\" content=\"";
  202.         // line 56
  203.         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.'56$this->source); })()), "html"nulltrue);
  204.         yield "\">
  205. ";
  206.         
  207.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  208.         
  209.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  210.         yield from [];
  211.     }
  212.     // line 59
  213.     /**
  214.      * @return iterable<null|scalar|\Stringable>
  215.      */
  216.     public function block_title(array $context, array $blocks = []): iterable
  217.     {
  218.         $macros $this->macros;
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  221.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  222.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  223.         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.'59$this->source); })()), CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'59$this->source); })()), "title", [], "any"falsefalsefalse59))) : (CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'59$this->source); })()), "title", [], "any"falsefalsefalse59))), "html"nulltrue);
  224.         
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  226.         
  227.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  228.         yield from [];
  229.     }
  230.     // line 61
  231.     /**
  232.      * @return iterable<null|scalar|\Stringable>
  233.      */
  234.     public function block_styles(array $context, array $blocks = []): iterable
  235.     {
  236.         $macros $this->macros;
  237.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  238.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  239.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  241.         // line 75
  242.         yield "<style>
  243.     /* Page Background - visible between sections */
  244.     body { background-color: #FFFFFF; }
  245.     /* Registration Section */
  246.     .bg-registration { background-color: #9632FF; }
  247.     .registration-accent { --registration-accent: #9632FF; }
  248.     /* Tags Section */
  249.     .bg-tags { background-color: #F3F4F6; }
  250.     /* Promote This Event Section */
  251.     .bg-promote { background-color: #F3F4F6; }
  252.     /* Admin Section */
  253.     .bg-admin-section { background-color: #F9FAFB; }
  254. </style>
  255. ";
  256.         
  257.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  258.         
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  260.         yield from [];
  261.     }
  262.     // line 94
  263.     /**
  264.      * @return iterable<null|scalar|\Stringable>
  265.      */
  266.     public function block_additionalHead(array $context, array $blocks = []): iterable
  267.     {
  268.         $macros $this->macros;
  269.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  270.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  271.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  272.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  273.         // line 95
  274.         yield "    ";
  275.         // line 96
  276.         yield "    ";
  277.         if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'96$this->source); })()), "additionalCss", [], "any"falsefalsefalse96))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  278.             // line 97
  279.             yield "        <style>
  280.             ";
  281.             // line 98
  282.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->envCoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'98$this->source); })()), "additionalCss", [], "any"falsefalsefalse98)), ["event" =>             // line 99
  283. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'99$this->source); })()), "batch" =>             // line 100
  284. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'100$this->source); })()), "isMultiBatchEvent" =>             // line 101
  285. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'101$this->source); })())]);
  286.             // line 102
  287.             yield "
  288.         </style>
  289.     ";
  290.         }
  291.         // line 105
  292.         yield "
  293.     ";
  294.         // line 106
  295.         yield from $this->load("@StartPlatzStyleBundle/_meta-pixel.html.twig"106)->unwrap()->yield(CoreExtension::toArray(["meta_pixel_id" => ((CoreExtension::getAttribute($this->env$this->source, ($context["event"] ?? null), "metaPixelId", [], "any"truetruefalse106)) ? (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.'106$this->source); })()), "metaPixelId", [], "any"falsefalsefalse106), null)) : (null))]));
  296.         
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  298.         
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  300.         yield from [];
  301.     }
  302.     // line 109
  303.     /**
  304.      * @return iterable<null|scalar|\Stringable>
  305.      */
  306.     public function block_content(array $context, array $blocks = []): iterable
  307.     {
  308.         $macros $this->macros;
  309.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  310.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  311.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  312.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  313.         // line 110
  314.         yield "    ";
  315.         // line 111
  316.         yield "    ";
  317.         $context["navbar"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'111$this->source); })()), "navbar", [], "any"falsefalsefalse111);
  318.         // line 112
  319.         yield "    ";
  320.         $context["teaser"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'112$this->source); })()), "teaser", [], "any"falsefalsefalse112);
  321.         // line 113
  322.         yield "    ";
  323.         $context["content"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'113$this->source); })()), "content", [], "any"falsefalsefalse113);
  324.         // line 114
  325.         yield "    ";
  326.         $context["contentTwig"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'114$this->source); })()), "contentTwig", [], "any"falsefalsefalse114);
  327.         // line 115
  328.         yield "    ";
  329.         $context["postCtaContent"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'115$this->source); })()), "postCtaContent", [], "any"falsefalsefalse115);
  330.         // line 116
  331.         yield "
  332.     ";
  333.         // line 118
  334.         yield "    ";
  335.         if ((($tmp = (isset($context["navbar"]) || array_key_exists("navbar"$context) ? $context["navbar"] : (function () { throw new RuntimeError('Variable "navbar" does not exist.'118$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  336.             // line 119
  337.             yield "        ";
  338.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\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
  339. (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
  340. (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
  341. (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
  342. (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
  343. (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
  344. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'125$this->source); })())]);
  345.             // line 126
  346.             yield "
  347.     ";
  348.         }
  349.         // line 128
  350.         yield "
  351.     ";
  352.         // line 130
  353.         yield "    ";
  354.         if ((($tmp = (isset($context["teaser"]) || array_key_exists("teaser"$context) ? $context["teaser"] : (function () { throw new RuntimeError('Variable "teaser" does not exist.'130$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  355.             // line 131
  356.             yield "        ";
  357.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["teaser"]) || array_key_exists("teaser"$context) ? $context["teaser"] : (function () { throw new RuntimeError('Variable "teaser" does not exist.'131$this->source); })())), ["event" =>             // line 132
  358. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'132$this->source); })()), "batch" =>             // line 133
  359. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'133$this->source); })()), "isMultiBatchEvent" =>             // line 134
  360. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'134$this->source); })()), "lang" =>             // line 135
  361. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'135$this->source); })()), "isEnglish" =>             // line 136
  362. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'136$this->source); })()), "phrases" =>             // line 137
  363. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'137$this->source); })())]);
  364.             // line 138
  365.             yield "
  366.     ";
  367.         }
  368.         // line 140
  369.         yield "
  370.     ";
  371.         // line 142
  372.         yield "    ";
  373.         yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig"142)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 143
  374. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'143$this->source); })()), "isEnglish" =>         // line 144
  375. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'144$this->source); })())]));
  376.         // line 146
  377.         yield "
  378.     ";
  379.         // line 148
  380.         yield "    ";
  381.         if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'148$this->source); })()), "session", [], "any"falsefalsefalse148), "flashbag", [], "any"falsefalsefalse148), "has", ["notice"], "method"falsefalsefalse148)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  382.             // line 149
  383.             yield "        <section class=\"bg-gray-100 py-3\">
  384.             <div class=\"max-w-4xl mx-auto px-4\">
  385.                 ";
  386.             // line 151
  387.             $context['_parent'] = $context;
  388.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'151$this->source); })()), "session", [], "any"falsefalsefalse151), "flashbag", [], "any"falsefalsefalse151), "get", ["notice"], "method"falsefalsefalse151));
  389.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  390.                 // line 152
  391.                 yield "                    <div class=\"text-center py-3 px-4 rounded-lg mb-2 ";
  392.                 if (CoreExtension::inFilter("SUCCESS"$context["flashMessage"])) {
  393.                     yield "bg-green-100 text-green-800";
  394.                 } elseif (CoreExtension::inFilter("ERROR"$context["flashMessage"])) {
  395.                     yield "bg-red-100 text-red-800";
  396.                 } else {
  397.                     yield "bg-gray-200 text-gray-800";
  398.                 }
  399.                 yield "\">
  400.                         ";
  401.                 // line 153
  402.                 yield Twig\Extension\CoreExtension::replace($context["flashMessage"], ["SUCCESS" => ""]);
  403.                 yield "
  404.                     </div>
  405.                 ";
  406.             }
  407.             $_parent $context['_parent'];
  408.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  409.             $context array_intersect_key($context$_parent) + $_parent;
  410.             // line 156
  411.             yield "                ";
  412.             yield (isset($context["editFeedback"]) || array_key_exists("editFeedback"$context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.'156$this->source); })());
  413.             yield "
  414.             </div>
  415.         </section>
  416.     ";
  417.         }
  418.         // line 160
  419.         yield "
  420.     ";
  421.         // line 162
  422.         yield "    ";
  423.         if ((((isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'162$this->source); })()) && (isset($context["application"]) || array_key_exists("application"$context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.'162$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.'162$this->source); })()), "applicationStatus", [], "any"falsefalsefalse162))) {
  424.             // line 163
  425.             yield "        ";
  426.             yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig"163)->unwrap()->yield($context);
  427.             // line 164
  428.             yield "    ";
  429.         }
  430.         // line 165
  431.         yield "
  432.     ";
  433.         // line 167
  434.         yield "    ";
  435.         if ((($tmp = (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'167$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  436.             // line 168
  437.             yield "        ";
  438.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'168$this->source); })())), ["event" =>             // line 169
  439. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'169$this->source); })()), "batch" =>             // line 170
  440. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'170$this->source); })()), "isMultiBatchEvent" =>             // line 171
  441. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'171$this->source); })()), "lang" =>             // line 172
  442. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'172$this->source); })()), "isEnglish" =>             // line 173
  443. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'173$this->source); })()), "phrases" =>             // line 174
  444. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'174$this->source); })())]);
  445.             // line 175
  446.             yield "
  447.     ";
  448.         }
  449.         // line 177
  450.         yield "
  451.     ";
  452.         // line 179
  453.         yield "    ";
  454.         if ((($tmp = (isset($context["contentTwig"]) || array_key_exists("contentTwig"$context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.'179$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  455.             // line 180
  456.             yield "        ";
  457.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["contentTwig"]) || array_key_exists("contentTwig"$context) ? $context["contentTwig"] : (function () { throw new RuntimeError('Variable "contentTwig" does not exist.'180$this->source); })())), ["event" =>             // line 181
  458. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'181$this->source); })()), "batch" =>             // line 182
  459. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'182$this->source); })()), "isMultiBatchEvent" =>             // line 183
  460. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'183$this->source); })()), "futureBatches" =>             // line 184
  461. (isset($context["futureBatches"]) || array_key_exists("futureBatches"$context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.'184$this->source); })()), "allBatches" =>             // line 185
  462. (isset($context["allBatches"]) || array_key_exists("allBatches"$context) ? $context["allBatches"] : (function () { throw new RuntimeError('Variable "allBatches" does not exist.'185$this->source); })()), "lang" =>             // line 186
  463. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'186$this->source); })()), "isEnglish" =>             // line 187
  464. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'187$this->source); })()), "phrases" =>             // line 188
  465. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'188$this->source); })())]);
  466.             // line 189
  467.             yield "
  468.     ";
  469.         }
  470.         // line 191
  471.         yield "
  472.     ";
  473.         // line 193
  474.         yield "    ";
  475.         yield from $this->load("@StartPlatzEvent/Default/_registration.batch.tailwind.html.twig"193)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 194
  476. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'194$this->source); })()), "batch" =>         // line 195
  477. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'195$this->source); })()), "batchIsOpen" =>         // line 196
  478. (isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen"$context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.'196$this->source); })()), "application" =>         // line 197
  479. (isset($context["application"]) || array_key_exists("application"$context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.'197$this->source); })()), "settings" =>         // line 198
  480. (isset($context["settings"]) || array_key_exists("settings"$context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.'198$this->source); })()), "isMultiBatchEvent" =>         // line 199
  481. (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
  482. (isset($context["futureBatches"]) || array_key_exists("futureBatches"$context) ? $context["futureBatches"] : (function () { throw new RuntimeError('Variable "futureBatches" does not exist.'200$this->source); })()), "lang" =>         // line 201
  483. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'201$this->source); })()), "isEnglish" =>         // line 202
  484. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'202$this->source); })()), "phrases" =>         // line 203
  485. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'203$this->source); })())]));
  486.         // line 205
  487.         yield "
  488.     ";
  489.         // line 207
  490.         yield "    ";
  491.         yield from $this->load("@StartPlatzEvent/Default/_section.tags.tailwind.html.twig"207)->unwrap()->yield($context);
  492.         // line 208
  493.         yield "
  494.     ";
  495.         // line 210
  496.         yield "    ";
  497.         if ((($tmp = (isset($context["postCtaContent"]) || array_key_exists("postCtaContent"$context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.'210$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  498.             // line 211
  499.             yield "        ";
  500.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["postCtaContent"]) || array_key_exists("postCtaContent"$context) ? $context["postCtaContent"] : (function () { throw new RuntimeError('Variable "postCtaContent" does not exist.'211$this->source); })())), ["event" =>             // line 212
  501. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'212$this->source); })()), "batch" =>             // line 213
  502. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'213$this->source); })()), "isMultiBatchEvent" =>             // line 214
  503. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'214$this->source); })()), "lang" =>             // line 215
  504. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'215$this->source); })()), "isEnglish" =>             // line 216
  505. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'216$this->source); })()), "phrases" =>             // line 217
  506. (isset($context["phrases"]) || array_key_exists("phrases"$context) ? $context["phrases"] : (function () { throw new RuntimeError('Variable "phrases" does not exist.'217$this->source); })())]);
  507.             // line 218
  508.             yield "
  509.     ";
  510.         }
  511.         // line 220
  512.         yield "
  513.     ";
  514.         // line 222
  515.         yield "    ";
  516.         if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers"$context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.'222$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  517.             // line 223
  518.             yield "        ";
  519.             yield from $this->load("@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig"223)->unwrap()->yield($context);
  520.             // line 224
  521.             yield "    ";
  522.         }
  523.         // line 225
  524.         yield "
  525.     ";
  526.         // line 227
  527.         yield "    ";
  528.         yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig"227)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 228
  529. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'228$this->source); })()), "isMultiBatchEvent" =>         // line 229
  530. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'229$this->source); })()), "pastBatches" =>         // line 230
  531. (isset($context["pastBatches"]) || array_key_exists("pastBatches"$context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.'230$this->source); })()), "isEnglish" =>         // line 231
  532. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'231$this->source); })())]));
  533.         // line 233
  534.         yield "
  535.     ";
  536.         // line 235
  537.         yield "    ";
  538.         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.'235$this->source); })()), "user", [], "any"falsefalsefalse235) && (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'235$this->source); })()))) {
  539.             // line 236
  540.             yield "        ";
  541.             yield from $this->load("@StartPlatzEvent/Default/_section.promote-this-event.tailwind.html.twig"236)->unwrap()->yield($context);
  542.             // line 237
  543.             yield "    ";
  544.         }
  545.         // line 238
  546.         yield "
  547.     ";
  548.         // line 240
  549.         yield "    ";
  550.         if ((((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse240) && 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.'240$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.'240$this->source); })()), "canReadList", [], "any"falsefalsefalse240))) {
  551.             // line 241
  552.             yield "        <section class=\"bg-gray-100 py-6\">
  553.             <div class=\"max-w-4xl mx-auto px-4 text-center\">
  554.                 <span class=\"text-gray-700\">";
  555.             // line 243
  556.             yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'243$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ("You can view the participant list here") : ("Hier kannst Du die Teilnehmerliste einsehen"));
  557.             yield "</span>
  558.                 <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=\"";
  559.             // line 244
  560.             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.'244$this->source); })()), "id", [], "any"falsefalsefalse244)]), "html"nulltrue);
  561.             yield "\">
  562.                     participants
  563.                 </a>
  564.             </div>
  565.         </section>
  566.     ";
  567.         }
  568.         // line 250
  569.         yield "
  570.     ";
  571.         // line 252
  572.         yield "    ";
  573.         if (CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse252)) {
  574.             // line 253
  575.             yield "        ";
  576.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse253), "admin", [], "any"truetruefalse253) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'253$this->source); })()), "user", [], "any"falsefalsefalse253), "admin", [], "any"falsefalsefalse253))) {
  577.                 // line 254
  578.                 yield "            ";
  579.                 yield from $this->load("@StartPlatzEvent/Default/_section.startplatz-admin-section.tailwind.html.twig"254)->unwrap()->yield($context);
  580.                 // line 255
  581.                 yield "        ";
  582.             }
  583.             // line 256
  584.             yield "    ";
  585.         }
  586.         // line 257
  587.         yield "
  588.     ";
  589.         // line 259
  590.         yield "    ";
  591.         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.'259$this->source); })()), "hasEnglishVersion", [], "any"falsefalsefalse259)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  592.             // line 260
  593.             yield "        <div class=\"fixed top-32 right-5 z-50\" x-data=\"{ hover: false }\">
  594.             <div class=\"bg-white border-2 border-sp-purple rounded-full px-4 py-2 shadow-lg flex items-center gap-2\">
  595.                 <a href=\"?lang=de\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all ";
  596.             // line 262
  597.             yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'262$this->source); })()) == "de")) ? ("bg-sp-purple text-white") : ("text-gray-800 hover:bg-gray-100"));
  598.             yield "\" title=\"Deutsch\">
  599.                     <span class=\"text-xl\">DE</span>
  600.                 </a>
  601.                 <span class=\"text-gray-300\">|</span>
  602.                 <a href=\"?lang=en\" class=\"flex items-center gap-1 px-2 py-1 rounded-full transition-all ";
  603.             // line 266
  604.             yield ((((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'266$this->source); })()) == "en")) ? ("bg-sp-purple text-white") : ("text-gray-800 hover:bg-gray-100"));
  605.             yield "\" title=\"English\">
  606.                     <span class=\"text-xl\">EN</span>
  607.                 </a>
  608.             </div>
  609.         </div>
  610.     ";
  611.         }
  612.         
  613.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  614.         
  615.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  616.         yield from [];
  617.     }
  618.     // line 274
  619.     /**
  620.      * @return iterable<null|scalar|\Stringable>
  621.      */
  622.     public function block_javascripts(array $context, array $blocks = []): iterable
  623.     {
  624.         $macros $this->macros;
  625.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  626.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  627.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  628.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  629.         // line 275
  630.         yield "    ";
  631.         if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'275$this->source); })()), "additionalJs", [], "any"falsefalsefalse275))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  632.             // line 276
  633.             yield "        <script>
  634.             var eventData = {
  635.                 id: ";
  636.             // line 278
  637.             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.'278$this->source); })()), "id", [], "any"falsefalsefalse278), "html"nulltrue);
  638.             yield ",
  639.                 title: \"";
  640.             // line 279
  641.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env$this->source, ($context["resolved"] ?? null), "title", [], "any"truetruefalse279) &&  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'279$this->source); })()), "title", [], "any"falsefalsefalse279)))) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'279$this->source); })()), "title", [], "any"falsefalsefalse279)) : (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.'279$this->source); })()), "title", [], "any"falsefalsefalse279))), "js"), "html"nulltrue);
  642.             yield "\",
  643.                 slug: \"";
  644.             // line 280
  645.             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.'280$this->source); })()), "slug", [], "any"falsefalsefalse280), "js"), "html"nulltrue);
  646.             yield "\",
  647.                 lang: \"";
  648.             // line 281
  649.             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.'281$this->source); })()), "html"nulltrue);
  650.             yield "\",
  651.                 isEnglish: ";
  652.             // line 282
  653.             yield (((($tmp = (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'282$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ("true") : ("false"));
  654.             yield "
  655.             };
  656.             ";
  657.             // line 285
  658.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->envCoreExtension::getAttribute($this->env$this->source, (isset($context["resolved"]) || array_key_exists("resolved"$context) ? $context["resolved"] : (function () { throw new RuntimeError('Variable "resolved" does not exist.'285$this->source); })()), "additionalJs", [], "any"falsefalsefalse285)), ["event" =>             // line 286
  659. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'286$this->source); })()), "batch" =>             // line 287
  660. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'287$this->source); })()), "lang" =>             // line 288
  661. (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'288$this->source); })()), "isEnglish" =>             // line 289
  662. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'289$this->source); })())]);
  663.             // line 290
  664.             yield "
  665.         </script>
  666.     ";
  667.         }
  668.         // line 293
  669.         yield "
  670.     ";
  671.         // line 295
  672.         yield "    ";
  673.         if ((((array_key_exists("isSonderseite"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["isSonderseite"]) || array_key_exists("isSonderseite"$context) ? $context["isSonderseite"] : (function () { throw new RuntimeError('Variable "isSonderseite" does not exist.'295$this->source); })()), false)) : (false)) &&  !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.'295$this->source); })()), "landingPageJs", [], "any"falsefalsefalse295)))) {
  674.             // line 296
  675.             yield "        <script>";
  676.             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.'296$this->source); })()), "landingPageJs", [], "any"falsefalsefalse296);
  677.             yield "</script>
  678.     ";
  679.         }
  680.         
  681.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  682.         
  683.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  684.         yield from [];
  685.     }
  686.     /**
  687.      * @codeCoverageIgnore
  688.      */
  689.     public function getTemplateName(): string
  690.     {
  691.         return "@StartPlatzEventBundle/Default/event-single.tailwind.html.twig";
  692.     }
  693.     /**
  694.      * @codeCoverageIgnore
  695.      */
  696.     public function isTraitable(): bool
  697.     {
  698.         return false;
  699.     }
  700.     /**
  701.      * @codeCoverageIgnore
  702.      */
  703.     public function getDebugInfo(): array
  704.     {
  705.         return array (  720 => 296,  717 => 295,  714 => 293,  709 => 290,  707 => 289,  706 => 288,  705 => 287,  704 => 286,  703 => 285,  697 => 282,  693 => 281,  689 => 280,  685 => 279,  681 => 278,  677 => 276,  674 => 275,  661 => 274,  643 => 266,  636 => 262,  632 => 260,  629 => 259,  626 => 257,  623 => 256,  620 => 255,  617 => 254,  614 => 253,  611 => 252,  608 => 250,  599 => 244,  595 => 243,  591 => 241,  588 => 240,  585 => 238,  582 => 237,  579 => 236,  576 => 235,  573 => 233,  571 => 231,  570 => 230,  569 => 229,  568 => 228,  566 => 227,  563 => 225,  560 => 224,  557 => 223,  554 => 222,  551 => 220,  547 => 218,  545 => 217,  544 => 216,  543 => 215,  542 => 214,  541 => 213,  540 => 212,  538 => 211,  535 => 210,  532 => 208,  529 => 207,  526 => 205,  524 => 203,  523 => 202,  522 => 201,  521 => 200,  520 => 199,  519 => 198,  518 => 197,  517 => 196,  516 => 195,  515 => 194,  513 => 193,  510 => 191,  506 => 189,  504 => 188,  503 => 187,  502 => 186,  501 => 185,  500 => 184,  499 => 183,  498 => 182,  497 => 181,  495 => 180,  492 => 179,  489 => 177,  485 => 175,  483 => 174,  482 => 173,  481 => 172,  480 => 171,  479 => 170,  478 => 169,  476 => 168,  473 => 167,  470 => 165,  467 => 164,  464 => 163,  461 => 162,  458 => 160,  450 => 156,  441 => 153,  430 => 152,  426 => 151,  422 => 149,  419 => 148,  416 => 146,  414 => 144,  413 => 143,  411 => 142,  408 => 140,  404 => 138,  402 => 137,  401 => 136,  400 => 135,  399 => 134,  398 => 133,  397 => 132,  395 => 131,  392 => 130,  389 => 128,  385 => 126,  383 => 125,  382 => 124,  381 => 123,  380 => 122,  379 => 121,  378 => 120,  376 => 119,  373 => 118,  370 => 116,  367 => 115,  364 => 114,  361 => 113,  358 => 112,  355 => 111,  353 => 110,  340 => 109,  329 => 106,  326 => 105,  321 => 102,  319 => 101,  318 => 100,  317 => 99,  316 => 98,  313 => 97,  310 => 96,  308 => 95,  295 => 94,  267 => 75,  254 => 61,  231 => 59,  218 => 56,  214 => 55,  210 => 54,  207 => 53,  204 => 51,  198 => 49,  196 => 48,  192 => 47,  188 => 46,  184 => 45,  179 => 44,  176 => 42,  172 => 40,  169 => 39,  164 => 37,  160 => 36,  155 => 35,  152 => 34,  149 => 32,  140 => 30,  134 => 28,  132 => 27,  129 => 26,  127 => 25,  122 => 23,  117 => 22,  111 => 20,  104 => 18,  101 => 17,  98 => 16,  96 => 15,  83 => 14,  72 => 1,  70 => 12,  68 => 11,  66 => 10,  64 => 9,  62 => 6,  60 => 5,  58 => 2,  45 => 1,);
  706.     }
  707.     public function getSourceContext(): Source
  708.     {
  709.         return new Source("{% extends \"@StartPlatzStyleBundle/base.tailwind.public.html.twig\" %}
  710. {% set currentPath = app.request.get('_route') %}
  711. {# Language Detection - uses event.lang as default if set #}
  712. {% set lang = app.request.get('lang', event.lang|default('de'))|lower %}
  713. {% set isEnglish = lang == 'en' %}
  714. {# SEO + Social: via EventContentResolver (Batch-Override bei Multi-Batch, sonst Event) #}
  715. {% set seoTitle = resolved.seoTitle %}
  716. {% set seoDescription = resolved.seoDescription %}
  717. {% set seoKeyword = resolved.seoKeyword %}
  718. {% set socialImage = resolved.imagelink %}
  719. {% block metaData %}
  720.     {# Optimize meta description for archived events #}
  721.     {% if event.status == 'archive' %}
  722.         {% set archivePrefix = isEnglish ? 'Past event from ' ~ event.startDate|date('F j, Y') ~ ': ' : 'Vergangene Veranstaltung vom ' ~ event.startDate|date('d.m.Y') ~ ': ' %}
  723.         <meta name=\"description\" content=\"{{ archivePrefix }}{{ seoDescription|slice(0, 140) }}\">
  724.     {% else %}
  725.         <meta name=\"description\" content=\"{{ seoDescription }}\">
  726.     {% endif %}
  727.     <meta name=\"keywords\" content=\"{{ seoKeyword }}\">
  728.     <meta name=\"author\" content=\"{{ resolved.trainer }}\">
  729.     {% if app.environment == 'prod' %}
  730.         <meta name=\"robots\" content=\"index,follow\">
  731.         {% if event.seriesTag is not empty %}
  732.             <link rel=\"canonical\" href=\"{{ path('event_series', {'seriesTag': event.seriesTag, 'lang': lang}) }}\" />
  733.         {% else %}
  734.             <link rel=\"canonical\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}{% if lang == 'en' %}?lang=en{% endif %}\" />
  735.         {% endif %}
  736.         {# hreflang tags for bilingual support #}
  737.         {% if event.hasEnglishVersion %}
  738.             <link rel=\"alternate\" hreflang=\"de\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=de\" />
  739.             <link rel=\"alternate\" hreflang=\"en\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}?lang=en\" />
  740.             <link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}\" />
  741.         {% endif %}
  742.     {% else %}
  743.         <meta name=\"robots\" content=\"noindex,nofollow\">
  744.     {% endif %}
  745.     {# Open Graph with language support #}
  746.     <meta property=\"og:title\" content=\"{{ seoTitle }}\">
  747.     <meta property=\"og:description\" content=\"{{ seoDescription }}\">
  748.     <meta property=\"og:image\" content=\"{{ socialImage }}\">
  749.     <meta property=\"og:locale\" content=\"{{ lang == 'en' ? 'en_US' : 'de_DE' }}\">
  750.     {% if event.hasEnglishVersion %}
  751.         <meta property=\"og:locale:alternate\" content=\"{{ lang == 'en' ? 'de_DE' : 'en_US' }}\">
  752.     {% endif %}
  753.     {# Twitter Card #}
  754.     <meta name=\"twitter:card\" content=\"summary\">
  755.     <meta name=\"twitter:title\" content=\"{{ seoTitle }}\">
  756.     <meta name=\"twitter:description\" content=\"{{ seoDescription }}\">
  757.     <meta name=\"twitter:image\" content=\"{{ socialImage }}\">
  758. {% endblock %}
  759. {% block title %}{{ seoTitle|default(resolved.title) }}{% endblock %}
  760. {% block styles %}
  761. {#
  762.    ╔═══════════════════════════════════════════════════════════════════════╗
  763.    ║  DEFAULT STYLES - werden durch event.additionalCss überschrieben      ║
  764.    ║                                                                       ║
  765.    ║  Anpassbar via additionalCss (Beispiel Dark Theme):                   ║
  766.    ║  body { background-color: #0a0a0a; }                                  ║
  767.    ║  .bg-registration { background-color: #171717; }                      ║
  768.    ║  .registration-accent { --registration-accent: #3D9DD6; }             ║
  769.    ║  .bg-tags { background-color: #171717; }                              ║
  770.    ║  .bg-promote { background-color: #171717; }                           ║
  771.    ║  .bg-admin-section { background-color: #171717; }                     ║
  772.    ╚═══════════════════════════════════════════════════════════════════════╝
  773. #}
  774. <style>
  775.     /* Page Background - visible between sections */
  776.     body { background-color: #FFFFFF; }
  777.     /* Registration Section */
  778.     .bg-registration { background-color: #9632FF; }
  779.     .registration-accent { --registration-accent: #9632FF; }
  780.     /* Tags Section */
  781.     .bg-tags { background-color: #F3F4F6; }
  782.     /* Promote This Event Section */
  783.     .bg-promote { background-color: #F3F4F6; }
  784.     /* Admin Section */
  785.     .bg-admin-section { background-color: #F9FAFB; }
  786. </style>
  787. {% endblock %}
  788. {% block additionalHead %}
  789.     {# Custom CSS via Resolver (Batch-Override bei Multi-Batch) #}
  790.     {% if resolved.additionalCss is not empty %}
  791.         <style>
  792.             {{ include(template_from_string(resolved.additionalCss), {
  793.                 'event': event,
  794.                 'batch': batch,
  795.                 'isMultiBatchEvent': isMultiBatchEvent
  796.             }) }}
  797.         </style>
  798.     {% endif %}
  799.     {% include \"@StartPlatzStyleBundle/_meta-pixel.html.twig\" with { meta_pixel_id: event.metaPixelId|default(null) } only %}
  800. {% endblock %}
  801. {% block content %}
  802.     {# Content via Resolver (Multi-Batch: Batch gewinnt; EN fallback auf DE) #}
  803.     {% set navbar = resolved.navbar %}
  804.     {% set teaser = resolved.teaser %}
  805.     {% set content = resolved.content %}
  806.     {% set contentTwig = resolved.contentTwig %}
  807.     {% set postCtaContent = resolved.postCtaContent %}
  808.     {# Navbar Section #}
  809.     {% if navbar %}
  810.         {{ include(template_from_string(navbar), {
  811.             'event': event,
  812.             'batch': batch,
  813.             'isMultiBatchEvent': isMultiBatchEvent,
  814.             'lang': lang,
  815.             'isEnglish': isEnglish,
  816.             'phrases': phrases
  817.         }) }}
  818.     {% endif %}
  819.     {# Teaser Section #}
  820.     {% if teaser %}
  821.         {{ include(template_from_string(teaser), {
  822.             'event': event,
  823.             'batch': batch,
  824.             'isMultiBatchEvent': isMultiBatchEvent,
  825.             'lang': lang,
  826.             'isEnglish': isEnglish,
  827.             'phrases': phrases
  828.         }) }}
  829.     {% endif %}
  830.     {# Archive Banner (SEO-optimized: no redirect) #}
  831.     {% include '@StartPlatzEvent/Default/_event.part.archive-banner.html.twig' with {
  832.         'event': event,
  833.         'isEnglish': isEnglish
  834.     } %}
  835.     {# Flash Messages (Notices) #}
  836.     {% if app.session.flashbag.has('notice') %}
  837.         <section class=\"bg-gray-100 py-3\">
  838.             <div class=\"max-w-4xl mx-auto px-4\">
  839.                 {% for flashMessage in app.session.flashbag.get('notice') %}
  840.                     <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 %}\">
  841.                         {{ flashMessage|replace({'SUCCESS': ''})|raw }}
  842.                     </div>
  843.                 {% endfor %}
  844.                 {{ editFeedback|raw }}
  845.             </div>
  846.         </section>
  847.     {% endif %}
  848.     {# Application Status Feedback #}
  849.     {% if batch and application and application.applicationStatus %}
  850.         {% include \"@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig\" %}
  851.     {% endif %}
  852.     {# Main Content Section #}
  853.     {% if content %}
  854.         {{ include(template_from_string(content), {
  855.             'event': event,
  856.             'batch': batch,
  857.             'isMultiBatchEvent': isMultiBatchEvent,
  858.             'lang': lang,
  859.             'isEnglish': isEnglish,
  860.             'phrases': phrases
  861.         }) }}
  862.     {% endif %}
  863.     {# Dynamic Twig Content #}
  864.     {% if contentTwig %}
  865.         {{ include(template_from_string(contentTwig), {
  866.             'event': event,
  867.             'batch': batch,
  868.             'isMultiBatchEvent': isMultiBatchEvent,
  869.             'futureBatches': futureBatches,
  870.             'allBatches': allBatches,
  871.             'lang': lang,
  872.             'isEnglish': isEnglish,
  873.             'phrases': phrases
  874.         }) }}
  875.     {% endif %}
  876.     {# Registration Section #}
  877.     {% include \"@StartPlatzEvent/Default/_registration.batch.tailwind.html.twig\" with {
  878.         'event': event,
  879.         'batch': batch,
  880.         'batchIsOpen': batchIsOpen,
  881.         'application': application,
  882.         'settings': settings,
  883.         'isMultiBatchEvent': isMultiBatchEvent,
  884.         'futureBatches': futureBatches,
  885.         'lang': lang,
  886.         'isEnglish': isEnglish,
  887.         'phrases': phrases
  888.     } %}
  889.     {# Tags Section #}
  890.     {% include \"@StartPlatzEvent/Default/_section.tags.tailwind.html.twig\" %}
  891.     {# Post CTA Content #}
  892.     {% if postCtaContent %}
  893.         {{ include(template_from_string(postCtaContent), {
  894.             'event': event,
  895.             'batch': batch,
  896.             'isMultiBatchEvent': isMultiBatchEvent,
  897.             'lang': lang,
  898.             'isEnglish': isEnglish,
  899.             'phrases': phrases
  900.         }) }}
  901.     {% endif %}
  902.     {# Speakers Section #}
  903.     {% if speakers %}
  904.         {% include \"@StartPlatzEvent/Default/_section.speakers-and-partners.winter-2025.html.twig\" %}
  905.     {% endif %}
  906.     {# Past Batches Section #}
  907.     {% include \"@StartPlatzEvent/Default/_section.past-batches.html.twig\" with {
  908.         'event': event,
  909.         'isMultiBatchEvent': isMultiBatchEvent,
  910.         'pastBatches': pastBatches,
  911.         'isEnglish': isEnglish
  912.     } %}
  913.     {# Promote This Event (for logged-in users) #}
  914.     {% if app.user and batch %}
  915.         {% include \"@StartPlatzEvent/Default/_section.promote-this-event.tailwind.html.twig\" %}
  916.     {% endif %}
  917.     {# Participant List Access #}
  918.     {% if app.user is defined and application is defined and application is not null and application.canReadList %}
  919.         <section class=\"bg-gray-100 py-6\">
  920.             <div class=\"max-w-4xl mx-auto px-4 text-center\">
  921.                 <span class=\"text-gray-700\">{{ isEnglish ? 'You can view the participant list here' : 'Hier kannst Du die Teilnehmerliste einsehen' }}</span>
  922.                 <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} ) }}\">
  923.                     participants
  924.                 </a>
  925.             </div>
  926.         </section>
  927.     {% endif %}
  928.     {# Admin Section #}
  929.     {% if app.user is defined %}
  930.         {% if app.user.admin is defined and app.user.admin %}
  931.             {% include \"@StartPlatzEvent/Default/_section.startplatz-admin-section.tailwind.html.twig\" %}
  932.         {% endif %}
  933.     {% endif %}
  934.     {# Language Switcher Component #}
  935.     {% if event.hasEnglishVersion %}
  936.         <div class=\"fixed top-32 right-5 z-50\" x-data=\"{ hover: false }\">
  937.             <div class=\"bg-white border-2 border-sp-purple rounded-full px-4 py-2 shadow-lg flex items-center gap-2\">
  938.                 <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\">
  939.                     <span class=\"text-xl\">DE</span>
  940.                 </a>
  941.                 <span class=\"text-gray-300\">|</span>
  942.                 <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\">
  943.                     <span class=\"text-xl\">EN</span>
  944.                 </a>
  945.             </div>
  946.         </div>
  947.     {% endif %}
  948. {% endblock %}
  949. {% block javascripts %}
  950.     {% if resolved.additionalJs is not empty %}
  951.         <script>
  952.             var eventData = {
  953.                 id: {{ event.id }},
  954.                 title: \"{{ (resolved.title ?? event.title)|e('js') }}\",
  955.                 slug: \"{{ event.slug|e('js') }}\",
  956.                 lang: \"{{ lang }}\",
  957.                 isEnglish: {{ isEnglish ? 'true' : 'false' }}
  958.             };
  959.             {{ include(template_from_string(resolved.additionalJs), {
  960.                 'event': event,
  961.                 'batch': batch,
  962.                 'lang': lang,
  963.                 'isEnglish': isEnglish
  964.             })|raw }}
  965.         </script>
  966.     {% endif %}
  967.     {# Sonderseite: batch-level JS (isSonderseite wurde mit Sonderseite-Rueckbau entfernt, Variable defensiv abgesichert) #}
  968.     {% if isSonderseite|default(false) and batch.landingPageJs is not empty %}
  969.         <script>{{ batch.landingPageJs|raw }}</script>
  970.     {% endif %}
  971. {% endblock %}
  972. ""@StartPlatzEventBundle/Default/event-single.tailwind.html.twig""/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.tailwind.html.twig");
  973.     }
  974. }