var/cache/dev/twig/73/735428352dff6ab7510eed9a65ec5837.php line 281

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* base.html.twig */
  14. class __TwigTemplate_0c0c2de0d9daf0cf7776eb5d56e1e377 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'title_suffix' => [$this'block_title_suffix'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'head_scripts' => [$this'block_head_scripts'],
  28.             'body' => [$this'block_body'],
  29.             'chat' => [$this'block_chat'],
  30.             'right' => [$this'block_right'],
  31.             'footer' => [$this'block_footer'],
  32.             'javascripts' => [$this'block_javascripts'],
  33.         ];
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  42.         // line 1
  43.         $context["isMember"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MEMBER");
  44.         // line 2
  45.         $context["isWebmasterArea"] = twig_in_filter("app_webmaster_"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse2), "attributes", [], "any"falsefalsefalse2), "get", ["_route"], "method"falsefalsefalse2));
  46.         // line 3
  47.         $context["isMessengerApp"] = twig_in_filter("app_messenger_messenger_"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "attributes", [], "any"falsefalsefalse3), "get", ["_route"], "method"falsefalsefalse3));
  48.         // line 4
  49.         $context["isOperatorApp"] = ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_OPERATOR") && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse4), "attributes", [], "any"falsefalsefalse4), "get", ["_route"], "method"falsefalsefalse4) == "app_messenger_operator_reactapp"));
  50.         // line 5
  51.         $context["isMassmailerApp"] = twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'5$this->source); })()), "request", [], "any"falsefalsefalse5), "attributes", [], "any"falsefalsefalse5), "get", ["_route"], "method"falsefalsefalse5), ["app_messenger_massmailer_detail""app_messenger_massmailer_allaccessdetail"]);
  52.         // line 6
  53.         echo "<!DOCTYPE html>
  54. <html lang=\"de\">
  55.     <head>
  56.         <title>";
  57.         // line 9
  58.         $this->displayBlock('title'$context$blocks);
  59.         echo "</title>
  60.         <meta charset=\"utf-8\">
  61.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=0\">
  62.         <meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\" />
  63.         <meta name=\"copyright\" content=\"Copyright &copy; ";
  64.         // line 13
  65.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  66.         echo " Frivol.com\" />
  67.         <meta name=\"content-language\" content=\"de\" />
  68.         <meta name=\"robots\" content=\"index, follow\" />
  69.         <meta name=\"google-site-verification\" content=\"9Ip7seZrghiufzfLkF-Rb13SnrxSmqKAZbBbRwg9gCo\" />
  70.         <meta name=\"abstract\" content=\"Frivol.com\" />
  71.         <meta name=\"title\" content=\"Frivol.com\" />
  72.         <meta name=\"description\" content=\"Frivol.com\" />
  73.         <meta name=\"audience\" content=\"all\" />
  74.         <meta name=\"revisit-after\" content=\"10 days\" />
  75.         <link rel=\"preload\" href=\"";
  76.         // line 22
  77.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/fonts/fa-solid-900.woff2"), "html"nulltrue);
  78.         echo "\" as=\"font\" crossorigin/>
  79.         <link rel=\"preload\" href=\"";
  80.         // line 23
  81.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/app.css"), "html"nulltrue);
  82.         echo "\" as=\"style\"/>
  83.         ";
  84.         // line 25
  85.         $this->displayBlock('stylesheets'$context$blocks);
  86.         // line 38
  87.         echo "
  88.         ";
  89.         // line 39
  90.         $this->loadTemplate("_widgets/google-tag-manager.html.twig""base.html.twig"39)->display($context);
  91.         // line 40
  92.         echo "        ";
  93.         $this->displayBlock('head_scripts'$context$blocks);
  94.         // line 41
  95.         echo "    </head>
  96.     <body>
  97.         <app>
  98.             <header class=\"container-fluid mb-1 navbar bg-primary flex-column p-0 fixed-top\">
  99.                 ";
  100.         // line 45
  101.         ob_start();
  102.         // line 46
  103.         echo "                    ";
  104.         $this->loadTemplate("_widgets/header-search.html.twig""base.html.twig"46)->display($context);
  105.         // line 47
  106.         echo "                ";
  107.         $context["search"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  108.         // line 48
  109.         echo "                <div class=\"row align-items-center flex-nowrap p-2 col-12\">
  110.                     <div class=\"col-6 col-sm-4 col-md-2 px-0\">
  111.                         <button class=\"hamburger hamburger--spin float-left mt-3 mx-2 d-md-none\" type=\"button\">
  112.                           <span class=\"hamburger-box\">
  113.                             <span class=\"hamburger-inner\"></span>
  114.                           </span>
  115.                         </button>
  116.                         ";
  117.         // line 56
  118.         if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'56$this->source); })())) {
  119.             // line 57
  120.             echo "                            <a class=\"navbar-brand logo text-hide float-left mr-0 ml-md-1\" href=\"";
  121.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home_index");
  122.             echo "\">
  123.                                 Frivol.com
  124.                             </a>
  125.                         ";
  126.         } else {
  127.             // line 61
  128.             echo "                            <a class=\"navbar-brand logo text-hide float-left mr-0 ml-md-1\" href=\"";
  129.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_webmaster_dashboard_index");
  130.             echo "\">
  131.                                 Frivol.com Webmaster
  132.                             </a>
  133.                         ";
  134.         }
  135.         // line 65
  136.         echo "                    </div>
  137.                     <div class=\"d-none d-sm-block col-sm-4 text-white px-0 pl-md-3\">
  138.                         ";
  139.         // line 68
  140.         if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'68$this->source); })())) {
  141.             // line 69
  142.             echo "                            ";
  143.             echo twig_escape_filter($this->env, (isset($context["search"]) || array_key_exists("search"$context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.'69$this->source); })()), "html"nulltrue);
  144.             echo "
  145.                         ";
  146.         }
  147.         // line 71
  148.         echo "                    </div>
  149.                     ";
  150.         // line 73
  151.         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.'73$this->source); })()), "user", [], "any"falsefalsefalse73)) {
  152.             // line 74
  153.             echo "                        <div class=\"col-6 col-sm-4 col-md-6 px-0 text-white text-right header-member-logged-in\">
  154.                             ";
  155.             // line 75
  156.             if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'75$this->source); })())) {
  157.                 // line 76
  158.                 echo "                                <div id=\"header-app\"></div>
  159.                             ";
  160.             } else {
  161.                 // line 78
  162.                 echo "                                ";
  163.                 $this->loadTemplate("_widgets/header-dropdown-menu-webmaster.html.twig""base.html.twig"78)->display($context);
  164.                 // line 79
  165.                 echo "                            ";
  166.             }
  167.             // line 80
  168.             echo "                        </div>
  169.                     ";
  170.         } else {
  171.             // line 82
  172.             echo "                        <div class=\"col-6 col-md-5 d-none d-md-flex  text-white text-right p-0\">
  173.                             ";
  174.             // line 83
  175.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\SecurityController::widget"));
  176.             echo "
  177.                         </div>
  178.                         <div class=\"col-6 col-sm-3 col-md-1 pr-1 pr-md-3\">
  179.                             <div class=\"btn-group btn-group-sm float-right\">
  180.                                 <a href=\"";
  181.             // line 87
  182.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  183.             echo "\" class=\"btn btn-action border-0 text-nowrap d-md-none text-white mr-1\">
  184.                                     <span class=\"icon d-none d-md-inline\">
  185.                                         <i class=\"fas fa-sign-in-alt\"></i>
  186.                                     </span>
  187.                                     <span class=\"d-inline\">Login</span>
  188.                                 </a>
  189.                                 <a href=\"";
  190.             // line 94
  191.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_security_registration");
  192.             echo "\" class=\"btn btn-action border-0 text-nowrap text-white\">
  193.                                     <span class=\"icon d-none d-md-inline\">
  194.                                         <i class=\"fas fa-user-plus\"></i>
  195.                                     </span>
  196.                                     <span class=\"d-inline d-xl-none\">Registrieren</span>
  197.                                     <span class=\"d-none d-xl-inline\">Kostenlos registrieren</span>
  198.                                 </a>
  199.                             </div>
  200.                         </div>
  201.                     ";
  202.         }
  203.         // line 105
  204.         echo "                </div>
  205.                 <div class=\"row align-items-center flex-nowrap py-2 col-12 d-none d-md-none\">
  206.                     ";
  207.         // line 108
  208.         echo twig_escape_filter($this->env, (isset($context["search"]) || array_key_exists("search"$context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.'108$this->source); })()), "html"nulltrue);
  209.         echo "
  210.                 </div>
  211.                 <nav class=\"navbar row bg-grey-10 p-0 flex-nowrap col-12\" id=\"navbarMain\">
  212.                     ";
  213.         // line 112
  214.         if ((isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'112$this->source); })())) {
  215.             // line 113
  216.             echo "                        ";
  217.             $this->loadTemplate("_structure/menu-navbar-webmaster.html.twig""base.html.twig"113)->display($context);
  218.             // line 114
  219.             echo "                    ";
  220.         } else {
  221.             // line 115
  222.             echo "                        ";
  223.             $this->loadTemplate("_structure/menu-navbar.html.twig""base.html.twig"115)->display($context);
  224.             // line 116
  225.             echo "                    ";
  226.         }
  227.         // line 117
  228.         echo "                </nav>
  229.             </header>
  230.             <content>
  231.                 <section class=\"container-fluid\">
  232.                     <div class=\"row align-items-top py-2\">
  233.                         <div class=\"";
  234.         // line 123
  235.         echo twig_escape_filter($this->env, ((array_key_exists("mainColumnClass"$context)) ? (_twig_default_filter((isset($context["mainColumnClass"]) || array_key_exists("mainColumnClass"$context) ? $context["mainColumnClass"] : (function () { throw new RuntimeError('Variable "mainColumnClass" does not exist.'123$this->source); })()), "col-12 col-md-9")) : ("col-12 col-md-9")), "html"nulltrue);
  236.         echo "\">
  237.                             <div id=\"messages-banner\"></div>
  238.                             <section class=\"xhr-container\">
  239.                                 ";
  240.         // line 127
  241.         $this->displayBlock('body'$context$blocks);
  242.         // line 129
  243.         echo "                            </section>
  244.                             ";
  245.         // line 131
  246.         $this->displayBlock('chat'$context$blocks);
  247.         // line 138
  248.         echo "                        </div>
  249.                         ";
  250.         // line 140
  251.         $this->displayBlock('right'$context$blocks);
  252.         // line 146
  253.         echo "                    </div>
  254.                 </section>
  255.             </content>
  256.             ";
  257.         // line 151
  258.         $this->displayBlock('footer'$context$blocks);
  259.         // line 164
  260.         echo "        </app>
  261.         <div aria-live=\"polite\" aria-atomic=\"true\">
  262.             <div id=\"toast-messages\" class=\"position-absolute\">
  263.             </div>
  264.         </div>
  265.         ";
  266.         // line 170
  267.         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.'170$this->source); })()), "user", [], "any"falsefalsefalse170)) {
  268.             // line 171
  269.             echo "            <div class=\"\">
  270.                 ";
  271.             // line 172
  272.             $this->loadTemplate("_structure/bonus-mobile-modal.html.twig""base.html.twig"172)->display($context);
  273.             // line 173
  274.             echo "            </div>
  275.         ";
  276.         }
  277.         // line 175
  278.         echo "
  279.         ";
  280.         // line 176
  281.         $this->displayBlock('javascripts'$context$blocks);
  282.         // line 252
  283.         echo "    </body>
  284. </html>
  285. ";
  286.         
  287.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  288.         
  289.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  290.     }
  291.     // line 9
  292.     public function block_title($context, array $blocks = [])
  293.     {
  294.         $macros $this->macros;
  295.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  296.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  298.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  299.         echo "Frivol.com";
  300.         echo (((isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'9$this->source); })())) ? ("-  Webmaster") : (""));
  301.         echo " - ";
  302.         $this->displayBlock('title_suffix'$context$blocks);
  303.         
  304.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  305.         
  306.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  307.     }
  308.     public function block_title_suffix($context, array $blocks = [])
  309.     {
  310.         $macros $this->macros;
  311.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  312.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title_suffix"));
  313.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  314.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title_suffix"));
  315.         
  316.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  317.         
  318.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  319.     }
  320.     // line 25
  321.     public function block_stylesheets($context, array $blocks = [])
  322.     {
  323.         $macros $this->macros;
  324.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  326.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  328.         // line 26
  329.         echo "            <link rel=\"canonical\" href=\"\" />
  330.             <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"";
  331.         // line 27
  332.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("apple-touch-icon.png"), "html"nulltrue);
  333.         echo "\">
  334.             <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  335.         // line 28
  336.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-32x32.png"), "html"nulltrue);
  337.         echo "\">
  338.             <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  339.         // line 29
  340.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-16x16.png"), "html"nulltrue);
  341.         echo "\">
  342.             <link rel=\"mask-icon\" href=\"";
  343.         // line 30
  344.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("safari-pinned-tab.svg"), "html"nulltrue);
  345.         echo "\" color=\"#5bbad5\">
  346.             <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  347.             <meta name=\"theme-color\" content=\"#ffffff\">
  348.             <link rel=\"manifest\" href=\"";
  349.         // line 34
  350.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.webmanifest"), "html"nulltrue);
  351.         echo "\">
  352.             <link rel=\"manifest\" href=\"";
  353.         // line 35
  354.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/manifest.json"), "html"nulltrue);
  355.         echo "\">
  356.             <link rel=\"stylesheet\" href=\"";
  357.         // line 36
  358.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/app.css"), "html"nulltrue);
  359.         echo "\"/>
  360.         ";
  361.         
  362.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  363.         
  364.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  365.     }
  366.     // line 40
  367.     public function block_head_scripts($context, array $blocks = [])
  368.     {
  369.         $macros $this->macros;
  370.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  371.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_scripts"));
  372.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  373.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_scripts"));
  374.         
  375.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  376.         
  377.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  378.     }
  379.     // line 127
  380.     public function block_body($context, array $blocks = [])
  381.     {
  382.         $macros $this->macros;
  383.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  384.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  386.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  387.         // line 128
  388.         echo "                                ";
  389.         
  390.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  391.         
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  393.     }
  394.     // line 131
  395.     public function block_chat($context, array $blocks = [])
  396.     {
  397.         $macros $this->macros;
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  399.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""chat"));
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  401.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""chat"));
  402.         // line 132
  403.         echo "                                ";
  404.         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.'132$this->source); })()), "user", [], "any"falsefalsefalse132)) {
  405.             // line 133
  406.             echo "                                    ";
  407.             if ((( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'133$this->source); })()) &&  !(isset($context["isOperatorApp"]) || array_key_exists("isOperatorApp"$context) ? $context["isOperatorApp"] : (function () { throw new RuntimeError('Variable "isOperatorApp" does not exist.'133$this->source); })())) &&  !(isset($context["isMessengerApp"]) || array_key_exists("isMessengerApp"$context) ? $context["isMessengerApp"] : (function () { throw new RuntimeError('Variable "isMessengerApp" does not exist.'133$this->source); })()))) {
  408.                 // line 134
  409.                 echo "                                        <section id=\"react-messenger-chat\" class=\"d-none d-md-block\"></section>
  410.                                     ";
  411.             }
  412.             // line 136
  413.             echo "                                ";
  414.         }
  415.         // line 137
  416.         echo "                            ";
  417.         
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  419.         
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  421.     }
  422.     // line 140
  423.     public function block_right($context, array $blocks = [])
  424.     {
  425.         $macros $this->macros;
  426.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""right"));
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  429.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""right"));
  430.         // line 141
  431.         echo "                            <aside id=\"sidebar-banner\" class=\"col-3 d-none d-md-block bg-secondary p-1\">
  432.                                 ";
  433.         // line 142
  434.         $this->loadTemplate("_structure/aside.html.twig""base.html.twig"142)->display($context);
  435.         // line 143
  436.         echo "                                ";
  437.         $this->loadTemplate("_widgets/aside-bonus.html.twig""base.html.twig"143)->display($context);
  438.         // line 144
  439.         echo "                            </aside>
  440.                         ";
  441.         
  442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  443.         
  444.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  445.     }
  446.     // line 151
  447.     public function block_footer($context, array $blocks = [])
  448.     {
  449.         $macros $this->macros;
  450.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  451.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  452.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  453.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  454.         // line 152
  455.         echo "                <footer class=\"container-fluid bg-secondary pt-3\">
  456.                     <div class=\"row\">
  457.                         <div class=\"";
  458.         // line 154
  459.         echo twig_escape_filter($this->env, ((array_key_exists("mainColumnClass"$context)) ? (_twig_default_filter((isset($context["mainColumnClass"]) || array_key_exists("mainColumnClass"$context) ? $context["mainColumnClass"] : (function () { throw new RuntimeError('Variable "mainColumnClass" does not exist.'154$this->source); })()), "col-12 col-md-9")) : ("col-12 col-md-9")), "html"nulltrue);
  460.         echo "\">
  461.                             ";
  462.         // line 155
  463.         $this->loadTemplate("_structure/footer-links.html.twig""base.html.twig"155)->display($context);
  464.         // line 156
  465.         echo "                        </div>
  466.                     </div>
  467.                     <div class=\"row no-gutters\">
  468.                         <div class=\"col-12 col-md-9\" id=\"js-footer-webmaster-reference\">
  469.                         </div>
  470.                     </div>
  471.                 </footer>
  472.             ";
  473.         
  474.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  475.         
  476.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  477.     }
  478.     // line 176
  479.     public function block_javascripts($context, array $blocks = [])
  480.     {
  481.         $macros $this->macros;
  482.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  483.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  484.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  485.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  486.         // line 177
  487.         echo "            <script type=\"text/javascript\">
  488.                 ";
  489.         // line 178
  490.         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.'178$this->source); })()), "user", [], "any"falsefalsefalse178)) {
  491.             // line 179
  492.             echo "                    let frivolWebsocketUrl =  \"";
  493.             echo twig_escape_filter($this->env$this->extensions['App\Twig\MiscExtension']->getWebsocketUrl(), "html"nulltrue);
  494.             echo "\";
  495.                 ";
  496.         }
  497.         // line 181
  498.         echo "            </script>
  499.             ";
  500.         // line 183
  501.         if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'183$this->source); })())) {
  502.             // line 184
  503.             echo "                ";
  504.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("websocket");
  505.             echo "
  506.                 ";
  507.             // line 185
  508.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  509.             echo "
  510.             ";
  511.         }
  512.         // line 187
  513.         echo "
  514.             ";
  515.         // line 188
  516.         if ((isset($context["isOperatorApp"]) || array_key_exists("isOperatorApp"$context) ? $context["isOperatorApp"] : (function () { throw new RuntimeError('Variable "isOperatorApp" does not exist.'188$this->source); })())) {
  517.             // line 189
  518.             echo "                ";
  519.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("react-operator-app");
  520.             echo "
  521.             ";
  522.         } elseif (        // line 190
  523. (isset($context["isMassmailerApp"]) || array_key_exists("isMassmailerApp"$context) ? $context["isMassmailerApp"] : (function () { throw new RuntimeError('Variable "isMassmailerApp" does not exist.'190$this->source); })())) {
  524.             // line 191
  525.             echo "                ";
  526.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("react-massmailer-app");
  527.             echo "
  528.             ";
  529.         } elseif (        // line 192
  530. (isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'192$this->source); })())) {
  531.             // line 193
  532.             echo "                ";
  533.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("webmaster-area");
  534.             echo "
  535.             ";
  536.         } elseif (        // line 194
  537. (isset($context["isMessengerApp"]) || array_key_exists("isMessengerApp"$context) ? $context["isMessengerApp"] : (function () { throw new RuntimeError('Variable "isMessengerApp" does not exist.'194$this->source); })())) {
  538.             // line 195
  539.             echo "                ";
  540.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("react-messenger-app");
  541.             echo "
  542.             ";
  543.         } else {
  544.             // line 197
  545.             echo "                ";
  546.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("react-apps");
  547.             echo "
  548.             ";
  549.         }
  550.         // line 199
  551.         echo "
  552.             ";
  553.         // line 200
  554.         if ( !(isset($context["isWebmasterArea"]) || array_key_exists("isWebmasterArea"$context) ? $context["isWebmasterArea"] : (function () { throw new RuntimeError('Variable "isWebmasterArea" does not exist.'200$this->source); })())) {
  555.             // line 201
  556.             echo "                <script type=\"text/javascript\" src=\"";
  557.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/typeahead.bundle.min.js"), "html"nulltrue);
  558.             echo "\"></script>
  559.                 <script type=\"text/javascript\">
  560.                     var results = new Bloodhound({
  561.                         initialize: true,
  562.                         datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
  563.                         queryTokenizer: Bloodhound.tokenizers.whitespace,
  564.                         prefetch: {
  565.                             url: '/sgst/prefetch',
  566.                         },
  567.                         remote: {
  568.                             url: '/sgst?term=%QUERY',
  569.                             wildcard: '%QUERY'
  570.                         }
  571.                     });
  572.                     let outputSection = null;
  573.                     \$('.typeahead').typeahead({
  574.                         hint: true,
  575.                         highlight: true,
  576.                         minLength: 1,
  577.                         classNames: {
  578.                             menu: 'dropdown-menu suggest-dropdown-menu',
  579.                             selectable: 'dropdown-item suggest-dropdown-item'
  580.                         }
  581.                     }, {
  582.                         name: 'gs_term',
  583.                         limit: 30,
  584.                         source: results,
  585.                         async: true,
  586.                         templates: {
  587.                             notFound: 'Keine Treffer',
  588.                             pending: 'Lädt...',
  589.                             suggestion: Handlebars.compile(
  590.                                 '<div>'+
  591.                                 '\\{\\{\\# if total\\}\\}<a href=\"\\{\\{totalHref\\}\\}\" class=\"d-flex flex-row\"><span class=\"badge badge-secondary pull-left\">\\{\\{total\\}\\} \\{\\{totalType\\}\\}</span></a>\\{\\{/if\\}\\}'+
  592.                                 '<a href=\"\\{\\{href\\}\\}\" class=\"d-flex flex-row\">'+
  593.                                 '\\{\\{\\# gt age 17 \\}\\}<span class=\"\\{\\{\\# if onl\\}\\} \\{\\{onl\\}\\}\\{\\{\\/if\\}\\}\"></span><img src=\"\\{\\{img\\}\\}\" class=\"dropdown-item-avatar rounded-circle\" alt=\"avatar\"/>'+
  594.                                 '\\{\\{else\\}\\}<img class=\"dropdown-item-preview\" src=\"\\{\\{img\\}\\}\" alt=\"preview\"/>'+
  595.                                 '\\{\\{/gt\\}\\}' +
  596.                                 '<span class=\"dropdown-item-text\">\\{\\{value\\}\\}\\{\\{\\# gt age 17 \\}\\}, \\{\\{age\\}\\}\\{\\{/gt\\}\\}</span>'+
  597.                                 '</a>'+
  598.                                 '</div>',
  599.                                 {
  600.                                     strict: true
  601.                                 }
  602.                             )
  603.                         }
  604.                     });
  605.                 </script>
  606.             ";
  607.         }
  608.         // line 251
  609.         echo "        ";
  610.         
  611.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  612.         
  613.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  614.     }
  615.     public function getTemplateName()
  616.     {
  617.         return "base.html.twig";
  618.     }
  619.     public function isTraitable()
  620.     {
  621.         return false;
  622.     }
  623.     public function getDebugInfo()
  624.     {
  625.         return array (  681 => 251,  627 => 201,  625 => 200,  622 => 199,  616 => 197,  610 => 195,  608 => 194,  603 => 193,  601 => 192,  596 => 191,  594 => 190,  589 => 189,  587 => 188,  584 => 187,  579 => 185,  574 => 184,  572 => 183,  568 => 181,  562 => 179,  560 => 178,  557 => 177,  547 => 176,  530 => 156,  528 => 155,  524 => 154,  520 => 152,  510 => 151,  499 => 144,  496 => 143,  494 => 142,  491 => 141,  481 => 140,  471 => 137,  468 => 136,  464 => 134,  461 => 133,  458 => 132,  448 => 131,  438 => 128,  428 => 127,  410 => 40,  398 => 36,  394 => 35,  390 => 34,  383 => 30,  379 => 29,  375 => 28,  371 => 27,  368 => 26,  358 => 25,  319 => 9,  307 => 252,  305 => 176,  302 => 175,  298 => 173,  296 => 172,  293 => 171,  291 => 170,  283 => 164,  281 => 151,  274 => 146,  272 => 140,  268 => 138,  266 => 131,  262 => 129,  260 => 127,  253 => 123,  245 => 117,  242 => 116,  239 => 115,  236 => 114,  233 => 113,  231 => 112,  224 => 108,  219 => 105,  205 => 94,  195 => 87,  188 => 83,  185 => 82,  181 => 80,  178 => 79,  175 => 78,  171 => 76,  169 => 75,  166 => 74,  164 => 73,  160 => 71,  154 => 69,  152 => 68,  147 => 65,  139 => 61,  131 => 57,  129 => 56,  119 => 48,  116 => 47,  113 => 46,  111 => 45,  105 => 41,  102 => 40,  100 => 39,  97 => 38,  95 => 25,  90 => 23,  86 => 22,  74 => 13,  67 => 9,  62 => 6,  60 => 5,  58 => 4,  56 => 3,  54 => 2,  52 => 1,);
  626.     }
  627.     public function getSourceContext()
  628.     {
  629.         return new Source("{% set isMember = is_granted('ROLE_MEMBER') %}
  630. {% set isWebmasterArea = 'app_webmaster_' in app.request.attributes.get('_route')  %}
  631. {% set isMessengerApp = 'app_messenger_messenger_' in app.request.attributes.get('_route')  %}
  632. {% set isOperatorApp = is_granted('ROLE_OPERATOR') and app.request.attributes.get('_route') == 'app_messenger_operator_reactapp' %}
  633. {% set isMassmailerApp = app.request.attributes.get('_route') in ['app_messenger_massmailer_detail', 'app_messenger_massmailer_allaccessdetail'] %}
  634. <!DOCTYPE html>
  635. <html lang=\"de\">
  636.     <head>
  637.         <title>{% block title %}Frivol.com{{ isWebmasterArea ? '-  Webmaster' : '' }} - {% block title_suffix %}{% endblock %}{% endblock %}</title>
  638.         <meta charset=\"utf-8\">
  639.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=0\">
  640.         <meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\" />
  641.         <meta name=\"copyright\" content=\"Copyright &copy; {{ 'now'|date('Y') }} Frivol.com\" />
  642.         <meta name=\"content-language\" content=\"de\" />
  643.         <meta name=\"robots\" content=\"index, follow\" />
  644.         <meta name=\"google-site-verification\" content=\"9Ip7seZrghiufzfLkF-Rb13SnrxSmqKAZbBbRwg9gCo\" />
  645.         <meta name=\"abstract\" content=\"Frivol.com\" />
  646.         <meta name=\"title\" content=\"Frivol.com\" />
  647.         <meta name=\"description\" content=\"Frivol.com\" />
  648.         <meta name=\"audience\" content=\"all\" />
  649.         <meta name=\"revisit-after\" content=\"10 days\" />
  650.         <link rel=\"preload\" href=\"{{ asset(\"build/fonts/fa-solid-900.woff2\") }}\" as=\"font\" crossorigin/>
  651.         <link rel=\"preload\" href=\"{{ asset('build/app.css') }}\" as=\"style\"/>
  652.         {% block stylesheets %}
  653.             <link rel=\"canonical\" href=\"\" />
  654.             <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"{{ asset('apple-touch-icon.png') }}\">
  655.             <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('favicon-32x32.png') }}\">
  656.             <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('favicon-16x16.png') }}\">
  657.             <link rel=\"mask-icon\" href=\"{{ asset('safari-pinned-tab.svg') }}\" color=\"#5bbad5\">
  658.             <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  659.             <meta name=\"theme-color\" content=\"#ffffff\">
  660.             <link rel=\"manifest\" href=\"{{ asset('favicon.webmanifest') }}\">
  661.             <link rel=\"manifest\" href=\"{{ asset('build/manifest.json') }}\">
  662.             <link rel=\"stylesheet\" href=\"{{ asset('build/app.css') }}\"/>
  663.         {% endblock %}
  664.         {% include '_widgets/google-tag-manager.html.twig' %}
  665.         {% block head_scripts %}{% endblock %}
  666.     </head>
  667.     <body>
  668.         <app>
  669.             <header class=\"container-fluid mb-1 navbar bg-primary flex-column p-0 fixed-top\">
  670.                 {% set search %}
  671.                     {% include '_widgets/header-search.html.twig' %}
  672.                 {% endset %}
  673.                 <div class=\"row align-items-center flex-nowrap p-2 col-12\">
  674.                     <div class=\"col-6 col-sm-4 col-md-2 px-0\">
  675.                         <button class=\"hamburger hamburger--spin float-left mt-3 mx-2 d-md-none\" type=\"button\">
  676.                           <span class=\"hamburger-box\">
  677.                             <span class=\"hamburger-inner\"></span>
  678.                           </span>
  679.                         </button>
  680.                         {% if not isWebmasterArea %}
  681.                             <a class=\"navbar-brand logo text-hide float-left mr-0 ml-md-1\" href=\"{{ path('app_home_index') }}\">
  682.                                 Frivol.com
  683.                             </a>
  684.                         {% else %}
  685.                             <a class=\"navbar-brand logo text-hide float-left mr-0 ml-md-1\" href=\"{{ path('app_webmaster_dashboard_index') }}\">
  686.                                 Frivol.com Webmaster
  687.                             </a>
  688.                         {% endif %}
  689.                     </div>
  690.                     <div class=\"d-none d-sm-block col-sm-4 text-white px-0 pl-md-3\">
  691.                         {% if not isWebmasterArea %}
  692.                             {{ search }}
  693.                         {% endif %}
  694.                     </div>
  695.                     {% if app.user %}
  696.                         <div class=\"col-6 col-sm-4 col-md-6 px-0 text-white text-right header-member-logged-in\">
  697.                             {% if not isWebmasterArea %}
  698.                                 <div id=\"header-app\"></div>
  699.                             {% else %}
  700.                                 {% include '_widgets/header-dropdown-menu-webmaster.html.twig' %}
  701.                             {% endif %}
  702.                         </div>
  703.                     {% else %}
  704.                         <div class=\"col-6 col-md-5 d-none d-md-flex  text-white text-right p-0\">
  705.                             {{ render(controller('App\\\\Controller\\\\SecurityController::widget')) }}
  706.                         </div>
  707.                         <div class=\"col-6 col-sm-3 col-md-1 pr-1 pr-md-3\">
  708.                             <div class=\"btn-group btn-group-sm float-right\">
  709.                                 <a href=\"{{ path('login') }}\" class=\"btn btn-action border-0 text-nowrap d-md-none text-white mr-1\">
  710.                                     <span class=\"icon d-none d-md-inline\">
  711.                                         <i class=\"fas fa-sign-in-alt\"></i>
  712.                                     </span>
  713.                                     <span class=\"d-inline\">Login</span>
  714.                                 </a>
  715.                                 <a href=\"{{ path('app_security_registration') }}\" class=\"btn btn-action border-0 text-nowrap text-white\">
  716.                                     <span class=\"icon d-none d-md-inline\">
  717.                                         <i class=\"fas fa-user-plus\"></i>
  718.                                     </span>
  719.                                     <span class=\"d-inline d-xl-none\">Registrieren</span>
  720.                                     <span class=\"d-none d-xl-inline\">Kostenlos registrieren</span>
  721.                                 </a>
  722.                             </div>
  723.                         </div>
  724.                     {% endif %}
  725.                 </div>
  726.                 <div class=\"row align-items-center flex-nowrap py-2 col-12 d-none d-md-none\">
  727.                     {{ search }}
  728.                 </div>
  729.                 <nav class=\"navbar row bg-grey-10 p-0 flex-nowrap col-12\" id=\"navbarMain\">
  730.                     {% if isWebmasterArea %}
  731.                         {% include '_structure/menu-navbar-webmaster.html.twig' %}
  732.                     {% else %}
  733.                         {% include '_structure/menu-navbar.html.twig' %}
  734.                     {% endif %}
  735.                 </nav>
  736.             </header>
  737.             <content>
  738.                 <section class=\"container-fluid\">
  739.                     <div class=\"row align-items-top py-2\">
  740.                         <div class=\"{{ mainColumnClass|default('col-12 col-md-9') }}\">
  741.                             <div id=\"messages-banner\"></div>
  742.                             <section class=\"xhr-container\">
  743.                                 {% block body %}
  744.                                 {% endblock %}
  745.                             </section>
  746.                             {% block chat %}
  747.                                 {% if app.user %}
  748.                                     {% if not isWebmasterArea and not isOperatorApp and not isMessengerApp %}
  749.                                         <section id=\"react-messenger-chat\" class=\"d-none d-md-block\"></section>
  750.                                     {% endif %}
  751.                                 {% endif %}
  752.                             {% endblock %}
  753.                         </div>
  754.                         {% block right %}
  755.                             <aside id=\"sidebar-banner\" class=\"col-3 d-none d-md-block bg-secondary p-1\">
  756.                                 {% include '_structure/aside.html.twig' %}
  757.                                 {% include '_widgets/aside-bonus.html.twig' %}
  758.                             </aside>
  759.                         {% endblock %}
  760.                     </div>
  761.                 </section>
  762.             </content>
  763.             {% block footer %}
  764.                 <footer class=\"container-fluid bg-secondary pt-3\">
  765.                     <div class=\"row\">
  766.                         <div class=\"{{ mainColumnClass|default('col-12 col-md-9') }}\">
  767.                             {% include '_structure/footer-links.html.twig' %}
  768.                         </div>
  769.                     </div>
  770.                     <div class=\"row no-gutters\">
  771.                         <div class=\"col-12 col-md-9\" id=\"js-footer-webmaster-reference\">
  772.                         </div>
  773.                     </div>
  774.                 </footer>
  775.             {% endblock %}
  776.         </app>
  777.         <div aria-live=\"polite\" aria-atomic=\"true\">
  778.             <div id=\"toast-messages\" class=\"position-absolute\">
  779.             </div>
  780.         </div>
  781.         {% if app.user %}
  782.             <div class=\"\">
  783.                 {% include '_structure/bonus-mobile-modal.html.twig' %}
  784.             </div>
  785.         {% endif %}
  786.         {% block javascripts %}
  787.             <script type=\"text/javascript\">
  788.                 {% if app.user %}
  789.                     let frivolWebsocketUrl =  \"{{ websocketUrl() }}\";
  790.                 {% endif %}
  791.             </script>
  792.             {% if not isWebmasterArea %}
  793.                 {{ encore_entry_script_tags('websocket') }}
  794.                 {{ encore_entry_script_tags('app') }}
  795.             {% endif %}
  796.             {% if isOperatorApp %}
  797.                 {{ encore_entry_script_tags('react-operator-app') }}
  798.             {% elseif isMassmailerApp %}
  799.                 {{ encore_entry_script_tags('react-massmailer-app') }}
  800.             {% elseif isWebmasterArea %}
  801.                 {{ encore_entry_script_tags('webmaster-area') }}
  802.             {% elseif isMessengerApp %}
  803.                 {{ encore_entry_script_tags('react-messenger-app') }}
  804.             {% else %}
  805.                 {{ encore_entry_script_tags('react-apps') }}
  806.             {% endif %}
  807.             {% if not isWebmasterArea %}
  808.                 <script type=\"text/javascript\" src=\"{{ asset('js/typeahead.bundle.min.js') }}\"></script>
  809.                 <script type=\"text/javascript\">
  810.                     var results = new Bloodhound({
  811.                         initialize: true,
  812.                         datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
  813.                         queryTokenizer: Bloodhound.tokenizers.whitespace,
  814.                         prefetch: {
  815.                             url: '/sgst/prefetch',
  816.                         },
  817.                         remote: {
  818.                             url: '/sgst?term=%QUERY',
  819.                             wildcard: '%QUERY'
  820.                         }
  821.                     });
  822.                     let outputSection = null;
  823.                     \$('.typeahead').typeahead({
  824.                         hint: true,
  825.                         highlight: true,
  826.                         minLength: 1,
  827.                         classNames: {
  828.                             menu: 'dropdown-menu suggest-dropdown-menu',
  829.                             selectable: 'dropdown-item suggest-dropdown-item'
  830.                         }
  831.                     }, {
  832.                         name: 'gs_term',
  833.                         limit: 30,
  834.                         source: results,
  835.                         async: true,
  836.                         templates: {
  837.                             notFound: 'Keine Treffer',
  838.                             pending: 'Lädt...',
  839.                             suggestion: Handlebars.compile(
  840.                                 '<div>'+
  841.                                 '\\{\\{\\# if total\\}\\}<a href=\"\\{\\{totalHref\\}\\}\" class=\"d-flex flex-row\"><span class=\"badge badge-secondary pull-left\">\\{\\{total\\}\\} \\{\\{totalType\\}\\}</span></a>\\{\\{/if\\}\\}'+
  842.                                 '<a href=\"\\{\\{href\\}\\}\" class=\"d-flex flex-row\">'+
  843.                                 '\\{\\{\\# gt age 17 \\}\\}<span class=\"\\{\\{\\# if onl\\}\\} \\{\\{onl\\}\\}\\{\\{\\/if\\}\\}\"></span><img src=\"\\{\\{img\\}\\}\" class=\"dropdown-item-avatar rounded-circle\" alt=\"avatar\"/>'+
  844.                                 '\\{\\{else\\}\\}<img class=\"dropdown-item-preview\" src=\"\\{\\{img\\}\\}\" alt=\"preview\"/>'+
  845.                                 '\\{\\{/gt\\}\\}' +
  846.                                 '<span class=\"dropdown-item-text\">\\{\\{value\\}\\}\\{\\{\\# gt age 17 \\}\\}, \\{\\{age\\}\\}\\{\\{/gt\\}\\}</span>'+
  847.                                 '</a>'+
  848.                                 '</div>',
  849.                                 {
  850.                                     strict: true
  851.                                 }
  852.                             )
  853.                         }
  854.                     });
  855.                 </script>
  856.             {% endif %}
  857.         {% endblock %}
  858.     </body>
  859. </html>
  860. ""base.html.twig""/var/www/frontend-dev/apps/frontend/templates/base.html.twig");
  861.     }
  862. }