<?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;
/* no_ajax_layout.html.twig */
class __TwigTemplate_3b6be7e9f63d768963e86533c5b1468ff62e7e54f62bcaa111d084d878785289 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'specific_stylesheets' => [$this, 'block_specific_stylesheets'],
'body' => [$this, 'block_body'],
'whiplay_body_head' => [$this, 'block_whiplay_body_head'],
'whiplay_body' => [$this, 'block_whiplay_body'],
'whiplay_body_foot' => [$this, 'block_whiplay_body_foot'],
'whiplay_footer' => [$this, 'block_whiplay_footer'],
'javascripts' => [$this, 'block_javascripts'],
'specific_javascripts' => [$this, 'block_specific_javascripts'],
];
}
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", "no_ajax_layout.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "no_ajax_layout.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 "\" ";
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getHtmlAttributes();
echo ">
<head ";
// line 3
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getHeadAttributes();
echo ">
";
// line 4
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getTitle();
echo "
";
// line 5
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getMetadatas();
echo "
";
// line 6
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getLinkCanonical();
echo "
";
// line 7
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getLangAlternates();
echo "
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=5'/>
<meta name=\"google-signin-client_id\"
content=\"498791792998-ihi42kvjei2f0ug9i6i1df938kvf27uc.apps.googleusercontent.com\">
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.png"), "html", null, true);
echo "\"/>
";
// line 14
$this->displayBlock('stylesheets', $context, $blocks);
// line 17
echo " ";
$this->displayBlock('specific_stylesheets', $context, $blocks);
// line 19
echo "</head>
<body
data-studio=\"";
// line 22
if (array_key_exists("in_studio", $context)) {
echo "true";
} else {
echo "false";
}
echo "\"
";
// line 23
if ((0 === twig_compare(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.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "attributes", [], "any", false, false, false, 23), "get", [0 => "_route"], "method", false, false, false, 23), "whiplay_home"))) {
echo "class=\"on-home\"";
}
// line 24
echo ">
";
// line 26
$this->loadTemplate(((array_key_exists("in_studio", $context)) ? ("Studio/menu.html.twig") : ("menu.html.twig")), "no_ajax_layout.html.twig", 26)->display($context);
// line 27
echo "
<main>
<div class=\"loading-layer\"></div>
<div class=\"loading\">
<div class=\"loading-bar\"></div>
<div class=\"loading-bar\"></div>
<div class=\"loading-bar\"></div>
<div class=\"loading-bar\"></div>
</div>
<div id=\"dynamic-body\">
";
// line 38
$this->displayBlock('body', $context, $blocks);
// line 46
echo " </div>
";
// line 48
echo " <footer>
";
// line 49
$this->displayBlock('whiplay_footer', $context, $blocks);
// line 51
echo " </footer>
";
// line 53
$this->loadTemplate("Modal/cookies.html.twig", "no_ajax_layout.html.twig", 53)->display($context);
// line 54
echo " ";
$this->loadTemplate("Modal/picture.html.twig", "no_ajax_layout.html.twig", 54)->display($context);
// line 55
echo " ";
$this->loadTemplate("Modal/register.html.twig", "no_ajax_layout.html.twig", 55)->display($context);
// line 56
echo "</main>
<div id=\"javascript-variables\">
<div data-name=\"musicInformationPath\">";
// line 59
echo twig_escape_filter($this->env, $this->extensions['App\Extensions\AjaxPathExtension']->ajaxPath("whiplay_music_informations", ["id" => 0]), "html", null, true);
echo "</div>
<div data-name=\"fileLikePath\">";
// line 60
echo twig_escape_filter($this->env, $this->extensions['App\Extensions\AjaxPathExtension']->ajaxPath("whiplay_file_like", ["id" => 0]), "html", null, true);
echo "</div>
<div data-name=\"globalUrl\">";
// line 61
echo twig_escape_filter($this->env, (isset($context["global_url"]) || array_key_exists("global_url", $context) ? $context["global_url"] : (function () { throw new RuntimeError('Variable "global_url" does not exist.', 61, $this->source); })()), "html", null, true);
echo "</div>
<div data-name=\"externalLoginPath\">";
// line 62
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_external_login");
echo "</div>
<div data-name=\"redirectedUrl\">";
// line 63
echo twig_escape_filter($this->env, $this->extensions['App\Extensions\UtilsExtension']->getRealRedirectUrlOnLoad(), "html", null, true);
echo "</div>
<div data-name=\"remainingStorage\">
";
// line 65
if ((array_key_exists("selectedThread", $context) && twig_get_attribute($this->env, $this->source, ($context["selectedThread"] ?? null), "band", [], "any", true, true, false, 65))) {
// line 66
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Extensions\StorageExtension']->remainingStorage(twig_get_attribute($this->env, $this->source, (isset($context["selectedThread"]) || array_key_exists("selectedThread", $context) ? $context["selectedThread"] : (function () { throw new RuntimeError('Variable "selectedThread" does not exist.', 66, $this->source); })()), "band", [], "any", false, false, false, 66)), "html", null, true);
echo "
";
} else {
// line 68
echo " ";
((array_key_exists("in_studio", $context)) ? (print (twig_escape_filter($this->env, $this->extensions['App\Extensions\StorageExtension']->remainingStorage((isset($context["band"]) || array_key_exists("band", $context) ? $context["band"] : (function () { throw new RuntimeError('Variable "band" does not exist.', 68, $this->source); })())), "html", null, true))) : (print (0)));
echo "
";
}
// line 70
echo " </div>
<div data-name=\"inStudio\">";
// line 71
echo ((array_key_exists("in_studio", $context)) ? ("true") : ("false"));
echo "</div>
<div data-name=\"locale\">";
// line 72
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.', 72, $this->source); })()), "request", [], "any", false, false, false, 72), "locale", [], "any", false, false, false, 72), "html", null, true);
echo "</div>
<div data-name=\"environment\">";
// line 73
echo twig_escape_filter($this->env, 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.', 73, $this->source); })()), "environment", [], "any", false, false, false, 73), "html", null, true);
echo "</div>
<div data-name=\"loggedUser\">";
// line 74
if ((0 === twig_compare(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); })()), "user", [], "any", false, false, false, 74), null))) {
echo "false";
} else {
echo "true";
}
echo "</div>
<div data-name=\"loggedUserId\">";
// line 75
if ((0 === twig_compare(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.', 75, $this->source); })()), "user", [], "any", false, false, false, 75), null))) {
echo "0";
} else {
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.', 75, $this->source); })()), "user", [], "any", false, false, false, 75), "id", [], "any", false, false, false, 75), "html", null, true);
}
echo "</div>
<div data-name=\"hcaptchaSiteKey\">";
// line 76
echo twig_escape_filter($this->env, (isset($context["hcaptcha_site_key"]) || array_key_exists("hcaptcha_site_key", $context) ? $context["hcaptcha_site_key"] : (function () { throw new RuntimeError('Variable "hcaptcha_site_key" does not exist.', 76, $this->source); })()), "html", null, true);
echo "</div>
<div data-name=\"messages\">
<div data-name=\"yes\">";
// line 78
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.yes"), "html", null, true);
echo "</div>
<div data-name=\"no\">";
// line 79
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.no"), "html", null, true);
echo "</div>
<div data-name=\"errorOccurred\">";
// line 80
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.error_occurred"), "html", null, true);
echo "</div>
<div data-name=\"loadingInProgress\">";
// line 81
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.loading_in_progress"), "html", null, true);
echo "</div>
<div data-name=\"noFileSelected\">";
// line 82
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("file.upload.no_file_selected"), "html", null, true);
echo "</div>
<div data-name=\"uploadError\">";
// line 83
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("file.upload.error"), "html", null, true);
echo "</div>
<div data-name=\"maximumThreads\">";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.premium.maximum_threads"), "html", null, true);
echo "</div>
<div data-name=\"stopMusic\">";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.stop_music"), "html", null, true);
echo "</div>
<div data-name=\"seeTheRest\">";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.see_the_rest"), "html", null, true);
echo "</div>
<div data-name=\"impossibleToPlay\">";
// line 87
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.impossible_to_play"), "html", null, true);
echo "</div>
<div data-name=\"presentInFolder\">";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.shifting.present_in_folder"), "html", null, true);
echo "</div>
<div data-name=\"shift\">";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.shifting.shift"), "html", null, true);
echo "</div>
<div data-name=\"showVideo\">";
// line 90
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.show_video"), "html", null, true);
echo "</div>
<div data-name=\"hideVideo\">";
// line 91
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.hide_video"), "html", null, true);
echo "</div>
<div data-name=\"of\">";
// line 92
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.premium.of"), "html", null, true);
echo "</div>
<div data-name=\"available\">";
// line 93
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.premium.available"), "html", null, true);
echo "</div>
<div data-name=\"refusedMap\">";
// line 94
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.refused_map"), "html", null, true);
echo "</div>
<div data-name=\"maps\">";
// line 95
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.maps"), "html", null, true);
echo "</div>
<div data-name=\"mapsExplanation\">";
// line 96
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.maps_explanation"), "html", null, true);
echo "</div>
<div data-name=\"analytics\">";
// line 97
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.analytics"), "html", null, true);
echo "</div>
<div data-name=\"analyticsExplanation\">";
// line 98
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.analytics_explanation"), "html", null, true);
echo "</div>
<div data-name=\"cookiesTitle\">";
// line 99
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.title"), "html", null, true);
echo "</div>
<div data-name=\"cookiesMessage\">";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.message"), "html", null, true);
echo "</div>
<div data-name=\"accept\">";
// line 101
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.accept"), "html", null, true);
echo "</div>
<div data-name=\"moreInformation\">";
// line 102
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.moreInformation"), "html", null, true);
echo "</div>
<div data-name=\"customize\">";
// line 103
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.customize"), "html", null, true);
echo "</div>
<div data-name=\"selectWanted\">";
// line 104
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.select_wanted"), "html", null, true);
echo "</div>
<div data-name=\"essentials\">";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.essentials"), "html", null, true);
echo "</div>
<div data-name=\"essentialsExplanation\">";
// line 106
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("javascript.cookies.essentials_explanation"), "html", null, true);
echo "</div>
</div>
</div>
";
// line 110
$this->displayBlock('javascripts', $context, $blocks);
// line 114
$this->displayBlock('specific_javascripts', $context, $blocks);
// line 117
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 14
public function block_stylesheets($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(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 15
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 17
public function block_specific_stylesheets($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(), "block", "specific_stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "specific_stylesheets"));
// line 18
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 38
public function block_body($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(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 39
echo " ";
$this->displayBlock('whiplay_body_head', $context, $blocks);
// line 41
echo " ";
$this->displayBlock('whiplay_body', $context, $blocks);
// line 43
echo " ";
$this->displayBlock('whiplay_body_foot', $context, $blocks);
// line 45
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 39
public function block_whiplay_body_head($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(), "block", "whiplay_body_head"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "whiplay_body_head"));
// line 40
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 41
public function block_whiplay_body($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(), "block", "whiplay_body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "whiplay_body"));
// line 42
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 43
public function block_whiplay_body_foot($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(), "block", "whiplay_body_foot"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "whiplay_body_foot"));
// line 44
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 49
public function block_whiplay_footer($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(), "block", "whiplay_footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "whiplay_footer"));
// line 50
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 110
public function block_javascripts($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(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 111
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
// line 112
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("main_js");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 114
public function block_specific_javascripts($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(), "block", "specific_javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "specific_javascripts"));
// line 115
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "no_ajax_layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 553 => 115, 543 => 114, 531 => 112, 526 => 111, 516 => 110, 506 => 50, 496 => 49, 486 => 44, 476 => 43, 466 => 42, 456 => 41, 446 => 40, 436 => 39, 426 => 45, 423 => 43, 420 => 41, 417 => 39, 407 => 38, 397 => 18, 387 => 17, 374 => 15, 364 => 14, 352 => 117, 350 => 114, 348 => 110, 341 => 106, 337 => 105, 333 => 104, 329 => 103, 325 => 102, 321 => 101, 317 => 100, 313 => 99, 309 => 98, 305 => 97, 301 => 96, 297 => 95, 293 => 94, 289 => 93, 285 => 92, 281 => 91, 277 => 90, 273 => 89, 269 => 88, 265 => 87, 261 => 86, 257 => 85, 253 => 84, 249 => 83, 245 => 82, 241 => 81, 237 => 80, 233 => 79, 229 => 78, 224 => 76, 216 => 75, 208 => 74, 204 => 73, 200 => 72, 196 => 71, 193 => 70, 187 => 68, 181 => 66, 179 => 65, 174 => 63, 170 => 62, 166 => 61, 162 => 60, 158 => 59, 153 => 56, 150 => 55, 147 => 54, 145 => 53, 141 => 51, 139 => 49, 136 => 48, 133 => 46, 131 => 38, 118 => 27, 116 => 26, 112 => 24, 108 => 23, 100 => 22, 95 => 19, 92 => 17, 90 => 14, 85 => 12, 77 => 7, 73 => 6, 69 => 5, 65 => 4, 61 => 3, 55 => 2, 52 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\" {{ sonata_seo_html_attributes() }}>
<head {{ sonata_seo_head_attributes() }}>
{{ sonata_seo_title() }}
{{ sonata_seo_metadatas() }}
{{ sonata_seo_link_canonical() }}
{{ sonata_seo_lang_alternates() }}
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=5'/>
<meta name=\"google-signin-client_id\"
content=\"498791792998-ihi42kvjei2f0ug9i6i1df938kvf27uc.apps.googleusercontent.com\">
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('favicon.png') }}\"/>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block specific_stylesheets %}
{% endblock %}
</head>
<body
data-studio=\"{% if in_studio is defined %}true{% else %}false{% endif %}\"
{% if app.request.attributes.get('_route') == 'whiplay_home' %}class=\"on-home\"{% endif %}
>
{% include (in_studio is defined) ? 'Studio/menu.html.twig' : 'menu.html.twig' %}
<main>
<div class=\"loading-layer\"></div>
<div class=\"loading\">
<div class=\"loading-bar\"></div>
<div class=\"loading-bar\"></div>
<div class=\"loading-bar\"></div>
<div class=\"loading-bar\"></div>
</div>
<div id=\"dynamic-body\">
{% block body %}
{% block whiplay_body_head %}
{% endblock %}
{% block whiplay_body %}
{% endblock %}
{% block whiplay_body_foot %}
{% endblock %}
{% endblock %}
</div>
{# DONT PUT ANYTHING BETWEEN DYNAMIC BODY AND FOOTER #}
<footer>
{% block whiplay_footer %}
{% endblock %}
</footer>
{% include 'Modal/cookies.html.twig' %}
{% include 'Modal/picture.html.twig' %}
{% include 'Modal/register.html.twig' %}
</main>
<div id=\"javascript-variables\">
<div data-name=\"musicInformationPath\">{{ 'whiplay_music_informations'|ajax_path({ id : 0 }) }}</div>
<div data-name=\"fileLikePath\">{{ 'whiplay_file_like'|ajax_path({ id : 0 }) }}</div>
<div data-name=\"globalUrl\">{{ global_url }}</div>
<div data-name=\"externalLoginPath\">{{ path('app_external_login') }}</div>
<div data-name=\"redirectedUrl\">{{ get_real_redirect_url_on_load() }}</div>
<div data-name=\"remainingStorage\">
{% if selectedThread is defined and selectedThread.band is defined %}
{{ remaining_storage(selectedThread.band) }}
{% else %}
{{ (in_studio is defined) ? remaining_storage(band) : 0 }}
{% endif %}
</div>
<div data-name=\"inStudio\">{{ (in_studio is defined) ? 'true' : 'false' }}</div>
<div data-name=\"locale\">{{ app.request.locale }}</div>
<div data-name=\"environment\">{{ app.environment }}</div>
<div data-name=\"loggedUser\">{% if app.user == null %}false{% else %}true{% endif %}</div>
<div data-name=\"loggedUserId\">{% if app.user == null %}0{% else %}{{ app.user.id }}{% endif %}</div>
<div data-name=\"hcaptchaSiteKey\">{{ hcaptcha_site_key }}</div>
<div data-name=\"messages\">
<div data-name=\"yes\">{{ 'common.yes'|trans }}</div>
<div data-name=\"no\">{{ 'common.no'|trans }}</div>
<div data-name=\"errorOccurred\">{{ 'common.error_occurred'|trans }}</div>
<div data-name=\"loadingInProgress\">{{ 'common.loading_in_progress'|trans }}</div>
<div data-name=\"noFileSelected\">{{ 'file.upload.no_file_selected'|trans }}</div>
<div data-name=\"uploadError\">{{ 'file.upload.error'|trans }}</div>
<div data-name=\"maximumThreads\">{{ 'javascript.premium.maximum_threads'|trans }}</div>
<div data-name=\"stopMusic\">{{ 'javascript.stop_music'|trans }}</div>
<div data-name=\"seeTheRest\">{{ 'javascript.see_the_rest'|trans }}</div>
<div data-name=\"impossibleToPlay\">{{ 'javascript.impossible_to_play'|trans }}</div>
<div data-name=\"presentInFolder\">{{ 'javascript.shifting.present_in_folder'|trans }}</div>
<div data-name=\"shift\">{{ 'javascript.shifting.shift'|trans }}</div>
<div data-name=\"showVideo\">{{ 'javascript.show_video'|trans }}</div>
<div data-name=\"hideVideo\">{{ 'javascript.hide_video'|trans }}</div>
<div data-name=\"of\">{{ 'javascript.premium.of'|trans }}</div>
<div data-name=\"available\">{{ 'javascript.premium.available'|trans }}</div>
<div data-name=\"refusedMap\">{{ 'javascript.cookies.refused_map'|trans }}</div>
<div data-name=\"maps\">{{ 'javascript.cookies.maps'|trans }}</div>
<div data-name=\"mapsExplanation\">{{ 'javascript.cookies.maps_explanation'|trans }}</div>
<div data-name=\"analytics\">{{ 'javascript.cookies.analytics'|trans }}</div>
<div data-name=\"analyticsExplanation\">{{ 'javascript.cookies.analytics_explanation'|trans }}</div>
<div data-name=\"cookiesTitle\">{{ 'javascript.cookies.title'|trans }}</div>
<div data-name=\"cookiesMessage\">{{ 'javascript.cookies.message'|trans }}</div>
<div data-name=\"accept\">{{ 'javascript.cookies.accept'|trans }}</div>
<div data-name=\"moreInformation\">{{ 'javascript.cookies.moreInformation'|trans }}</div>
<div data-name=\"customize\">{{ 'javascript.cookies.customize'|trans }}</div>
<div data-name=\"selectWanted\">{{ 'javascript.cookies.select_wanted'|trans }}</div>
<div data-name=\"essentials\">{{ 'javascript.cookies.essentials'|trans }}</div>
<div data-name=\"essentialsExplanation\">{{ 'javascript.cookies.essentials_explanation'|trans }}</div>
</div>
</div>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{{ encore_entry_script_tags('main_js') }}
{% endblock %}
{% block specific_javascripts %}
{% endblock %}
</body>
</html>
", "no_ajax_layout.html.twig", "/var/www/whiplay/whiplay/templates/no_ajax_layout.html.twig");
}
}