<?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;
/* front/base.html.twig */
class __TwigTemplate_52a36eda23a03b9586690e966c0412fd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'seo' => [$this, 'block_seo'],
'og' => [$this, 'block_og'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascript' => [$this, 'block_javascript'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "front/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html 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 "\">
<head>
";
// line 4
if ((twig_get_attribute($this->env, $this->source, 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "server", [], "any", false, false, false, 4), "get", ["SERVER_ENV"], "method", false, false, false, 4) && (twig_get_attribute($this->env, $this->source, 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "server", [], "any", false, false, false, 4), "get", ["SERVER_ENV"], "method", false, false, false, 4) == "production"))) {
// line 5
echo " <!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NNW5PMM6');</script>
<!-- End Google Tag Manager -->
";
// line 13
if ((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.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "locale", [], "any", false, false, false, 13) == "fr")) {
// line 14
echo "
<script>
window.axeptioSettings = {
clientId: \"6596c14a7d63fea42f929415\",
cookiesVersion: \"racket-trip/fr-fr-EU\",
};
(function(d, s) {
var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
e.async = true; e.src = \"//static.axept.io/sdk.js\";
t.parentNode.insertBefore(e, t);
})(document, \"script\");
</script>
";
} else {
// line 30
echo "
<script>
window.axeptioSettings = {
clientId: \"6596c14a7d63fea42f929415\",
cookiesVersion: \"racket-trip/fr-fr-EU_en-GB\",
};
(function(d, s) {
var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
e.async = true; e.src = \"//static.axept.io/sdk.js\";
t.parentNode.insertBefore(e, t);
})(document, \"script\");
</script>
";
}
// line 45
echo "
";
} else {
// line 47
echo "
<meta name=\"robots\" content=\"noindex\">
";
}
// line 51
echo "
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no, shrink-to-fit=no\">
<link rel=\"icon\" media=\"(prefers-color-scheme:light)\" type=\"image/x-icon\" href=\"/images/favicon-light.png\" id=\"light-scheme-icon\">
<title>";
// line 56
$this->displayBlock('title', $context, $blocks);
echo " | Racket Trip</title>
";
// line 58
$this->displayBlock('seo', $context, $blocks);
// line 59
echo " ";
$this->displayBlock('og', $context, $blocks);
// line 60
echo "
";
// line 61
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 62
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("message");
echo "
<link rel=\"stylesheet\" href=\"/fontawesome/css/all.min.css\">
";
// line 66
$this->displayBlock('stylesheets', $context, $blocks);
// line 67
echo "
</head>
";
// line 70
$context["current_path"] = 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.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "get", ["_route"], "method", false, false, false, 70);
// line 71
echo "
<body class=\"";
// line 72
echo twig_escape_filter($this->env, (isset($context["current_path"]) || array_key_exists("current_path", $context) ? $context["current_path"] : (function () { throw new RuntimeError('Variable "current_path" does not exist.', 72, $this->source); })()), "html", null, true);
echo "\" id=\"body\" onload=\"document.body.style.visibility=`visible`;\">
<script>document.body.style.visibility=`hidden`;</script>
";
// line 74
if ((twig_get_attribute($this->env, $this->source, 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.', 74, $this->source); })()), "request", [], "any", false, false, false, 74), "server", [], "any", false, false, false, 74), "get", ["SERVER_ENV"], "method", false, false, false, 74) && (twig_get_attribute($this->env, $this->source, 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.', 74, $this->source); })()), "request", [], "any", false, false, false, 74), "server", [], "any", false, false, false, 74), "get", ["SERVER_ENV"], "method", false, false, false, 74) == "production"))) {
// line 75
echo " <!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NNW5PMM6\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
}
// line 80
echo "
<div id=\"preloader\">
<div class=\"loader\" id=\"loader\"></div>
</div>
";
// line 85
$this->loadTemplate("front/_partials/_header.html.twig", "front/base.html.twig", 85)->display($context);
// line 86
echo "
";
// line 87
$this->displayBlock('body', $context, $blocks);
// line 88
echo "
\t ";
// line 89
$this->loadTemplate("front/_partials/_add-favorite-modal.html.twig", "front/base.html.twig", 89)->display($context);
// line 90
echo "
";
// line 91
if ((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.', 91, $this->source); })()), "user", [], "any", false, false, false, 91) && 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.', 91, $this->source); })()), "user", [], "any", false, false, false, 91), "isPro", [], "any", false, false, false, 91))) {
// line 92
echo "
";
// line 134
echo " ";
}
// line 135
echo "
<!-- Welcome modal -->
<div class=\"modal fade\" id=\"welcome-registration\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"RegistrationTitle\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"modal-title\">
<h5 class=\"modal-title\">";
// line 143
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modal_confirmation_registration.thanks"), "html", null, true);
echo "</h5>
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<i class=\"fal fa-times\"></i>
</button>
</div>
<div class=\"row\">
<div class=\"col-lg-12\">
<p class=\"text-18 text-center\">";
// line 150
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modal_confirmation_registration.message"), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"row mt-3\">
<div class=\"col-md-12\">
<button type=\"button\" class=\"btn main-btn m-auto\" data-dismiss=\"modal\" aria-label=\"Close\">";
// line 155
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("membership.ok"), "html", null, true);
echo "</button>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 163
$this->loadTemplate("front/_partials/_footer.html.twig", "front/base.html.twig", 163)->display($context);
// line 164
echo "
";
// line 165
$this->loadTemplate("front/_partials/_responsive-navbar.html.twig", "front/base.html.twig", 165)->display($context);
// line 166
echo "
";
// line 167
if ((( !array_key_exists("chat", $context) && 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.', 167, $this->source); })()), "user", [], "any", false, false, false, 167)) && (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.', 167, $this->source); })()), "request", [], "any", false, false, false, 167), "get", ["_route"], "method", false, false, false, 167) != "courses"))) {
// line 168
echo "
";
// line 169
$this->loadTemplate("front/message/floating-message.html.twig", "front/base.html.twig", 169)->display($context);
// line 170
echo "
";
}
// line 171
echo "\t
";
// line 173
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
// line 175
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 175, $this->source); })()), "flashes", [], "any", false, false, false, 175));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 176
echo "
";
// line 177
if (($context["label"] == "welcome-registration")) {
// line 178
echo "
";
// line 179
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 180
echo "
\t\t\t<script>
\t\t\t\t\$(document).ready(function () {
\t\t\t\t\tsetTimeout(function () {
\t\t\t\t\t\t\$(\"#welcome-registration\").modal({
\t\t\t\t\t\t\tbackdrop: 'static',
\t\t\t\t\t\t\tkeyboard: false
\t\t\t\t\t\t});
\t\t\t\t\t}, 200);
\t\t\t\t});
\t\t\t</script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 195
echo "
";
} elseif ((( // line 196
$context["label"] != "payment-method") && ($context["label"] != "welcome"))) {
// line 197
echo "
";
// line 198
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 199
echo "
<!-- Alert modal -->
<div class=\"modal fade\" id=\"alert-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"alertTitle\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<p class=\"modal-text-xl text-center font-500 mt-2 mb-0\">
";
// line 206
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</p>
<div class=\"modal-actions\">
<button type=\"button\" class=\"btn main-btn btn-sm\" data-dismiss=\"modal\" aria-label=\"Close\">OK</button>
</div>
</div>
</div>
</div>
</div>
<script>
\$(\"#alert-modal\").modal({
backdrop: 'static',
keyboard: false
});
</script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 226
echo "
";
}
// line 228
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 230
echo "
";
// line 231
$this->displayBlock('javascript', $context, $blocks);
// line 232
echo "
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 56
public function block_title($context, array $blocks = [])
{
$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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 58
public function block_seo($context, array $blocks = [])
{
$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", "seo"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 59
public function block_og($context, array $blocks = [])
{
$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", "og"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "og"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 66
public function block_stylesheets($context, array $blocks = [])
{
$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", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 87
public function block_body($context, array $blocks = [])
{
$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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 231
public function block_javascript($context, array $blocks = [])
{
$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", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 474 => 231, 456 => 87, 438 => 66, 420 => 59, 402 => 58, 384 => 56, 371 => 232, 369 => 231, 366 => 230, 359 => 228, 355 => 226, 329 => 206, 320 => 199, 316 => 198, 313 => 197, 311 => 196, 308 => 195, 288 => 180, 284 => 179, 281 => 178, 279 => 177, 276 => 176, 272 => 175, 267 => 173, 263 => 171, 259 => 170, 257 => 169, 254 => 168, 252 => 167, 249 => 166, 247 => 165, 244 => 164, 242 => 163, 231 => 155, 223 => 150, 213 => 143, 203 => 135, 200 => 134, 197 => 92, 195 => 91, 192 => 90, 190 => 89, 187 => 88, 185 => 87, 182 => 86, 180 => 85, 173 => 80, 166 => 75, 164 => 74, 159 => 72, 156 => 71, 154 => 70, 149 => 67, 147 => 66, 140 => 62, 136 => 61, 133 => 60, 130 => 59, 128 => 58, 123 => 56, 116 => 51, 110 => 47, 106 => 45, 89 => 30, 71 => 14, 69 => 13, 59 => 5, 57 => 4, 52 => 2, 49 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
{% if app.request.server.get('SERVER_ENV') and app.request.server.get('SERVER_ENV') == 'production' %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NNW5PMM6');</script>
<!-- End Google Tag Manager -->
{% if app.request.locale == 'fr' %}
<script>
window.axeptioSettings = {
clientId: \"6596c14a7d63fea42f929415\",
cookiesVersion: \"racket-trip/fr-fr-EU\",
};
(function(d, s) {
var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
e.async = true; e.src = \"//static.axept.io/sdk.js\";
t.parentNode.insertBefore(e, t);
})(document, \"script\");
</script>
{% else %}
<script>
window.axeptioSettings = {
clientId: \"6596c14a7d63fea42f929415\",
cookiesVersion: \"racket-trip/fr-fr-EU_en-GB\",
};
(function(d, s) {
var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
e.async = true; e.src = \"//static.axept.io/sdk.js\";
t.parentNode.insertBefore(e, t);
})(document, \"script\");
</script>
{% endif %}
{% else %}
<meta name=\"robots\" content=\"noindex\">
{% endif %}
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no, shrink-to-fit=no\">
<link rel=\"icon\" media=\"(prefers-color-scheme:light)\" type=\"image/x-icon\" href=\"/images/favicon-light.png\" id=\"light-scheme-icon\">
<title>{% block title %}{% endblock %} | Racket Trip</title>
{% block seo %}{% endblock %}
{% block og %}{% endblock %}
{{ encore_entry_link_tags('app') }}
{{ encore_entry_link_tags('message') }}
<link rel=\"stylesheet\" href=\"/fontawesome/css/all.min.css\">
{% block stylesheets %}{% endblock %}
</head>
{% set current_path = app.request.get('_route') %}
<body class=\"{{ current_path }}\" id=\"body\" onload=\"document.body.style.visibility=`visible`;\">
<script>document.body.style.visibility=`hidden`;</script>
{% if app.request.server.get('SERVER_ENV') and app.request.server.get('SERVER_ENV') == 'production' %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NNW5PMM6\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
<div id=\"preloader\">
<div class=\"loader\" id=\"loader\"></div>
</div>
{% include \"front/_partials/_header.html.twig\" %}
{% block body %}{% endblock %}
\t {% include \"front/_partials/_add-favorite-modal.html.twig\" %}
{% if app.user and app.user.isPro %}
{#
<!-- Modal Partners Empty -->
<div class=\"modal fade\" id=\"empty-partners\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"addAlert\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"modal-title-wrap\">
<h5 class=\"modal-title\">{{ \"courses.create_internship\" | trans }}</h5>
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<i class=\"fal fa-times\"></i>
</button>
</div>
<div class=\"row\">
<div class=\"col-lg-12\">
{% if app.user is instanceof('App\\\\Entity\\\\Coach') and app.user.partners | length == 0 %}
<p class=\"text-center\">{{ \"courses.add_club\" | trans }}</p>
{% elseif app.user is instanceof('App\\\\Entity\\\\Club') and app.user.partners | length == 0 %}
<p class=\"text-center\">{{ \"courses.add_coach\" | trans }}</p>
{% elseif app.user is instanceof('App\\\\Entity\\\\Operator') and (app.user.clubPartners | length == 0 or app.user.coachPartners | length == 0) %}
<p class=\"text-center\">{{ \"courses.add_club_coach\" | trans }}</p>
{% endif %}
{% if app.user.proInfo.pageVisible == false %}
<p class=\"text-center\">{{ \"courses.publish_page\" | trans }}</p>
{% endif %}
</div>
</div>
</div>
<div class=\"modal-footer justify-content-center\">
{% if (app.user is instanceof('App\\\\Entity\\\\Coach') or app.user is instanceof('App\\\\Entity\\\\Club')) and app.user.partners | length == 0 %}
<a href=\"{{ path('pro_partners') }}\" class=\"btn main-btn m-2\">{{ \"courses.add_partner\" | trans }}</a>
{% elseif app.user is instanceof('App\\\\Entity\\\\Operator') and (app.user.clubPartners | length == 0 or app.user.coachPartners | length == 0) %}
<a href=\"{{ path('pro_partners') }}\" class=\"btn main-btn m-2\">{{ \"courses.add_partners\" | trans }}</a>
{% endif %}
{% if app.user.proInfo.pageVisible == false %}
<a href=\"{{ path('pro_page') }}\" class=\"btn main-btn m-2\">{{ \"header.page_pro\" | trans }}</a>
{% endif %}
</div>
</div>
</div>
</div>
#}
{% endif %}
<!-- Welcome modal -->
<div class=\"modal fade\" id=\"welcome-registration\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"RegistrationTitle\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"modal-title\">
<h5 class=\"modal-title\">{{ \"modal_confirmation_registration.thanks\" | trans }}</h5>
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<i class=\"fal fa-times\"></i>
</button>
</div>
<div class=\"row\">
<div class=\"col-lg-12\">
<p class=\"text-18 text-center\">{{ \"modal_confirmation_registration.message\" | trans }}</p>
</div>
</div>
<div class=\"row mt-3\">
<div class=\"col-md-12\">
<button type=\"button\" class=\"btn main-btn m-auto\" data-dismiss=\"modal\" aria-label=\"Close\">{{ \"membership.ok\" | trans }}</button>
</div>
</div>
</div>
</div>
</div>
</div>
{% include \"front/_partials/_footer.html.twig\" %}
{% include \"front/_partials/_responsive-navbar.html.twig\" %}
{% if not chat is defined and app.user and app.request.get('_route') != 'courses' %}
{% include \"front/message/floating-message.html.twig\" %}
{% endif %}\t
{{ encore_entry_script_tags('app') }}
{% for label, messages in app.flashes %}
{% if label == 'welcome-registration' %}
{% for message in messages %}
\t\t\t<script>
\t\t\t\t\$(document).ready(function () {
\t\t\t\t\tsetTimeout(function () {
\t\t\t\t\t\t\$(\"#welcome-registration\").modal({
\t\t\t\t\t\t\tbackdrop: 'static',
\t\t\t\t\t\t\tkeyboard: false
\t\t\t\t\t\t});
\t\t\t\t\t}, 200);
\t\t\t\t});
\t\t\t</script>
{% endfor %}
{% elseif label != 'payment-method' and label != 'welcome' %}
{% for message in messages %}
<!-- Alert modal -->
<div class=\"modal fade\" id=\"alert-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"alertTitle\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<p class=\"modal-text-xl text-center font-500 mt-2 mb-0\">
{{ message }}
</p>
<div class=\"modal-actions\">
<button type=\"button\" class=\"btn main-btn btn-sm\" data-dismiss=\"modal\" aria-label=\"Close\">OK</button>
</div>
</div>
</div>
</div>
</div>
<script>
\$(\"#alert-modal\").modal({
backdrop: 'static',
keyboard: false
});
</script>
{% endfor %}
{% endif %}
{% endfor %}
{% block javascript %}{% endblock %}
</body>
</html>
", "front/base.html.twig", "/var/www/preprod/racket-trip/templates/front/base.html.twig");
}
}