var/cache/dev/twig/04/046b8414dbb808a7b22846e07eefe215e94191a7bdc4ffdc90891220ea9fa534.php line 210

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. /* Front/Event/event.html.twig */
  14. class __TwigTemplate_a3e6f3026b8a5511e27d781073314112160c2cb49c7e3ebcf75a89e12eb4f84e extends \Twig\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->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'meta_dynamic_seo' => [$this'block_meta_dynamic_seo'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'content' => [$this'block_content'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "Global/layout.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Front/Event/event.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Front/Event/event.html.twig"));
  42.         // line 3
  43.         $context["pagetitle"] = twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'3$this->source); })()), "name", [], "any"falsefalsefalse3);
  44.         // line 1
  45.         $this->parent $this->loadTemplate("Global/layout.html.twig""Front/Event/event.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 5
  53.     public function block_title($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         echo twig_escape_filter($this->env, (isset($context["pagetitle"]) || array_key_exists("pagetitle"$context) ? $context["pagetitle"] : (function () { throw new RuntimeError('Variable "pagetitle" does not exist.'5$this->source); })()), "html"nulltrue);
  61.         
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  63.         
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  65.     }
  66.     // line 7
  67.     public function block_meta_dynamic_seo($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_dynamic_seo"));
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_dynamic_seo"));
  74.         // line 8
  75.         echo "    <meta name=\"description\" content=\"";
  76.         echo twig_slice($this->envtwig_striptags(twig_nl2br(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'8$this->source); })()), "description", [], "any"falsefalsefalse8))), 0200);
  77.         echo "...\" />
  78.     ";
  79.         // line 9
  80.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'9$this->source); })()), "tags", [], "any"falsefalsefalse9)) {
  81.             // line 10
  82.             echo "        <meta name=\"keywords\" content=\"";
  83.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'10$this->source); })()), "name", [], "any"falsefalsefalse10), "html"nulltrue);
  84.             echo ", ";
  85.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'10$this->source); })()), "category", [], "any"falsefalsefalse10), "name", [], "any"falsefalsefalse10), "html"nulltrue);
  86.             echo ", ";
  87.             $context['_parent'] = $context;
  88.             $context['_seq'] = twig_ensure_traversable(twig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'10$this->source); })()), "tags", [], "any"falsefalsefalse10), ","));
  89.             $context['loop'] = [
  90.               'parent' => $context['_parent'],
  91.               'index0' => 0,
  92.               'index'  => 1,
  93.               'first'  => true,
  94.             ];
  95.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  96.                 $length count($context['_seq']);
  97.                 $context['loop']['revindex0'] = $length 1;
  98.                 $context['loop']['revindex'] = $length;
  99.                 $context['loop']['length'] = $length;
  100.                 $context['loop']['last'] = === $length;
  101.             }
  102.             foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
  103.                 echo twig_escape_filter($this->env$context["tag"], "html"nulltrue);
  104.                 echo (( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse10)) ? (", ") : (""));
  105.                 ++$context['loop']['index0'];
  106.                 ++$context['loop']['index'];
  107.                 $context['loop']['first'] = false;
  108.                 if (isset($context['loop']['length'])) {
  109.                     --$context['loop']['revindex0'];
  110.                     --$context['loop']['revindex'];
  111.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  112.                 }
  113.             }
  114.             $_parent $context['_parent'];
  115.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
  116.             $context array_intersect_key($context$_parent) + $_parent;
  117.             echo "\" />
  118.     ";
  119.         } else {
  120.             // line 12
  121.             echo "        <meta name=\"keywords\" content=\"";
  122.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'12$this->source); })()), "getSetting", [=> ("website_keywords_" twig_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.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", [=> "_locale"], "method"falsefalsefalse12))], "method"falsefalsefalse12), "html"nulltrue);
  123.             echo "\" />
  124.     ";
  125.         }
  126.         // line 14
  127.         echo "    <meta property=\"og:title\" content=\"";
  128.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'14$this->source); })()), "name", [], "any"falsefalsefalse14), "html"nulltrue);
  129.         echo "\" />
  130.     <meta property=\"og:image\" content=\"";
  131.         // line 15
  132.         echo twig_escape_filter($this->envtwig_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.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "getSchemeAndHttpHost", [], "method"falsefalsefalse15), "html"nulltrue);
  133.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'15$this->source); })()), "imageName", [], "any"falsefalsefalse15)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'15$this->source); })()), "getImagePath", [], "any"falsefalsefalse15))) : (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'15$this->source); })()), "getImagePlaceholder", [], "any"falsefalsefalse15))), "html"nulltrue);
  134.         echo "\" />
  135.     <meta property=\"og:description\" content=\"";
  136.         // line 16
  137.         echo twig_slice($this->envtwig_striptags(twig_nl2br(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'16$this->source); })()), "description", [], "any"falsefalsefalse16))), 0200);
  138.         echo "...\" />
  139.     <meta name=\"twitter:title\" content=\"";
  140.         // line 17
  141.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'17$this->source); })()), "name", [], "any"falsefalsefalse17), "html"nulltrue);
  142.         echo "\" />
  143.     <meta name=\"twitter:image\" content=\"";
  144.         // line 18
  145.         echo twig_escape_filter($this->envtwig_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.'18$this->source); })()), "request", [], "any"falsefalsefalse18), "getSchemeAndHttpHost", [], "method"falsefalsefalse18), "html"nulltrue);
  146.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'18$this->source); })()), "imageName", [], "any"falsefalsefalse18)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'18$this->source); })()), "getImagePath", [], "any"falsefalsefalse18))) : (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'18$this->source); })()), "getImagePlaceholder", [], "any"falsefalsefalse18))), "html"nulltrue);
  147.         echo "\" />
  148.     <meta name=\"twitter:image:alt\" content=\"";
  149.         // line 19
  150.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'19$this->source); })()), "name", [], "any"falsefalsefalse19), "html"nulltrue);
  151.         echo "\" />
  152.     <meta name=\"twitter:description\" content=\"";
  153.         // line 20
  154.         echo twig_slice($this->envtwig_striptags(twig_nl2br(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'20$this->source); })()), "description", [], "any"falsefalsefalse20))), 0200);
  155.         echo "...\" />
  156. ";
  157.         
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  159.         
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  161.     }
  162.     // line 23
  163.     public function block_stylesheets($context, array $blocks = [])
  164.     {
  165.         $macros $this->macros;
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  168.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  170.         // line 24
  171.         echo "    <style>
  172.         .material-scrolltop.reveal {
  173.             bottom: 75px !important;
  174.         }
  175.     </style>
  176. ";
  177.         
  178.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  179.         
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  181.     }
  182.     // line 31
  183.     public function block_content($context, array $blocks = [])
  184.     {
  185.         $macros $this->macros;
  186.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  187.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  190.         // line 32
  191.         echo "
  192.     ";
  193.         // line 33
  194.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMINISTRATOR")) {
  195.             // line 34
  196.             echo "        ";
  197.             $this->loadTemplate("Global/message.html.twig""Front/Event/event.html.twig"34)->display(twig_array_merge($context, ["type" => "info""icon" => "fas fa-info-circle""message" => ((((("<a href=\"" $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_administrator_event", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'34$this->source); })()), "slug", [], "any"falsefalsefalse34)])) . "\">") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Click here")) . "</a> ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("to manage this event"))]));
  198.             // line 35
  199.             echo "    ";
  200.         }
  201.         // line 36
  202.         echo "    ";
  203.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ORGANIZER")) {
  204.             // line 37
  205.             echo "        ";
  206.             if ((twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'37$this->source); })()), "organizer", [], "any"falsefalsefalse37) == twig_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.'37$this->source); })()), "user", [], "any"falsefalsefalse37), "organizer", [], "any"falsefalsefalse37))) {
  207.                 // line 38
  208.                 echo "            ";
  209.                 $this->loadTemplate("Global/message.html.twig""Front/Event/event.html.twig"38)->display(twig_array_merge($context, ["type" => "info""icon" => "fas fa-info-circle""message" => ((((("<a href=\"" $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_organizer_event", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'38$this->source); })()), "slug", [], "any"falsefalsefalse38)])) . "\">") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Click here")) . "</a> ") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("to manage your event"))]));
  210.                 // line 39
  211.                 echo "        ";
  212.             }
  213.             // line 40
  214.             echo "    ";
  215.         }
  216.         // line 41
  217.         echo "    ";
  218.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ATTENDEE")) {
  219.             // line 42
  220.             echo "        ";
  221.             if (twig_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.'42$this->source); })()), "user", [], "any"falsefalsefalse42), "hasBoughtATicketForEvent", [=> (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'42$this->source); })())], "method"falsefalsefalse42)) {
  222.                 // line 43
  223.                 echo "            ";
  224.                 $this->loadTemplate("Global/message.html.twig""Front/Event/event.html.twig"43)->display(twig_array_merge($context, ["type" => "info""icon" => "fas fa-ticket-alt""message" => (((((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("You are going to this event") . " ") . "<a href=\"") . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_attendee_orders", ["event" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'43$this->source); })()), "slug", [], "any"falsefalsefalse43)])) . "\">") . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("My tickets")) . "</a>")]));
  225.                 // line 44
  226.                 echo "        ";
  227.             }
  228.             // line 45
  229.             echo "    ";
  230.         }
  231.         // line 46
  232.         echo "
  233.     ";
  234.         // line 47
  235.         $context["navigation"] = [=> ["events" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Events"), "current" => (isset($context["pagetitle"]) || array_key_exists("pagetitle"$context) ? $context["pagetitle"] : (function () { throw new RuntimeError('Variable "pagetitle" does not exist.'47$this->source); })())]];
  236.         // line 48
  237.         echo "    ";
  238.         $this->loadTemplate("Global/navigation.html.twig""Front/Event/event.html.twig"48)->display(twig_array_merge($context, (isset($context["navigation"]) || array_key_exists("navigation"$context) ? $context["navigation"] : (function () { throw new RuntimeError('Variable "navigation" does not exist.'48$this->source); })())));
  239.         // line 49
  240.         echo "
  241.     <div class=\"row no-gutters\">
  242.         <div class=\"col-12 p-0\">
  243.             <section class=\"section-main\">
  244.                 <div class=\"owl-init slider-main owl-carousel\" data-items=\"1\" data-dots=\"false\" data-nav=\"false\" data-autoplay=\"false\">
  245.                     <div class=\"item-slide d-flex\">
  246.                         <img class=\"slider-img justify-content-center align-self-center img-lazy-load\" src=\"";
  247.         // line 55
  248.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/loader.gif"), "html"nulltrue);
  249.         echo "\" data-src=\"";
  250.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'55$this->source); })()), "imageName", [], "any"falsefalsefalse55)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'55$this->source); })()), "getImagePath", [], "any"falsefalsefalse55))) : (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'55$this->source); })()), "getImagePlaceholder", [], "any"falsefalsefalse55))), "html"nulltrue);
  251.         echo "\" alt=\"";
  252.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'55$this->source); })()), "name", [], "any"falsefalsefalse55), "html"nulltrue);
  253.         echo "\" />
  254.                         <div class=\"slider-blured-background\" style=\"background-image: url('";
  255.         // line 56
  256.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'56$this->source); })()), "imageName", [], "any"falsefalsefalse56)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'56$this->source); })()), "getImagePath", [], "any"falsefalsefalse56))) : (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'56$this->source); })()), "getImagePlaceholder", [], "any"falsefalsefalse56))), "html"nulltrue);
  257.         echo "');\"></div>
  258.                     </div>
  259.                 </div>
  260.             </section>
  261.         </div>
  262.     </div>
  263.     <section class=\"section-content padding-y bg-white ";
  264.         // line 62
  265.         if ((twig_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.'62$this->source); })()), "request", [], "any"falsefalsefalse62), "locale", [], "any"falsefalsefalse62) == "ar")) {
  266.             echo "overflow-hidden";
  267.         }
  268.         echo "\">
  269.         <div class=\"";
  270.         // line 63
  271.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'63$this->source); })()), "getSetting", [=> "app_layout"], "method"falsefalsefalse63), "html"nulltrue);
  272.         echo "\">
  273.             <div class=\"card\">
  274.                 <div class=\"row\">
  275.                     <div class=\"col-12 col-lg-8 ";
  276.         // line 66
  277.         if ((twig_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.'66$this->source); })()), "request", [], "any"falsefalsefalse66), "locale", [], "any"falsefalsefalse66) != "ar")) {
  278.             echo "border-right";
  279.         }
  280.         echo " order-1 order-lg-0\">
  281.                         <div class=\"card-body\">
  282.                             <h1 class=\"card-title b d-none d-lg-block\">";
  283.         // line 68
  284.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'68$this->source); })()), "name", [], "any"falsefalsefalse68), "html"nulltrue);
  285.         echo "</h1>
  286.                             ";
  287.         // line 69
  288.         $context["reviewscount"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'69$this->source); })()), "getReviews", [=> ["count" => true"event" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'69$this->source); })()), "slug", [], "any"falsefalsefalse69)]], "method"falsefalsefalse69), "getQuery", [], "method"falsefalsefalse69), "getSingleScalarResult", [], "method"falsefalsefalse69);
  289.         // line 70
  290.         echo "                            ";
  291.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'70$this->source); })()), "enablereviews", [], "any"falsefalsefalse70)) {
  292.             // line 71
  293.             echo "                                <div class=\"rating-wrap d-none d-lg-block\">
  294.                                     <ul class=\"rating-stars\">
  295.                                         <li style=\"width:";
  296.             // line 73
  297.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'73$this->source); })()), "getRatingPercentage", [], "any"falsefalsefalse73), "html"nulltrue);
  298.             echo "%\" class=\"stars-active\">
  299.                                             <i class=\"fa fa-star\"></i>
  300.                                             <i class=\"fa fa-star\"></i>
  301.                                             <i class=\"fa fa-star\"></i>
  302.                                             <i class=\"fa fa-star\"></i>
  303.                                             <i class=\"fa fa-star\"></i>
  304.                                         </li>
  305.                                         <li>
  306.                                             <i class=\"fa fa-star\"></i>
  307.                                             <i class=\"fa fa-star\"></i>
  308.                                             <i class=\"fa fa-star\"></i>
  309.                                             <i class=\"fa fa-star\"></i>
  310.                                             <i class=\"fa fa-star\"></i>
  311.                                         </li>
  312.                                     </ul>
  313.                                     <div class=\"label-rating\">";
  314.             // line 88
  315.             echo twig_escape_filter($this->env, (isset($context["reviewscount"]) || array_key_exists("reviewscount"$context) ? $context["reviewscount"] : (function () { throw new RuntimeError('Variable "reviewscount" does not exist.'88$this->source); })()), "html"nulltrue);
  316.             echo " ";
  317.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Review(s)")), "html"nulltrue);
  318.             echo "</div>
  319.                                 </div>
  320.                             ";
  321.         }
  322.         // line 91
  323.         echo "                            ";
  324.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'91$this->source); })()), "description", [], "any"falsefalsefalse91)) {
  325.             // line 92
  326.             echo "                                <dl class=\"mt-5 event-description\">
  327.                                     <dt class=\"text-muted\">";
  328.             // line 93
  329.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Description"), "html"nulltrue);
  330.             echo "</dt>
  331.                                     <dd class=\"line-height-2 readmore\" data-collapsed-height=\"500\" data-height-margin=\"20\">
  332.                                         ";
  333.             // line 95
  334.             echo twig_nl2br(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'95$this->source); })()), "description", [], "any"falsefalsefalse95));
  335.             echo "
  336.                                     </dd>
  337.                                 </dl>
  338.                             ";
  339.         }
  340.         // line 99
  341.         echo "                            <ul class=\"list-group list-group-flush mt-5 mb-5 p-0\">
  342.                                 <li class=\"list-group-item pl-0 pr-0\">
  343.                                     ";
  344.         // line 101
  345.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'101$this->source); })()), "category", [], "any"falsefalsefalse101)) {
  346.             // line 102
  347.             echo "                                        <dl class=\"dlist-align\">
  348.                                             <dt class=\"text-muted\">";
  349.             // line 103
  350.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Category"), "html"nulltrue);
  351.             echo "</dt>
  352.                                             <dd class=\"text-right\">";
  353.             // line 104
  354.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'104$this->source); })()), "category", [], "any"falsefalsefalse104), "name", [], "any"falsefalsefalse104), "html"nulltrue);
  355.             echo "</dd>
  356.                                         </dl>
  357.                                     ";
  358.         }
  359.         // line 107
  360.         echo "                                    ";
  361.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'107$this->source); })()), "country", [], "any"falsefalsefalse107)) {
  362.             // line 108
  363.             echo "                                        <dl class=\"dlist-align\">
  364.                                             <dt class=\"text-muted\">";
  365.             // line 109
  366.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Country"), "html"nulltrue);
  367.             echo "</dt>
  368.                                             <dd class=\"text-right\"><span class=\"flag flag-";
  369.             // line 110
  370.             echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'110$this->source); })()), "country", [], "any"falsefalsefalse110), "code", [], "any"falsefalsefalse110)), "html"nulltrue);
  371.             echo "\"></span> ";
  372.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'110$this->source); })()), "country", [], "any"falsefalsefalse110), "name", [], "any"falsefalsefalse110), "html"nulltrue);
  373.             echo "</dd>
  374.                                         </dl>
  375.                                     ";
  376.         }
  377.         // line 113
  378.         echo "                                    ";
  379.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'113$this->source); })()), "languages", [], "any"falsefalsefalse113)) > 0)) {
  380.             // line 114
  381.             echo "                                        <dl class=\"dlist-align\">
  382.                                             <dt class=\"text-muted\">";
  383.             // line 115
  384.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Languages"), "html"nulltrue);
  385.             echo "</dt>
  386.                                             <dd class=\"text-right\">";
  387.             // line 116
  388.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'116$this->source); })()), "displayLanguages", [], "any"falsefalsefalse116), "html"nulltrue);
  389.             echo "</dd>
  390.                                         </dl>
  391.                                     ";
  392.         }
  393.         // line 119
  394.         echo "                                    ";
  395.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'119$this->source); })()), "subtitles", [], "any"falsefalsefalse119)) > 0)) {
  396.             // line 120
  397.             echo "                                        <dl class=\"dlist-align\">
  398.                                             <dt class=\"text-muted\">";
  399.             // line 121
  400.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Subtitles"), "html"nulltrue);
  401.             echo "</dt>
  402.                                             <dd class=\"text-right\">";
  403.             // line 122
  404.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'122$this->source); })()), "displaySubtitles", [], "any"falsefalsefalse122), "html"nulltrue);
  405.             echo "</dd>
  406.                                         </dl>
  407.                                     ";
  408.         }
  409.         // line 125
  410.         echo "                                    ";
  411.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'125$this->source); })()), "artists", [], "any"falsefalsefalse125)) {
  412.             // line 126
  413.             echo "                                        <dl class=\"dlist-align\">
  414.                                             <dt class=\"text-muted\">";
  415.             // line 127
  416.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Artists"), "html"nulltrue);
  417.             echo "</dt>
  418.                                             <dd class=\"text-right\">";
  419.             // line 128
  420.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'128$this->source); })()), "artists", [], "any"falsefalsefalse128), "html"nulltrue);
  421.             echo "</dd>
  422.                                         </dl>
  423.                                     ";
  424.         }
  425.         // line 131
  426.         echo "                                    ";
  427.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'131$this->source); })()), "year", [], "any"falsefalsefalse131)) {
  428.             // line 132
  429.             echo "                                        <dl class=\"dlist-align\">
  430.                                             <dt class=\"text-muted\">";
  431.             // line 133
  432.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Year"), "html"nulltrue);
  433.             echo "</dt>
  434.                                             <dd class=\"text-right\">";
  435.             // line 134
  436.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'134$this->source); })()), "year", [], "any"falsefalsefalse134), "html"nulltrue);
  437.             echo "</dd>
  438.                                         </dl>
  439.                                     ";
  440.         }
  441.         // line 137
  442.         echo "                                    ";
  443.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'137$this->source); })()), "audiences", [], "any"falsefalsefalse137)) > 0)) {
  444.             // line 138
  445.             echo "                                        <dl class=\"dlist-align\">
  446.                                             <dt class=\"text-muted\">";
  447.             // line 139
  448.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Audience"), "html"nulltrue);
  449.             echo "</dt>
  450.                                             <dd class=\"text-right\">
  451.                                                 <ul class=\"list-inline\">
  452.                                                     ";
  453.             // line 142
  454.             $context['_parent'] = $context;
  455.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'142$this->source); })()), "audiences", [], "any"falsefalsefalse142));
  456.             foreach ($context['_seq'] as $context["_key"] => $context["audience"]) {
  457.                 // line 143
  458.                 echo "                                                        <li class=\"list-inline-item\" data-toggle=\"tooltip\" title=\"";
  459.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["audience"], "name", [], "any"falsefalsefalse143), "html"nulltrue);
  460.                 echo "\"><img src=\"";
  461.                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["audience"], "imageName", [], "any"falsefalsefalse143)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["audience"], "getImagePath", [], "any"falsefalsefalse143))) : (twig_get_attribute($this->env$this->source$context["audience"], "getImagePlaceholder", [], "any"falsefalsefalse143))), "html"nulltrue);
  462.                 echo "\" class=\"img-xxs\" alt=\"";
  463.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["audience"], "name", [], "any"falsefalsefalse143), "html"nulltrue);
  464.                 echo "\" /></li>
  465.                                                         ";
  466.             }
  467.             $_parent $context['_parent'];
  468.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['audience'], $context['_parent'], $context['loop']);
  469.             $context array_intersect_key($context$_parent) + $_parent;
  470.             // line 145
  471.             echo "                                                </ul>
  472.                                             </dd>
  473.                                         </dl>
  474.                                     ";
  475.         }
  476.         // line 149
  477.         echo "                                </li>
  478.                             </ul>
  479.                             ";
  480.         // line 151
  481.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'151$this->source); })()), "images", [], "any"falsefalsefalse151)) > 0)) {
  482.             // line 152
  483.             echo "                                <dl class=\"mt-5\">
  484.                                     <dt class=\"text-muted\">";
  485.             // line 153
  486.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Photos"), "html"nulltrue);
  487.             echo "</dt>
  488.                                     <dd class=\"mr-0\">
  489.                                         <div class=\"gallery photos-gallery clearfix\">
  490.                                             ";
  491.             // line 156
  492.             $context['_parent'] = $context;
  493.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'156$this->source); })()), "images", [], "any"falsefalsefalse156));
  494.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  495.                 // line 157
  496.                 echo "                                                <figure>
  497.                                                     ";
  498.                 // line 158
  499.                 if ((twig_get_attribute($this->env$this->source$context["image"], "imageDimensions", [], "any"truetruefalse158) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "imageDimensions", [], "any"falsefalsefalse158)) >= 2))) {
  500.                     // line 159
  501.                     echo "                                                        <a href=\"";
  502.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["image"], "getImagePath", [], "any"falsefalsefalse159)), "html"nulltrue);
  503.                     echo "\" data-size=\"";
  504.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["image"], "imageDimensions", [], "any"falsefalsefalse159), 0, [], "array"falsefalsefalse159), "html"nulltrue);
  505.                     echo "x";
  506.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["image"], "imageDimensions", [], "any"falsefalsefalse159), 1, [], "array"falsefalsefalse159), "html"nulltrue);
  507.                     echo "\">
  508.                                                     ";
  509.                 } else {
  510.                     // line 161
  511.                     echo "                                                        <a href=\"";
  512.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["image"], "getImagePath", [], "any"falsefalsefalse161)), "html"nulltrue);
  513.                     echo "\" data-size=\"default-widthxdefault-height\">
  514.                                                     ";
  515.                 }
  516.                 // line 163
  517.                 echo "                                                        <img class=\"img-lazy-load\" src=\"";
  518.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/loader.gif"), "html"nulltrue);
  519.                 echo "\" data-src=\"";
  520.                 echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter(twig_get_attribute($this->env$this->source$context["image"], "getImagePath", [], "any"falsefalsefalse163), "thumbnail"), "html"nulltrue);
  521.                 echo "\" alt=\"";
  522.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'163$this->source); })()), "name", [], "any"falsefalsefalse163), "html"nulltrue);
  523.                 echo "\" />
  524.                                                     </a>
  525.                                                 </figure>
  526.                                             ";
  527.             }
  528.             $_parent $context['_parent'];
  529.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  530.             $context array_intersect_key($context$_parent) + $_parent;
  531.             // line 168
  532.             echo "
  533.                                         </div>
  534.                                     </dd>
  535.                                 </dl>
  536.                             ";
  537.         }
  538.         // line 173
  539.         echo "                            ";
  540.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'173$this->source); })()), "youtubeurl", [], "any"falsefalsefalse173)) {
  541.             // line 174
  542.             echo "                                <dl class=\"mt-5\">
  543.                                     <dt class=\"text-muted\">";
  544.             // line 175
  545.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Video"), "html"nulltrue);
  546.             echo "</dt>
  547.                                     <dd class=\"mr-0\">
  548.                                         <iframe class=\"w-100 border-0\" height=\"400\" src=\"https://www.youtube.com/embed/";
  549.             // line 177
  550.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'177$this->source); })()), "youtubeurl", [], "any"falsefalsefalse177), "="), 1, [], "array"falsefalsefalse177), "html"nulltrue);
  551.             echo "\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
  552.                                     </dd>
  553.                                 </dl>
  554.                             ";
  555.         }
  556.         // line 181
  557.         echo "                            ";
  558.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'181$this->source); })()), "hasContactAndSocialMedia", [], "any"falsefalsefalse181)) {
  559.             // line 182
  560.             echo "                                <dl class=\"mt-5\">
  561.                                     <dt class=\"text-muted\">";
  562.             // line 183
  563.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Contact & Social media"), "html"nulltrue);
  564.             echo "</dt>
  565.                                     <dd class=\"mr-0\">
  566.                                         <ul class=\"list-icon row no-gutters\">
  567.                                             ";
  568.             // line 186
  569.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'186$this->source); })()), "externallink", [], "any"falsefalsefalse186)) {
  570.                 // line 187
  571.                 echo "                                                <li class=\"col-md-6\"><a href=\"";
  572.                 if ((!twig_in_filter("http://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'187$this->source); })()), "externallink", [], "any"falsefalsefalse187)) && !twig_in_filter("https://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'187$this->source); })()), "externallink", [], "any"falsefalsefalse187)))) {
  573.                     echo "http://";
  574.                 }
  575.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'187$this->source); })()), "externallink", [], "any"falsefalsefalse187), "html"nulltrue);
  576.                 echo "\" rel=\"noopener\" class=\"pl-4\" target=\"_blank\"><i class=\"icon fas fa-globe fa-fw\"></i><span>";
  577.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'187$this->source); })()), "externallink", [], "any"falsefalsefalse187), "html"nulltrue);
  578.                 echo "</span></a></li>
  579.                                                         ";
  580.             }
  581.             // line 189
  582.             echo "                                                        ";
  583.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'189$this->source); })()), "email", [], "any"falsefalsefalse189)) {
  584.                 // line 190
  585.                 echo "                                                <li class=\"col-md-6\"><a href=\"mailto:";
  586.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'190$this->source); })()), "email", [], "any"falsefalsefalse190), "html"nulltrue);
  587.                 echo "\" class=\"pl-4\"><i class=\"icon fas fa-at fa-fw\"></i><span>";
  588.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'190$this->source); })()), "email", [], "any"falsefalsefalse190), "html"nulltrue);
  589.                 echo "</span></a></li>
  590.                                                         ";
  591.             }
  592.             // line 192
  593.             echo "                                                        ";
  594.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'192$this->source); })()), "phonenumber", [], "any"falsefalsefalse192)) {
  595.                 // line 193
  596.                 echo "                                                <li class=\"col-md-6\"><a href=\"tel:";
  597.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'193$this->source); })()), "phonenumber", [], "any"falsefalsefalse193), "html"nulltrue);
  598.                 echo "\" class=\"pl-4\"><i class=\"icon fas fa-phone fa-fw\"></i><span>";
  599.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'193$this->source); })()), "phonenumber", [], "any"falsefalsefalse193), "html"nulltrue);
  600.                 echo "</span></a></li>
  601.                                                         ";
  602.             }
  603.             // line 195
  604.             echo "                                                        ";
  605.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'195$this->source); })()), "facebook", [], "any"falsefalsefalse195)) {
  606.                 // line 196
  607.                 echo "                                                <li class=\"col-md-6\"><a href=\"";
  608.                 if ((!twig_in_filter("http://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'196$this->source); })()), "facebook", [], "any"falsefalsefalse196)) && !twig_in_filter("https://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'196$this->source); })()), "facebook", [], "any"falsefalsefalse196)))) {
  609.                     echo "http://";
  610.                 }
  611.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'196$this->source); })()), "facebook", [], "any"falsefalsefalse196), "html"nulltrue);
  612.                 echo "\" class=\"pl-4\" rel=\"noopener\" target=\"_blank\"><i class=\"icon fab fa-facebook-f fa-fw\"></i><span>";
  613.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'196$this->source); })()), "facebook", [], "any"falsefalsefalse196), "html"nulltrue);
  614.                 echo "</span></a></li>
  615.                                                         ";
  616.             }
  617.             // line 198
  618.             echo "                                                        ";
  619.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'198$this->source); })()), "twitter", [], "any"falsefalsefalse198)) {
  620.                 // line 199
  621.                 echo "                                                <li class=\"col-md-6\"><a href=\"";
  622.                 if ((!twig_in_filter("http://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'199$this->source); })()), "twitter", [], "any"falsefalsefalse199)) && !twig_in_filter("https://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'199$this->source); })()), "twitter", [], "any"falsefalsefalse199)))) {
  623.                     echo "http://";
  624.                 }
  625.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'199$this->source); })()), "twitter", [], "any"falsefalsefalse199), "html"nulltrue);
  626.                 echo "\" class=\"pl-4\" rel=\"noopener\" target=\"_blank\"><i class=\"icon fab fa-twitter fa-fw\"></i><span>";
  627.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'199$this->source); })()), "twitter", [], "any"falsefalsefalse199), "html"nulltrue);
  628.                 echo "</span></a></li>
  629.                                                         ";
  630.             }
  631.             // line 201
  632.             echo "                                                        ";
  633.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'201$this->source); })()), "googleplus", [], "any"falsefalsefalse201)) {
  634.                 // line 202
  635.                 echo "                                                <li class=\"col-md-6\"><a href=\"";
  636.                 if ((!twig_in_filter("http://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'202$this->source); })()), "googleplus", [], "any"falsefalsefalse202)) && !twig_in_filter("https://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'202$this->source); })()), "googleplus", [], "any"falsefalsefalse202)))) {
  637.                     echo "http://";
  638.                 }
  639.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'202$this->source); })()), "googleplus", [], "any"falsefalsefalse202), "html"nulltrue);
  640.                 echo "\" rel=\"noopener\" class=\"pl-4\" target=\"_blank\"><i class=\"icon fab fa-google-plus fa-fw\"></i><span>";
  641.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'202$this->source); })()), "googleplus", [], "any"falsefalsefalse202), "html"nulltrue);
  642.                 echo "</span></a></li>
  643.                                                         ";
  644.             }
  645.             // line 204
  646.             echo "                                                        ";
  647.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'204$this->source); })()), "instagram", [], "any"falsefalsefalse204)) {
  648.                 // line 205
  649.                 echo "                                                <li class=\"col-md-6\"><a href=\"";
  650.                 if ((!twig_in_filter("http://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'205$this->source); })()), "instagram", [], "any"falsefalsefalse205)) && !twig_in_filter("https://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'205$this->source); })()), "instagram", [], "any"falsefalsefalse205)))) {
  651.                     echo "http://";
  652.                 }
  653.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'205$this->source); })()), "instagram", [], "any"falsefalsefalse205), "html"nulltrue);
  654.                 echo "\" rel=\"noopener\" class=\"pl-4\" target=\"_blank\"><i class=\"icon fab fa-instagram fa-fw\"></i><span>";
  655.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'205$this->source); })()), "instagram", [], "any"falsefalsefalse205), "html"nulltrue);
  656.                 echo "</span></a></li>
  657.                                                         ";
  658.             }
  659.             // line 207
  660.             echo "                                                        ";
  661.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'207$this->source); })()), "linkedin", [], "any"falsefalsefalse207)) {
  662.                 // line 208
  663.                 echo "                                                <li class=\"col-md-6\"><a href=\"";
  664.                 if ((!twig_in_filter("http://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'208$this->source); })()), "linkedin", [], "any"falsefalsefalse208)) && !twig_in_filter("https://"twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'208$this->source); })()), "linkedin", [], "any"falsefalsefalse208)))) {
  665.                     echo "http://";
  666.                 }
  667.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'208$this->source); })()), "linkedin", [], "any"falsefalsefalse208), "html"nulltrue);
  668.                 echo "\" rel=\"noopener\" class=\"pl-4\" target=\"_blank\"><i class=\"icon fab fa-linkedin fa-fw\"></i><span>";
  669.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'208$this->source); })()), "linkedin", [], "any"falsefalsefalse208), "html"nulltrue);
  670.                 echo "</span></a></li>
  671.                                                         ";
  672.             }
  673.             // line 210
  674.             echo "                                        </ul>
  675.                                     </dd>
  676.                                 </dl>
  677.                             ";
  678.         }
  679.         // line 214
  680.         echo "                            <dl class=\"mt-5\">
  681.                                 <dt class=\"text-muted\">";
  682.         // line 215
  683.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  684.         echo "</dt>
  685.                                 <dd class=\"mr-0\">
  686.                                     <div class=\"sharer\"></div>
  687.                                 </dd>
  688.                             </dl>
  689.                             ";
  690.         // line 220
  691.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'220$this->source); })()), "tags", [], "any"falsefalsefalse220)) {
  692.             // line 221
  693.             echo "                                <hr class=\"mt-5\">
  694.                                 <div class=\"row\">
  695.                                     <div class=\"col\">
  696.                                         ";
  697.             // line 224
  698.             $context['_parent'] = $context;
  699.             $context['_seq'] = twig_ensure_traversable(twig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'224$this->source); })()), "tags", [], "any"falsefalsefalse224), ","));
  700.             foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
  701.                 // line 225
  702.                 echo "                                            <a href=\"";
  703.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("events", ["keyword" => $context["tag"]]), "html"nulltrue);
  704.                 echo "\" class=\"btn btn-sm btn-default mr-3 mb-3 mt-3\">";
  705.                 echo twig_escape_filter($this->env$context["tag"], "html"nulltrue);
  706.                 echo "</a>
  707.                                         ";
  708.             }
  709.             $_parent $context['_parent'];
  710.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
  711.             $context array_intersect_key($context$_parent) + $_parent;
  712.             // line 227
  713.             echo "                                    </div>
  714.                                 </div>
  715.                             ";
  716.         }
  717.         // line 230
  718.         echo "
  719.                             ";
  720.         // line 231
  721.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'231$this->source); })()), "enablereviews", [], "any"falsefalsefalse231)) {
  722.             // line 232
  723.             echo "                                <hr class=\"mb-5\">
  724.                                 <div class=\"row\">
  725.                                     <div class=\"col-12 col-sm-6 mb-5\">
  726.                                         <h3 class=\"mb-1\">";
  727.             // line 235
  728.             echo twig_escape_filter($this->env, (isset($context["reviewscount"]) || array_key_exists("reviewscount"$context) ? $context["reviewscount"] : (function () { throw new RuntimeError('Variable "reviewscount" does not exist.'235$this->source); })()), "html"nulltrue);
  729.             echo " ";
  730.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("review")), "html"nulltrue);
  731.             echo "</h3>
  732.                                         <div class=\"rating-wrap\">
  733.                                             <ul class=\"rating-stars\">
  734.                                                 <li style=\"width:";
  735.             // line 238
  736.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'238$this->source); })()), "getRatingPercentage", [], "any"falsefalsefalse238), "html"nulltrue);
  737.             echo "%\" class=\"stars-active\">
  738.                                                     <i class=\"fa fa-star\"></i>
  739.                                                     <i class=\"fa fa-star\"></i>
  740.                                                     <i class=\"fa fa-star\"></i>
  741.                                                     <i class=\"fa fa-star\"></i>
  742.                                                     <i class=\"fa fa-star\"></i>
  743.                                                 </li>
  744.                                                 <li>
  745.                                                     <i class=\"fa fa-star\"></i>
  746.                                                     <i class=\"fa fa-star\"></i>
  747.                                                     <i class=\"fa fa-star\"></i>
  748.                                                     <i class=\"fa fa-star\"></i>
  749.                                                     <i class=\"fa fa-star\"></i>
  750.                                                 </li>
  751.                                             </ul>
  752.                                             <div class=\"label-rating\">";
  753.             // line 253
  754.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'253$this->source); })()), "getRatingAvg", [], "any"falsefalsefalse253), "html"nulltrue);
  755.             echo " ";
  756.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("out of 5 stars")), "html"nulltrue);
  757.             echo "</div>
  758.                                         </div>
  759.                                     </div>
  760.                                     <div class=\"col-12 col-sm-6 text-sm-right\">
  761.                                         ";
  762.             // line 257
  763.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  764.                 // line 258
  765.                 echo "                                            ";
  766.                 if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ATTENDEE")) {
  767.                     // line 259
  768.                     echo "                                                ";
  769.                     if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'259$this->source); })()), "isRatedBy", [=> 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.'259$this->source); })()), "user", [], "any"falsefalsefalse259)], "method"falsefalsefalse259)) {
  770.                         // line 260
  771.                         echo "                                                    <a href=\"";
  772.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_attendee_reviews", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'260$this->source); })()), "isRatedBy", [=> 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.'260$this->source); })()), "user", [], "any"falsefalsefalse260)], "method"falsefalsefalse260), "slug", [], "any"falsefalsefalse260)]), "html"nulltrue);
  773.                         echo "\" class=\"btn btn-outline-primary\"><i class=\"far fa-star\"></i> ";
  774.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("My review"), "html"nulltrue);
  775.                         echo "</a>
  776.                                                 ";
  777.                     } else {
  778.                         // line 262
  779.                         echo "                                                    <a href=\"";
  780.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_attendee_reviews_add", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'262$this->source); })()), "slug", [], "any"falsefalsefalse262)]), "html"nulltrue);
  781.                         echo "\" class=\"btn btn-outline-primary\"><i class=\"far fa-star\"></i> ";
  782.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add your review"), "html"nulltrue);
  783.                         echo "</a>
  784.                                                 ";
  785.                     }
  786.                     // line 264
  787.                     echo "                                            ";
  788.                 }
  789.                 // line 265
  790.                 echo "                                        ";
  791.             } else {
  792.                 // line 266
  793.                 echo "                                            <a href=\"";
  794.                 echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login") . "?_target_path=") . twig_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.'266$this->source); })()), "request", [], "any"falsefalsefalse266), "getPathInfo", [], "any"falsefalsefalse266)), "html"nulltrue);
  795.                 echo "\" rel=\"noopener\" class=\"btn btn-outline-primary\"><i class=\"far fa-star\"></i> ";
  796.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add your review"), "html"nulltrue);
  797.                 echo "</a>
  798.                                         ";
  799.             }
  800.             // line 268
  801.             echo "                                    </div>
  802.                                 </div>
  803.                                 <div class=\"row mb-5 event-scorecard\">
  804.                                     <div class=\"col-12\">
  805.                                         <div class=\"side\">
  806.                                             <div>";
  807.             // line 274
  808.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("5 stars"), "html"nulltrue);
  809.             echo "</div>
  810.                                         </div>
  811.                                         <div class=\"middle\">
  812.                                             <div class=\"bar-container\">
  813.                                                 <div class=\"bar\" style=\"width: ";
  814.             // line 278
  815.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'278$this->source); })()), "getRatingsPercentageForRating", [=> 5], "method"falsefalsefalse278), "html"nulltrue);
  816.             echo "%;\"></div>
  817.                                             </div>
  818.                                         </div>
  819.                                         <div class=\"side right\">
  820.                                             <div class=\"text-muted\">";
  821.             // line 282
  822.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'282$this->source); })()), "getRatingsPercentageForRating", [=> 5], "method"falsefalsefalse282), "html"nulltrue);
  823.             echo "%</div>
  824.                                         </div>
  825.                                         <div class=\"side\">
  826.                                             <div>";
  827.             // line 285
  828.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("4 stars"), "html"nulltrue);
  829.             echo "</div>
  830.                                         </div>
  831.                                         <div class=\"middle\">
  832.                                             <div class=\"bar-container\">
  833.                                                 <div class=\"bar\" style=\"width: ";
  834.             // line 289
  835.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'289$this->source); })()), "getRatingsPercentageForRating", [=> 4], "method"falsefalsefalse289), "html"nulltrue);
  836.             echo "%;\"></div>
  837.                                             </div>
  838.                                         </div>
  839.                                         <div class=\"side right\">
  840.                                             <div class=\"text-muted\">";
  841.             // line 293
  842.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'293$this->source); })()), "getRatingsPercentageForRating", [=> 4], "method"falsefalsefalse293), "html"nulltrue);
  843.             echo "%</div>
  844.                                         </div>
  845.                                         <div class=\"side\">
  846.                                             <div>";
  847.             // line 296
  848.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("3 stars"), "html"nulltrue);
  849.             echo "</div>
  850.                                         </div>
  851.                                         <div class=\"middle\">
  852.                                             <div class=\"bar-container\">
  853.                                                 <div class=\"bar\" style=\"width: ";
  854.             // line 300
  855.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'300$this->source); })()), "getRatingsPercentageForRating", [=> 3], "method"falsefalsefalse300), "html"nulltrue);
  856.             echo "%;\"></div>
  857.                                             </div>
  858.                                         </div>
  859.                                         <div class=\"side right\">
  860.                                             <div class=\"text-muted\">";
  861.             // line 304
  862.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'304$this->source); })()), "getRatingsPercentageForRating", [=> 3], "method"falsefalsefalse304), "html"nulltrue);
  863.             echo "%</div>
  864.                                         </div>
  865.                                         <div class=\"side\">
  866.                                             <div>";
  867.             // line 307
  868.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("2 stars"), "html"nulltrue);
  869.             echo "</div>
  870.                                         </div>
  871.                                         <div class=\"middle\">
  872.                                             <div class=\"bar-container\">
  873.                                                 <div class=\"bar\" style=\"width: ";
  874.             // line 311
  875.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'311$this->source); })()), "getRatingsPercentageForRating", [=> 2], "method"falsefalsefalse311), "html"nulltrue);
  876.             echo "%;\"></div>
  877.                                             </div>
  878.                                         </div>
  879.                                         <div class=\"side right\">
  880.                                             <div class=\"text-muted\">";
  881.             // line 315
  882.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'315$this->source); })()), "getRatingsPercentageForRating", [=> 2], "method"falsefalsefalse315), "html"nulltrue);
  883.             echo "%</div>
  884.                                         </div>
  885.                                         <div class=\"side\">
  886.                                             <div>";
  887.             // line 318
  888.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1 star"), "html"nulltrue);
  889.             echo "</div>
  890.                                         </div>
  891.                                         <div class=\"middle\">
  892.                                             <div class=\"bar-container\">
  893.                                                 <div class=\"bar\" style=\"width: ";
  894.             // line 322
  895.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'322$this->source); })()), "getRatingsPercentageForRating", [=> 1], "method"falsefalsefalse322), "html"nulltrue);
  896.             echo "%;\"></div>
  897.                                             </div>
  898.                                         </div>
  899.                                         <div class=\"side right\">
  900.                                             <div class=\"text-muted\">";
  901.             // line 326
  902.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'326$this->source); })()), "getRatingsPercentageForRating", [=> 1], "method"falsefalsefalse326), "html"nulltrue);
  903.             echo "%</div>
  904.                                         </div>
  905.                                     </div>
  906.                                 </div>
  907.                                 ";
  908.             // line 331
  909.             if (twig_length_filter($this->env, (isset($context["reviewscount"]) || array_key_exists("reviewscount"$context) ? $context["reviewscount"] : (function () { throw new RuntimeError('Variable "reviewscount" does not exist.'331$this->source); })()))) {
  910.                 // line 332
  911.                 echo "                                    <div id=\"reviews\" class=\"row\">
  912.                                         <div class=\"col-12\">
  913.                                             ";
  914.                 // line 334
  915.                 $context['_parent'] = $context;
  916.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'334$this->source); })()), "getReviews", [=> ["event" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'334$this->source); })()), "slug", [], "any"falsefalsefalse334), "limit" => 8]], "method"falsefalsefalse334), "getQuery", [], "method"falsefalsefalse334), "getResult", [], "method"falsefalsefalse334));
  917.                 $context['loop'] = [
  918.                   'parent' => $context['_parent'],
  919.                   'index0' => 0,
  920.                   'index'  => 1,
  921.                   'first'  => true,
  922.                 ];
  923.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  924.                     $length count($context['_seq']);
  925.                     $context['loop']['revindex0'] = $length 1;
  926.                     $context['loop']['revindex'] = $length;
  927.                     $context['loop']['length'] = $length;
  928.                     $context['loop']['last'] = === $length;
  929.                 }
  930.                 foreach ($context['_seq'] as $context["_key"] => $context["review"]) {
  931.                     // line 335
  932.                     echo "                                                ";
  933.                     $this->loadTemplate("Global/user-review.html.twig""Front/Event/event.html.twig"335)->display(twig_array_merge($context, ["review" => $context["review"], "showuser" => 1]));
  934.                     // line 336
  935.                     echo "                                            ";
  936.                     ++$context['loop']['index0'];
  937.                     ++$context['loop']['index'];
  938.                     $context['loop']['first'] = false;
  939.                     if (isset($context['loop']['length'])) {
  940.                         --$context['loop']['revindex0'];
  941.                         --$context['loop']['revindex'];
  942.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  943.                     }
  944.                 }
  945.                 $_parent $context['_parent'];
  946.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['review'], $context['_parent'], $context['loop']);
  947.                 $context array_intersect_key($context$_parent) + $_parent;
  948.                 // line 337
  949.                 echo "                                            ";
  950.                 if (((isset($context["reviewscount"]) || array_key_exists("reviewscount"$context) ? $context["reviewscount"] : (function () { throw new RuntimeError('Variable "reviewscount" does not exist.'337$this->source); })()) > 8)) {
  951.                     // line 338
  952.                     echo "                                                <a href=\"";
  953.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("event_reviews");
  954.                     echo "\" class=\"btn btn-outline-primary mx-auto\"><i class=\"far fa-star-half-full\"></i> ";
  955.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("See all %reviewscount% reviews", ["%reviewscount%" => (isset($context["reviewscount"]) || array_key_exists("reviewscount"$context) ? $context["reviewscount"] : (function () { throw new RuntimeError('Variable "reviewscount" does not exist.'338$this->source); })())]), "html"nulltrue);
  956.                     echo "</a>
  957.                                             ";
  958.                 }
  959.                 // line 340
  960.                 echo "                                        </div>
  961.                                     </div>
  962.                                 ";
  963.             }
  964.             // line 343
  965.             echo "
  966.                             ";
  967.         }
  968.         // line 345
  969.         echo "
  970.                         </div>
  971.                     </div>
  972.                     <div class=\"col-12 col-lg-4 order-0 order-lg-1 ";
  973.         // line 348
  974.         if ((twig_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.'348$this->source); })()), "request", [], "any"falsefalsefalse348), "locale", [], "any"falsefalsefalse348) == "ar")) {
  975.             echo "border-right";
  976.         }
  977.         echo "\">
  978.                         <div class=\"card-body\">
  979.                             <h1 class=\"card-title b d-lg-none text-center\">";
  980.         // line 350
  981.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'350$this->source); })()), "name", [], "any"falsefalsefalse350), "html"nulltrue);
  982.         echo "</h1>
  983.                             ";
  984.         // line 351
  985.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'351$this->source); })()), "enablereviews", [], "any"falsefalsefalse351)) {
  986.             // line 352
  987.             echo "                                <div class=\"rating-wrap mb-5 d-lg-none text-center\">
  988.                                     <ul class=\"rating-stars\">
  989.                                         <li style=\"width:";
  990.             // line 354
  991.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'354$this->source); })()), "getRatingPercentage", [], "any"falsefalsefalse354), "html"nulltrue);
  992.             echo "%\" class=\"stars-active\">
  993.                                             <i class=\"fa fa-star\"></i>
  994.                                             <i class=\"fa fa-star\"></i>
  995.                                             <i class=\"fa fa-star\"></i>
  996.                                             <i class=\"fa fa-star\"></i>
  997.                                             <i class=\"fa fa-star\"></i>
  998.                                         </li>
  999.                                         <li>
  1000.                                             <i class=\"fa fa-star\"></i>
  1001.                                             <i class=\"fa fa-star\"></i>
  1002.                                             <i class=\"fa fa-star\"></i>
  1003.                                             <i class=\"fa fa-star\"></i>
  1004.                                             <i class=\"fa fa-star\"></i>
  1005.                                         </li>
  1006.                                     </ul>
  1007.                                     <div class=\"label-rating\">";
  1008.             // line 369
  1009.             echo twig_escape_filter($this->env, (isset($context["reviewscount"]) || array_key_exists("reviewscount"$context) ? $context["reviewscount"] : (function () { throw new RuntimeError('Variable "reviewscount" does not exist.'369$this->source); })()), "html"nulltrue);
  1010.             echo " ";
  1011.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Reviews")), "html"nulltrue);
  1012.             echo "</div>
  1013.                                 </div>
  1014.                             ";
  1015.         }
  1016.         // line 372
  1017.         echo "                            ";
  1018.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'372$this->source); })()), "hasAnEventDateOnSale", [], "any"falsefalsefalse372)) {
  1019.             // line 373
  1020.             echo "
  1021.                                 ";
  1022.             // line 375
  1023.             echo "                                ";
  1024.             if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'375$this->source); })()), "hasTwoOrMoreEventDatesOnSale", [], "any"falsefalsefalse375)) {
  1025.                 // line 376
  1026.                 echo "                                    ";
  1027.                 $context["eventDatesCalendar"] = [];
  1028.                 // line 377
  1029.                 echo "                                    ";
  1030.                 $context['_parent'] = $context;
  1031.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'377$this->source); })()), "eventdates", [], "any"falsefalsefalse377));
  1032.                 foreach ($context['_seq'] as $context["_key"] => $context["eventDate"]) {
  1033.                     if (twig_get_attribute($this->env$this->source$context["eventDate"], "isOnSale", [], "any"falsefalsefalse377)) {
  1034.                         // line 378
  1035.                         echo "                                        ";
  1036.                         $context["eventDatesCalendar"] = twig_array_merge((isset($context["eventDatesCalendar"]) || array_key_exists("eventDatesCalendar"$context) ? $context["eventDatesCalendar"] : (function () { throw new RuntimeError('Variable "eventDatesCalendar" does not exist.'378$this->source); })()), [=> ["Date" => twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse378), "Y-m-d"), "Title" => twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse378), "g:i A"), "Link" => twig_get_attribute($this->env$this->source$context["eventDate"], "reference", [], "any"falsefalsefalse378)]]);
  1037.                         // line 379
  1038.                         echo "                                    ";
  1039.                     }
  1040.                 }
  1041.                 $_parent $context['_parent'];
  1042.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['eventDate'], $context['_parent'], $context['loop']);
  1043.                 $context array_intersect_key($context$_parent) + $_parent;
  1044.                 // line 380
  1045.                 echo "                                    ";
  1046.                 $this->loadTemplate("Global/message.html.twig""Front/Event/event.html.twig"380)->display(twig_array_merge($context, ["type" => "info""icon" => "fas fa-info-circle""message" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Click on a date to view tickets")]));
  1047.                 // line 381
  1048.                 echo "
  1049.                                     <div id=\"event-dates-calendar\" class=\"mt-5\" data-event-dates=\"";
  1050.                 // line 382
  1051.                 echo twig_escape_filter($this->envjson_encode((isset($context["eventDatesCalendar"]) || array_key_exists("eventDatesCalendar"$context) ? $context["eventDatesCalendar"] : (function () { throw new RuntimeError('Variable "eventDatesCalendar" does not exist.'382$this->source); })())), "html"nulltrue);
  1052.                 echo "\"></div>
  1053.                                     ";
  1054.                 // line 383
  1055.                 if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ATTENDEE")) {
  1056.                     // line 384
  1057.                     echo "                                        <button id=\"add-to-cart-button\" type=\"button\" class=\"btn btn-primary btn-block mt-3 mb-3\"><i class=\"fas fa-cart-plus\"></i> ";
  1058.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to cart"), "html"nulltrue);
  1059.                     echo "</button>
  1060.                                     ";
  1061.                 }
  1062.                 // line 386
  1063.                 echo "
  1064.                                 ";
  1065.             }
  1066.             // line 388
  1067.             echo "
  1068.                                 <form id=\"add-to-cart-form\" action=\"";
  1069.             // line 389
  1070.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_attendee_cart_add");
  1071.             echo "\" method=\"post\">
  1072.                                     ";
  1073.             // line 390
  1074.             $context['_parent'] = $context;
  1075.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'390$this->source); })()), "eventdates", [], "any"falsefalsefalse390));
  1076.             $context['loop'] = [
  1077.               'parent' => $context['_parent'],
  1078.               'index0' => 0,
  1079.               'index'  => 1,
  1080.               'first'  => true,
  1081.             ];
  1082.             foreach ($context['_seq'] as $context["_key"] => $context["eventDate"]) {
  1083.                 if (twig_get_attribute($this->env$this->source$context["eventDate"], "isOnSale", [], "any"falsefalsefalse390)) {
  1084.                     // line 391
  1085.                     echo "
  1086.                                         <div id=\"eventDate-";
  1087.                     // line 392
  1088.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "reference", [], "any"falsefalsefalse392), "html"nulltrue);
  1089.                     echo "-wrapper\" class=\"event-eventDate-wrapper\">
  1090.                                             <dl>
  1091.                                                 <dt class=\"text-muted\">
  1092.                                                     <span>";
  1093.                     // line 395
  1094.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dates"), "html"nulltrue);
  1095.                     echo "</span>
  1096.                                                 </dt>
  1097.                                                 <dd>
  1098.                                                     <div class=\"text-center\">
  1099.                                                         ";
  1100.                     // line 400
  1101.                     echo "                                                        ";
  1102.                     $context["eventstartdate"] = "";
  1103.                     // line 401
  1104.                     echo "                                                        ";
  1105.                     $context["eventenddate"] = "";
  1106.                     // line 402
  1107.                     echo "                                                        ";
  1108.                     $context["eventlocation"] = "";
  1109.                     // line 403
  1110.                     echo "                                                        ";
  1111.                     if (twig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse403)) {
  1112.                         // line 404
  1113.                         echo "                                                            ";
  1114.                         $context["eventlocation"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse404), "name", [], "any"falsefalsefalse404) . ": ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse404), "stringifyAddress", [], "any"falsefalsefalse404));
  1115.                         // line 405
  1116.                         echo "                                                        ";
  1117.                     } else {
  1118.                         // line 406
  1119.                         echo "                                                            ";
  1120.                         $context["eventlocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Online");
  1121.                         // line 407
  1122.                         echo "                                                        ";
  1123.                     }
  1124.                     // line 408
  1125.                     echo "                                                        ";
  1126.                     if (twig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse408)) {
  1127.                         // line 409
  1128.                         echo "                                                            <div class=\"display-inline-block\">
  1129.                                                                 <div class=\"display-inline-block\">
  1130.                                                                     <span class=\"font-size-3rem\">";
  1131.                         // line 411
  1132.                         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse411), "d"), "html"nulltrue);
  1133.                         echo "</span>
  1134.                                                                 </div>
  1135.                                                                 <div class=\"display-inline-block mr-3\">
  1136.                                                                     <div><span class=\"font-size-1rem\">";
  1137.                         // line 414
  1138.                         echo twig_escape_filter($this->envtwig_slice($this->envtwig_capitalize_string_filter($this->envtwig_localized_date_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse414), "none""none"twig_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.'414$this->source); })()), "request", [], "any"falsefalsefalse414), "locale", [], "any"falsefalsefalse414), null"MMMM")), 03), "html"nulltrue);
  1139.                         echo "</span></div>
  1140.                                                                     <div><span>";
  1141.                         // line 415
  1142.                         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse415), "Y"), "html"nulltrue);
  1143.                         echo "</span></div>
  1144.                                                                 </div>
  1145.                                                                 <div class=\"mb-2\">
  1146.                                                                     <span class=\"text-muted b\">
  1147.                                                                         ";
  1148.                         // line 419
  1149.                         echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse419), "g:i a")), "html"nulltrue);
  1150.                         echo "
  1151.                                                                         ";
  1152.                         // line 420
  1153.                         if (twig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse420)) {
  1154.                             // line 421
  1155.                             echo "                                                                            ";
  1156.                             if ((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse421), "Y-m-d") == twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse421), "Y-m-d"))) {
  1157.                                 // line 422
  1158.                                 echo "                                                                                - ";
  1159.                                 echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse422), "g:i a")), "html"nulltrue);
  1160.                                 echo "
  1161.                                                                             ";
  1162.                             }
  1163.                             // line 424
  1164.                             echo "                                                                        ";
  1165.                         }
  1166.                         // line 425
  1167.                         echo "                                                                    </span>
  1168.                                                                 </div>
  1169.                                                             </div>
  1170.                                                             ";
  1171.                         // line 428
  1172.                         $context["eventstartdate"] = twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse428), "F d, Y H:i");
  1173.                         // line 429
  1174.                         echo "                                                        ";
  1175.                     }
  1176.                     // line 430
  1177.                     echo "                                                        ";
  1178.                     if (twig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse430)) {
  1179.                         // line 431
  1180.                         echo "                                                            ";
  1181.                         if ((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse431), "Y-m-d") != twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "startdate", [], "any"falsefalsefalse431), "Y-m-d"))) {
  1182.                             // line 432
  1183.                             echo "                                                                <div class=\"display-inline-block\">
  1184.                                                                     <div class=\"display-inline-block\">
  1185.                                                                         <span class=\"font-size-3rem\">";
  1186.                             // line 434
  1187.                             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse434), "d"), "html"nulltrue);
  1188.                             echo "</span>
  1189.                                                                     </div>
  1190.                                                                     <div class=\"display-inline-block\">
  1191.                                                                         <div><span class=\"font-size-1rem\">";
  1192.                             // line 437
  1193.                             echo twig_escape_filter($this->envtwig_slice($this->envtwig_capitalize_string_filter($this->envtwig_localized_date_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse437), "none""none"twig_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.'437$this->source); })()), "request", [], "any"falsefalsefalse437), "locale", [], "any"falsefalsefalse437), null"MMMM")), 03), "html"nulltrue);
  1194.                             echo "</span></div>
  1195.                                                                         <div><span>";
  1196.                             // line 438
  1197.                             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse438), "Y"), "html"nulltrue);
  1198.                             echo "</span></div>
  1199.                                                                     </div>
  1200.                                                                     <div class=\"mb-2\"><span class=\"text-muted b\">";
  1201.                             // line 440
  1202.                             echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse440), "g:i a")), "html"nulltrue);
  1203.                             echo "</span></div>
  1204.                                                                 </div>
  1205.                                                             ";
  1206.                         }
  1207.                         // line 443
  1208.                         echo "                                                            ";
  1209.                         $context["eventstartdate"] = twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "enddate", [], "any"falsefalsefalse443), "F d, Y H:i");
  1210.                         // line 444
  1211.                         echo "                                                        ";
  1212.                     }
  1213.                     // line 445
  1214.                     echo "                                                        <div class=\"clearfix\"></div>
  1215.                                                         <a id=\"add-to-calendar-link\" data-toggle=\"modal\" data-target=\"#add-to-calendar-modal\" href=\"javascript:void(0)\" data-title=\"";
  1216.                     // line 446
  1217.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'446$this->source); })()), "name", [], "any"falsefalsefalse446), "html"nulltrue);
  1218.                     echo "\" data-start=\"";
  1219.                     echo twig_escape_filter($this->env, (isset($context["eventstartdate"]) || array_key_exists("eventstartdate"$context) ? $context["eventstartdate"] : (function () { throw new RuntimeError('Variable "eventstartdate" does not exist.'446$this->source); })()), "html"nulltrue);
  1220.                     echo "\" data-end=\"";
  1221.                     echo twig_escape_filter($this->env, (isset($context["eventenddate"]) || array_key_exists("eventenddate"$context) ? $context["eventenddate"] : (function () { throw new RuntimeError('Variable "eventenddate" does not exist.'446$this->source); })()), "html"nulltrue);
  1222.                     echo "\" data-address=\"";
  1223.                     echo twig_escape_filter($this->env, (isset($context["eventlocation"]) || array_key_exists("eventlocation"$context) ? $context["eventlocation"] : (function () { throw new RuntimeError('Variable "eventlocation" does not exist.'446$this->source); })()), "html"nulltrue);
  1224.                     echo "\" data-description=\"";
  1225.                     echo twig_nl2br(twig_slice($this->envtwig_striptags(twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'446$this->source); })()), "description", [], "any"falsefalsefalse446)), 0250));
  1226.                     echo "\"><i class=\"fas fa-calendar-plus\"></i> ";
  1227.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to calendar"), "html"nulltrue);
  1228.                     echo "</a>
  1229.                                                         <div class=\"modal fade\" id=\"add-to-calendar-modal\">
  1230.                                                             <div class=\"modal-dialog modal-dialog-centered\">
  1231.                                                                 <div class=\"modal-content\">
  1232.                                                                     <div class=\"modal-header\">
  1233.                                                                         <h4 class=\"modal-title\"><i class=\"fas fa-calendar-plus\"></i> ";
  1234.                     // line 451
  1235.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to calendar"), "html"nulltrue);
  1236.                     echo "</h4>
  1237.                                                                         <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  1238.                                                                     </div>
  1239.                                                                     <div id=\"add-to-calendar\" class=\"modal-body\">
  1240.                                                                     </div>
  1241.                                                                     <div class=\"modal-footer\">
  1242.                                                                         <button type=\"button\" class=\"btn btn-primary\" data-dismiss=\"modal\">";
  1243.                     // line 457
  1244.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Close"), "html"nulltrue);
  1245.                     echo "</button>
  1246.                                                                     </div>
  1247.                                                                 </div>
  1248.                                                             </div>
  1249.                                                         </div>
  1250.                                                     </div>
  1251.                                                 </dd>
  1252.                                             </dl>
  1253.                                             <hr class=\"hr-md\">
  1254.                                             ";
  1255.                     // line 467
  1256.                     if (twig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse467)) {
  1257.                         // line 468
  1258.                         echo "                                                <dl>
  1259.                                                     <dt class=\"text-muted\">
  1260.                                                         <span class=\"";
  1261.                         // line 470
  1262.                         if ((twig_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.'470$this->source); })()), "request", [], "any"falsefalsefalse470), "locale", [], "any"falsefalsefalse470) == "ar")) {
  1263.                             echo "float-right";
  1264.                         } else {
  1265.                             echo "float-left";
  1266.                         }
  1267.                         echo "\">";
  1268.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Venue"), "html"nulltrue);
  1269.                         echo "</span>
  1270.                                                         ";
  1271.                         // line 471
  1272.                         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse471), "listedondirectory", [], "any"falsefalsefalse471)) {
  1273.                             // line 472
  1274.                             echo "                                                            <a href=\"";
  1275.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("venue", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse472), "slug", [], "any"falsefalsefalse472)]), "html"nulltrue);
  1276.                             echo "\" class=\"";
  1277.                             if ((twig_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.'472$this->source); })()), "request", [], "any"falsefalsefalse472), "locale", [], "any"falsefalsefalse472) == "ar")) {
  1278.                                 echo "float-left";
  1279.                             } else {
  1280.                                 echo "float-right";
  1281.                             }
  1282.                             echo " text-sm\"><i class=\"far fa-building\"></i> ";
  1283.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Details"), "html"nulltrue);
  1284.                             echo "</a>
  1285.                                                         ";
  1286.                         }
  1287.                         // line 474
  1288.                         echo "                                                        <div class=\"clearfix\"></div>
  1289.                                                     </dt>
  1290.                                                     <dd class=\"mr-0\">
  1291.                                                         <h4 class=\"text-center\">";
  1292.                         // line 478
  1293.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse478), "name", [], "any"falsefalsefalse478), "html"nulltrue);
  1294.                         echo "</h4>
  1295.                                                         <p>";
  1296.                         // line 479
  1297.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse479), "stringifyAddress", [], "any"falsefalsefalse479), "html"nulltrue);
  1298.                         echo "</p>
  1299.                                                         <div class=\"d-flex mb-3\">
  1300.                                                             <ul class=\"list-inline mx-auto\">
  1301.                                                                 <li class=\"list-inline-item\"><a href=\"https://www.google.com/maps/dir/?api=1&destination=";
  1302.                         // line 482
  1303.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse482), "lat", [], "any"falsefalsefalse482), "html"nulltrue);
  1304.                         echo ",";
  1305.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse482), "lng", [], "any"falsefalsefalse482), "html"nulltrue);
  1306.                         echo "&travelmode=driving\" class=\"text-black-50\" data-toggle=\"tooltip\" title=\"";
  1307.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Display itinerary driving"), "html"nulltrue);
  1308.                         echo "\"  rel=\"noopener\" target=\"_blank\"><i class=\"fas fa-car fa-fw\"></i></a></li>
  1309.                                                                 <li class=\"list-inline-item\"><a href=\"https://www.google.com/maps/dir/?api=1&destination=";
  1310.                         // line 483
  1311.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse483), "lat", [], "any"falsefalsefalse483), "html"nulltrue);
  1312.                         echo ",";
  1313.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse483), "lng", [], "any"falsefalsefalse483), "html"nulltrue);
  1314.                         echo "&travelmode=walking\" class=\"text-black-50\" data-toggle=\"tooltip\" title=\"";
  1315.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Display itinerary walking"), "html"nulltrue);
  1316.                         echo "\" rel=\"noopener\" target=\"_blank\"><i class=\"fas fa-walking fa-fw\"></i></a></li>
  1317.                                                                 <li class=\"list-inline-item\"><a href=\"https://www.google.com/maps/dir/?api=1&destination=";
  1318.                         // line 484
  1319.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse484), "lat", [], "any"falsefalsefalse484), "html"nulltrue);
  1320.                         echo ",";
  1321.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse484), "lng", [], "any"falsefalsefalse484), "html"nulltrue);
  1322.                         echo "&travelmode=transit\" class=\"text-black-50\" data-toggle=\"tooltip\" title=\"";
  1323.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Display itinerary on public transportation"), "html"nulltrue);
  1324.                         echo "\" rel=\"noopener\" target=\"_blank\"><i class=\"fas fa-bus fa-fw\"></i></a></li>
  1325.                                                                 <li class=\"list-inline-item\"><a href=\"https://www.google.com/maps/dir/?api=1&destination=";
  1326.                         // line 485
  1327.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse485), "lat", [], "any"falsefalsefalse485), "html"nulltrue);
  1328.                         echo ",";
  1329.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse485), "lng", [], "any"falsefalsefalse485), "html"nulltrue);
  1330.                         echo "&travelmode=bicycling\" class=\"text-black-50\" data-toggle=\"tooltip\" title=\"";
  1331.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Display itinerary bicycling"), "html"nulltrue);
  1332.                         echo "\" rel=\"noopener\" target=\"_blank\"><i class=\"fas fa-bicycle fa-fw\"></i></a></li>
  1333.                                                             </ul>
  1334.                                                         </div>
  1335.                                                         <iframe class=\"w-100 border-0 venue-map\" height=\"300\" src=\"";
  1336.                         // line 488
  1337.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'488$this->source); })()), "getCurrentRequestProtocol", [], "method"falsefalsefalse488), "html"nulltrue);
  1338.                         echo "://maps.google.com/maps?q=";
  1339.                         echo twig_escape_filter($this->env, ((twig_urlencode_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse488), "name", [], "any"falsefalsefalse488)) . "%20") . twig_urlencode_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["eventDate"], "venue", [], "any"falsefalsefalse488), "stringifyAddress", [], "any"falsefalsefalse488))), "html"nulltrue);
  1340.                         echo "&t=&z=13&ie=UTF8&iwloc=&output=embed\"></iframe>
  1341.                                                     </dd>
  1342.                                                 </dl>
  1343.                                             ";
  1344.                     } else {
  1345.                         // line 492
  1346.                         echo "                                                <dl>
  1347.                                                     <dt class=\"text-muted\">
  1348.                                                         <span class=\"";
  1349.                         // line 494
  1350.                         if ((twig_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.'494$this->source); })()), "request", [], "any"falsefalsefalse494), "locale", [], "any"falsefalsefalse494) == "ar")) {
  1351.                             echo "float-right";
  1352.                         } else {
  1353.                             echo "float-left";
  1354.                         }
  1355.                         echo "\">";
  1356.                         echo "Venue";
  1357.                         echo "</span>
  1358.                                                     </dt>
  1359.                                                     <dd>
  1360.                                                         <br>
  1361.                                                         <h4 class=\"text-center\">";
  1362.                         // line 499
  1363.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Online"), "html"nulltrue);
  1364.                         echo "</h4>
  1365.                                                     </dd>
  1366.                                                 </dl>
  1367.                                             ";
  1368.                     }
  1369.                     // line 503
  1370.                     echo "                                            <hr class=\"hr-md\">
  1371.                                             <dl class=\"mt-5\">
  1372.                                                 <dt class=\"text-muted\">";
  1373.                     // line 505
  1374.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tickets"), "html"nulltrue);
  1375.                     echo "</dt>
  1376.                                                 <dd class=\"mr-0\">
  1377.                                                     <div class=\"table-responsive\">
  1378.                                                         <table class=\"table table-hover table-condensed\">
  1379.                                                             <tbody>
  1380.                                                                 ";
  1381.                     // line 510
  1382.                     $context['_parent'] = $context;
  1383.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["eventDate"], "tickets", [], "any"falsefalsefalse510));
  1384.                     foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
  1385.                         // line 511
  1386.                         echo "                                                                    ";
  1387.                         if (twig_get_attribute($this->env$this->source$context["ticket"], "active", [], "any"falsefalsefalse511)) {
  1388.                             // line 512
  1389.                             echo "                                                                        <tr class=\"bg-gray\">
  1390.                                                                             <td class=\"border-top-white\" style=\"width: 75%;\">
  1391.                                                                                 ";
  1392.                             // line 514
  1393.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ticket"], "name", [], "any"falsefalsefalse514), "html"nulltrue);
  1394.                             echo "
  1395.                                                                             </td>
  1396.                                                                             <td class=\"border-top-white text-right\">
  1397.                                                                                 ";
  1398.                             // line 517
  1399.                             if ( !twig_get_attribute($this->env$this->source$context["ticket"], "isOnSale", [], "any"falsefalsefalse517)) {
  1400.                                 // line 518
  1401.                                 echo "                                                                                    <span class=\"badge badge-";
  1402.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ticket"], "stringifyStatusClass", [], "any"falsefalsefalse518), "html"nulltrue);
  1403.                                 echo "\">";
  1404.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["ticket"], "stringifyStatus", [], "any"falsefalsefalse518)), "html"nulltrue);
  1405.                                 echo "</span>
  1406.                                                                                 ";
  1407.                             } else {
  1408.                                 // line 520
  1409.                                 echo "                                                                                    ";
  1410.                                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["ticket"], "free", [], "any"falsefalsefalse520)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Free")) : ((((((twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'520$this->source); })()), "getSetting", [=> "currency_position"], "method"falsefalsefalse520) == "left")) ? (twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'520$this->source); })()), "getSetting", [=> "currency_symbol"], "method"falsefalsefalse520)) : ("")) . twig_get_attribute($this->env$this->source$context["ticket"], "getSalePrice", [], "method"falsefalsefalse520)) . (((twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'520$this->source); })()), "getSetting", [=> "currency_position"], "method"falsefalsefalse520) == "right")) ? (twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'520$this->source); })()), "getSetting", [=> "currency_symbol"], "method"falsefalsefalse520)) : (""))))), "html"nulltrue);
  1411.                                 echo "
  1412.                                                                                     ";
  1413.                                 // line 521
  1414.                                 if ((twig_get_attribute($this->env$this->source$context["ticket"], "promotionalprice", [], "any"falsefalsefalse521) &&  !twig_get_attribute($this->env$this->source$context["ticket"], "free", [], "any"falsefalsefalse521))) {
  1415.                                     // line 522
  1416.                                     echo "                                                                                        <del class=\"price-old\">";
  1417.                                     echo twig_escape_filter($this->env, (((((twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'522$this->source); })()), "getSetting", [=> "currency_position"], "method"falsefalsefalse522) == "left")) ? (twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'522$this->source); })()), "getSetting", [=> "currency_symbol"], "method"falsefalsefalse522)) : ("")) . twig_get_attribute($this->env$this->source$context["ticket"], "getPrice", [], "method"falsefalsefalse522)) . (((twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'522$this->source); })()), "getSetting", [=> "currency_position"], "method"falsefalsefalse522) == "right")) ? (twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'522$this->source); })()), "getSetting", [=> "currency_symbol"], "method"falsefalsefalse522)) : (""))), "html"nulltrue);
  1418.                                     echo "</del>
  1419.                                                                                     ";
  1420.                                 }
  1421.                                 // line 524
  1422.                                 echo "                                                                                ";
  1423.                             }
  1424.                             // line 525
  1425.                             echo "                                                                        </tr>
  1426.                                                                     ";
  1427.                         }
  1428.                         // line 527
  1429.                         echo "                                                                ";
  1430.                     }
  1431.                     $_parent $context['_parent'];
  1432.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
  1433.                     $context array_intersect_key($context$_parent) + $_parent;
  1434.                     // line 528
  1435.                     echo "                                                            </tbody>
  1436.                                                         </table>
  1437.                                                     </div>
  1438.                                                     ";
  1439.                     // line 531
  1440.                     if (( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ATTENDEE"))) {
  1441.                         // line 532
  1442.                         echo "                                                        ";
  1443.                         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  1444.                             // line 533
  1445.                             echo "                                                            <a href=\"#\" class=\"btn btn-primary btn-block mb-2 buy-tickets-modal-button\" data-toggle=\"modal\" data-target=\"#buy-tickets-modal-eventDate-";
  1446.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["eventDate"], "reference", [], "any"falsefalsefalse533), "html"nulltrue);
  1447.                             echo "\"><i class=\"fas fa-ticket-alt\"></i> ";
  1448.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tickets"), "html"nulltrue);
  1449.                             echo "</a>
  1450.                                                             ";
  1451.                             // line 534
  1452.                             $this->loadTemplate("Dashboard/Attendee/Cart/add-to-cart-modal.html.twig""Front/Event/event.html.twig"534)->display(twig_array_merge($context, ["eventdate" => $context["eventDate"]]));
  1453.                             // line 535
  1454.                             echo "                                                        ";
  1455.                         } else {
  1456.                             // line 536
  1457.                             echo "                                                            <a href=\"";
  1458.                             echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login") . "?_target_path=") . twig_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.'536$this->source); })()), "request", [], "any"falsefalsefalse536), "getPathInfo", [], "any"falsefalsefalse536)), "html"nulltrue);
  1459.                             echo "\" class=\"btn btn-primary btn-block\"><i class=\"fas fa-ticket-alt\"></i> ";
  1460.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tickets"), "html"nulltrue);
  1461.                             echo "</a>
  1462.                                                         ";
  1463.                         }
  1464.                         // line 538
  1465.                         echo "                                                    ";
  1466.                     }
  1467.                     // line 539
  1468.                     echo "                                                </dd>
  1469.                                             </dl>
  1470.                                         </div>
  1471.                                     ";
  1472.                     ++$context['loop']['index0'];
  1473.                     ++$context['loop']['index'];
  1474.                     $context['loop']['first'] = false;
  1475.                 }
  1476.             }
  1477.             $_parent $context['_parent'];
  1478.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['eventDate'], $context['_parent'], $context['loop']);
  1479.             $context array_intersect_key($context$_parent) + $_parent;
  1480.             // line 544
  1481.             echo "                                </form>
  1482.                                 ";
  1483.             // line 546
  1484.             if (( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ATTENDEE"))) {
  1485.                 // line 547
  1486.                 echo "                                    ";
  1487.                 if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  1488.                     // line 548
  1489.                     echo "                                        ";
  1490.                     if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'548$this->source); })()), "isAddedToFavoritesBy", [=> 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.'548$this->source); })()), "user", [], "any"falsefalsefalse548)], "method"falsefalsefalse548)) {
  1491.                         // line 549
  1492.                         echo "                                            <button class=\"event-favorites-remove btn btn-outline-primary btn-block\" data-target=\"";
  1493.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_attendee_favorites_remove", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'549$this->source); })()), "slug", [], "any"falsefalsefalse549)]), "html"nulltrue);
  1494.                         echo "\" data-toggle=\"tooltip\" title=\"\" data-placement=\"bottom\"><i class=\"fas fa-heart\"></i> ";
  1495.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Remove from favorites"), "html"nulltrue);
  1496.                         echo "</button>
  1497.                                         ";
  1498.                     } else {
  1499.                         // line 551
  1500.                         echo "                                            <button class=\"event-favorites-add btn btn-outline-primary btn-block\" data-target=\"";
  1501.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_attendee_favorites_add", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'551$this->source); })()), "slug", [], "any"falsefalsefalse551)]), "html"nulltrue);
  1502.                         echo "\" data-toggle=\"tooltip\" title=\"\" data-placement=\"bottom\"><i class=\"far fa-heart\"></i> ";
  1503.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to favorites"), "html"nulltrue);
  1504.                         echo "</button>
  1505.                                         ";
  1506.                     }
  1507.                     // line 553
  1508.                     echo "                                    ";
  1509.                 } else {
  1510.                     // line 554
  1511.                     echo "                                        <a href=\"";
  1512.                     echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login") . "?_target_path=") . twig_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.'554$this->source); })()), "request", [], "any"falsefalsefalse554), "getPathInfo", [], "any"falsefalsefalse554)), "html"nulltrue);
  1513.                     echo "\" class=\"btn btn-outline-primary btn-block\"><i class=\"far fa-heart\"></i> ";
  1514.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to favorites"), "html"nulltrue);
  1515.                     echo "</a>
  1516.                                     ";
  1517.                 }
  1518.                 // line 556
  1519.                 echo "                                ";
  1520.             }
  1521.             // line 557
  1522.             echo "
  1523.                             ";
  1524.         } else {
  1525.             // line 559
  1526.             echo "                                ";
  1527.             $this->loadTemplate("Global/message.html.twig""Front/Event/event.html.twig"559)->display(twig_array_merge($context, ["type" => "info""icon" => "fas fa-info-circle""message" => "No tickets on sale at this moment"]));
  1528.             // line 560
  1529.             echo "                            ";
  1530.         }
  1531.         // line 561
  1532.         echo "                            <hr class=\"hr-md\">
  1533.                             <dl class=\"mt-5 mb-5\">
  1534.                                 <dt class=\"text-muted\">
  1535.                                     <span class=\"";
  1536.         // line 565
  1537.         if ((twig_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.'565$this->source); })()), "request", [], "any"falsefalsefalse565), "locale", [], "any"falsefalsefalse565) == "ar")) {
  1538.             echo "float-right";
  1539.         } else {
  1540.             echo "float-left";
  1541.         }
  1542.         echo "\">";
  1543.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Organizer"), "html"nulltrue);
  1544.         echo "</span>
  1545.                                     <a href=\"";
  1546.         // line 566
  1547.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("organizer", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'566$this->source); })()), "organizer", [], "any"falsefalsefalse566), "slug", [], "any"falsefalsefalse566)]), "html"nulltrue);
  1548.         echo "\" class=\"";
  1549.         if ((twig_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.'566$this->source); })()), "request", [], "any"falsefalsefalse566), "locale", [], "any"falsefalsefalse566) == "ar")) {
  1550.             echo "float-left";
  1551.         } else {
  1552.             echo "float-right";
  1553.         }
  1554.         echo " text-sm\"><i class=\"far fa-id-card\"></i> ";
  1555.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Details"), "html"nulltrue);
  1556.         echo "</a>
  1557.                                     <div class=\"clearfix\"></div>
  1558.                                 </dt>
  1559.                                 <dt class=\"text-muted\">
  1560.                                     <span class=\"";
  1561.         // line 571
  1562.         if ((twig_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.'571$this->source); })()), "request", [], "any"falsefalsefalse571), "locale", [], "any"falsefalsefalse571) == "ar")) {
  1563.             echo "float-right";
  1564.         } else {
  1565.             echo "float-left";
  1566.         }
  1567.         echo "\">";
  1568.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Organizer WhatsApp Number"), "html"nulltrue);
  1569.         echo "</span>
  1570.                                     <a target=\"_blank\" href=\"https://wa.me/";
  1571.         // line 572
  1572.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'572$this->source); })()), "whatsappnumber", [], "any"falsefalsefalse572), "html"nulltrue);
  1573.         echo "?text=Hi,%20I%20want%20to%20know%20about%20your%20event:%20";
  1574.         echo twig_escape_filter($this->envtwig_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.'572$this->source); })()), "request", [], "any"falsefalsefalse572), "schemeAndHttpHost", [], "any"falsefalsefalse572), "html"nulltrue);
  1575.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("event", ["slug" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'572$this->source); })()), "slug", [], "any"falsefalsefalse572)]), "html"nulltrue);
  1576.         echo "\" class=\"";
  1577.         if ((twig_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.'572$this->source); })()), "request", [], "any"falsefalsefalse572), "locale", [], "any"falsefalsefalse572) == "ar")) {
  1578.             echo "float-left";
  1579.         } else {
  1580.             echo "float-right";
  1581.         }
  1582.         echo " text-sm\"><i class=\"fab fa-whatsapp\"></i> ";
  1583.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'572$this->source); })()), "whatsappnumber", [], "any"falsefalsefalse572), "html"nulltrue);
  1584.         echo "</a>
  1585.                                     <div class=\"clearfix\"></div>
  1586.                                 </dt>
  1587.                                 <dd class=\"mr-0\">
  1588.                                     <div class=\"card-banner ";
  1589.         // line 577
  1590.         echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'577$this->source); })()), "organizer", [], "any"falsefalsefalse577), "coverName", [], "any"falsefalsefalse577)) ? ("") : ("organizer-preview-no-cover"));
  1591.         echo "\"";
  1592.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'577$this->source); })()), "organizer", [], "any"falsefalsefalse577), "coverName", [], "any"falsefalsefalse577)) {
  1593.             echo " style=\"height:250px;background-image: url('";
  1594.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'577$this->source); })()), "organizer", [], "any"falsefalsefalse577), "getCoverPath", [], "any"falsefalsefalse577), "thumbnail", ["thumbnail" => ["size" => [=> 400=> 250]]])), "html"nulltrue);
  1595.             echo "');\" ";
  1596.         }
  1597.         echo ">
  1598.                                         <article class=\"overlay bottom text-center\">
  1599.                                             <h4 class=\"card-title\"><a href=\"";
  1600.         // line 579
  1601.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("organizer", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'579$this->source); })()), "organizer", [], "any"falsefalsefalse579), "slug", [], "any"falsefalsefalse579)]), "html"nulltrue);
  1602.         echo "\">";
  1603.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'579$this->source); })()), "organizer", [], "any"falsefalsefalse579), "name", [], "any"falsefalsefalse579), "html"nulltrue);
  1604.         echo "</a></h4>
  1605.                                                 ";
  1606.         // line 580
  1607.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'580$this->source); })()), "organizer", [], "any"falsefalsefalse580), "logoName", [], "any"falsefalsefalse580)) {
  1608.             // line 581
  1609.             echo "                                                <img src=\"";
  1610.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'581$this->source); })()), "organizer", [], "any"falsefalsefalse581), "getLogoPath", [], "any"falsefalsefalse581)), "html"nulltrue);
  1611.             echo "\" class=\"img-100-100 d-block mx-auto mb-3 img-thumbnail\" alt=\"";
  1612.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'581$this->source); })()), "organizer", [], "any"falsefalsefalse581), "name", [], "any"falsefalsefalse581), "html"nulltrue);
  1613.             echo "\" />
  1614.                                             ";
  1615.         }
  1616.         // line 583
  1617.         echo "                                            ";
  1618.         if (( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ATTENDEE"))) {
  1619.             // line 584
  1620.             echo "                                                ";
  1621.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  1622.                 // line 585
  1623.                 echo "                                                    ";
  1624.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'585$this->source); })()), "organizer", [], "any"falsefalsefalse585), "isFollowedBy", [=> 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.'585$this->source); })()), "user", [], "any"falsefalsefalse585)], "method"falsefalsefalse585)) {
  1625.                     // line 586
  1626.                     echo "                                                        <button class=\"organizer-unfollow btn btn-primary btn-sm\" data-target=\"";
  1627.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_attendee_following_remove", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'586$this->source); })()), "organizer", [], "any"falsefalsefalse586), "slug", [], "any"falsefalsefalse586)]), "html"nulltrue);
  1628.                     echo "\"><i class=\"fas fa-folder-minus\"></i> ";
  1629.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Unfollow"), "html"nulltrue);
  1630.                     echo "</button>
  1631.                                                     ";
  1632.                 } else {
  1633.                     // line 588
  1634.                     echo "                                                        <button class=\"organizer-follow btn btn-primary btn-sm\" data-target=\"";
  1635.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard_attendee_following_add", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'588$this->source); })()), "organizer", [], "any"falsefalsefalse588), "slug", [], "any"falsefalsefalse588)]), "html"nulltrue);
  1636.                     echo "\"><i class=\"fas fa-folder-plus\"></i> ";
  1637.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Follow"), "html"nulltrue);
  1638.                     echo "</button>
  1639.                                                     ";
  1640.                 }
  1641.                 // line 590
  1642.                 echo "                                                ";
  1643.             } else {
  1644.                 // line 591
  1645.                 echo "                                                    <a href=\"";
  1646.                 echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login") . "?_target_path=") . twig_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.'591$this->source); })()), "request", [], "any"falsefalsefalse591), "getPathInfo", [], "any"falsefalsefalse591)), "html"nulltrue);
  1647.                 echo "\" class=\"btn btn-primary btn-sm\"><i class=\"fas fa-folder-plus\"></i> ";
  1648.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Follow"), "html"nulltrue);
  1649.                 echo "</a>
  1650.                                                 ";
  1651.             }
  1652.             // line 593
  1653.             echo "                                            ";
  1654.         }
  1655.         // line 594
  1656.         echo "                                        </article>
  1657.                                     </div>
  1658.                                 </dd>
  1659.                             </dl>
  1660.                             ";
  1661.         // line 598
  1662.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'598$this->source); })()), "showattendees", [], "any"falsefalsefalse598)) {
  1663.             // line 599
  1664.             echo "                                ";
  1665.             $context["attendeescount"] = twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'599$this->source); })()), "getTotalOrderElementsQuantitySum", [=> 1=> "all"=> "ROLE_ATTENDEE"], "method"falsefalsefalse599);
  1666.             // line 600
  1667.             echo "                                ";
  1668.             if ((isset($context["attendeescount"]) || array_key_exists("attendeescount"$context) ? $context["attendeescount"] : (function () { throw new RuntimeError('Variable "attendeescount" does not exist.'600$this->source); })())) {
  1669.                 // line 601
  1670.                 echo "                                    <hr>
  1671.                                     <dl class=\"mt-5\">
  1672.                                         <dt class=\"text-muted mb-3\">
  1673.                                             <span class=\"";
  1674.                 // line 604
  1675.                 if ((twig_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.'604$this->source); })()), "request", [], "any"falsefalsefalse604), "locale", [], "any"falsefalsefalse604) == "ar")) {
  1676.                     echo "float-right";
  1677.                 } else {
  1678.                     echo "float-left";
  1679.                 }
  1680.                 echo "\">";
  1681.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Attendees"), "html"nulltrue);
  1682.                 echo " <b>(";
  1683.                 echo twig_escape_filter($this->env, (isset($context["attendeescount"]) || array_key_exists("attendeescount"$context) ? $context["attendeescount"] : (function () { throw new RuntimeError('Variable "attendeescount" does not exist.'604$this->source); })()), "html"nulltrue);
  1684.                 echo ")</b></span>
  1685.                                             <a href=\"#\" class=\"";
  1686.                 // line 605
  1687.                 if ((twig_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.'605$this->source); })()), "request", [], "any"falsefalsefalse605), "locale", [], "any"falsefalsefalse605) == "ar")) {
  1688.                     echo "float-left";
  1689.                 } else {
  1690.                     echo "float-right";
  1691.                 }
  1692.                 echo " text-sm\" data-toggle=\"modal\" data-target=\"#attendees-modal\"><i class=\"fas fa-users\"></i> ";
  1693.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("See all"), "html"nulltrue);
  1694.                 echo "</a>
  1695.                                             <div class=\"modal fade\" id=\"attendees-modal\">
  1696.                                                 <div class=\"modal-dialog modal-dialog-centered\">
  1697.                                                     <div class=\"modal-content\">
  1698.                                                         <div class=\"modal-header\">
  1699.                                                             <div class=\"modal-title h4\">";
  1700.                 // line 610
  1701.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Attendees"), "html"nulltrue);
  1702.                 echo " (";
  1703.                 echo twig_escape_filter($this->env, (isset($context["attendeescount"]) || array_key_exists("attendeescount"$context) ? $context["attendeescount"] : (function () { throw new RuntimeError('Variable "attendeescount" does not exist.'610$this->source); })()), "html"nulltrue);
  1704.                 echo ")</div>
  1705.                                                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  1706.                                                         </div>
  1707.                                                         <div class=\"modal-body\">
  1708.                                                             <div class=\"card border-0 card-body overflow-auto text-nowrap\">
  1709.                                                                 <div class=\"avatar-list py-4\">
  1710.                                                                     ";
  1711.                 // line 616
  1712.                 $context['_parent'] = $context;
  1713.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'616$this->source); })()), "getUsers", [=> ["hasboughtticketfor" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'616$this->source); })()), "slug", [], "any"falsefalsefalse616), "role" => "attendee"]], "method"falsefalsefalse616), "getQuery", [], "method"falsefalsefalse616), "getResult", [], "method"falsefalsefalse616));
  1714.                 $context['loop'] = [
  1715.                   'parent' => $context['_parent'],
  1716.                   'index0' => 0,
  1717.                   'index'  => 1,
  1718.                   'first'  => true,
  1719.                 ];
  1720.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1721.                     $length count($context['_seq']);
  1722.                     $context['loop']['revindex0'] = $length 1;
  1723.                     $context['loop']['revindex'] = $length;
  1724.                     $context['loop']['length'] = $length;
  1725.                     $context['loop']['last'] = === $length;
  1726.                 }
  1727.                 foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
  1728.                     // line 617
  1729.                     echo "                                                                        ";
  1730.                     $this->loadTemplate("Global/user-avatar.html.twig""Front/Event/event.html.twig"617)->display(twig_array_merge($context, ["user" => $context["user"], "showusernametooltip" => true]));
  1731.                     // line 618
  1732.                     echo "                                                                    ";
  1733.                     ++$context['loop']['index0'];
  1734.                     ++$context['loop']['index'];
  1735.                     $context['loop']['first'] = false;
  1736.                     if (isset($context['loop']['length'])) {
  1737.                         --$context['loop']['revindex0'];
  1738.                         --$context['loop']['revindex'];
  1739.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1740.                     }
  1741.                 }
  1742.                 $_parent $context['_parent'];
  1743.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']);
  1744.                 $context array_intersect_key($context$_parent) + $_parent;
  1745.                 // line 619
  1746.                 echo "                                                                </div>
  1747.                                                             </div>
  1748.                                                         </div>
  1749.                                                         <div class=\"modal-footer\">
  1750.                                                             <button type=\"button\" class=\"btn btn-primary\" data-dismiss=\"modal\">";
  1751.                 // line 623
  1752.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Close"), "html"nulltrue);
  1753.                 echo "</button>
  1754.                                                         </div>
  1755.                                                     </div>
  1756.                                                 </div>
  1757.                                             </div>
  1758.                                             <div class=\"clearfix\"></div>
  1759.                                         </dt>
  1760.                                         <dd class=\"mr-0\">
  1761.                                             <div class=\"card border-0 card-body\">
  1762.                                                 <div class=\"avatar-list avatar-list-stacked\">
  1763.                                                     ";
  1764.                 // line 633
  1765.                 $context['_parent'] = $context;
  1766.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'633$this->source); })()), "getUsers", [=> ["hasboughtticketfor" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'633$this->source); })()), "slug", [], "any"falsefalsefalse633), "limit" => 12"role" => "attendee"]], "method"falsefalsefalse633), "getQuery", [], "method"falsefalsefalse633), "getResult", [], "method"falsefalsefalse633));
  1767.                 $context['loop'] = [
  1768.                   'parent' => $context['_parent'],
  1769.                   'index0' => 0,
  1770.                   'index'  => 1,
  1771.                   'first'  => true,
  1772.                 ];
  1773.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1774.                     $length count($context['_seq']);
  1775.                     $context['loop']['revindex0'] = $length 1;
  1776.                     $context['loop']['revindex'] = $length;
  1777.                     $context['loop']['length'] = $length;
  1778.                     $context['loop']['last'] = === $length;
  1779.                 }
  1780.                 foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
  1781.                     // line 634
  1782.                     echo "                                                        ";
  1783.                     $this->loadTemplate("Global/user-avatar.html.twig""Front/Event/event.html.twig"634)->display(twig_array_merge($context, ["user" => $context["user"], "showusernametooltip" => true]));
  1784.                     // line 635
  1785.                     echo "                                                    ";
  1786.                     ++$context['loop']['index0'];
  1787.                     ++$context['loop']['index'];
  1788.                     $context['loop']['first'] = false;
  1789.                     if (isset($context['loop']['length'])) {
  1790.                         --$context['loop']['revindex0'];
  1791.                         --$context['loop']['revindex'];
  1792.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1793.                     }
  1794.                 }
  1795.                 $_parent $context['_parent'];
  1796.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']);
  1797.                 $context array_intersect_key($context$_parent) + $_parent;
  1798.                 // line 636
  1799.                 echo "                                                    ";
  1800.                 if (((isset($context["attendeescount"]) || array_key_exists("attendeescount"$context) ? $context["attendeescount"] : (function () { throw new RuntimeError('Variable "attendeescount" does not exist.'636$this->source); })()) > 12)) {
  1801.                     // line 637
  1802.                     echo "                                                        <span class=\"avatar\">";
  1803.                     echo twig_escape_filter($this->env, ((isset($context["attendeescount"]) || array_key_exists("attendeescount"$context) ? $context["attendeescount"] : (function () { throw new RuntimeError('Variable "attendeescount" does not exist.'637$this->source); })()) - 12), "html"nulltrue);
  1804.                     echo "</span>
  1805.                                                     ";
  1806.                 }
  1807.                 // line 639
  1808.                 echo "                                                </div>
  1809.                                             </div>
  1810.                                         </dd>
  1811.                                     </dl>
  1812.                                 ";
  1813.             }
  1814.             // line 644
  1815.             echo "                            ";
  1816.         }
  1817.         // line 645
  1818.         echo "                            ";
  1819.         if ((((twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'645$this->source); })()), "getSetting", [=> "newsletter_enabled"], "method"falsefalsefalse645) == "yes") && twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'645$this->source); })()), "getSetting", [=> "mailchimp_api_key"], "method"falsefalsefalse645)) && twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'645$this->source); })()), "getSetting", [=> "mailchimp_list_id"], "method"falsefalsefalse645))) {
  1820.             // line 646
  1821.             echo "                                <div class=\"mt-5\">
  1822.                                     ";
  1823.             // line 647
  1824.             $this->loadTemplate("Global/newsletter-box.html.twig""Front/Event/event.html.twig"647)->display($context);
  1825.             // line 648
  1826.             echo "                                </div>
  1827.                             ";
  1828.         }
  1829.         // line 650
  1830.         echo "                        </div>
  1831.                     </div>
  1832.                 </div>
  1833.             </div>
  1834.             ";
  1835.         // line 655
  1836.         $context["othereventsbythisorganizer"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'655$this->source); })()), "getEvents", [=> ["organizer" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'655$this->source); })()), "organizer", [], "any"falsefalsefalse655), "slug", [], "any"falsefalsefalse655), "limit" => 8"otherthan" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'655$this->source); })()), "slug", [], "any"falsefalsefalse655)]], "method"falsefalsefalse655), "getQuery", [], "method"falsefalsefalse655), "getResult", [], "method"falsefalsefalse655);
  1837.         // line 656
  1838.         echo "            ";
  1839.         if ((twig_length_filter($this->env, (isset($context["othereventsbythisorganizer"]) || array_key_exists("othereventsbythisorganizer"$context) ? $context["othereventsbythisorganizer"] : (function () { throw new RuntimeError('Variable "othereventsbythisorganizer" does not exist.'656$this->source); })())) > 0)) {
  1840.             // line 657
  1841.             echo "                <div class=\"row\">
  1842.                     <div class=\"col-12\">
  1843.                         <h3 class=\"mt-5 mb-4 text-center\">";
  1844.             // line 659
  1845.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Other events by %organizername%", ["%organizername%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'659$this->source); })()), "organizer", [], "any"falsefalsefalse659), "name", [], "any"falsefalsefalse659)]), "html"nulltrue);
  1846.             echo "</h3>
  1847.                         <div class=\"owl-init owl-carousel\" data-margin=\"15\" data-items=\"4\" data-dots=\"false\" data-nav=\"true\" data-autoplay=\"true\" data-loop=\"false\">
  1848.                             ";
  1849.             // line 661
  1850.             $context['_parent'] = $context;
  1851.             $context['_seq'] = twig_ensure_traversable((isset($context["othereventsbythisorganizer"]) || array_key_exists("othereventsbythisorganizer"$context) ? $context["othereventsbythisorganizer"] : (function () { throw new RuntimeError('Variable "othereventsbythisorganizer" does not exist.'661$this->source); })()));
  1852.             $context['loop'] = [
  1853.               'parent' => $context['_parent'],
  1854.               'index0' => 0,
  1855.               'index'  => 1,
  1856.               'first'  => true,
  1857.             ];
  1858.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1859.                 $length count($context['_seq']);
  1860.                 $context['loop']['revindex0'] = $length 1;
  1861.                 $context['loop']['revindex'] = $length;
  1862.                 $context['loop']['length'] = $length;
  1863.                 $context['loop']['last'] = === $length;
  1864.             }
  1865.             foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
  1866.                 // line 662
  1867.                 echo "                                ";
  1868.                 $this->loadTemplate("Global/event-card.html.twig""Front/Event/event.html.twig"662)->display(twig_array_merge($context, ["event" => $context["event"]]));
  1869.                 // line 663
  1870.                 echo "                            ";
  1871.                 ++$context['loop']['index0'];
  1872.                 ++$context['loop']['index'];
  1873.                 $context['loop']['first'] = false;
  1874.                 if (isset($context['loop']['length'])) {
  1875.                     --$context['loop']['revindex0'];
  1876.                     --$context['loop']['revindex'];
  1877.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1878.                 }
  1879.             }
  1880.             $_parent $context['_parent'];
  1881.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']);
  1882.             $context array_intersect_key($context$_parent) + $_parent;
  1883.             // line 664
  1884.             echo "                        </div>
  1885.                     </div>
  1886.                 </div>
  1887.             ";
  1888.         }
  1889.         // line 668
  1890.         echo "
  1891.             ";
  1892.         // line 669
  1893.         $context["similareventscriteria"] = ["category" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'669$this->source); })()), "category", [], "any"falsefalsefalse669), "slug", [], "any"falsefalsefalse669), "limit" => 8"otherthan" => twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'669$this->source); })()), "slug", [], "any"falsefalsefalse669)];
  1894.         // line 670
  1895.         echo "            ";
  1896.         if (twig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'670$this->source); })()), "getFirstVenue", [], "any"falsefalsefalse670)) {
  1897.             // line 671
  1898.             echo "                ";
  1899.             $context["similareventscriteria"] = twig_array_merge((isset($context["similareventscriteria"]) || array_key_exists("similareventscriteria"$context) ? $context["similareventscriteria"] : (function () { throw new RuntimeError('Variable "similareventscriteria" does not exist.'671$this->source); })()), ["country" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'671$this->source); })()), "getFirstVenue", [], "any"falsefalsefalse671), "country", [], "any"falsefalsefalse671), "slug", [], "any"falsefalsefalse671)]);
  1900.             // line 672
  1901.             echo "            ";
  1902.         }
  1903.         // line 673
  1904.         echo "            ";
  1905.         $context["similarevents"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'673$this->source); })()), "getEvents", [=> (isset($context["similareventscriteria"]) || array_key_exists("similareventscriteria"$context) ? $context["similareventscriteria"] : (function () { throw new RuntimeError('Variable "similareventscriteria" does not exist.'673$this->source); })())], "method"falsefalsefalse673), "getQuery", [], "method"falsefalsefalse673), "getResult", [], "method"falsefalsefalse673);
  1906.         // line 674
  1907.         echo "
  1908.             ";
  1909.         // line 675
  1910.         if ((twig_length_filter($this->env, (isset($context["similarevents"]) || array_key_exists("similarevents"$context) ? $context["similarevents"] : (function () { throw new RuntimeError('Variable "similarevents" does not exist.'675$this->source); })())) > 0)) {
  1911.             // line 676
  1912.             echo "                <div class=\"row\">
  1913.                     <div class=\"col-12\">
  1914.                         <h3 class=\"mt-5 mb-4 text-center\">";
  1915.             // line 678
  1916.             echo "Similar events";
  1917.             echo "</h3>
  1918.                         <div class=\"owl-init owl-carousel\" data-margin=\"15\" data-items=\"4\" data-dots=\"false\" data-nav=\"true\" data-autoplay=\"true\" data-loop=\"false\">
  1919.                             ";
  1920.             // line 680
  1921.             $context['_parent'] = $context;
  1922.             $context['_seq'] = twig_ensure_traversable((isset($context["similarevents"]) || array_key_exists("similarevents"$context) ? $context["similarevents"] : (function () { throw new RuntimeError('Variable "similarevents" does not exist.'680$this->source); })()));
  1923.             $context['loop'] = [
  1924.               'parent' => $context['_parent'],
  1925.               'index0' => 0,
  1926.               'index'  => 1,
  1927.               'first'  => true,
  1928.             ];
  1929.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1930.                 $length count($context['_seq']);
  1931.                 $context['loop']['revindex0'] = $length 1;
  1932.                 $context['loop']['revindex'] = $length;
  1933.                 $context['loop']['length'] = $length;
  1934.                 $context['loop']['last'] = === $length;
  1935.             }
  1936.             foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
  1937.                 // line 681
  1938.                 echo "                                ";
  1939.                 $this->loadTemplate("Global/event-card.html.twig""Front/Event/event.html.twig"681)->display(twig_array_merge($context, ["event" => $context["event"]]));
  1940.                 // line 682
  1941.                 echo "                            ";
  1942.                 ++$context['loop']['index0'];
  1943.                 ++$context['loop']['index'];
  1944.                 $context['loop']['first'] = false;
  1945.                 if (isset($context['loop']['length'])) {
  1946.                     --$context['loop']['revindex0'];
  1947.                     --$context['loop']['revindex'];
  1948.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1949.                 }
  1950.             }
  1951.             $_parent $context['_parent'];
  1952.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']);
  1953.             $context array_intersect_key($context$_parent) + $_parent;
  1954.             // line 683
  1955.             echo "                        </div>
  1956.                     </div>
  1957.                 </div>
  1958.             ";
  1959.         }
  1960.         // line 687
  1961.         echo "
  1962.         </div>
  1963.     </section>
  1964. ";
  1965.         
  1966.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1967.         
  1968.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1969.     }
  1970.     // line 693
  1971.     public function block_javascripts($context, array $blocks = [])
  1972.     {
  1973.         $macros $this->macros;
  1974.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1975.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1976.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1977.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1978.         // line 694
  1979.         echo "    ";
  1980.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("event");
  1981.         echo "
  1982.     ";
  1983.         // line 696
  1984.         if (((isset($context["chatbot_id"]) || array_key_exists("chatbot_id"$context) ? $context["chatbot_id"] : (function () { throw new RuntimeError('Variable "chatbot_id" does not exist.'696$this->source); })()) != null)) {
  1985.             // line 697
  1986.             echo "        <script type=\"module\">
  1987.             import Chatbot from \"";
  1988.             // line 698
  1989.             echo twig_escape_filter($this->env, (isset($context["chatbot_flowise"]) || array_key_exists("chatbot_flowise"$context) ? $context["chatbot_flowise"] : (function () { throw new RuntimeError('Variable "chatbot_flowise" does not exist.'698$this->source); })()), "html"nulltrue);
  1990.             echo "\";
  1991.             Chatbot.init({
  1992.                 chatflowid: \"";
  1993.             // line 700
  1994.             echo twig_escape_filter($this->env, (isset($context["chatbot_id"]) || array_key_exists("chatbot_id"$context) ? $context["chatbot_id"] : (function () { throw new RuntimeError('Variable "chatbot_id" does not exist.'700$this->source); })()), "html"nulltrue);
  1995.             echo "\",
  1996.                 apiHost: \"";
  1997.             // line 701
  1998.             echo twig_escape_filter($this->env, (isset($context["api_host"]) || array_key_exists("api_host"$context) ? $context["api_host"] : (function () { throw new RuntimeError('Variable "api_host" does not exist.'701$this->source); })()), "html"nulltrue);
  1999.             echo "\"
  2000.             });
  2001.         </script>
  2002.     ";
  2003.         }
  2004.         
  2005.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  2006.         
  2007.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  2008.     }
  2009.     public function getTemplateName()
  2010.     {
  2011.         return "Front/Event/event.html.twig";
  2012.     }
  2013.     public function isTraitable()
  2014.     {
  2015.         return false;
  2016.     }
  2017.     public function getDebugInfo()
  2018.     {
  2019.         return array (  2046 => 701,  2042 => 700,  2037 => 698,  2034 => 697,  2032 => 696,  2026 => 694,  2016 => 693,  2002 => 687,  1996 => 683,  1982 => 682,  1979 => 681,  1962 => 680,  1957 => 678,  1953 => 676,  1951 => 675,  1948 => 674,  1945 => 673,  1942 => 672,  1939 => 671,  1936 => 670,  1934 => 669,  1931 => 668,  1925 => 664,  1911 => 663,  1908 => 662,  1891 => 661,  1886 => 659,  1882 => 657,  1879 => 656,  1877 => 655,  1870 => 650,  1866 => 648,  1864 => 647,  1861 => 646,  1858 => 645,  1855 => 644,  1848 => 639,  1842 => 637,  1839 => 636,  1825 => 635,  1822 => 634,  1805 => 633,  1792 => 623,  1786 => 619,  1772 => 618,  1769 => 617,  1752 => 616,  1741 => 610,  1727 => 605,  1715 => 604,  1710 => 601,  1707 => 600,  1704 => 599,  1702 => 598,  1696 => 594,  1693 => 593,  1685 => 591,  1682 => 590,  1674 => 588,  1666 => 586,  1663 => 585,  1660 => 584,  1657 => 583,  1649 => 581,  1647 => 580,  1641 => 579,  1630 => 577,  1611 => 572,  1601 => 571,  1585 => 566,  1575 => 565,  1569 => 561,  1566 => 560,  1563 => 559,  1559 => 557,  1556 => 556,  1548 => 554,  1545 => 553,  1537 => 551,  1529 => 549,  1526 => 548,  1523 => 547,  1521 => 546,  1517 => 544,  1503 => 539,  1500 => 538,  1492 => 536,  1489 => 535,  1487 => 534,  1480 => 533,  1477 => 532,  1475 => 531,  1470 => 528,  1464 => 527,  1460 => 525,  1457 => 524,  1451 => 522,  1449 => 521,  1444 => 520,  1436 => 518,  1434 => 517,  1428 => 514,  1424 => 512,  1421 => 511,  1417 => 510,  1409 => 505,  1405 => 503,  1398 => 499,  1384 => 494,  1380 => 492,  1371 => 488,  1361 => 485,  1353 => 484,  1345 => 483,  1337 => 482,  1331 => 479,  1327 => 478,  1321 => 474,  1307 => 472,  1305 => 471,  1295 => 470,  1291 => 468,  1289 => 467,  1276 => 457,  1267 => 451,  1249 => 446,  1246 => 445,  1243 => 444,  1240 => 443,  1234 => 440,  1229 => 438,  1225 => 437,  1219 => 434,  1215 => 432,  1212 => 431,  1209 => 430,  1206 => 429,  1204 => 428,  1199 => 425,  1196 => 424,  1190 => 422,  1187 => 421,  1185 => 420,  1181 => 419,  1174 => 415,  1170 => 414,  1164 => 411,  1160 => 409,  1157 => 408,  1154 => 407,  1151 => 406,  1148 => 405,  1145 => 404,  1142 => 403,  1139 => 402,  1136 => 401,  1133 => 400,  1126 => 395,  1120 => 392,  1117 => 391,  1106 => 390,  1102 => 389,  1099 => 388,  1095 => 386,  1089 => 384,  1087 => 383,  1083 => 382,  1080 => 381,  1077 => 380,  1070 => 379,  1067 => 378,  1061 => 377,  1058 => 376,  1055 => 375,  1052 => 373,  1049 => 372,  1041 => 369,  1023 => 354,  1019 => 352,  1017 => 351,  1013 => 350,  1006 => 348,  1001 => 345,  997 => 343,  992 => 340,  984 => 338,  981 => 337,  967 => 336,  964 => 335,  947 => 334,  943 => 332,  941 => 331,  933 => 326,  926 => 322,  919 => 318,  913 => 315,  906 => 311,  899 => 307,  893 => 304,  886 => 300,  879 => 296,  873 => 293,  866 => 289,  859 => 285,  853 => 282,  846 => 278,  839 => 274,  831 => 268,  823 => 266,  820 => 265,  817 => 264,  809 => 262,  801 => 260,  798 => 259,  795 => 258,  793 => 257,  784 => 253,  766 => 238,  758 => 235,  753 => 232,  751 => 231,  748 => 230,  743 => 227,  732 => 225,  728 => 224,  723 => 221,  721 => 220,  713 => 215,  710 => 214,  704 => 210,  693 => 208,  690 => 207,  679 => 205,  676 => 204,  665 => 202,  662 => 201,  651 => 199,  648 => 198,  637 => 196,  634 => 195,  626 => 193,  623 => 192,  615 => 190,  612 => 189,  601 => 187,  599 => 186,  593 => 183,  590 => 182,  587 => 181,  580 => 177,  575 => 175,  572 => 174,  569 => 173,  562 => 168,  546 => 163,  540 => 161,  530 => 159,  528 => 158,  525 => 157,  521 => 156,  515 => 153,  512 => 152,  510 => 151,  506 => 149,  500 => 145,  487 => 143,  483 => 142,  477 => 139,  474 => 138,  471 => 137,  465 => 134,  461 => 133,  458 => 132,  455 => 131,  449 => 128,  445 => 127,  442 => 126,  439 => 125,  433 => 122,  429 => 121,  426 => 120,  423 => 119,  417 => 116,  413 => 115,  410 => 114,  407 => 113,  399 => 110,  395 => 109,  392 => 108,  389 => 107,  383 => 104,  379 => 103,  376 => 102,  374 => 101,  370 => 99,  363 => 95,  358 => 93,  355 => 92,  352 => 91,  344 => 88,  326 => 73,  322 => 71,  319 => 70,  317 => 69,  313 => 68,  306 => 66,  300 => 63,  294 => 62,  285 => 56,  277 => 55,  269 => 49,  266 => 48,  264 => 47,  261 => 46,  258 => 45,  255 => 44,  252 => 43,  249 => 42,  246 => 41,  243 => 40,  240 => 39,  237 => 38,  234 => 37,  231 => 36,  228 => 35,  225 => 34,  223 => 33,  220 => 32,  210 => 31,  195 => 24,  185 => 23,  173 => 20,  169 => 19,  164 => 18,  160 => 17,  156 => 16,  151 => 15,  146 => 14,  140 => 12,  101 => 10,  99 => 9,  94 => 8,  84 => 7,  65 => 5,  54 => 1,  52 => 3,  39 => 1,);
  2020.     }
  2021.     public function getSourceContext()
  2022.     {
  2023.         return new Source("{% extends \"Global/layout.html.twig\" %}
  2024. {% set pagetitle = event.name %}
  2025. {% block title %}{{pagetitle}}{% endblock %}
  2026. {% block meta_dynamic_seo %}
  2027.     <meta name=\"description\" content=\"{{ event.description|raw|nl2br|striptags|slice(0, 200)|raw }}...\" />
  2028.     {% if event.tags %}
  2029.         <meta name=\"keywords\" content=\"{{ event.name }}, {{ event.category.name }}, {% for tag in event.tags|split(',') %}{{ tag }}{{ not loop.last ? ', ' : '' }}{% endfor %}\" />
  2030.     {% else %}
  2031.         <meta name=\"keywords\" content=\"{{ services.getSetting(\"website_keywords_\" ~ app.request.get('_locale')) }}\" />
  2032.     {% endif %}
  2033.     <meta property=\"og:title\" content=\"{{ event.name }}\" />
  2034.     <meta property=\"og:image\" content=\"{{ app.request.getSchemeAndHttpHost() }}{{ event.imageName ? asset(event.getImagePath) : event.getImagePlaceholder }}\" />
  2035.     <meta property=\"og:description\" content=\"{{ event.description|raw|nl2br|striptags|slice(0, 200)|raw }}...\" />
  2036.     <meta name=\"twitter:title\" content=\"{{ event.name }}\" />
  2037.     <meta name=\"twitter:image\" content=\"{{ app.request.getSchemeAndHttpHost() }}{{ event.imageName ? asset(event.getImagePath) : event.getImagePlaceholder }}\" />
  2038.     <meta name=\"twitter:image:alt\" content=\"{{ event.name }}\" />
  2039.     <meta name=\"twitter:description\" content=\"{{ event.description|raw|nl2br|striptags|slice(0, 200)|raw }}...\" />
  2040. {% endblock %}
  2041. {% block stylesheets %}
  2042.     <style>
  2043.         .material-scrolltop.reveal {
  2044.             bottom: 75px !important;
  2045.         }
  2046.     </style>
  2047. {% endblock %}
  2048. {% block content %}
  2049.     {% if is_granted('ROLE_ADMINISTRATOR') %}
  2050.         {% include \"Global/message.html.twig\" with { type: 'info', icon: 'fas fa-info-circle', message: ('<a href=\"'~ path('dashboard_administrator_event', {slug: event.slug}) ~'\">' ~ 'Click here'|trans ~ '</a> ' ~ 'to manage this event'|trans) } %}
  2051.     {% endif %}
  2052.     {% if is_granted('ROLE_ORGANIZER') %}
  2053.         {% if event.organizer == app.user.organizer %}
  2054.             {% include \"Global/message.html.twig\" with { type: 'info', icon: 'fas fa-info-circle', message: ('<a href=\"'~ path('dashboard_organizer_event', {slug: event.slug}) ~'\">' ~ 'Click here'|trans ~ '</a> ' ~ 'to manage your event'|trans) } %}
  2055.         {% endif %}
  2056.     {% endif %}
  2057.     {% if is_granted('ROLE_ATTENDEE') %}
  2058.         {% if app.user.hasBoughtATicketForEvent(event) %}
  2059.             {% include \"Global/message.html.twig\" with { type: 'info', icon: 'fas fa-ticket-alt', message: ('You are going to this event'|trans ~ ' ' ~ '<a href=\"'~ path('dashboard_attendee_orders', {event: event.slug}) ~'\">' ~ 'My tickets'|trans ~ '</a>') } %}
  2060.         {% endif %}
  2061.     {% endif %}
  2062.     {% set navigation = [{\"events\": \"Events\"|trans, \"current\" : (pagetitle)}] %}
  2063.     {% include \"Global/navigation.html.twig\" with navigation %}
  2064.     <div class=\"row no-gutters\">
  2065.         <div class=\"col-12 p-0\">
  2066.             <section class=\"section-main\">
  2067.                 <div class=\"owl-init slider-main owl-carousel\" data-items=\"1\" data-dots=\"false\" data-nav=\"false\" data-autoplay=\"false\">
  2068.                     <div class=\"item-slide d-flex\">
  2069.                         <img class=\"slider-img justify-content-center align-self-center img-lazy-load\" src=\"{{ asset('assets/img/loader.gif') }}\" data-src=\"{{ event.imageName ? asset(event.getImagePath) : event.getImagePlaceholder }}\" alt=\"{{ event.name }}\" />
  2070.                         <div class=\"slider-blured-background\" style=\"background-image: url('{{ event.imageName ? asset(event.getImagePath) : event.getImagePlaceholder }}');\"></div>
  2071.                     </div>
  2072.                 </div>
  2073.             </section>
  2074.         </div>
  2075.     </div>
  2076.     <section class=\"section-content padding-y bg-white {% if app.request.locale ==\"ar\" %}overflow-hidden{% endif %}\">
  2077.         <div class=\"{{ services.getSetting(\"app_layout\") }}\">
  2078.             <div class=\"card\">
  2079.                 <div class=\"row\">
  2080.                     <div class=\"col-12 col-lg-8 {% if app.request.locale !=\"ar\" %}border-right{% endif %} order-1 order-lg-0\">
  2081.                         <div class=\"card-body\">
  2082.                             <h1 class=\"card-title b d-none d-lg-block\">{{ event.name }}</h1>
  2083.                             {% set reviewscount = services.getReviews({\"count\": true, \"event\": event.slug}).getQuery().getSingleScalarResult() %}
  2084.                             {% if event.enablereviews %}
  2085.                                 <div class=\"rating-wrap d-none d-lg-block\">
  2086.                                     <ul class=\"rating-stars\">
  2087.                                         <li style=\"width:{{event.getRatingPercentage}}%\" class=\"stars-active\">
  2088.                                             <i class=\"fa fa-star\"></i>
  2089.                                             <i class=\"fa fa-star\"></i>
  2090.                                             <i class=\"fa fa-star\"></i>
  2091.                                             <i class=\"fa fa-star\"></i>
  2092.                                             <i class=\"fa fa-star\"></i>
  2093.                                         </li>
  2094.                                         <li>
  2095.                                             <i class=\"fa fa-star\"></i>
  2096.                                             <i class=\"fa fa-star\"></i>
  2097.                                             <i class=\"fa fa-star\"></i>
  2098.                                             <i class=\"fa fa-star\"></i>
  2099.                                             <i class=\"fa fa-star\"></i>
  2100.                                         </li>
  2101.                                     </ul>
  2102.                                     <div class=\"label-rating\">{{ reviewscount }} {{\"Review(s)\"|trans|lower}}</div>
  2103.                                 </div>
  2104.                             {% endif %}
  2105.                             {% if event.description %}
  2106.                                 <dl class=\"mt-5 event-description\">
  2107.                                     <dt class=\"text-muted\">{{\"Description\"|trans}}</dt>
  2108.                                     <dd class=\"line-height-2 readmore\" data-collapsed-height=\"500\" data-height-margin=\"20\">
  2109.                                         {{ event.description|raw|nl2br }}
  2110.                                     </dd>
  2111.                                 </dl>
  2112.                             {% endif %}
  2113.                             <ul class=\"list-group list-group-flush mt-5 mb-5 p-0\">
  2114.                                 <li class=\"list-group-item pl-0 pr-0\">
  2115.                                     {% if event.category %}
  2116.                                         <dl class=\"dlist-align\">
  2117.                                             <dt class=\"text-muted\">{{\"Category\"|trans}}</dt>
  2118.                                             <dd class=\"text-right\">{{ event.category.name }}</dd>
  2119.                                         </dl>
  2120.                                     {% endif %}
  2121.                                     {% if event.country %}
  2122.                                         <dl class=\"dlist-align\">
  2123.                                             <dt class=\"text-muted\">{{\"Country\"|trans}}</dt>
  2124.                                             <dd class=\"text-right\"><span class=\"flag flag-{{event.country.code|lower}}\"></span> {{ event.country.name }}</dd>
  2125.                                         </dl>
  2126.                                     {% endif %}
  2127.                                     {% if event.languages|length > 0 %}
  2128.                                         <dl class=\"dlist-align\">
  2129.                                             <dt class=\"text-muted\">{{\"Languages\"|trans}}</dt>
  2130.                                             <dd class=\"text-right\">{{ event.displayLanguages }}</dd>
  2131.                                         </dl>
  2132.                                     {% endif %}
  2133.                                     {% if event.subtitles|length > 0 %}
  2134.                                         <dl class=\"dlist-align\">
  2135.                                             <dt class=\"text-muted\">{{\"Subtitles\"|trans}}</dt>
  2136.                                             <dd class=\"text-right\">{{ event.displaySubtitles }}</dd>
  2137.                                         </dl>
  2138.                                     {% endif %}
  2139.                                     {% if event.artists %}
  2140.                                         <dl class=\"dlist-align\">
  2141.                                             <dt class=\"text-muted\">{{\"Artists\"|trans}}</dt>
  2142.                                             <dd class=\"text-right\">{{ event.artists }}</dd>
  2143.                                         </dl>
  2144.                                     {% endif %}
  2145.                                     {% if event.year %}
  2146.                                         <dl class=\"dlist-align\">
  2147.                                             <dt class=\"text-muted\">{{\"Year\"|trans}}</dt>
  2148.                                             <dd class=\"text-right\">{{ event.year }}</dd>
  2149.                                         </dl>
  2150.                                     {% endif %}
  2151.                                     {% if event.audiences|length > 0 %}
  2152.                                         <dl class=\"dlist-align\">
  2153.                                             <dt class=\"text-muted\">{{\"Audience\"|trans}}</dt>
  2154.                                             <dd class=\"text-right\">
  2155.                                                 <ul class=\"list-inline\">
  2156.                                                     {% for audience in event.audiences %}
  2157.                                                         <li class=\"list-inline-item\" data-toggle=\"tooltip\" title=\"{{ audience.name }}\"><img src=\"{{ audience.imageName ? asset(audience.getImagePath) : audience.getImagePlaceholder }}\" class=\"img-xxs\" alt=\"{{ audience.name }}\" /></li>
  2158.                                                         {% endfor %}
  2159.                                                 </ul>
  2160.                                             </dd>
  2161.                                         </dl>
  2162.                                     {% endif %}
  2163.                                 </li>
  2164.                             </ul>
  2165.                             {% if event.images|length > 0 %}
  2166.                                 <dl class=\"mt-5\">
  2167.                                     <dt class=\"text-muted\">{{\"Photos\"|trans}}</dt>
  2168.                                     <dd class=\"mr-0\">
  2169.                                         <div class=\"gallery photos-gallery clearfix\">
  2170.                                             {% for image in event.images %}
  2171.                                                 <figure>
  2172.                                                     {% if image.imageDimensions is defined and image.imageDimensions|length >= 2 %}
  2173.                                                         <a href=\"{{ asset(image.getImagePath) }}\" data-size=\"{{ image.imageDimensions[0] }}x{{ image.imageDimensions[1] }}\">
  2174.                                                     {% else %}
  2175.                                                         <a href=\"{{ asset(image.getImagePath) }}\" data-size=\"default-widthxdefault-height\">
  2176.                                                     {% endif %}
  2177.                                                         <img class=\"img-lazy-load\" src=\"{{ asset('assets/img/loader.gif') }}\" data-src=\"{{ image.getImagePath|imagine_filter('thumbnail') }}\" alt=\"{{ event.name }}\" />
  2178.                                                     </a>
  2179.                                                 </figure>
  2180.                                             {% endfor %}
  2181.                                         </div>
  2182.                                     </dd>
  2183.                                 </dl>
  2184.                             {% endif %}
  2185.                             {% if event.youtubeurl %}
  2186.                                 <dl class=\"mt-5\">
  2187.                                     <dt class=\"text-muted\">{{\"Video\"|trans}}</dt>
  2188.                                     <dd class=\"mr-0\">
  2189.                                         <iframe class=\"w-100 border-0\" height=\"400\" src=\"https://www.youtube.com/embed/{{event.youtubeurl|split('=')[1]}}\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
  2190.                                     </dd>
  2191.                                 </dl>
  2192.                             {% endif %}
  2193.                             {% if event.hasContactAndSocialMedia %}
  2194.                                 <dl class=\"mt-5\">
  2195.                                     <dt class=\"text-muted\">{{\"Contact & Social media\"|trans}}</dt>
  2196.                                     <dd class=\"mr-0\">
  2197.                                         <ul class=\"list-icon row no-gutters\">
  2198.                                             {% if event.externallink %}
  2199.                                                 <li class=\"col-md-6\"><a href=\"{% if 'http://' not in event.externallink and 'https://' not in event.externallink %}http://{% endif %}{{ event.externallink }}\" rel=\"noopener\" class=\"pl-4\" target=\"_blank\"><i class=\"icon fas fa-globe fa-fw\"></i><span>{{ event.externallink }}</span></a></li>
  2200.                                                         {% endif %}
  2201.                                                         {% if event.email %}
  2202.                                                 <li class=\"col-md-6\"><a href=\"mailto:{{ event.email }}\" class=\"pl-4\"><i class=\"icon fas fa-at fa-fw\"></i><span>{{ event.email }}</span></a></li>
  2203.                                                         {% endif %}
  2204.                                                         {% if event.phonenumber %}
  2205.                                                 <li class=\"col-md-6\"><a href=\"tel:{{ event.phonenumber }}\" class=\"pl-4\"><i class=\"icon fas fa-phone fa-fw\"></i><span>{{ event.phonenumber }}</span></a></li>
  2206.                                                         {% endif %}
  2207.                                                         {% if event.facebook %}
  2208.                                                 <li class=\"col-md-6\"><a href=\"{% if 'http://' not in event.facebook and 'https://' not in event.facebook %}http://{% endif %}{{ event.facebook }}\" class=\"pl-4\" rel=\"noopener\" target=\"_blank\"><i class=\"icon fab fa-facebook-f fa-fw\"></i><span>{{ event.facebook }}</span></a></li>
  2209.                                                         {% endif %}
  2210.                                                         {% if event.twitter %}
  2211.                                                 <li class=\"col-md-6\"><a href=\"{% if 'http://' not in event.twitter and 'https://' not in event.twitter %}http://{% endif %}{{ event.twitter }}\" class=\"pl-4\" rel=\"noopener\" target=\"_blank\"><i class=\"icon fab fa-twitter fa-fw\"></i><span>{{ event.twitter }}</span></a></li>
  2212.                                                         {% endif %}
  2213.                                                         {% if event.googleplus %}
  2214.                                                 <li class=\"col-md-6\"><a href=\"{% if 'http://' not in event.googleplus and 'https://' not in event.googleplus %}http://{% endif %}{{ event.googleplus }}\" rel=\"noopener\" class=\"pl-4\" target=\"_blank\"><i class=\"icon fab fa-google-plus fa-fw\"></i><span>{{ event.googleplus }}</span></a></li>
  2215.                                                         {% endif %}
  2216.                                                         {% if event.instagram %}
  2217.                                                 <li class=\"col-md-6\"><a href=\"{% if 'http://' not in event.instagram and 'https://' not in event.instagram %}http://{% endif %}{{ event.instagram }}\" rel=\"noopener\" class=\"pl-4\" target=\"_blank\"><i class=\"icon fab fa-instagram fa-fw\"></i><span>{{ event.instagram }}</span></a></li>
  2218.                                                         {% endif %}
  2219.                                                         {% if event.linkedin %}
  2220.                                                 <li class=\"col-md-6\"><a href=\"{% if 'http://' not in event.linkedin and 'https://' not in event.linkedin %}http://{% endif %}{{ event.linkedin }}\" rel=\"noopener\" class=\"pl-4\" target=\"_blank\"><i class=\"icon fab fa-linkedin fa-fw\"></i><span>{{ event.linkedin }}</span></a></li>
  2221.                                                         {% endif %}
  2222.                                         </ul>
  2223.                                     </dd>
  2224.                                 </dl>
  2225.                             {% endif %}
  2226.                             <dl class=\"mt-5\">
  2227.                                 <dt class=\"text-muted\">{{ \"Share\"|trans }}</dt>
  2228.                                 <dd class=\"mr-0\">
  2229.                                     <div class=\"sharer\"></div>
  2230.                                 </dd>
  2231.                             </dl>
  2232.                             {% if event.tags %}
  2233.                                 <hr class=\"mt-5\">
  2234.                                 <div class=\"row\">
  2235.                                     <div class=\"col\">
  2236.                                         {% for tag in event.tags|split(',') %}
  2237.                                             <a href=\"{{ path('events', { keyword : tag }) }}\" class=\"btn btn-sm btn-default mr-3 mb-3 mt-3\">{{ tag }}</a>
  2238.                                         {% endfor %}
  2239.                                     </div>
  2240.                                 </div>
  2241.                             {% endif %}
  2242.                             {% if event.enablereviews %}
  2243.                                 <hr class=\"mb-5\">
  2244.                                 <div class=\"row\">
  2245.                                     <div class=\"col-12 col-sm-6 mb-5\">
  2246.                                         <h3 class=\"mb-1\">{{ reviewscount }} {{ \"review\"|trans|lower }}</h3>
  2247.                                         <div class=\"rating-wrap\">
  2248.                                             <ul class=\"rating-stars\">
  2249.                                                 <li style=\"width:{{event.getRatingPercentage}}%\" class=\"stars-active\">
  2250.                                                     <i class=\"fa fa-star\"></i>
  2251.                                                     <i class=\"fa fa-star\"></i>
  2252.                                                     <i class=\"fa fa-star\"></i>
  2253.                                                     <i class=\"fa fa-star\"></i>
  2254.                                                     <i class=\"fa fa-star\"></i>
  2255.                                                 </li>
  2256.                                                 <li>
  2257.                                                     <i class=\"fa fa-star\"></i>
  2258.                                                     <i class=\"fa fa-star\"></i>
  2259.                                                     <i class=\"fa fa-star\"></i>
  2260.                                                     <i class=\"fa fa-star\"></i>
  2261.                                                     <i class=\"fa fa-star\"></i>
  2262.                                                 </li>
  2263.                                             </ul>
  2264.                                             <div class=\"label-rating\">{{ event.getRatingAvg }} {{\"out of 5 stars\"|trans|lower}}</div>
  2265.                                         </div>
  2266.                                     </div>
  2267.                                     <div class=\"col-12 col-sm-6 text-sm-right\">
  2268.                                         {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  2269.                                             {% if is_granted('ROLE_ATTENDEE') %}
  2270.                                                 {% if event.isRatedBy(app.user) %}
  2271.                                                     <a href=\"{{ path('dashboard_attendee_reviews', { slug: event.isRatedBy(app.user).slug }) }}\" class=\"btn btn-outline-primary\"><i class=\"far fa-star\"></i> {{ \"My review\"|trans }}</a>
  2272.                                                 {% else %}
  2273.                                                     <a href=\"{{ path('dashboard_attendee_reviews_add', { slug: event.slug }) }}\" class=\"btn btn-outline-primary\"><i class=\"far fa-star\"></i> {{ \"Add your review\"|trans }}</a>
  2274.                                                 {% endif %}
  2275.                                             {% endif %}
  2276.                                         {% else %}
  2277.                                             <a href=\"{{ path('fos_user_security_login')~'?_target_path='~app.request.getPathInfo }}\" rel=\"noopener\" class=\"btn btn-outline-primary\"><i class=\"far fa-star\"></i> {{ \"Add your review\"|trans }}</a>
  2278.                                         {% endif %}
  2279.                                     </div>
  2280.                                 </div>
  2281.                                 <div class=\"row mb-5 event-scorecard\">
  2282.                                     <div class=\"col-12\">
  2283.                                         <div class=\"side\">
  2284.                                             <div>{{ \"5 stars\"|trans }}</div>
  2285.                                         </div>
  2286.                                         <div class=\"middle\">
  2287.                                             <div class=\"bar-container\">
  2288.                                                 <div class=\"bar\" style=\"width: {{ event.getRatingsPercentageForRating(5) }}%;\"></div>
  2289.                                             </div>
  2290.                                         </div>
  2291.                                         <div class=\"side right\">
  2292.                                             <div class=\"text-muted\">{{ event.getRatingsPercentageForRating(5) }}%</div>
  2293.                                         </div>
  2294.                                         <div class=\"side\">
  2295.                                             <div>{{ \"4 stars\"|trans }}</div>
  2296.                                         </div>
  2297.                                         <div class=\"middle\">
  2298.                                             <div class=\"bar-container\">
  2299.                                                 <div class=\"bar\" style=\"width: {{ event.getRatingsPercentageForRating(4) }}%;\"></div>
  2300.                                             </div>
  2301.                                         </div>
  2302.                                         <div class=\"side right\">
  2303.                                             <div class=\"text-muted\">{{ event.getRatingsPercentageForRating(4) }}%</div>
  2304.                                         </div>
  2305.                                         <div class=\"side\">
  2306.                                             <div>{{ \"3 stars\"|trans }}</div>
  2307.                                         </div>
  2308.                                         <div class=\"middle\">
  2309.                                             <div class=\"bar-container\">
  2310.                                                 <div class=\"bar\" style=\"width: {{ event.getRatingsPercentageForRating(3) }}%;\"></div>
  2311.                                             </div>
  2312.                                         </div>
  2313.                                         <div class=\"side right\">
  2314.                                             <div class=\"text-muted\">{{ event.getRatingsPercentageForRating(3) }}%</div>
  2315.                                         </div>
  2316.                                         <div class=\"side\">
  2317.                                             <div>{{ \"2 stars\"|trans }}</div>
  2318.                                         </div>
  2319.                                         <div class=\"middle\">
  2320.                                             <div class=\"bar-container\">
  2321.                                                 <div class=\"bar\" style=\"width: {{ event.getRatingsPercentageForRating(2) }}%;\"></div>
  2322.                                             </div>
  2323.                                         </div>
  2324.                                         <div class=\"side right\">
  2325.                                             <div class=\"text-muted\">{{ event.getRatingsPercentageForRating(2) }}%</div>
  2326.                                         </div>
  2327.                                         <div class=\"side\">
  2328.                                             <div>{{ \"1 star\"|trans }}</div>
  2329.                                         </div>
  2330.                                         <div class=\"middle\">
  2331.                                             <div class=\"bar-container\">
  2332.                                                 <div class=\"bar\" style=\"width: {{ event.getRatingsPercentageForRating(1) }}%;\"></div>
  2333.                                             </div>
  2334.                                         </div>
  2335.                                         <div class=\"side right\">
  2336.                                             <div class=\"text-muted\">{{ event.getRatingsPercentageForRating(1) }}%</div>
  2337.                                         </div>
  2338.                                     </div>
  2339.                                 </div>
  2340.                                 {% if reviewscount|length %}
  2341.                                     <div id=\"reviews\" class=\"row\">
  2342.                                         <div class=\"col-12\">
  2343.                                             {% for review in services.getReviews({\"event\": event.slug, \"limit\": 8}).getQuery().getResult() %}
  2344.                                                 {% include \"Global/user-review.html.twig\" with { review : review, showuser: 1 } %}
  2345.                                             {% endfor %}
  2346.                                             {% if reviewscount > 8 %}
  2347.                                                 <a href=\"{{ path('event_reviews') }}\" class=\"btn btn-outline-primary mx-auto\"><i class=\"far fa-star-half-full\"></i> {{ \"See all %reviewscount% reviews\"|trans({'%reviewscount%': reviewscount}) }}</a>
  2348.                                             {% endif %}
  2349.                                         </div>
  2350.                                     </div>
  2351.                                 {% endif %}
  2352.                             {% endif %}
  2353.                         </div>
  2354.                     </div>
  2355.                     <div class=\"col-12 col-lg-4 order-0 order-lg-1 {% if app.request.locale==\"ar\" %}border-right{% endif %}\">
  2356.                         <div class=\"card-body\">
  2357.                             <h1 class=\"card-title b d-lg-none text-center\">{{ event.name }}</h1>
  2358.                             {% if event.enablereviews %}
  2359.                                 <div class=\"rating-wrap mb-5 d-lg-none text-center\">
  2360.                                     <ul class=\"rating-stars\">
  2361.                                         <li style=\"width:{{event.getRatingPercentage}}%\" class=\"stars-active\">
  2362.                                             <i class=\"fa fa-star\"></i>
  2363.                                             <i class=\"fa fa-star\"></i>
  2364.                                             <i class=\"fa fa-star\"></i>
  2365.                                             <i class=\"fa fa-star\"></i>
  2366.                                             <i class=\"fa fa-star\"></i>
  2367.                                         </li>
  2368.                                         <li>
  2369.                                             <i class=\"fa fa-star\"></i>
  2370.                                             <i class=\"fa fa-star\"></i>
  2371.                                             <i class=\"fa fa-star\"></i>
  2372.                                             <i class=\"fa fa-star\"></i>
  2373.                                             <i class=\"fa fa-star\"></i>
  2374.                                         </li>
  2375.                                     </ul>
  2376.                                     <div class=\"label-rating\">{{ reviewscount }} {{\"Reviews\"|trans|lower}}</div>
  2377.                                 </div>
  2378.                             {% endif %}
  2379.                             {% if event.hasAnEventDateOnSale %}
  2380.                                 {# Event Dates calendar used on multi date events #}
  2381.                                 {% if event.hasTwoOrMoreEventDatesOnSale %}
  2382.                                     {% set eventDatesCalendar = [] %}
  2383.                                     {% for eventDate in event.eventdates if eventDate.isOnSale %}
  2384.                                         {% set eventDatesCalendar = eventDatesCalendar|merge([{\"Date\": eventDate.startdate|date('Y-m-d'), \"Title\": eventDate.startdate|date('g:i A'), \"Link\": eventDate.reference}]) %}
  2385.                                     {% endfor %}
  2386.                                     {% include \"Global/message.html.twig\" with { type: 'info', icon: 'fas fa-info-circle', message: \"Click on a date to view tickets\"|trans } %}
  2387.                                     <div id=\"event-dates-calendar\" class=\"mt-5\" data-event-dates=\"{{ eventDatesCalendar|json_encode() }}\"></div>
  2388.                                     {% if is_granted('ROLE_ATTENDEE') %}
  2389.                                         <button id=\"add-to-cart-button\" type=\"button\" class=\"btn btn-primary btn-block mt-3 mb-3\"><i class=\"fas fa-cart-plus\"></i> {{ \"Add to cart\"|trans }}</button>
  2390.                                     {% endif %}
  2391.                                 {% endif %}
  2392.                                 <form id=\"add-to-cart-form\" action=\"{{ path('dashboard_attendee_cart_add') }}\" method=\"post\">
  2393.                                     {% for eventDate in event.eventdates if eventDate.isOnSale %}
  2394.                                         <div id=\"eventDate-{{eventDate.reference}}-wrapper\" class=\"event-eventDate-wrapper\">
  2395.                                             <dl>
  2396.                                                 <dt class=\"text-muted\">
  2397.                                                     <span>{{ \"Dates\"|trans }}</span>
  2398.                                                 </dt>
  2399.                                                 <dd>
  2400.                                                     <div class=\"text-center\">
  2401.                                                         {# for the add to calendar link #}
  2402.                                                         {% set eventstartdate = \"\" %}
  2403.                                                         {% set eventenddate = \"\" %}
  2404.                                                         {% set eventlocation = \"\" %}
  2405.                                                         {% if eventDate.venue %}
  2406.                                                             {% set eventlocation = eventDate.venue.name ~ ': ' ~ eventDate.venue.stringifyAddress %}
  2407.                                                         {% else %}
  2408.                                                             {% set eventlocation = \"Online\"|trans %}
  2409.                                                         {% endif %}
  2410.                                                         {% if eventDate.startdate %}
  2411.                                                             <div class=\"display-inline-block\">
  2412.                                                                 <div class=\"display-inline-block\">
  2413.                                                                     <span class=\"font-size-3rem\">{{ eventDate.startdate|date('d') }}</span>
  2414.                                                                 </div>
  2415.                                                                 <div class=\"display-inline-block mr-3\">
  2416.                                                                     <div><span class=\"font-size-1rem\">{{ eventDate.startdate|localizeddate('none', 'none', app.request.locale, null, \"MMMM\")|capitalize|slice(0, 3) }}</span></div>
  2417.                                                                     <div><span>{{ eventDate.startdate|date('Y') }}</span></div>
  2418.                                                                 </div>
  2419.                                                                 <div class=\"mb-2\">
  2420.                                                                     <span class=\"text-muted b\">
  2421.                                                                         {{ eventDate.startdate|date('g:i a')|upper }}
  2422.                                                                         {% if eventDate.enddate %}
  2423.                                                                             {% if eventDate.enddate|date('Y-m-d') == eventDate.startdate|date('Y-m-d') %}
  2424.                                                                                 - {{ eventDate.enddate|date('g:i a')|upper }}
  2425.                                                                             {% endif %}
  2426.                                                                         {% endif %}
  2427.                                                                     </span>
  2428.                                                                 </div>
  2429.                                                             </div>
  2430.                                                             {% set eventstartdate = eventDate.startdate|date('F d, Y H:i') %}
  2431.                                                         {% endif %}
  2432.                                                         {% if eventDate.enddate %}
  2433.                                                             {% if eventDate.enddate|date('Y-m-d') != eventDate.startdate|date('Y-m-d') %}
  2434.                                                                 <div class=\"display-inline-block\">
  2435.                                                                     <div class=\"display-inline-block\">
  2436.                                                                         <span class=\"font-size-3rem\">{{ eventDate.enddate|date('d') }}</span>
  2437.                                                                     </div>
  2438.                                                                     <div class=\"display-inline-block\">
  2439.                                                                         <div><span class=\"font-size-1rem\">{{ eventDate.enddate|localizeddate('none', 'none', app.request.locale, null, \"MMMM\")|capitalize|slice(0, 3) }}</span></div>
  2440.                                                                         <div><span>{{ eventDate.enddate|date('Y') }}</span></div>
  2441.                                                                     </div>
  2442.                                                                     <div class=\"mb-2\"><span class=\"text-muted b\">{{ eventDate.enddate|date('g:i a')|upper }}</span></div>
  2443.                                                                 </div>
  2444.                                                             {% endif %}
  2445.                                                             {% set eventstartdate = eventDate.enddate|date('F d, Y H:i') %}
  2446.                                                         {% endif %}
  2447.                                                         <div class=\"clearfix\"></div>
  2448.                                                         <a id=\"add-to-calendar-link\" data-toggle=\"modal\" data-target=\"#add-to-calendar-modal\" href=\"javascript:void(0)\" data-title=\"{{ event.name }}\" data-start=\"{{ eventstartdate }}\" data-end=\"{{ eventenddate }}\" data-address=\"{{ eventlocation }}\" data-description=\"{{ event.description|striptags|slice(0, 250)|raw|nl2br }}\"><i class=\"fas fa-calendar-plus\"></i> {{ \"Add to calendar\"|trans }}</a>
  2449.                                                         <div class=\"modal fade\" id=\"add-to-calendar-modal\">
  2450.                                                             <div class=\"modal-dialog modal-dialog-centered\">
  2451.                                                                 <div class=\"modal-content\">
  2452.                                                                     <div class=\"modal-header\">
  2453.                                                                         <h4 class=\"modal-title\"><i class=\"fas fa-calendar-plus\"></i> {{ \"Add to calendar\"|trans }}</h4>
  2454.                                                                         <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  2455.                                                                     </div>
  2456.                                                                     <div id=\"add-to-calendar\" class=\"modal-body\">
  2457.                                                                     </div>
  2458.                                                                     <div class=\"modal-footer\">
  2459.                                                                         <button type=\"button\" class=\"btn btn-primary\" data-dismiss=\"modal\">{{ \"Close\"|trans }}</button>
  2460.                                                                     </div>
  2461.                                                                 </div>
  2462.                                                             </div>
  2463.                                                         </div>
  2464.                                                     </div>
  2465.                                                 </dd>
  2466.                                             </dl>
  2467.                                             <hr class=\"hr-md\">
  2468.                                             {% if eventDate.venue %}
  2469.                                                 <dl>
  2470.                                                     <dt class=\"text-muted\">
  2471.                                                         <span class=\"{% if app.request.locale == \"ar\" %}float-right{% else %}float-left{% endif %}\">{{ \"Venue\"|trans }}</span>
  2472.                                                         {% if eventDate.venue.listedondirectory %}
  2473.                                                             <a href=\"{{ path('venue', { slug: eventDate.venue.slug }) }}\" class=\"{% if app.request.locale == \"ar\" %}float-left{% else %}float-right{% endif %} text-sm\"><i class=\"far fa-building\"></i> {{ \"Details\"|trans }}</a>
  2474.                                                         {% endif %}
  2475.                                                         <div class=\"clearfix\"></div>
  2476.                                                     </dt>
  2477.                                                     <dd class=\"mr-0\">
  2478.                                                         <h4 class=\"text-center\">{{ eventDate.venue.name }}</h4>
  2479.                                                         <p>{{ eventDate.venue.stringifyAddress }}</p>
  2480.                                                         <div class=\"d-flex mb-3\">
  2481.                                                             <ul class=\"list-inline mx-auto\">
  2482.                                                                 <li class=\"list-inline-item\"><a href=\"https://www.google.com/maps/dir/?api=1&destination={{ eventDate.venue.lat }},{{ eventDate.venue.lng }}&travelmode=driving\" class=\"text-black-50\" data-toggle=\"tooltip\" title=\"{{ \"Display itinerary driving\"|trans }}\"  rel=\"noopener\" target=\"_blank\"><i class=\"fas fa-car fa-fw\"></i></a></li>
  2483.                                                                 <li class=\"list-inline-item\"><a href=\"https://www.google.com/maps/dir/?api=1&destination={{ eventDate.venue.lat }},{{ eventDate.venue.lng }}&travelmode=walking\" class=\"text-black-50\" data-toggle=\"tooltip\" title=\"{{ \"Display itinerary walking\"|trans }}\" rel=\"noopener\" target=\"_blank\"><i class=\"fas fa-walking fa-fw\"></i></a></li>
  2484.                                                                 <li class=\"list-inline-item\"><a href=\"https://www.google.com/maps/dir/?api=1&destination={{ eventDate.venue.lat }},{{ eventDate.venue.lng }}&travelmode=transit\" class=\"text-black-50\" data-toggle=\"tooltip\" title=\"{{ \"Display itinerary on public transportation\"|trans }}\" rel=\"noopener\" target=\"_blank\"><i class=\"fas fa-bus fa-fw\"></i></a></li>
  2485.                                                                 <li class=\"list-inline-item\"><a href=\"https://www.google.com/maps/dir/?api=1&destination={{ eventDate.venue.lat }},{{ eventDate.venue.lng }}&travelmode=bicycling\" class=\"text-black-50\" data-toggle=\"tooltip\" title=\"{{ \"Display itinerary bicycling\"|trans }}\" rel=\"noopener\" target=\"_blank\"><i class=\"fas fa-bicycle fa-fw\"></i></a></li>
  2486.                                                             </ul>
  2487.                                                         </div>
  2488.                                                         <iframe class=\"w-100 border-0 venue-map\" height=\"300\" src=\"{{ services.getCurrentRequestProtocol() }}://maps.google.com/maps?q={{ eventDate.venue.name|url_encode ~ '%20' ~ eventDate.venue.stringifyAddress|url_encode }}&t=&z=13&ie=UTF8&iwloc=&output=embed\"></iframe>
  2489.                                                     </dd>
  2490.                                                 </dl>
  2491.                                             {% else %}
  2492.                                                 <dl>
  2493.                                                     <dt class=\"text-muted\">
  2494.                                                         <span class=\"{% if app.request.locale == \"ar\" %}float-right{% else %}float-left{% endif %}\">{{ \"Venue\" }}</span>
  2495.                                                     </dt>
  2496.                                                     <dd>
  2497.                                                         <br>
  2498.                                                         <h4 class=\"text-center\">{{ \"Online\"|trans }}</h4>
  2499.                                                     </dd>
  2500.                                                 </dl>
  2501.                                             {% endif %}
  2502.                                             <hr class=\"hr-md\">
  2503.                                             <dl class=\"mt-5\">
  2504.                                                 <dt class=\"text-muted\">{{ \"Tickets\"|trans }}</dt>
  2505.                                                 <dd class=\"mr-0\">
  2506.                                                     <div class=\"table-responsive\">
  2507.                                                         <table class=\"table table-hover table-condensed\">
  2508.                                                             <tbody>
  2509.                                                                 {% for ticket in eventDate.tickets %}
  2510.                                                                     {% if ticket.active %}
  2511.                                                                         <tr class=\"bg-gray\">
  2512.                                                                             <td class=\"border-top-white\" style=\"width: 75%;\">
  2513.                                                                                 {{ ticket.name }}
  2514.                                                                             </td>
  2515.                                                                             <td class=\"border-top-white text-right\">
  2516.                                                                                 {% if not ticket.isOnSale %}
  2517.                                                                                     <span class=\"badge badge-{{ ticket.stringifyStatusClass }}\">{{ ticket.stringifyStatus|trans }}</span>
  2518.                                                                                 {% else %}
  2519.                                                                                     {{ ticket.free ? \"Free\"|trans : ((services.getSetting('currency_position') == 'left' ? services.getSetting('currency_symbol') : '') ~ ticket.getSalePrice() ~ (services.getSetting('currency_position') == 'right' ? services.getSetting('currency_symbol') : '')) }}
  2520.                                                                                     {% if ticket.promotionalprice and not ticket.free %}
  2521.                                                                                         <del class=\"price-old\">{{ (services.getSetting('currency_position') == 'left' ? services.getSetting('currency_symbol') : '') ~ ticket.getPrice() ~ (services.getSetting('currency_position') == 'right' ? services.getSetting('currency_symbol') : '') }}</del>
  2522.                                                                                     {% endif %}
  2523.                                                                                 {% endif %}
  2524.                                                                         </tr>
  2525.                                                                     {% endif %}
  2526.                                                                 {% endfor %}
  2527.                                                             </tbody>
  2528.                                                         </table>
  2529.                                                     </div>
  2530.                                                     {% if not is_granted('IS_AUTHENTICATED_REMEMBERED') or is_granted('ROLE_ATTENDEE') %}
  2531.                                                         {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  2532.                                                             <a href=\"#\" class=\"btn btn-primary btn-block mb-2 buy-tickets-modal-button\" data-toggle=\"modal\" data-target=\"#buy-tickets-modal-eventDate-{{ eventDate.reference }}\"><i class=\"fas fa-ticket-alt\"></i> {{ \"Tickets\"|trans }}</a>
  2533.                                                             {% include \"Dashboard/Attendee/Cart/add-to-cart-modal.html.twig\" with { eventdate: eventDate } %}
  2534.                                                         {% else %}
  2535.                                                             <a href=\"{{ path('fos_user_security_login')~'?_target_path='~app.request.getPathInfo }}\" class=\"btn btn-primary btn-block\"><i class=\"fas fa-ticket-alt\"></i> {{ \"Tickets\"|trans }}</a>
  2536.                                                         {% endif %}
  2537.                                                     {% endif %}
  2538.                                                 </dd>
  2539.                                             </dl>
  2540.                                         </div>
  2541.                                     {% endfor %}
  2542.                                 </form>
  2543.                                 {% if not is_granted('IS_AUTHENTICATED_REMEMBERED') or is_granted('ROLE_ATTENDEE') %}
  2544.                                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  2545.                                         {% if event.isAddedToFavoritesBy(app.user) %}
  2546.                                             <button class=\"event-favorites-remove btn btn-outline-primary btn-block\" data-target=\"{{ path('dashboard_attendee_favorites_remove', { slug : event.slug }) }}\" data-toggle=\"tooltip\" title=\"\" data-placement=\"bottom\"><i class=\"fas fa-heart\"></i> {{ \"Remove from favorites\"|trans }}</button>
  2547.                                         {% else %}
  2548.                                             <button class=\"event-favorites-add btn btn-outline-primary btn-block\" data-target=\"{{ path('dashboard_attendee_favorites_add', { slug : event.slug }) }}\" data-toggle=\"tooltip\" title=\"\" data-placement=\"bottom\"><i class=\"far fa-heart\"></i> {{ \"Add to favorites\"|trans }}</button>
  2549.                                         {% endif %}
  2550.                                     {% else %}
  2551.                                         <a href=\"{{ path('fos_user_security_login')~'?_target_path='~app.request.getPathInfo }}\" class=\"btn btn-outline-primary btn-block\"><i class=\"far fa-heart\"></i> {{ \"Add to favorites\"|trans }}</a>
  2552.                                     {% endif %}
  2553.                                 {% endif %}
  2554.                             {% else %}
  2555.                                 {% include \"Global/message.html.twig\" with { type: 'info', icon: 'fas fa-info-circle', message: \"No tickets on sale at this moment\" } %}
  2556.                             {% endif %}
  2557.                             <hr class=\"hr-md\">
  2558.                             <dl class=\"mt-5 mb-5\">
  2559.                                 <dt class=\"text-muted\">
  2560.                                     <span class=\"{% if app.request.locale == \"ar\" %}float-right{% else %}float-left{% endif %}\">{{ \"Organizer\"|trans }}</span>
  2561.                                     <a href=\"{{ path('organizer', { slug : event.organizer.slug }) }}\" class=\"{% if app.request.locale == \"ar\" %}float-left{% else %}float-right{% endif %} text-sm\"><i class=\"far fa-id-card\"></i> {{ \"Details\"|trans }}</a>
  2562.                                     <div class=\"clearfix\"></div>
  2563.                                 </dt>
  2564.                                 <dt class=\"text-muted\">
  2565.                                     <span class=\"{% if app.request.locale == \"ar\" %}float-right{% else %}float-left{% endif %}\">{{ \"Organizer WhatsApp Number\"|trans }}</span>
  2566.                                     <a target=\"_blank\" href=\"https://wa.me/{{ event.whatsappnumber }}?text=Hi,%20I%20want%20to%20know%20about%20your%20event:%20{{ app.request.schemeAndHttpHost }}{{ path('event', { slug: event.slug }) }}\" class=\"{% if app.request.locale == \"ar\" %}float-left{% else %}float-right{% endif %} text-sm\"><i class=\"fab fa-whatsapp\"></i> {{ event.whatsappnumber }}</a>
  2567.                                     <div class=\"clearfix\"></div>
  2568.                                 </dt>
  2569.                                 <dd class=\"mr-0\">
  2570.                                     <div class=\"card-banner {{ event.organizer.coverName ? '' : 'organizer-preview-no-cover' }}\"{% if event.organizer.coverName %} style=\"height:250px;background-image: url('{{asset(event.organizer.getCoverPath|imagine_filter('thumbnail', {\"thumbnail\": {\"size\": [400, 250] }}))}}');\" {% endif %}>
  2571.                                         <article class=\"overlay bottom text-center\">
  2572.                                             <h4 class=\"card-title\"><a href=\"{{ path('organizer', { slug : event.organizer.slug }) }}\">{{ event.organizer.name }}</a></h4>
  2573.                                                 {% if event.organizer.logoName %}
  2574.                                                 <img src=\"{{asset(event.organizer.getLogoPath)}}\" class=\"img-100-100 d-block mx-auto mb-3 img-thumbnail\" alt=\"{{ event.organizer.name }}\" />
  2575.                                             {% endif %}
  2576.                                             {% if not is_granted('IS_AUTHENTICATED_REMEMBERED') or is_granted('ROLE_ATTENDEE') %}
  2577.                                                 {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  2578.                                                     {% if event.organizer.isFollowedBy(app.user) %}
  2579.                                                         <button class=\"organizer-unfollow btn btn-primary btn-sm\" data-target=\"{{ path('dashboard_attendee_following_remove', { slug : event.organizer.slug }) }}\"><i class=\"fas fa-folder-minus\"></i> {{ \"Unfollow\"|trans }}</button>
  2580.                                                     {% else %}
  2581.                                                         <button class=\"organizer-follow btn btn-primary btn-sm\" data-target=\"{{ path('dashboard_attendee_following_add', { slug : event.organizer.slug }) }}\"><i class=\"fas fa-folder-plus\"></i> {{ \"Follow\"|trans }}</button>
  2582.                                                     {% endif %}
  2583.                                                 {% else %}
  2584.                                                     <a href=\"{{ path('fos_user_security_login')~'?_target_path='~app.request.getPathInfo }}\" class=\"btn btn-primary btn-sm\"><i class=\"fas fa-folder-plus\"></i> {{ \"Follow\"|trans }}</a>
  2585.                                                 {% endif %}
  2586.                                             {% endif %}
  2587.                                         </article>
  2588.                                     </div>
  2589.                                 </dd>
  2590.                             </dl>
  2591.                             {% if event.showattendees %}
  2592.                                 {% set attendeescount = event.getTotalOrderElementsQuantitySum(1, 'all', 'ROLE_ATTENDEE') %}
  2593.                                 {% if attendeescount %}
  2594.                                     <hr>
  2595.                                     <dl class=\"mt-5\">
  2596.                                         <dt class=\"text-muted mb-3\">
  2597.                                             <span class=\"{% if app.request.locale == \"ar\" %}float-right{% else %}float-left{% endif %}\">{{ \"Attendees\"|trans }} <b>({{attendeescount}})</b></span>
  2598.                                             <a href=\"#\" class=\"{% if app.request.locale == \"ar\" %}float-left{% else %}float-right{% endif %} text-sm\" data-toggle=\"modal\" data-target=\"#attendees-modal\"><i class=\"fas fa-users\"></i> {{ \"See all\"|trans }}</a>
  2599.                                             <div class=\"modal fade\" id=\"attendees-modal\">
  2600.                                                 <div class=\"modal-dialog modal-dialog-centered\">
  2601.                                                     <div class=\"modal-content\">
  2602.                                                         <div class=\"modal-header\">
  2603.                                                             <div class=\"modal-title h4\">{{ \"Attendees\"|trans }} ({{attendeescount}})</div>
  2604.                                                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  2605.                                                         </div>
  2606.                                                         <div class=\"modal-body\">
  2607.                                                             <div class=\"card border-0 card-body overflow-auto text-nowrap\">
  2608.                                                                 <div class=\"avatar-list py-4\">
  2609.                                                                     {% for user in services.getUsers({\"hasboughtticketfor\": event.slug, \"role\": \"attendee\"}).getQuery().getResult() %}
  2610.                                                                         {% include \"Global/user-avatar.html.twig\" with { user: user, showusernametooltip: true } %}
  2611.                                                                     {% endfor %}
  2612.                                                                 </div>
  2613.                                                             </div>
  2614.                                                         </div>
  2615.                                                         <div class=\"modal-footer\">
  2616.                                                             <button type=\"button\" class=\"btn btn-primary\" data-dismiss=\"modal\">{{ \"Close\"|trans }}</button>
  2617.                                                         </div>
  2618.                                                     </div>
  2619.                                                 </div>
  2620.                                             </div>
  2621.                                             <div class=\"clearfix\"></div>
  2622.                                         </dt>
  2623.                                         <dd class=\"mr-0\">
  2624.                                             <div class=\"card border-0 card-body\">
  2625.                                                 <div class=\"avatar-list avatar-list-stacked\">
  2626.                                                     {% for user in services.getUsers({\"hasboughtticketfor\": event.slug, \"limit\": 12, \"role\": \"attendee\"}).getQuery().getResult() %}
  2627.                                                         {% include \"Global/user-avatar.html.twig\" with { user: user, showusernametooltip: true } %}
  2628.                                                     {% endfor %}
  2629.                                                     {% if attendeescount > 12 %}
  2630.                                                         <span class=\"avatar\">{{ attendeescount - 12 }}</span>
  2631.                                                     {% endif %}
  2632.                                                 </div>
  2633.                                             </div>
  2634.                                         </dd>
  2635.                                     </dl>
  2636.                                 {% endif %}
  2637.                             {% endif %}
  2638.                             {% if services.getSetting(\"newsletter_enabled\") == \"yes\" and services.getSetting(\"mailchimp_api_key\") and services.getSetting(\"mailchimp_list_id\") %}
  2639.                                 <div class=\"mt-5\">
  2640.                                     {% include \"Global/newsletter-box.html.twig\" %}
  2641.                                 </div>
  2642.                             {% endif %}
  2643.                         </div>
  2644.                     </div>
  2645.                 </div>
  2646.             </div>
  2647.             {% set othereventsbythisorganizer = services.getEvents({\"organizer\" : event.organizer.slug, \"limit\" : 8, \"otherthan\": event.slug}).getQuery().getResult() %}
  2648.             {% if othereventsbythisorganizer|length > 0 %}
  2649.                 <div class=\"row\">
  2650.                     <div class=\"col-12\">
  2651.                         <h3 class=\"mt-5 mb-4 text-center\">{{ \"Other events by %organizername%\"|trans({'%organizername%' : event.organizer.name}) }}</h3>
  2652.                         <div class=\"owl-init owl-carousel\" data-margin=\"15\" data-items=\"4\" data-dots=\"false\" data-nav=\"true\" data-autoplay=\"true\" data-loop=\"false\">
  2653.                             {% for event in othereventsbythisorganizer %}
  2654.                                 {% include \"Global/event-card.html.twig\" with {event: event} %}
  2655.                             {% endfor %}
  2656.                         </div>
  2657.                     </div>
  2658.                 </div>
  2659.             {% endif %}
  2660.             {% set similareventscriteria = {\"category\" : event.category.slug, \"limit\" : 8, \"otherthan\": event.slug} %}
  2661.             {% if event.getFirstVenue %}
  2662.                 {% set similareventscriteria = similareventscriteria|merge({\"country\" : event.getFirstVenue.country.slug}) %}
  2663.             {% endif %}
  2664.             {% set similarevents = services.getEvents(similareventscriteria).getQuery().getResult() %}
  2665.             {% if similarevents|length > 0 %}
  2666.                 <div class=\"row\">
  2667.                     <div class=\"col-12\">
  2668.                         <h3 class=\"mt-5 mb-4 text-center\">{{ \"Similar events\" }}</h3>
  2669.                         <div class=\"owl-init owl-carousel\" data-margin=\"15\" data-items=\"4\" data-dots=\"false\" data-nav=\"true\" data-autoplay=\"true\" data-loop=\"false\">
  2670.                             {% for event in similarevents %}
  2671.                                 {% include \"Global/event-card.html.twig\" with {event: event} %}
  2672.                             {% endfor %}
  2673.                         </div>
  2674.                     </div>
  2675.                 </div>
  2676.             {% endif %}
  2677.         </div>
  2678.     </section>
  2679. {% endblock %}
  2680. {% block javascripts %}
  2681.     {{ encore_entry_script_tags('event') }}
  2682.     {% if (chatbot_id != null) %}
  2683.         <script type=\"module\">
  2684.             import Chatbot from \"{{chatbot_flowise}}\";
  2685.             Chatbot.init({
  2686.                 chatflowid: \"{{chatbot_id}}\",
  2687.                 apiHost: \"{{ api_host }}\"
  2688.             });
  2689.         </script>
  2690.     {% endif %}
  2691. {% endblock %}
  2692. ""Front/Event/event.html.twig""/www/wwwroot/eventos.keoscx.com/templates/Front/Event/event.html.twig");
  2693.     }
  2694. }