<?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;
/* layouts/common/default.html.twig */
class __TwigTemplate_37e7dde2275f3f2c3e1d7232bd75fadb 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 = [
'head_scripts_requirements' => [$this, 'block_head_scripts_requirements'],
'content' => [$this, 'block_content'],
'body_end_scripts_requirements' => [$this, 'block_body_end_scripts_requirements'],
];
}
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", "layouts/common/default.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/common/default.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"";
// line 2
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
yield "\">
<head>
";
// line 4
$context["pageAttributes"] = ((array_key_exists("pageAttributes", $context)) ? ((isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 4, $this->source); })())) : (["group" => "common", "section" => ((array_key_exists("pageSection", $context)) ? ((isset($context["pageSection"]) || array_key_exists("pageSection", $context) ? $context["pageSection"] : (function () { throw new RuntimeError('Variable "pageSection" does not exist.', 4, $this->source); })())) : ("unknown"))]));
// line 5
yield " ";
yield from $this->load("includes/common/head.html.twig", 5)->unwrap()->yield($context);
// line 6
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["pageAttributes"] ?? null), "section", [], "any", true, true, false, 6) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 6, $this->source); })()), "section", [], "any", false, false, false, 6) == "sim"))) {
// line 7
yield " ";
yield from $this->load("includes/sim/stylesheets.html.twig", 7)->unwrap()->yield($context);
}
// line 9
yield from $this->unwrap()->yieldBlock('head_scripts_requirements', $context, $blocks);
// line 10
if ((array_key_exists("paymentScripts", $context) && (isset($context["paymentScripts"]) || array_key_exists("paymentScripts", $context) ? $context["paymentScripts"] : (function () { throw new RuntimeError('Variable "paymentScripts" does not exist.', 10, $this->source); })()))) {
// line 11
yield " ";
yield from $this->load("includes/ticketing/payment-scripts.html.twig", 11)->unwrap()->yield($context);
}
// line 13
yield "</head>
<body class=\"is-Layout_Common_Default is-Layout_WithNavMenu ";
// line 14
yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["pageAttributes"] ?? null), "bodyClasses", [], "any", true, true, false, 14)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((" " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 14, $this->source); })()), "bodyClasses", [], "any", false, false, false, 14)), "html", null, true)) : (""));
yield (((array_key_exists("display_mode", $context) && ((isset($context["display_mode"]) || array_key_exists("display_mode", $context) ? $context["display_mode"] : (function () { throw new RuntimeError('Variable "display_mode" does not exist.', 14, $this->source); })()) == Twig\Extension\CoreExtension::constant("App\\EventSubscriber\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW")))) ? (" is-Layout_WebView") : (""));
yield "\">
";
// line 15
yield from $this->load("includes/common/accessibility-quick-links.twig", 15)->unwrap()->yield($context);
// line 16
yield from $this->load("includes/common/body-begin-scripts.html.twig", 16)->unwrap()->yield($context);
// line 17
yield "<div id=\"body\">
";
// line 18
yield from $this->load("includes/common/default-header.html.twig", 18)->unwrap()->yield($context);
// line 19
yield " <div class=\"is-container\" id=\"is-Content\">
";
// line 20
yield from $this->load("includes/common/mask.html.twig", 20)->unwrap()->yield(CoreExtension::merge($context, ["global" => true, "id" => "is-Global-Mask"]));
// line 21
if (((((isset($context["display_mode"]) || array_key_exists("display_mode", $context) ? $context["display_mode"] : (function () { throw new RuntimeError('Variable "display_mode" does not exist.', 21, $this->source); })()) != Twig\Extension\CoreExtension::constant("App\\EventSubscriber\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW")) && array_key_exists("steps", $context)) && !Twig\Extension\CoreExtension::testEmpty((isset($context["steps"]) || array_key_exists("steps", $context) ? $context["steps"] : (function () { throw new RuntimeError('Variable "steps" does not exist.', 21, $this->source); })())))) {
// line 22
yield " <div class=\"is-text-center\">
";
// line 23
yield from $this->load("includes/ticketing/header-steps.html.twig", 23)->unwrap()->yield($context);
// line 24
yield " </div>
";
}
// line 26
yield " <main id=\"is-Main\" role=\"main\" tabindex=\"-1\">
";
// line 27
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 28
yield " </main>
</div>
";
// line 30
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\PageController::getFooterAction", ["filigree" => ((array_key_exists("filigree", $context)) ? ((isset($context["filigree"]) || array_key_exists("filigree", $context) ? $context["filigree"] : (function () { throw new RuntimeError('Variable "filigree" does not exist.', 30, $this->source); })())) : (false))]));
yield "
</div>
";
// line 32
if ((($tmp = !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 33
yield " ";
yield from $this->load("pages/account/userLogin.html.twig", 33)->unwrap()->yield($context);
}
// line 35
yield "
";
// line 36
if (( !array_key_exists("isPdfPrint", $context) || ((isset($context["isPdfPrint"]) || array_key_exists("isPdfPrint", $context) ? $context["isPdfPrint"] : (function () { throw new RuntimeError('Variable "isPdfPrint" does not exist.', 36, $this->source); })()) == false))) {
// line 37
yield " ";
yield from $this->load("includes/common/default-nav.html.twig", 37)->unwrap()->yield($context);
}
// line 40
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 40, $this->source); })()), "section", [], "any", false, false, false, 40) == "sim")) {
// line 41
yield " ";
yield from $this->load("includes/sim/body-end-scripts.html.twig", 41)->unwrap()->yield($context);
}
// line 43
yield from $this->unwrap()->yieldBlock('body_end_scripts_requirements', $context, $blocks);
// line 44
yield "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 9
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_head_scripts_requirements(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", "head_scripts_requirements"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_scripts_requirements"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 27
/**
* @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 43
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body_end_scripts_requirements(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", "body_end_scripts_requirements"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_end_scripts_requirements"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "layouts/common/default.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 205 => 43, 183 => 27, 161 => 9, 148 => 44, 146 => 43, 142 => 41, 140 => 40, 136 => 37, 134 => 36, 131 => 35, 127 => 33, 125 => 32, 120 => 30, 116 => 28, 114 => 27, 111 => 26, 107 => 24, 105 => 23, 102 => 22, 100 => 21, 98 => 20, 95 => 19, 93 => 18, 90 => 17, 88 => 16, 86 => 15, 81 => 14, 78 => 13, 74 => 11, 72 => 10, 70 => 9, 66 => 7, 64 => 6, 61 => 5, 59 => 4, 54 => 2, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
{% set pageAttributes = pageAttributes is defined ? pageAttributes : { group: 'common', section: (pageSection is defined ? pageSection : 'unknown') } %}
{% include 'includes/common/head.html.twig' %}
{% if pageAttributes.section is defined and pageAttributes.section == 'sim' %}
{% include 'includes/sim/stylesheets.html.twig' %}
{% endif %}
{% block head_scripts_requirements %}{% endblock %}
{% if paymentScripts is defined and paymentScripts %}
{% include 'includes/ticketing/payment-scripts.html.twig' %}
{% endif %}
</head>
<body class=\"is-Layout_Common_Default is-Layout_WithNavMenu {{ pageAttributes.bodyClasses is defined ? ' ' ~ pageAttributes.bodyClasses : '' }}{{ (display_mode is defined and display_mode == constant('App\\\\EventSubscriber\\\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW')) ? ' is-Layout_WebView' : '' }}\">
{% include 'includes/common/accessibility-quick-links.twig' %}
{% include 'includes/common/body-begin-scripts.html.twig' %}
<div id=\"body\">
{% include 'includes/common/default-header.html.twig' %}
<div class=\"is-container\" id=\"is-Content\">
{% include 'includes/common/mask.html.twig' with {global: true, id:'is-Global-Mask'} %}
{% if display_mode != constant('App\\\\EventSubscriber\\\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW') and steps is defined and steps is not empty %}
<div class=\"is-text-center\">
{% include 'includes/ticketing/header-steps.html.twig' %}
</div>
{% endif %}
<main id=\"is-Main\" role=\"main\" tabindex=\"-1\">
{% block content %}{% endblock %}
</main>
</div>
{{ render(controller('App\\\\Controller\\\\PageController::getFooterAction', { 'filigree': (filigree is defined) ? filigree : false } )) }}
</div>
{% if not is_granted('IS_AUTHENTICATED_REMEMBERED') %}
{% include 'pages/account/userLogin.html.twig' %}
{% endif %}
{% if (isPdfPrint is not defined or isPdfPrint == false) %}
{% include 'includes/common/default-nav.html.twig' %}
{% endif %}
{# Include plugins, utils, etc. files #}
{% if pageAttributes.section == 'sim' %}
{% include 'includes/sim/body-end-scripts.html.twig' %}
{% endif %}
{% block body_end_scripts_requirements %}{% endblock %}
</body>
</html>
", "layouts/common/default.html.twig", "/var/www/html/templates/layouts/common/default.html.twig");
}
}