<?php

/* @websiteWidgets/embed/templates/default.twig.html */
class __TwigTemplate_226f4a0aa53d13e0f42c9a2c0c36558783e8c46f9ef46b792b12517cdca5dca6 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "<div data-widget-id=\"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getWidgetId", [], "method"), "html", null, true);
        echo "\" class=\"moto-widget moto-widget-embed ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getAlignClass", [], "method"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getSpacing", [0 => "classes"], "method"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getVisibleOn", [0 => "classes"], "method"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getAnimationClasses", [], "method"), "html", null, true);
        echo "\" data-widget=\"embed\" data-preset=\"default\">
    ";
        // line 2
        if ((isset($context["isPreview"]) ? $context["isPreview"] : null)) {
            // line 3
            echo "        <div class=\"moto-widget-cover\"></div>
        ";
            // line 4
            if (( !$this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "code", []) ||  !$this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "isExecutableCode", [], "method"))) {
                // line 5
                echo "            <div class=\"moto-widget-empty\"></div>
        ";
            } else {
                // line 7
                echo "            ";
                echo $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getCode", [], "method");
                echo "
        ";
            }
            // line 9
            echo "    ";
        } else {
            // line 10
            echo "        ";
            echo $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getCode", [], "method");
            echo "
    ";
        }
        // line 12
        echo "</div>";
    }

    public function getTemplateName()
    {
        return "@websiteWidgets/embed/templates/default.twig.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  58 => 12,  52 => 10,  49 => 9,  43 => 7,  39 => 5,  37 => 4,  34 => 3,  32 => 2,  19 => 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("", "@websiteWidgets/embed/templates/default.twig.html", "/data05/c3111787/public_html/brcc.me.uk/mt-includes/widgets/embed/templates/default.twig.html");
    }
}
