<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* base.html.twig */
class __TwigTemplate_d1a874b414dacdd4f80a15426b1972d9 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1.0\"/>
<title>STV ADMIN ";
// line 6
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
<link rel=\"icon\" href=\"/images/favicon.png\">
";
// line 8
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 11
yield " <script>
var sspmgr = {
roles: ";
// line 13
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 13, $this->source); })()), "user", [], "any", false, false, false, 13)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 13, $this->source); })()), "user", [], "any", false, false, false, 13), "roles", [], "any", false, false, false, 13));
} else {
yield "[]";
}
// line 14
yield " }
</script>
";
// line 16
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 19
yield "</head>
<body>
<nav class=\"stv-grey\" role=\"navigation\">
<div class=\"nav-wrapper\">
<a id=\"logo-container\" href=\"/\" class=\"brand-logo\">
<img src=\"/images/logo.png\" /><span>SSP</span>
</a>
<a class=\"user right tooltipped ";
// line 26
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "user", [], "any", false, false, false, 26)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "user", [], "any", false, false, false, 26), "html", null, true)) : ("empty"));
yield "\" href=\"/logout\" data-position=\"bottom\" data-margin=\"20\" data-tooltip=\"Logout ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "user", [], "any", false, false, false, 26), "html", null, true);
yield "\">
<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\" d=\"M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z\" />
</svg>
</a>
<ul class=\"right hide-on-med-and-down\">
";
// line 32
if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 33
yield " <li><a href=\"/publisher\" ";
if (((is_string($_v0 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "get", ["_route"], "method", false, false, false, 33)) && is_string($_v1 = "app_publisher") && str_starts_with($_v0, $_v1)) || (is_string($_v2 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "get", ["_route"], "method", false, false, false, 33)) && is_string($_v3 = "app_inventory") && str_starts_with($_v2, $_v3)))) {
yield "class=\"stv-pink-text\"";
}
yield ">Inventory</a></li>
<li><a class=\"dropdown-trigger ";
// line 34
if ((is_string($_v4 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "get", ["_route"], "method", false, false, false, 34)) && is_string($_v5 = "app_demand") && str_starts_with($_v4, $_v5))) {
yield "stv-pink-text";
}
yield "\" href=\"#!\" data-target=\"dsp-dropdown\">
Demand
<span class=\"white-text\">
<svg style=\"width:15px;height:15px;\" viewBox=\"5 4 12 12\">
<path fill=\"currentColor\" d=\"M7,10L12,15L17,10H7Z\" />
</svg>
</span>
</a></li>
";
}
// line 43
yield " </ul>
<ul id=\"nav-mobile\" class=\"sidenav stv-grey\">
";
// line 45
if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 47
yield " <li><a href=\"/publisher\" ";
if (((is_string($_v6 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "get", ["_route"], "method", false, false, false, 47)) && is_string($_v7 = "app_publisher") && str_starts_with($_v6, $_v7)) || (is_string($_v8 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "get", ["_route"], "method", false, false, false, 47)) && is_string($_v9 = "app_inventory") && str_starts_with($_v8, $_v9)))) {
yield "class=\"stv-pink-text\"";
}
yield ">Inventory</a></li>
";
// line 48
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["dsp"]) || array_key_exists("dsp", $context) ? $context["dsp"] : (function () { throw new RuntimeError('Variable "dsp" does not exist.', 48, $this->source); })()), "getList", [], "any", false, false, false, 48));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 49
yield " <li><a href=\"/demand/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 49), "html", null, true);
yield "/general\" class=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 49), "attributes", [], "any", false, true, false, 49), "get", ["_route_params"], "method", false, true, false, 49), "slug", [], "array", true, true, false, 49) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 49, $this->source); })()), "request", [], "any", false, false, false, 49), "attributes", [], "any", false, false, false, 49), "get", ["_route_params"], "method", false, false, false, 49), "slug", [], "array", false, false, false, 49) === CoreExtension::getAttribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 49)))) {
yield "stv-pink-text";
} else {
yield "white-text";
}
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 49), "html", null, true);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['item'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
yield " ";
}
// line 52
yield " </ul>
<a href=\"#\" data-target=\"nav-mobile\" class=\"sidenav-trigger\">
<svg style=\"\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\" d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\" />
</svg>
</a>
</div>
</nav>
<ul id=\"dsp-dropdown\" class=\"dropdown-content stv-grey\">
";
// line 61
if (array_key_exists("dsps", $context)) {
// line 62
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["dsps"]) || array_key_exists("dsps", $context) ? $context["dsps"] : (function () { throw new RuntimeError('Variable "dsps" does not exist.', 62, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["dsp"]) {
// line 63
yield " ";
if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 64
yield " <li><a href=\"/demand/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dsp"], "id", [], "any", false, false, false, 64), "html", null, true);
yield "/general\" class=\" white-text\" style=\"font-size:15px\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dsp"], "name", [], "any", false, false, false, 64), "html", null, true);
yield "</a></li>
";
} else {
// line 66
yield " <li><a href=\"/demand/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dsp"], "id", [], "any", false, false, false, 66), "html", null, true);
yield "/deals\" class=\" white-text\" style=\"font-size:15px\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dsp"], "name", [], "any", false, false, false, 66), "html", null, true);
yield "</a></li>
";
}
// line 68
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['dsp'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
yield " ";
}
// line 70
yield "</ul>
<section id=\"stv-content\">
";
// line 72
if (((is_string($_v10 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 72, $this->source); })()), "request", [], "any", false, false, false, 72), "get", ["_route"], "method", false, false, false, 72)) && is_string($_v11 = "app_publisher") && str_starts_with($_v10, $_v11)) || (is_string($_v12 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 72, $this->source); })()), "request", [], "any", false, false, false, 72), "get", ["_route"], "method", false, false, false, 72)) && is_string($_v13 = "app_inventory") && str_starts_with($_v12, $_v13)))) {
// line 73
yield " <div class=\"subnavigation\" style=\"box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14)\">
<div class=\"items\" ref=\"items\">
<a href=\"/publisher\">Publisher</a>
<a href=\"/inventory\">Inventory Groups</a>
</div>
<div class=\"indicator\" style=\"left: ";
// line 78
yield (((is_string($_v14 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "get", ["_route"], "method", false, false, false, 78)) && is_string($_v15 = "app_publisher") && str_starts_with($_v14, $_v15))) ? (0) : (50));
yield "%; width: 50%;\"></div>
</div>
";
}
// line 81
yield " ";
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 82
yield "</section>
<div class=\"stv-separator\"></div>
<footer class=\"stv-grey right-align\">
© ";
// line 85
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y"), "html", null, true);
yield " <a class=\"stv-pink-text\" href=\"https://smartstream.tv\" target=\"_blank\">SMARTSTREAM.TV</a>
</footer>
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Welcome!";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 8
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 9
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("index");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 16
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 17
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("index");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 81
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 328 => 81, 314 => 17, 301 => 16, 287 => 9, 274 => 8, 251 => 6, 235 => 85, 230 => 82, 227 => 81, 221 => 78, 214 => 73, 212 => 72, 208 => 70, 205 => 69, 199 => 68, 191 => 66, 183 => 64, 180 => 63, 175 => 62, 173 => 61, 162 => 52, 159 => 51, 142 => 49, 138 => 48, 131 => 47, 129 => 45, 125 => 43, 111 => 34, 104 => 33, 102 => 32, 91 => 26, 82 => 19, 80 => 16, 76 => 14, 70 => 13, 66 => 11, 64 => 8, 59 => 6, 52 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1.0\"/>
<title>STV ADMIN {% block title %}Welcome!{% endblock %}</title>
<link rel=\"icon\" href=\"/images/favicon.png\">
{% block stylesheets %}
{{ encore_entry_link_tags('index') }}
{% endblock %}
<script>
var sspmgr = {
roles: {% if app.user %}{{ app.user.roles | json_encode | raw}}{% else %}[]{% endif %}
}
</script>
{% block javascripts %}
{{ encore_entry_script_tags('index') }}
{% endblock %}
</head>
<body>
<nav class=\"stv-grey\" role=\"navigation\">
<div class=\"nav-wrapper\">
<a id=\"logo-container\" href=\"/\" class=\"brand-logo\">
<img src=\"/images/logo.png\" /><span>SSP</span>
</a>
<a class=\"user right tooltipped {{ app.user ? : 'empty' }}\" href=\"/logout\" data-position=\"bottom\" data-margin=\"20\" data-tooltip=\"Logout {{ app.user }}\">
<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\" d=\"M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z\" />
</svg>
</a>
<ul class=\"right hide-on-med-and-down\">
{% if is_granted('ROLE_USER') %}
<li><a href=\"/publisher\" {% if app.request.get('_route') starts with 'app_publisher' or app.request.get('_route') starts with 'app_inventory'%}class=\"stv-pink-text\"{%endif%}>Inventory</a></li>
<li><a class=\"dropdown-trigger {% if app.request.get('_route') starts with 'app_demand' %}stv-pink-text{%endif%}\" href=\"#!\" data-target=\"dsp-dropdown\">
Demand
<span class=\"white-text\">
<svg style=\"width:15px;height:15px;\" viewBox=\"5 4 12 12\">
<path fill=\"currentColor\" d=\"M7,10L12,15L17,10H7Z\" />
</svg>
</span>
</a></li>
{% endif %}
</ul>
<ul id=\"nav-mobile\" class=\"sidenav stv-grey\">
{% if is_granted('ROLE_USER') %}
{# <li><a href=\"/dashboard\" class=\"{% if app.request.get('_route') starts with 'app_dashboard' %}stv-pink-text{%else%}white-text{%endif%}\">Dashboard</a></li>#}
<li><a href=\"/publisher\" {% if app.request.get('_route') starts with 'app_publisher' or app.request.get('_route') starts with 'app_inventory'%}class=\"stv-pink-text\"{%endif%}>Inventory</a></li>
{% for item in dsp.getList %}
<li><a href=\"/demand/{{ item.id }}/general\" class=\"{% if app.request.attributes.get('_route_params')['slug'] is defined and app.request.attributes.get('_route_params')['slug'] is same as(item.id) %}stv-pink-text{%else%}white-text{%endif%}\">{{ item.name }}</a></li>
{% endfor %}
{% endif %}
</ul>
<a href=\"#\" data-target=\"nav-mobile\" class=\"sidenav-trigger\">
<svg style=\"\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\" d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\" />
</svg>
</a>
</div>
</nav>
<ul id=\"dsp-dropdown\" class=\"dropdown-content stv-grey\">
{% if dsps is defined %}
{% for dsp in dsps%}
{% if is_granted('ROLE_ADMIN') %}
<li><a href=\"/demand/{{ dsp.id }}/general\" class=\" white-text\" style=\"font-size:15px\">{{ dsp.name }}</a></li>
{% else %}
<li><a href=\"/demand/{{ dsp.id }}/deals\" class=\" white-text\" style=\"font-size:15px\">{{ dsp.name }}</a></li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
<section id=\"stv-content\">
{% if app.request.get('_route') starts with 'app_publisher' or app.request.get('_route') starts with 'app_inventory'%}
<div class=\"subnavigation\" style=\"box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14)\">
<div class=\"items\" ref=\"items\">
<a href=\"/publisher\">Publisher</a>
<a href=\"/inventory\">Inventory Groups</a>
</div>
<div class=\"indicator\" style=\"left: {{ app.request.get('_route') starts with 'app_publisher' ? 0 : 50 }}%; width: 50%;\"></div>
</div>
{% endif %}
{% block content %}{% endblock %}
</section>
<div class=\"stv-separator\"></div>
<footer class=\"stv-grey right-align\">
© {{ \"now\"|date(\"Y\") }} <a class=\"stv-pink-text\" href=\"https://smartstream.tv\" target=\"_blank\">SMARTSTREAM.TV</a>
</footer>
</body>
</html>
", "base.html.twig", "/var/www/ssp-mgr-dev.smartstream.tv/templates/base.html.twig");
}
}