<?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;
/* @StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig */
class __TwigTemplate_1d43110f7f7ddeced37aaf2b1c0d7c29 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'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 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", "@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"en\">
";
// line 3
if ((($tmp = !array_key_exists("embed", $context)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 4
yield " ";
$context["embed"] = false;
}
// line 6
yield "<head>
<!-- homepage.with-sections -->
<!-- Required meta tags -->
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
";
// line 12
yield from $this->unwrap()->yieldBlock('metaData', $context, $blocks);
// line 24
yield "
<link rel=\"profile\" href=\"http://gmpg.org/xfn/11\">
<link rel=\"pingback\" href=\"https://www.startplatz.de/xmlrpc.php\">
";
// line 29
yield from $this->load("@StartPlatzStyleBundle/_icon.html.twig", 29)->unwrap()->yield($context);
// line 30
yield "
<title>";
// line 31
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
<!-- Bootstrap CSS -->
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\">
<script src=\"https://kit.fontawesome.com/30335e3531.js\" crossorigin=\"anonymous\"></script>
<link href=\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap\" rel=\"stylesheet\">
";
// line 38
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.', 38, $this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 39
yield " ";
yield from $this->load("@StartPlatzStyleBundle/_tracking.html.twig", 39)->unwrap()->yield($context);
// line 40
yield " ";
}
// line 41
yield "
";
// line 42
yield from $this->unwrap()->yieldBlock('additionalHead', $context, $blocks);
// line 44
yield "
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
// line 53
$context["master"] = false;
// line 54
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 54) && !Twig\Extension\CoreExtension::testEmpty(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.', 54, $this->source); })()), "user", [], "any", false, false, false, 54)))) {
// line 55
yield " ";
if ((($tmp = 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.', 55, $this->source); })()), "user", [], "any", false, false, false, 55), "getMaster", [], "any", false, false, false, 55)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
$context["master"] = true;
}
}
// line 57
$context["admin"] = false;
// line 58
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 58) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "user", [], "any", false, false, false, 58)))) {
// line 59
yield " ";
if ((($tmp = 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.', 59, $this->source); })()), "user", [], "any", false, false, false, 59), "getAdmin", [], "any", false, false, false, 59)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
$context["admin"] = true;
}
}
// line 61
yield "
<!-- start content -->
";
// line 64
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 65
yield "<!-- end content -->
<!-- start footer -->
";
// line 68
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 69
yield "<!-- end footer -->
<div class=\"modal fade\" id=\"mySmallModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-sm\">
</div>
</div>
<div class=\"modal fade\" id=\"myLargeModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\">
</div>
</div>
<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
</div>
</div>
";
// line 86
yield from $this->unwrap()->yieldBlock('infiniteLoop', $context, $blocks);
// line 99
yield "
";
// line 100
if ((($tmp = !array_key_exists("maxPages", $context)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 101
yield " ";
$context["maxPages"] = 100;
}
// line 103
yield "
";
// line 104
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.', 104, $this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 105
yield " ";
yield from $this->load("@StartPlatzStyleBundle/_cookie.consent.html.twig", 105)->unwrap()->yield($context);
}
// line 107
yield "
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
<script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct\" crossorigin=\"anonymous\"></script>
<!-- javascript for infinite scroll -->
<script src=\"";
// line 116
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/startplatzstyle/js/jquery-ias.min.js"), "html", null, true);
yield "\"></script>
<script type=\"text/javascript\">
// Fill modal with content from link href
\$(\"#mySmallModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
// Fill modal with content from link href
\$(\"#myLargeModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
// Fill modal with content from link href
\$(\"#myModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
\$(function () {
\$('[data-toggle=\"tooltip\"]').tooltip()
});
</script>
";
// line 141
if ((($tmp = !array_key_exists("version", $context)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 142
yield " ";
$context["version"] = "default";
}
// line 144
yield "
";
// line 145
yield from $this->unwrap()->yieldBlock('javascriptInfiniteLoop', $context, $blocks);
// line 171
yield "
";
// line 172
yield from $this->unwrap()->yieldBlock('ajax_helpers', $context, $blocks);
// line 176
yield "
";
// line 177
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 179
yield "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 12
/**
* @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 13
yield " <meta name=\"description\" content=\"STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen\">
<meta name=\"author\" content=\"\">
";
// line 15
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.', 15, $this->source); })()), "environment", [], "any", false, false, false, 15) == "prod")) {
// line 16
yield " <meta name=\"robots\" content=\"index,follow\">
";
// line 17
if (array_key_exists("canonicalUrl", $context)) {
// line 18
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl", $context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.', 18, $this->source); })()), "html", null, true);
yield "\" />
";
}
// line 20
yield " ";
} else {
// line 21
yield " <meta name=\"robots\" content=\"noindex,nofollow\">
";
}
// line 23
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 31
/**
* @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 "STARTPLATZ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 42
/**
* @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 43
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 64
/**
* @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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 68
/**
* @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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 86
/**
* @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"));
// line 87
yield " ";
if ((array_key_exists("maxPages", $context) && ((isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 87, $this->source); })()) > 1))) {
// line 88
yield " <div id=\"pagination\">
<a href=\"";
// line 89
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 89, $this->source); })()), ["page" => (isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 89, $this->source); })())]), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 89, $this->source); })()), "html", null, true);
yield "</a>
";
// line 91
if (((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 91, $this->source); })()) != (isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 91, $this->source); })()))) {
// line 92
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 92, $this->source); })()), (["page" => (((((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 92, $this->source); })()) + 1) <= (isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 92, $this->source); })()))) ? (((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 92, $this->source); })()) + 1)) : ((isset($context["thisPage"]) || array_key_exists("thisPage", $context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.', 92, $this->source); })())))] + (isset($context["templateVars"]) || array_key_exists("templateVars", $context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.', 92, $this->source); })()))), "html", null, true);
yield "\" class=\"next\">»</a>
";
}
// line 94
yield " </div>
";
} else {
// line 96
yield " ";
$context["maxPages"] = 100;
// line 97
yield " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 145
/**
* @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"));
// line 146
yield "<script type=\"text/javascript\">
var ias = \$.ias({
container: \"#posts\",
item: \".item\",
pagination: \"#pagination\",
negativeMargin: \"500\",
next: \".next\"
});
ias.extension(new IASSpinnerExtension()); // shows a spinner (a.k.a. loader)
ias.extension(new IASTriggerExtension({offset: ";
// line 156
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["maxPages"]) || array_key_exists("maxPages", $context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.', 156, $this->source); })()), "html", null, true);
yield " })); // shows a trigger after page 3
ias.extension(new IASNoneLeftExtension({
text: 'There are no more pages left to load.' // override text when no pages left
}));
ias.on('load', function(event) {
event.url = event.url + \"&ajax=1&version=";
// line 162
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 162, $this->source); })()), "html", null, true);
yield "\";
console.log('Loaded ' + event.url + ' url from server');
console.log('url tracking: ' + event.url );
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 172
/**
* @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"));
// line 173
yield " <!-- Include Ajax Helpers By Default - Override if not needed -->
";
// line 174
yield from $this->load("@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig", 174)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 177
/**
* @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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 542 => 177, 531 => 174, 528 => 173, 515 => 172, 495 => 162, 486 => 156, 474 => 146, 461 => 145, 449 => 97, 446 => 96, 442 => 94, 436 => 92, 434 => 91, 427 => 89, 424 => 88, 421 => 87, 408 => 86, 386 => 68, 364 => 64, 353 => 43, 340 => 42, 317 => 31, 306 => 23, 302 => 21, 299 => 20, 293 => 18, 291 => 17, 288 => 16, 286 => 15, 282 => 13, 269 => 12, 256 => 179, 254 => 177, 251 => 176, 249 => 172, 246 => 171, 244 => 145, 241 => 144, 237 => 142, 235 => 141, 207 => 116, 196 => 107, 192 => 105, 190 => 104, 187 => 103, 183 => 101, 181 => 100, 178 => 99, 176 => 86, 157 => 69, 155 => 68, 150 => 65, 148 => 64, 143 => 61, 137 => 59, 135 => 58, 133 => 57, 127 => 55, 125 => 54, 123 => 53, 112 => 44, 110 => 42, 107 => 41, 104 => 40, 101 => 39, 99 => 38, 89 => 31, 86 => 30, 84 => 29, 77 => 24, 75 => 12, 67 => 6, 63 => 4, 61 => 3, 57 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html lang=\"en\">
{% if embed is not defined %}
{% set embed = false %}
{% endif %}
<head>
<!-- homepage.with-sections -->
<!-- Required meta tags -->
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
{% block metaData %}
<meta name=\"description\" content=\"STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen\">
<meta name=\"author\" content=\"\">
{% if app.environment == 'prod' %}
<meta name=\"robots\" content=\"index,follow\">
{% if canonicalUrl is defined %}
<link rel=\"canonical\" href=\"{{ canonicalUrl }}\" />
{% endif %}
{% else %}
<meta name=\"robots\" content=\"noindex,nofollow\">
{% endif %}
{% endblock %}
<link rel=\"profile\" href=\"http://gmpg.org/xfn/11\">
<link rel=\"pingback\" href=\"https://www.startplatz.de/xmlrpc.php\">
{% include \"@StartPlatzStyleBundle/_icon.html.twig\" %}
<title>{% block title %}STARTPLATZ{% endblock %}</title>
<!-- Bootstrap CSS -->
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\">
<script src=\"https://kit.fontawesome.com/30335e3531.js\" crossorigin=\"anonymous\"></script>
<link href=\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap\" rel=\"stylesheet\">
{% if not embed|default(false) %}
{% include \"@StartPlatzStyleBundle/_tracking.html.twig\" %}
{% endif %}
{% block additionalHead %}
{% endblock %}
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% set master = false %}
{% if app.user is defined and app.user is not empty %}
{% if app.user.getMaster %}{% set master = true %}{% endif %}
{% endif %}
{% set admin = false %}
{% if app.user is defined and app.user is not empty %}
{% if app.user.getAdmin %}{% set admin = true %}{% endif %}
{% endif %}
<!-- start content -->
{% block content %}{% endblock %}
<!-- end content -->
<!-- start footer -->
{% block footer %}{% endblock %}
<!-- end footer -->
<div class=\"modal fade\" id=\"mySmallModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-sm\">
</div>
</div>
<div class=\"modal fade\" id=\"myLargeModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\">
</div>
</div>
<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
</div>
</div>
{% block infiniteLoop %}
{% if maxPages is defined and maxPages > 1 %}
<div id=\"pagination\">
<a href=\"{{ path(currentPath, {page: thisPage} ) }}\">{{ thisPage }}</a>
{% if thisPage != maxPages %}
<a href=\"{{ path( currentPath, {page: thisPage+1 <= maxPages ? thisPage+1 : thisPage} + templateVars) }}\" class=\"next\">»</a>
{% endif %}
</div>
{% else %}
{% set maxPages = 100 %}
{% endif %}
{% endblock %}
{% if maxPages is not defined %}
{% set maxPages = 100 %}
{% endif %}
{% if not embed|default(false) %}
{% include \"@StartPlatzStyleBundle/_cookie.consent.html.twig\" %}
{% endif %}
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
<script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
<script src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct\" crossorigin=\"anonymous\"></script>
<!-- javascript for infinite scroll -->
<script src=\"{{ asset('bundles/startplatzstyle/js/jquery-ias.min.js') }}\"></script>
<script type=\"text/javascript\">
// Fill modal with content from link href
\$(\"#mySmallModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
// Fill modal with content from link href
\$(\"#myLargeModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
// Fill modal with content from link href
\$(\"#myModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
\$(function () {
\$('[data-toggle=\"tooltip\"]').tooltip()
});
</script>
{% if version is not defined %}
{% set version = 'default' %}
{% endif %}
{% block javascriptInfiniteLoop %}
<script type=\"text/javascript\">
var ias = \$.ias({
container: \"#posts\",
item: \".item\",
pagination: \"#pagination\",
negativeMargin: \"500\",
next: \".next\"
});
ias.extension(new IASSpinnerExtension()); // shows a spinner (a.k.a. loader)
ias.extension(new IASTriggerExtension({offset: {{ maxPages }} })); // shows a trigger after page 3
ias.extension(new IASNoneLeftExtension({
text: 'There are no more pages left to load.' // override text when no pages left
}));
ias.on('load', function(event) {
event.url = event.url + \"&ajax=1&version={{ version }}\";
console.log('Loaded ' + event.url + ' url from server');
console.log('url tracking: ' + event.url );
});
</script>
{% endblock %}
{% block ajax_helpers %}
<!-- Include Ajax Helpers By Default - Override if not needed -->
{% include '@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig' %}
{% endblock %}
{% block javascripts %}
{% endblock %}
</body>
</html>
", "@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig", "/var/www/html/src/StartPlatz/Bundle/StyleBundle/Resources/views/Bootstrap4/base.homepage.event-lp.html.twig");
}
}