<?php

/* @particles/slideshow.html.twig */
class __TwigTemplate_dde86a1833c8d7e9a9239f328445dfad0c6ff0ac192e6dd903ea4497112e3c98 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/slideshow.html.twig", 1);
        $this->blocks = array(
            'particle' => array($this, 'block_particle'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "@nucleus/partials/particle.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 3
        $context["attr_extra"] = "";
        // line 4
        if ($this->getAttribute(($context["particle"] ?? null), "extra", array())) {
            // line 5
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "extra", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["attributes"]) {
                // line 6
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($context["attributes"]);
                foreach ($context['_seq'] as $context["key"] => $context["value"]) {
                    // line 7
                    $context["attr_extra"] = (((((($context["attr_extra"] ?? null) . " ") . twig_escape_filter($this->env, $context["key"])) . "=\"") . twig_escape_filter($this->env, $context["value"], "html_attr")) . "\"");
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attributes'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
        // line 12
        ob_start();
        // line 13
        echo "    <div class=\"g-particle-intro\">
        ";
        // line 14
        if ($this->getAttribute(($context["particle"] ?? null), "mainheading", array())) {
            // line 15
            echo "            <h3 class=\"g-title g-main-title\">";
            echo $this->getAttribute(($context["particle"] ?? null), "mainheading", array());
            echo "</h3>
            <div class=\"g-title-separator ";
            // line 16
            if (($this->getAttribute(($context["particle"] ?? null), "introtext", array()) == false)) {
                echo "no-intro-text";
            }
            echo "\"></div>
        ";
        }
        // line 17
        echo " 
        ";
        // line 18
        if ($this->getAttribute(($context["particle"] ?? null), "introtext", array())) {
            echo "<p class=\"g-introtext\">";
            echo $this->getAttribute(($context["particle"] ?? null), "introtext", array());
            echo "</p>";
        }
        // line 19
        echo "    </div>
";
        $context["particleheading"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 22
        ob_start();
        // line 23
        echo "{
        autoplay:";
        // line 24
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "autoplay", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "autoplay", array()), "true")) : ("true")));
        echo ",
        autoplayInterval:";
        // line 25
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "autoplayInterval", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "autoplayInterval", array()), 7000)) : (7000)));
        echo ",
        kenburns:";
        // line 26
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "kenburns", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "kenburns", array()), "false")) : ("false")));
        echo ",
        animation:'";
        // line 27
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "animation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "animation", array()), "fade")) : ("fade")));
        echo "',
        duration:";
        // line 28
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "animationDuration", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "animationDuration", array()), 500)) : (500)));
        echo ",
        pauseOnHover:";
        // line 29
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "pauseOnHover", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "pauseOnHover", array()), "true")) : ("true")));
        echo ",
        height:'";
        // line 30
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "height", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "height", array()), "auto")) : ("auto")));
        echo "'
    }";
        $context["slideshow_settings"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 34
        ob_start();
        // line 35
        echo "    ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "items", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 36
            echo "
        ";
            // line 37
            ob_start();
            // line 38
            echo "            ";
            if ($this->getAttribute($context["item"], "image", array())) {
                // line 39
                echo "                <img alt=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "alt", array()));
                echo "\" src=\"";
                echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", array())), "html", null, true);
                echo "\" ";
                echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->imageSize($this->getAttribute($context["item"], "image", array()));
                echo ">
            ";
            }
            // line 41
            echo "            ";
            if ($this->getAttribute($context["item"], "videoiframe", array())) {
                // line 42
                echo "                ";
                echo $this->getAttribute($context["item"], "videoiframe", array());
                echo "
            ";
            }
            // line 44
            echo "        ";
            $context["slide_media"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            echo " 

        ";
            // line 46
            ob_start();
            // line 47
            echo "
            ";
            // line 48
            ob_start();
            // line 49
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "bottom")) {
                // line 50
                echo "uk-overlay-bottom";
            }
            // line 53
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "left")) {
                // line 54
                echo "uk-overlay-left";
            }
            // line 57
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "right")) {
                // line 58
                echo "uk-overlay-right";
            }
            // line 61
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "top")) {
                // line 62
                echo "uk-overlay-top";
            }
            // line 65
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "bottom-left")) {
                // line 66
                echo "uk-flex-bottom";
            }
            // line 69
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "bottom-center")) {
                // line 70
                echo "uk-flex-bottom uk-flex-center";
            }
            // line 73
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "bottom-right")) {
                // line 74
                echo "uk-flex-bottom uk-flex-right";
            }
            // line 77
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "middle-left")) {
                // line 78
                echo "uk-flex-middle";
            }
            // line 81
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "middle-center")) {
                // line 82
                echo "uk-flex-middle uk-flex-center";
            }
            // line 85
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "middle-right")) {
                // line 86
                echo "uk-flex-middle uk-flex-right";
            }
            // line 89
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "top-left")) {
                // line 90
                echo "uk-flex-top";
            }
            // line 93
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "top-center")) {
                // line 94
                echo "uk-flex-top uk-flex-center";
            }
            // line 97
            if (((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "top-right")) {
                // line 98
                echo "uk-flex-top uk-flex-right";
            }
            $context["overlay_position"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 101
            echo "
            ";
            // line 102
            ob_start();
            // line 103
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "fade")) {
                // line 104
                echo "uk-overlay-fade";
            }
            // line 107
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "slide-left")) {
                // line 108
                echo "uk-overlay-slide-left";
            }
            // line 111
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "slide-right")) {
                // line 112
                echo "uk-overlay-slide-right";
            }
            // line 115
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "slide-top")) {
                // line 116
                echo "uk-overlay-slide-top";
            }
            // line 119
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "slide-bottom")) {
                // line 120
                echo "uk-overlay-slide-bottom";
            }
            // line 123
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "slide-left-short")) {
                // line 124
                echo "uk-overlay-slide-left uk-overlay-left-short";
            }
            // line 127
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "slide-right-short")) {
                // line 128
                echo "uk-overlay-slide-right uk-overlay-right-short";
            }
            // line 131
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "slide-top-short")) {
                // line 132
                echo "uk-overlay-slide-top uk-overlay-top-short";
            }
            // line 135
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "slide-bottom-short")) {
                // line 136
                echo "uk-overlay-slide-bottom uk-overlay-bottom-short";
            }
            // line 139
            if (((($this->getAttribute($context["item"], "overlayanimation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayanimation", array()), "fade")) : ("fade")) == "scale")) {
                // line 140
                echo "uk-overlay-scale";
            }
            $context["slide_overlay_animation"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 143
            echo "
            ";
            // line 144
            ob_start();
            // line 145
            echo "                <h3 class=\"g-slideshow-title\">";
            // line 146
            if ($this->getAttribute($context["item"], "link", array())) {
                // line 147
                echo "<a target=\"";
                echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "target", array()), "_parent")) : ("_parent")));
                echo "\" href=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "link", array()));
                echo "\">";
            }
            // line 149
            echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->htmlFilter($this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "platform", array()), "filter", array(0 => $this->getAttribute($context["item"], "title", array())), "method"));
            // line 150
            if ($this->getAttribute($context["item"], "link", array())) {
                // line 151
                echo "</a>";
            }
            // line 153
            echo "</h3>
            ";
            $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 155
            echo "
            ";
            // line 156
            ob_start();
            // line 157
            echo "                <div class=\"g-slideshow-desc\">";
            // line 158
            echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->htmlFilter($this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "platform", array()), "filter", array(0 => $this->getAttribute($context["item"], "description", array())), "method"));
            // line 159
            echo "</div>
            ";
            $context["description"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 161
            echo "
            ";
            // line 162
            ob_start();
            // line 163
            echo "                <div class=\"g-slideshow-buttons\">
                    ";
            // line 164
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["item"], "buttons", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["button"]) {
                // line 165
                echo "                        <a class=\"button ";
                echo twig_escape_filter($this->env, (($this->getAttribute($context["button"], "buttonstyle", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["button"], "buttonstyle", array()), "empty-light")) : ("empty-light")));
                echo "\" target=\"";
                echo twig_escape_filter($this->env, (($this->getAttribute($context["button"], "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["button"], "target", array()), "_parent")) : ("_parent")));
                echo "\" href=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["button"], "link", array()));
                echo "\">";
                // line 166
                if ($this->getAttribute($context["button"], "buttonicon", array())) {
                    // line 167
                    echo "<span class=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["button"], "buttonicon", array()));
                    echo "\"></span>";
                }
                // line 169
                echo $this->getAttribute($context["button"], "text", array());
                // line 170
                echo "</a>
                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['button'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 171
            echo "    
                </div>
            ";
            $context["buttons"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 174
            echo "
            ";
            // line 175
            if (((($this->getAttribute($context["item"], "overlaystyle", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaystyle", array()), "style1")) : ("style1")) == "style1")) {
                // line 176
                echo "
                ";
                // line 177
                if ((((((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "bottom") || ((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "top")) || ((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "left")) || ((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "right"))) {
                    // line 178
                    echo "                    <div class=\"uk-overlay-panel uk-overlay-background ";
                    echo twig_escape_filter($this->env, ($context["overlay_position"] ?? null), "html", null, true);
                    echo " ";
                    echo twig_escape_filter($this->env, ($context["slide_overlay_animation"] ?? null), "html", null, true);
                    echo " ";
                    if ((twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaywidth", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaywidth", array()), ($context["auto"] ?? null))) : (($context["auto"] ?? null)))) != "auto")) {
                        echo " uk-width-1-";
                        echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaywidth", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaywidth", array()), ($context["auto"] ?? null))) : (($context["auto"] ?? null))));
                    }
                    echo " ";
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaystyle", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaystyle", array()), "style1")) : ("style1")));
                    echo "\">
                        <div class=\"slideshow-caption\">
                            ";
                    // line 180
                    if ($this->getAttribute($context["item"], "title", array())) {
                        // line 181
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 183
                    echo "
                            ";
                    // line 184
                    if ($this->getAttribute($context["item"], "description", array())) {
                        // line 185
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 187
                    echo "
                            ";
                    // line 188
                    if ($this->getAttribute($context["item"], "buttons", array())) {
                        // line 189
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["buttons"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 191
                    echo "                        </div>
                    </div>
                ";
                } else {
                    // line 194
                    echo "                    <div class=\"uk-overlay-panel uk-flex ";
                    echo twig_escape_filter($this->env, ($context["overlay_position"] ?? null), "html", null, true);
                    echo " ";
                    echo twig_escape_filter($this->env, ($context["slide_overlay_animation"] ?? null), "html", null, true);
                    if (((($this->getAttribute($context["item"], "overlaycontainer", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaycontainer", array()), 0)) : (0)) == 1)) {
                        echo " g-overlay-container";
                    }
                    echo " ";
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaystyle", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaystyle", array()), "style1")) : ("style1")));
                    echo "\">
                        <div class=\"slideshow-caption uk-overlay-background";
                    // line 195
                    if ((twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaywidth", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaywidth", array()), ($context["auto"] ?? null))) : (($context["auto"] ?? null)))) != "auto")) {
                        echo " uk-width-1-";
                        echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaywidth", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaywidth", array()), ($context["auto"] ?? null))) : (($context["auto"] ?? null))));
                    }
                    echo "\">
                            ";
                    // line 196
                    if ($this->getAttribute($context["item"], "title", array())) {
                        // line 197
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 199
                    echo "
                            ";
                    // line 200
                    if ($this->getAttribute($context["item"], "description", array())) {
                        // line 201
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 203
                    echo "
                            ";
                    // line 204
                    if ($this->getAttribute($context["item"], "buttons", array())) {
                        // line 205
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["buttons"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 207
                    echo "                        </div>
                    </div>
                ";
                }
                // line 210
                echo "
            ";
            }
            // line 212
            echo "
            ";
            // line 213
            if ((((($this->getAttribute($context["item"], "overlaystyle", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaystyle", array()), "style1")) : ("style1")) == "style2") || ((($this->getAttribute($context["item"], "overlaystyle", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaystyle", array()), "style1")) : ("style1")) == "style3"))) {
                // line 214
                echo "                
                ";
                // line 215
                if ((((((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "bottom") || ((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "top")) || ((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "left")) || ((($this->getAttribute($context["item"], "overlayposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlayposition", array()), "bottom")) : ("bottom")) == "right"))) {
                    // line 216
                    echo "                     <div class=\"uk-overlay-panel ";
                    echo twig_escape_filter($this->env, ($context["overlay_position"] ?? null), "html", null, true);
                    echo " ";
                    echo twig_escape_filter($this->env, ($context["slide_overlay_animation"] ?? null), "html", null, true);
                    echo " ";
                    if ((twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaywidth", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaywidth", array()), ($context["auto"] ?? null))) : (($context["auto"] ?? null)))) != "auto")) {
                        echo " uk-width-1-";
                        echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaywidth", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaywidth", array()), ($context["auto"] ?? null))) : (($context["auto"] ?? null))));
                    }
                    echo " ";
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaystyle", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaystyle", array()), "style1")) : ("style1")));
                    echo "\">
                        <div class=\"slideshow-caption\">
                            ";
                    // line 218
                    if ($this->getAttribute($context["item"], "title", array())) {
                        // line 219
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 221
                    echo "
                            ";
                    // line 222
                    if ($this->getAttribute($context["item"], "description", array())) {
                        // line 223
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 225
                    echo "
                            ";
                    // line 226
                    if ($this->getAttribute($context["item"], "buttons", array())) {
                        // line 227
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["buttons"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 229
                    echo "                        </div>
                    </div>
                ";
                } else {
                    // line 232
                    echo "                    <div class=\"uk-overlay-panel uk-flex ";
                    echo twig_escape_filter($this->env, ($context["overlay_position"] ?? null), "html", null, true);
                    echo " ";
                    echo twig_escape_filter($this->env, ($context["slide_overlay_animation"] ?? null), "html", null, true);
                    if (((($this->getAttribute($context["item"], "overlaycontainer", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaycontainer", array()), 0)) : (0)) == 1)) {
                        echo " g-overlay-container";
                    }
                    echo " ";
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaystyle", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaystyle", array()), "style1")) : ("style1")));
                    echo "\">
                        <div class=\"slideshow-caption";
                    // line 233
                    if ((twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaywidth", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaywidth", array()), ($context["auto"] ?? null))) : (($context["auto"] ?? null)))) != "auto")) {
                        echo " uk-width-1-";
                        echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "overlaywidth", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "overlaywidth", array()), ($context["auto"] ?? null))) : (($context["auto"] ?? null))));
                    }
                    echo "\">
                            ";
                    // line 234
                    if ($this->getAttribute($context["item"], "title", array())) {
                        // line 235
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 237
                    echo "
                            ";
                    // line 238
                    if ($this->getAttribute($context["item"], "description", array())) {
                        // line 239
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 241
                    echo "
                            ";
                    // line 242
                    if ($this->getAttribute($context["item"], "buttons", array())) {
                        // line 243
                        echo "                                ";
                        echo twig_escape_filter($this->env, ($context["buttons"] ?? null), "html", null, true);
                        echo "
                            ";
                    }
                    // line 245
                    echo "                        </div>
                    </div>
                ";
                }
                // line 248
                echo "
            ";
            }
            // line 250
            echo "
        ";
            $context["slide_overlay"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 252
            echo "
        <li class=\"g-slideshow-item";
            // line 253
            if ($this->getAttribute($context["item"], "class", array())) {
                echo " ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
            }
            echo "\">
            ";
            // line 254
            echo twig_escape_filter($this->env, ($context["slide_media"] ?? null), "html", null, true);
            echo "
            ";
            // line 255
            if ((($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "description", array())) || $this->getAttribute($context["item"], "buttons", array()))) {
                // line 256
                echo "                ";
                echo twig_escape_filter($this->env, ($context["slide_overlay"] ?? null), "html", null, true);
                echo "
            ";
            }
            // line 258
            echo "        </li>
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        $context["slideshow_slides"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 1
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 262
    public function block_particle($context, array $blocks = array())
    {
        // line 263
        echo "    
    <div class=\"g-slideshow";
        // line 264
        if ($this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", array()), "class", array())) {
            echo " ";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", array()), "class", array()));
        }
        echo "\" ";
        if ($this->getAttribute(($context["particle"] ?? null), "extra", array())) {
            echo ($context["attr_extra"] ?? null);
        }
        echo ">
        ";
        // line 265
        if (($this->getAttribute(($context["particle"] ?? null), "mainheading", array()) || $this->getAttribute(($context["particle"] ?? null), "introtext", array()))) {
            // line 266
            echo "            ";
            echo twig_escape_filter($this->env, ($context["particleheading"] ?? null), "html", null, true);
            echo "
        ";
        }
        // line 268
        echo "        <div class=\"uk-slidenav-position";
        if ((($this->getAttribute(($context["particle"] ?? null), "fullscreen", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "fullscreen", array()), 0)) : (0))) {
            echo " fullscreen";
        }
        if ((((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "arrowsvisible") || ((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "bothvisible"))) {
            echo " nav-visible";
        }
        echo "\" data-uk-slideshow=\"";
        echo twig_escape_filter($this->env, ($context["slideshow_settings"] ?? null), "html", null, true);
        echo "\">
            <ul class=\"uk-slideshow uk-overlay-active";
        // line 269
        if ((($this->getAttribute(($context["particle"] ?? null), "fullscreen", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "fullscreen", array()), 0)) : (0))) {
            echo " uk-slideshow-fullscreen";
        }
        echo "\">
                ";
        // line 270
        echo twig_escape_filter($this->env, ($context["slideshow_slides"] ?? null), "html", null, true);
        echo "
            </ul>

            ";
        // line 273
        if ((((((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "arrows") || ((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "arrowsvisible")) || ((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "both")) || ((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "bothvisible"))) {
            // line 274
            echo "                <a href=\"\" class=\"uk-slidenav uk-slidenav-previous\" data-uk-slideshow-item=\"previous\"></a>
                <a href=\"\" class=\"uk-slidenav uk-slidenav-next\" data-uk-slideshow-item=\"next\"></a>
            ";
        }
        // line 277
        echo "
            ";
        // line 278
        if (((((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "dots") || ((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "both")) || ((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "bothvisible"))) {
            // line 279
            echo "                <ul class=\"uk-dotnav uk-dotnav-contrast uk-position-bottom uk-flex-center\">
                ";
            // line 280
            $context["counter"] = 0;
            // line 281
            echo "                ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "items", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
                // line 282
                echo "                    <li data-uk-slideshow-item=\"";
                echo twig_escape_filter($this->env, ($context["counter"] ?? null), "html", null, true);
                echo "\"><a href=\"\"></a></li>
                    ";
                // line 283
                $context["counter"] = (($context["counter"] ?? null) + 1);
                // line 284
                echo "                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 285
            echo "                </ul>
            ";
        }
        // line 287
        echo "        </div>
    </div>
";
    }

    public function getTemplateName()
    {
        return "@particles/slideshow.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  726 => 287,  722 => 285,  716 => 284,  714 => 283,  709 => 282,  704 => 281,  702 => 280,  699 => 279,  697 => 278,  694 => 277,  689 => 274,  687 => 273,  681 => 270,  675 => 269,  663 => 268,  657 => 266,  655 => 265,  644 => 264,  641 => 263,  638 => 262,  634 => 1,  626 => 258,  620 => 256,  618 => 255,  614 => 254,  607 => 253,  604 => 252,  600 => 250,  596 => 248,  591 => 245,  585 => 243,  583 => 242,  580 => 241,  574 => 239,  572 => 238,  569 => 237,  563 => 235,  561 => 234,  554 => 233,  542 => 232,  537 => 229,  531 => 227,  529 => 226,  526 => 225,  520 => 223,  518 => 222,  515 => 221,  509 => 219,  507 => 218,  492 => 216,  490 => 215,  487 => 214,  485 => 213,  482 => 212,  478 => 210,  473 => 207,  467 => 205,  465 => 204,  462 => 203,  456 => 201,  454 => 200,  451 => 199,  445 => 197,  443 => 196,  436 => 195,  424 => 194,  419 => 191,  413 => 189,  411 => 188,  408 => 187,  402 => 185,  400 => 184,  397 => 183,  391 => 181,  389 => 180,  374 => 178,  372 => 177,  369 => 176,  367 => 175,  364 => 174,  359 => 171,  352 => 170,  350 => 169,  345 => 167,  343 => 166,  335 => 165,  331 => 164,  328 => 163,  326 => 162,  323 => 161,  319 => 159,  317 => 158,  315 => 157,  313 => 156,  310 => 155,  306 => 153,  303 => 151,  301 => 150,  299 => 149,  292 => 147,  290 => 146,  288 => 145,  286 => 144,  283 => 143,  279 => 140,  277 => 139,  274 => 136,  272 => 135,  269 => 132,  267 => 131,  264 => 128,  262 => 127,  259 => 124,  257 => 123,  254 => 120,  252 => 119,  249 => 116,  247 => 115,  244 => 112,  242 => 111,  239 => 108,  237 => 107,  234 => 104,  232 => 103,  230 => 102,  227 => 101,  223 => 98,  221 => 97,  218 => 94,  216 => 93,  213 => 90,  211 => 89,  208 => 86,  206 => 85,  203 => 82,  201 => 81,  198 => 78,  196 => 77,  193 => 74,  191 => 73,  188 => 70,  186 => 69,  183 => 66,  181 => 65,  178 => 62,  176 => 61,  173 => 58,  171 => 57,  168 => 54,  166 => 53,  163 => 50,  161 => 49,  159 => 48,  156 => 47,  154 => 46,  148 => 44,  142 => 42,  139 => 41,  129 => 39,  126 => 38,  124 => 37,  121 => 36,  116 => 35,  114 => 34,  109 => 30,  105 => 29,  101 => 28,  97 => 27,  93 => 26,  89 => 25,  85 => 24,  82 => 23,  80 => 22,  76 => 19,  70 => 18,  67 => 17,  60 => 16,  55 => 15,  53 => 14,  50 => 13,  48 => 12,  37 => 7,  33 => 6,  29 => 5,  27 => 4,  25 => 3,  11 => 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 Twig_Source("", "@particles/slideshow.html.twig", "/home/isfmp/public_html/welthaus/templates/it_construction/particles/slideshow.html.twig");
    }
}
