<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* OfficeBrainCustomBundleThemeBundle:IdmeTheme:Banner/bannerDimensions.html.twig */
class __TwigTemplate_12e23f816c694ee775704459619856780911337fc258d65bb38f122ac559c614 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        $context["bannerDimensions"] = $this->getAttribute($this->getAttribute(($context["banner_list"] ?? null), 0, []), "bannerDimensions", []);
        echo " 

";
        // line 3
        if ((($context["bannerDimensions"] ?? null) != "full")) {
            // line 4
            echo "    ";
            $context["foo"] = twig_split_filter($this->env, ($context["bannerDimensions"] ?? null), "x");
            // line 5
            echo "    ";
            $context["height"] = $this->getAttribute(($context["foo"] ?? null), 1, []);
            // line 6
            echo "    ";
            $context["width"] = $this->getAttribute(($context["foo"] ?? null), 0, []);
        } elseif ((        // line 7
($context["bannerDimensions"] ?? null) == "full")) {
            // line 8
            echo "    ";
            $context["height"] = "350";
            // line 9
            echo "    ";
            $context["width"] = "1170";
        }
        // line 11
        echo "
<style>
.js-banner-dynamic-height-width {
width: ";
        // line 14
        echo twig_escape_filter($this->env, ($context["width"] ?? null), "html", null, true);
        echo "px; height: ";
        echo twig_escape_filter($this->env, ($context["height"] ?? null), "html", null, true);
        echo "px;
}
</style>";
    }

    public function getTemplateName()
    {
        return "OfficeBrainCustomBundleThemeBundle:IdmeTheme:Banner/bannerDimensions.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  60 => 14,  55 => 11,  51 => 9,  48 => 8,  46 => 7,  43 => 6,  40 => 5,  37 => 4,  35 => 3,  30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "OfficeBrainCustomBundleThemeBundle:IdmeTheme:Banner/bannerDimensions.html.twig", "/var/www/html/project/OfficeBrain/CustomBundle/ThemeBundle/Resources/views/IdmeTheme/Banner/bannerDimensions.html.twig");
    }
}
