<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* bonuswelten.html.twig */
class __TwigTemplate_7762cb033e6c9a2f7fee4c2172077f9e48e257ecc563064f2ce60c81bf9783ef extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "bonuswelten.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "bonuswelten.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html xmlns=\"//www.w3.org/1999/xhtml\" lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
echo "\" xml:lang=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
echo "\">
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
<!-- Font Awesome lokalisiert WBR 06.10.2022 -->
<link rel=\"stylesheet\" href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/fonts/fontawesome-pro-6.3.0-web/css/all.min.css"), "html", null, true);
echo "\"/>
";
// line 10
ob_start();
// line 11
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/style.css"), 1 => "screen"], "method", false, false, false, 11);
// line 12
echo "
";
// line 13
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/index.js")], "method", false, false, false, 13);
// line 14
echo " ";
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 14, $this->source); })())) {
// line 15
echo " ";
// line 16
echo " ";
}
// line 17
echo "
";
// line 18
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 18, $this->source); })()))) {
// line 19
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 20
echo " ";
}
// line 21
echo "
";
// line 22
if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 22, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
// line 23
echo " ";
$context["document"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 23, $this->source); })()), "getObject", [], "method", false, false, false, 23);
// line 24
echo " ";
}
// line 25
echo "
";
// line 26
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 26, $this->source); })()), "getTitle", [], "method", false, false, false, 26))) {
// line 27
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 27, $this->source); })()), "getTitle", [], "method", false, false, false, 27)], "method", false, false, false, 27);
// line 28
echo " ";
}
// line 29
echo "
";
// line 30
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 30, $this->source); })()), "getDescription", [], "method", false, false, false, 30))) {
// line 31
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 31, $this->source); })()), "getDescription", [], "method", false, false, false, 31)], "method", false, false, false, 31);
// line 32
echo " ";
}
// line 33
echo "
";
// line 34
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "prepend", [0 => "Stadtwerke Herne"], "method", false, false, false, 34);
// line 35
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [0 => " :: "], "method", false, false, false, 35);
// line 36
echo "
";
// line 38
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", [0 => "og:title", 1 => $this->env->getFunction('pimcore_head_title')->getCallable()()], "method", false, false, false, 38);
// line 39
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", [0 => "og:type", 1 => "document"], "method", false, false, false, 39);
// line 40
echo " ";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 10
echo twig_spaceless($___internal_parse_0_);
// line 41
echo "
";
// line 42
echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
echo "
<meta name=\"msapplication-TileColor\" content=\"#e3000f\"/>
<meta name=\"theme-color\" content=\"#ffffff\"/>
";
// line 47
echo $this->env->getFunction('pimcore_head_title')->getCallable()();
echo "
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\"/>
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\"/>
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\"/>
<link rel=\"manifest\" href=\"/favicons/site.webmanifest\"/>
<link rel=\"mask-icon\" href=\"/favicons/safari-pinned-tab.svg\" color=\"#e3000f\"/>
<link rel=\"stylesheet\" href=\"";
// line 54
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/style.css"), "html", null, true);
echo "\"/>
<link rel=\"stylesheet\" href=\"";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/stwh_icons.css"), "html", null, true);
echo "\"/>
";
// line 56
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 56, $this->source); })())) {
// line 57
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/editmode.css"), "html", null, true);
echo "\"/>
";
}
// line 59
echo "
<script type=\"text/javascript\" defer src=\"";
// line 60
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/index.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" defer src=\"";
// line 61
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/dist/bonuswelten.js"), "html", null, true);
echo "\"></script>
<style>[x-cloak] {
display: none !important;
}</style>
</head>
<body>
<div class=\"relative\">
<!-- START Hauptmenü -->
";
// line 72
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 72, $this->source); })())) {
// line 73
echo " ";
$this->loadTemplate("includes/header.html.twig", "bonuswelten.html.twig", 73)->display($context);
// line 74
echo " ";
}
// line 75
echo " <!-- ENDE Hauptmenü -->
<!-- START Areas -->
<main role=\"main\" class=\"bg-gray-100\">
<div class=\"container mx-auto\">
<div id=\"bonuswelten-component\"></div>
</div>
</main>
<!-- ENDE Areas -->
<!-- START Footer -->
";
// line 88
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 88, $this->source); })())) {
// line 89
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()("/includes/footer");
echo "
";
}
// line 91
echo " <!-- ENDE Footer -->
<!-- START Modals -->
";
// line 94
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 94, $this->source); })())) {
// line 95
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()("/includes/modals");
echo "
";
}
// line 97
echo " <!-- ENDE Modals -->
</div>
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "bonuswelten.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 248 => 97, 242 => 95, 240 => 94, 235 => 91, 229 => 89, 227 => 88, 212 => 75, 209 => 74, 206 => 73, 204 => 72, 190 => 61, 186 => 60, 183 => 59, 177 => 57, 175 => 56, 171 => 55, 167 => 54, 157 => 47, 149 => 42, 146 => 41, 144 => 10, 141 => 40, 138 => 39, 135 => 38, 132 => 36, 129 => 35, 127 => 34, 124 => 33, 121 => 32, 118 => 31, 116 => 30, 113 => 29, 110 => 28, 107 => 27, 105 => 26, 102 => 25, 99 => 24, 96 => 23, 94 => 22, 91 => 21, 88 => 20, 85 => 19, 83 => 18, 80 => 17, 77 => 16, 75 => 15, 72 => 14, 70 => 13, 67 => 12, 64 => 11, 62 => 10, 57 => 8, 46 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html xmlns=\"//www.w3.org/1999/xhtml\" lang=\"{{ app.request.locale }}\" xml:lang=\"{{ app.request.locale }}\">
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
<!-- Font Awesome lokalisiert WBR 06.10.2022 -->
<link rel=\"stylesheet\" href=\"{{ asset('/static/fonts/fontawesome-pro-6.3.0-web/css/all.min.css') }}\"/>
{% apply spaceless %}
{% do pimcore_head_link().appendStylesheet(asset('/dist/style.css'), 'screen') %}
{% do pimcore_head_script().appendFile(asset('/dist/index.js')) %}
{% if not editmode %}
{# % do pimcore_head_script().appendFile(asset('static/js/frontend.js')) % #}
{% endif %}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
{% set document = document.getObject() %}
{% endif %}
{% if document.getTitle() is not empty %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% endif %}
{% if document.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% endif %}
{% do pimcore_head_title().prepend('Stadtwerke Herne') %}
{% do pimcore_head_title().setSeparator(' :: ') %}
{# setting open graph tags #}
{% do pimcore_head_meta().setProperty('og:title', pimcore_head_title()) %}
{% do pimcore_head_meta().setProperty('og:type', 'document') %}
{% endapply %}
{{ pimcore_head_meta() }}
<meta name=\"msapplication-TileColor\" content=\"#e3000f\"/>
<meta name=\"theme-color\" content=\"#ffffff\"/>
{{ pimcore_head_title() }}
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\"/>
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\"/>
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\"/>
<link rel=\"manifest\" href=\"/favicons/site.webmanifest\"/>
<link rel=\"mask-icon\" href=\"/favicons/safari-pinned-tab.svg\" color=\"#e3000f\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/dist/style.css') }}\"/>
<link rel=\"stylesheet\" href=\"{{ asset('/static/css/stwh_icons.css') }}\"/>
{% if editmode %}
<link rel=\"stylesheet\" href=\"{{ asset('/static/css/editmode.css') }}\"/>
{% endif %}
<script type=\"text/javascript\" defer src=\"{{ asset('/dist/index.js') }}\"></script>
<script type=\"text/javascript\" defer src=\"{{ asset('/dist/bonuswelten.js') }}\"></script>
<style>[x-cloak] {
display: none !important;
}</style>
</head>
<body>
<div class=\"relative\">
<!-- START Hauptmenü -->
{% if not editmode %}
{% include 'includes/header.html.twig' %}
{% endif %}
<!-- ENDE Hauptmenü -->
<!-- START Areas -->
<main role=\"main\" class=\"bg-gray-100\">
<div class=\"container mx-auto\">
<div id=\"bonuswelten-component\"></div>
</div>
</main>
<!-- ENDE Areas -->
<!-- START Footer -->
{% if not editmode %}
{{ pimcore_inc('/includes/footer') }}
{% endif %}
<!-- ENDE Footer -->
<!-- START Modals -->
{% if not editmode %}
{{ pimcore_inc('/includes/modals') }}
{% endif %}
<!-- ENDE Modals -->
</div>
</body>
</html>
", "bonuswelten.html.twig", "/home/forge/staging.stadtwerke-herne.standpunkt-hosting.de/templates/bonuswelten.html.twig");
}
}