<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* events/events-detail.html.twig */
class __TwigTemplate_4153618ff18edd01cc143a4af186f164 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "events/events-detail.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "events/events-detail.html.twig"));
$this->parent = $this->loadTemplate("layout/layout.html.twig", "events/events-detail.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "GFS::Event Detail
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 7
yield "
\t<!--Start Wrapper-->
\t<!--Start Info Media-->
\t\t<div id=\"invoice\" class=\"invoice\"> <section class=\" training-media-box info-media listing-media-box training-hero-container web-event-details web-media-box \">
\t\t\t<div
\t\t\t\tclass=\"training-detail-container-box web-event-details-box\">
\t\t\t\t";
// line 16
yield "\t\t\t\t<div class=\"event-new-section\">
\t\t\t\t\t<div class=\"container container-sm\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t\t<div class=\"content-left pe-lg-3 px-3\">
\t\t\t\t\t\t\t\t\t<section class=\"bread-crumbs-section\">
\t\t\t\t\t\t\t\t\t\t<div class=\"container container-lg\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"bread-crumbs-section-box\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"breadcrumb-holder breadcrumb-dgreen\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 28, $this->source); })()), "request", [], "any", false, false, false, 28), "locale", [], "any", false, false, false, 28), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 31
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 31, $this->source); })()), "request", [], "any", false, false, false, 31), "locale", [], "any", false, false, false, 31), "html", null, true);
yield "/professional-training\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 34
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "locale", [], "any", false, false, false, 34), "html", null, true);
yield "/events\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Events"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0);\">";
// line 37
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 37, $this->source); })()), "e_name", [], "any", false, false, false, 37), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t</ol>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</section>
\t\t\t\t\t\t\t\t\t<h2 class=\"";
// line 44
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 44, $this->source); })()), "request", [], "any", false, false, false, 44), "locale", [], "any", false, false, false, 44) == "ar")) ? ("rtl-dir") : (""));
yield "\">";
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 44, $this->source); })()), "request", [], "any", false, false, false, 44), "locale", [], "any", false, false, false, 44) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 44, $this->source); })()), "e_name", ["en"], "method", false, false, false, 44), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 44, $this->source); })()), "e_name", ["ar"], "method", false, false, false, 44), "html", null, true)));
yield "</h2>
\t\t\t\t\t\t\t\t\t";
// line 46
yield "
\t\t\t\t\t\t\t\t\t<p>";
// line 47
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "locale", [], "any", false, false, false, 47) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 47, $this->source); })()), "e_description", ["en"], "method", false, false, false, 47), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 47, $this->source); })()), "e_description", ["ar"], "method", false, false, false, 47), "html", null, true)));
yield "</p>
\t\t\t\t\t\t\t\t\t<p>";
// line 49
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 49, $this->source); })()), "request", [], "any", false, false, false, 49), "locale", [], "any", false, false, false, 49) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 49, $this->source); })()), "e_slider_description", ["en"], "method", false, false, false, 49), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 49, $this->source); })()), "e_slider_description", ["ar"], "method", false, false, false, 49), "html", null, true)));
yield "</p>
\t\t\t\t\t\t\t\t\t";
// line 52
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "session", [], "any", false, false, false, 52), "get", ["loginUserName"], "method", false, false, false, 52);
// line 53
yield "\t\t\t\t\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 53, $this->source); })()))) {
// line 54
yield "\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info\">
\t\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"loyaltyProgram(this,";
// line 55
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 55, $this->source); })()), "id", [], "any", false, false, false, 55), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 55, $this->source); })()), "e_name", [], "any", false, false, false, 55), "html", null, true);
yield "',50,'Event','Share')\">
\t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Event','";
// line 56
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "getSchemeAndHttpHost", [], "method", false, false, false, 56) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "locale", [], "any", false, false, false, 56)) . "/events/") . CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 56, $this->source); })()), "url", [], "any", false, false, false, 56)), "html", null, true);
yield "','";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share event with your friends"), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t";
// line 58
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["Liked"]) || array_key_exists("Liked", $context) ? $context["Liked"] : (function () { throw new RuntimeError('Variable "Liked" does not exist.', 58, $this->source); })())) == 0)) {
// line 59
yield "\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like-white detailevent\" onclick=\"loyaltyProgram(this,";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 59, $this->source); })()), "id", [], "any", false, false, false, 59), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 59, $this->source); })()), "e_name", [], "any", false, false, false, 59), "html", null, true);
yield "',30,'Event','Like' , '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 59, $this->source); })()), "request", [], "any", false, false, false, 59), "locale", [], "any", false, false, false, 59), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 61
yield "\t\t\t\t\t\t\t\t\t\t\t\t<li class='liked'>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 63
yield "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 64
yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\" id=\"download\" onclick=\"loyaltyProgram(this,";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 64, $this->source); })()), "id", [], "any", false, false, false, 64), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 64, $this->source); })()), "e_name", [], "any", false, false, false, 64), "html", null, true);
yield "',10,'Event','Download')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t";
} else {
// line 68
yield "
\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info\">
\t\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"sharemodal('Event','";
// line 70
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "getSchemeAndHttpHost", [], "method", false, false, false, 70) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "locale", [], "any", false, false, false, 70)) . "/events/") . CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 70, $this->source); })()), "url", [], "any", false, false, false, 70)), "html", null, true);
yield "','";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share event with your friends"), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"like-white logged-out\">";
// line 71
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\" id=\"download\">";
// line 72
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t";
}
// line 76
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 80
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 80, $this->source); })()), "request", [], "any", false, false, false, 80), "locale", [], "any", false, false, false, 80) == "ar")) {
// line 81
yield "\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 81, $this->source); })()), "eventImageAr", [], "any", false, false, false, 81)) {
// line 82
yield "\t\t\t\t\t\t\t\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 82, $this->source); })()), "eventImageAr", [], "any", false, false, false, 82), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 82, $this->source); })()), "e_name", [], "any", false, false, false, 82), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 84
yield "\t\t\t\t\t\t\t\t\t";
} else {
// line 85
yield "\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 85, $this->source); })()), "event_image", [], "any", false, false, false, 85)) {
// line 86
yield "\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 86, $this->source); })()), "event_image", [], "any", false, false, false, 86), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 86, $this->source); })()), "e_name", [], "any", false, false, false, 86), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t";
}
// line 88
yield "\t\t\t\t\t\t\t\t\t";
}
// line 89
yield "\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 92
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 92, $this->source); })()), "show", [], "any", false, false, false, 92)) {
// line 93
yield "\t\t\t\t\t\t\t\t<div class=\"col-12 my-5\">
\t\t\t\t\t\t\t\t\t<div class=\"event-timer-section\">
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"";
// line 97
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "locale", [], "any", false, false, false, 97) == "ar")) ? ("rtl-dir") : (""));
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 98
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("The webinar will be live in"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-5\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\" countdown ";
// line 102
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 102, $this->source); })()), "request", [], "any", false, false, false, 102), "locale", [], "any", false, false, false, 102) == "ar")) ? ("rtl-dir") : (""));
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"days\" class=\"countdown-value\">00</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">";
// line 105
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Days"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"hours\" class=\"countdown-value\">00</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">";
// line 109
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Hours"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"minutes\" class=\"countdown-value\">00</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">";
// line 113
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Minutes"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"seconds\" class=\"countdown-value\">00</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">";
// line 117
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Seconds"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 127
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 127, $this->source); })()), "show", [], "any", false, false, false, 127)) {
// line 128
yield "\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t\t\t";
// line 129
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 129, $this->source); })()), "webinarImage", [], "any", false, false, false, 129)) {
// line 130
yield "\t\t\t\t\t\t\t\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 130, $this->source); })()), "webinarImage", [], "any", false, false, false, 130), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 130, $this->source); })()), "webinarTitle", [], "any", false, false, false, 130), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t";
}
// line 132
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t\t\t<div class=\"content-left pe-lg-3 px-3\">
\t\t\t\t\t\t\t\t\t\t<h2 class=\"";
// line 136
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 136, $this->source); })()), "request", [], "any", false, false, false, 136), "locale", [], "any", false, false, false, 136) == "ar")) ? ("rtl-dir") : (""));
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 136, $this->source); })()), "webinarTitle", [], "any", false, false, false, 136), "html", null, true);
yield "</h2>
\t\t\t\t\t\t\t\t\t\t<ul class=\"event-new-list\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 139
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 139, $this->source); })()), "detailListBlock", [], "any", false, false, false, 139));
foreach ($context['_seq'] as $context["_key"] => $context["listItem"]) {
// line 140
yield "
\t\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 143
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["listItem"], "localizedfields", [], "any", false, false, false, 143), "data", [], "any", false, false, false, 143), "getLocalizedValue", ["name"], "method", false, false, false, 143), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['listItem'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 146
yield "
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t";
// line 148
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 148, $this->source); })()), "webinarLink", [], "any", false, false, false, 148);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 152
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t";
// line 156
yield "
\t\t\t</div>
\t\t</section>
\t\t<section class=\"training-area event-detail-chefs event-details-section-2 video-sec \">
\t\t\t<div class=\"container container-sm\">
\t\t\t <div class=\"training-area-media\">
\t\t\t\t<div class=\"training-area-media-video-box event-detail-slide-box\">
\t\t\t\t <div class=\"training-area-media-video-box-section event-detail-video-section\" id=\"event-slider\">
\t\t
\t\t\t\t\t";
// line 165
if (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 165, $this->source); })()), "videos", [], "any", false, false, false, 165)) > 0) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 165, $this->source); })()), "e_images", [], "any", false, false, false, 165), "items", [], "any", false, false, false, 165))) {
// line 166
yield "\t\t
\t\t\t\t\t ";
// line 167
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 167, $this->source); })()), "videos", [], "any", false, false, false, 167)) > 0)) {
// line 168
yield "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 168, $this->source); })()), "videos", [], "any", false, false, false, 168));
foreach ($context['_seq'] as $context["_key"] => $context["event_videos"]) {
// line 169
yield "\t\t\t\t\t\t ";
if ($context["event_videos"]) {
// line 170
yield "\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 170), "data", [], "any", false, false, false, 170), "type", [], "any", false, false, false, 170) == "youtube")) {
// line 171
yield "\t\t\t\t\t\t\t <div class=\"media-section w-100\">
\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/";
// line 172
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 172), "data", [], "any", false, false, false, 172), "data", [], "any", false, false, false, 172), "html", null, true);
yield "?si=sXWSc0Yl9ZZRKPHL\"
\t\t\t\t\t\t\t\t\t\ttitle=\"YouTube video player\"
\t\t\t\t\t\t\t\t\t\tframeborder=\"0\"
\t\t\t\t\t\t\t\t\t\tallow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"
\t\t\t\t\t\t\t\t\t\treferrerpolicy=\"strict-origin-when-cross-origin\"
\t\t\t\t\t\t\t\t\t\tallowfullscreen></iframe>
\t\t\t\t\t\t\t </div>
\t\t\t\t\t\t\t";
} else {
// line 180
yield "\t\t\t\t\t\t\t <div class=\"media-section\">
\t\t\t\t\t\t\t\t<video class=\"second-img second-video\"
\t\t\t\t\t\t\t\t\t poster=\"";
// line 182
yield ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 182), "data", [], "any", false, false, false, 182), "poster", [], "any", false, false, false, 182)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 182), "data", [], "any", false, false, false, 182), "poster", [], "any", false, false, false, 182), "thumbnail", ["event_video_poster_thumb"], "method", false, false, false, 182), "html", null, true)) : (""));
yield "\"
\t\t\t\t\t\t\t\t\t controls=\"audio\">
\t\t\t\t\t\t\t\t <source src=\"";
// line 184
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 184), "data", [], "any", false, false, false, 184), "data", [], "any", false, false, false, 184), "html", null, true);
yield "\" type=\"video/mp4\">
\t\t\t\t\t\t\t\t Your browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t </div>
\t\t\t\t\t\t\t";
}
// line 189
yield "\t\t\t\t\t\t ";
}
// line 190
yield "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['event_videos'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 191
yield "\t\t\t\t\t ";
}
// line 192
yield "\t\t
\t\t\t\t\t ";
// line 193
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 193, $this->source); })()), "e_images", [], "any", false, false, false, 193), "items", [], "any", false, false, false, 193)) {
// line 194
yield "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 194, $this->source); })()), "e_images", [], "any", false, false, false, 194), "items", [], "any", false, false, false, 194));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 195
yield "\t\t\t\t\t\t <div class=\"media-section\">
\t\t\t\t\t\t\t<img class=\"second-img\"
\t\t\t\t\t\t\t\t src=\"";
// line 197
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "thumbnail", ["event_video_poster_thumb"], "method", false, false, false, 197), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t alt=\"";
// line 198
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 198, $this->source); })()), "e_name", [], "any", false, false, false, 198) . "(") . $context["key"]) . ")"), "html", null, true);
yield "\" />
\t\t\t\t\t\t </div>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 201
yield "\t\t\t\t\t ";
}
// line 202
yield "\t\t
\t\t\t\t\t";
}
// line 204
yield "\t\t
\t\t\t\t </div>
\t\t\t\t</div>
\t\t\t\t";
// line 210
yield "\t\t\t </div>
\t\t\t</div>
\t\t </section>
\t\t
\t\t<section class=\"video-sec-2 d-none\" id=\"video-sec-2 \">
\t\t\t<div class=\"container container-sm\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t";
// line 217
if (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 217, $this->source); })()), "videos", [], "any", false, false, false, 217)) > 0) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 217, $this->source); })()), "e_images", [], "any", false, false, false, 217), "items", [], "any", false, false, false, 217))) {
// line 218
yield "\t\t\t\t\t";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 218, $this->source); })()), "videos", [], "any", false, false, false, 218)) > 0)) {
// line 219
yield "
\t\t\t\t\t";
// line 220
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 220, $this->source); })()), "videos", [], "any", false, false, false, 220));
foreach ($context['_seq'] as $context["_key"] => $context["event_videos"]) {
// line 221
yield "
\t\t\t\t\t\t";
// line 222
if ($context["event_videos"]) {
// line 223
yield "\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 223), "data", [], "any", false, false, false, 223), "type", [], "any", false, false, false, 223) == "youtube")) {
// line 224
yield "\t\t\t\t\t\t\t\t<div class=\"media-section w-100\">
\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/";
// line 225
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 225), "data", [], "any", false, false, false, 225), "data", [], "any", false, false, false, 225), "html", null, true);
yield "?si=sXWSc0Yl9ZZRKPHL\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
} else {
// line 228
yield "\t\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t\t<video class=\"second-img second-video\" poster=\"";
// line 229
yield ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 229), "data", [], "any", false, false, false, 229), "poster", [], "any", false, false, false, 229)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 229), "data", [], "any", false, false, false, 229), "poster", [], "any", false, false, false, 229), "thumbnail", ["event_video_poster_thumb"], "method", false, false, false, 229), "html", null, true)) : (""));
yield "\" controls=\"audio\">
\t\t\t\t\t\t\t\t\t\t<source src=\"";
// line 230
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 230), "data", [], "any", false, false, false, 230), "data", [], "any", false, false, false, 230), "html", null, true);
yield "\" type=\"video/mp4\">
\t\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 235
yield "
\t\t\t\t\t\t";
}
// line 237
yield "
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['event_videos'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 239
yield "
\t\t\t\t";
}
// line 241
yield "
\t\t\t\t";
// line 242
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 242, $this->source); })()), "e_images", [], "any", false, false, false, 242), "items", [], "any", false, false, false, 242)) {
// line 243
yield "
\t\t\t\t\t";
// line 244
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 244, $this->source); })()), "e_images", [], "any", false, false, false, 244), "items", [], "any", false, false, false, 244));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 245
yield "\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t<img class=\"second-img\" src=\"";
// line 246
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "thumbnail", ["event_video_poster_thumb"], "method", false, false, false, 246), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 246, $this->source); })()), "e_name", [], "any", false, false, false, 246) . "(") . $context["key"]) . ")"), "html", null, true);
yield "\"/>
\t\t\t\t\t\t";
// line 248
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 250
yield "
\t\t\t\t";
}
// line 252
yield "\t\t";
}
// line 253
yield "\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t<!--End Info Media-->
\t\t";
// line 257
if (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 257, $this->source); })()), "videos", [], "any", false, false, false, 257)) > 0) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 257, $this->source); })()), "e_images", [], "any", false, false, false, 257), "items", [], "any", false, false, false, 257))) {
// line 258
yield "
\t\t\t<!--Start training area Media-->
\t\t\t<section class=\"training-area event-detail-chefs event-details-section-2 video-sec d-none\">
\t\t\t\t<div class=\"container container-sm\">
\t\t\t\t\t<div class=\"training-area-media\">
\t\t\t\t\t\t<div class=\"training-area-media-video-box event-detail-slide-box\">
\t\t\t\t\t\t\t<div class=\"training-area-media-video-box-section event-detail-video-section\" id=\"event-slider\">
\t\t\t\t\t\t\t\t";
// line 266
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 266, $this->source); })()), "videos", [], "any", false, false, false, 266)) > 0)) {
// line 267
yield "
\t\t\t\t\t\t\t\t\t";
// line 268
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 268, $this->source); })()), "videos", [], "any", false, false, false, 268));
foreach ($context['_seq'] as $context["_key"] => $context["event_videos"]) {
// line 269
yield "
\t\t\t\t\t\t\t\t\t\t";
// line 270
if ($context["event_videos"]) {
// line 271
yield "\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 271), "data", [], "any", false, false, false, 271), "type", [], "any", false, false, false, 271) == "youtube")) {
// line 272
yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe width=\"1088\" height=\"780\" src=\"https://www.youtube.com/embed/";
// line 273
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 273), "data", [], "any", false, false, false, 273), "data", [], "any", false, false, false, 273), "html", null, true);
yield "?si=sXWSc0Yl9ZZRKPHL\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 276
yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<video class=\"second-img second-video\" poster=\"";
// line 277
yield ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 277), "data", [], "any", false, false, false, 277), "poster", [], "any", false, false, false, 277)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 277), "data", [], "any", false, false, false, 277), "poster", [], "any", false, false, false, 277), "thumbnail", ["event_video_poster_thumb"], "method", false, false, false, 277), "html", null, true)) : (""));
yield "\" controls=\"audio\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<source src=\"";
// line 278
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["event_videos"], "video", [], "any", false, false, false, 278), "data", [], "any", false, false, false, 278), "data", [], "any", false, false, false, 278), "html", null, true);
yield "\" type=\"video/mp4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 283
yield "
\t\t\t\t\t\t\t\t\t\t";
}
// line 285
yield "
\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['event_videos'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 287
yield "
\t\t\t\t\t\t\t\t";
}
// line 289
yield "
\t\t\t\t\t\t\t\t";
// line 290
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 290, $this->source); })()), "e_images", [], "any", false, false, false, 290), "items", [], "any", false, false, false, 290)) {
// line 291
yield "
\t\t\t\t\t\t\t\t\t";
// line 292
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 292, $this->source); })()), "e_images", [], "any", false, false, false, 292), "items", [], "any", false, false, false, 292));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 293
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t\t\t\t<img
\t\t\t\t\t\t\t\t\t\t\tclass=\"second-img\" src=\"";
// line 295
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "thumbnail", ["event_video_poster_thumb"], "method", false, false, false, 295), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 295, $this->source); })()), "e_name", [], "any", false, false, false, 295) . "(") . $context["key"]) . ")"), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t";
// line 297
yield "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 299
yield "
\t\t\t\t\t\t\t\t";
}
// line 301
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"training-area-media-content\">
\t\t\t\t\t\t\t<p>";
// line 305
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 305, $this->source); })()), "e_slider_description", [], "any", false, false, false, 305), "html", null, true);
yield "</p>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</section>
\t\t\t<!--End training area Media-->
\t\t";
}
// line 312
yield "\t\t<!--Start Featured Recipes Section-->
\t\t";
// line 313
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 313, $this->source); })()), "similar_events", [], "any", false, false, false, 313)) > 0)) {
// line 314
yield "\t\t\t<section class=\"featured-recipes-section inner-frecipes-section event-detail-slider\">
\t\t\t\t<div class=\"container container-sm\">
\t\t\t\t\t<h2 class=\"heading\">Similar Events</h2>
\t\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t\t<div class=\"custom-slider custom-event-slider\">
\t\t\t\t\t\t\t";
// line 319
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 319, $this->source); })()), "similar_events", [], "any", false, false, false, 319)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
// line 320
yield "\t\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 323
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 323, $this->source); })()), "similar_events", [], "any", false, false, false, 323), $context["j"], [], "array", false, false, false, 323), "event_image", [], "any", false, false, false, 323), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 323, $this->source); })()), "similar_events", [], "any", false, false, false, 323), $context["j"], [], "array", false, false, false, 323), "e_name", [], "any", false, false, false, 323), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 327
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 327, $this->source); })()), "request", [], "any", false, false, false, 327), "locale", [], "any", false, false, false, 327), "html", null, true);
yield "/events/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 327, $this->source); })()), "similar_events", [], "any", false, false, false, 327), $context["j"], [], "array", false, false, false, 327), "url", [], "any", false, false, false, 327), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>";
// line 328
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 328, $this->source); })()), "similar_events", [], "any", false, false, false, 328), $context["j"], [], "array", false, false, false, 328), "e_name", [], "any", false, false, false, 328), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t<p>";
// line 330
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 330, $this->source); })()), "similar_events", [], "any", false, false, false, 330), $context["j"], [], "array", false, false, false, 330), "e_description", [], "any", false, false, false, 330), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info in-column\">
\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"calander-black\">N/A</li>
\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"feather-map-ping-black\">N/A</li>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 336
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 336, $this->source); })()), "session", [], "any", false, false, false, 336), "get", ["loginUserName"], "method", false, false, false, 336);
// line 337
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 337, $this->source); })()))) {
// line 338
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 338, $this->source); })()), "id", [], "any", false, false, false, 338), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 338, $this->source); })()), "e_name", [], "any", false, false, false, 338), "html", null, true);
yield "',50,'Event','Share')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 340
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 342
yield "\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['j'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 347
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</section>
\t\t";
}
// line 352
yield "\t\t<div>
\t\t\t";
// line 353
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 353, $this->source); })()), "request", [], "any", false, false, false, 353), "locale", [], "any", false, false, false, 353) == "ar")) {
// line 354
yield "\t\t\t\t";
$context["topMenu"] = ("/en/events/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 354, $this->source); })()), "url", ["en"], "method", false, false, false, 354));
// line 355
yield "\t\t\t";
} else {
// line 356
yield "\t\t\t\t";
$context["topMenu"] = ("/ar/events/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["eventdetail"]) || array_key_exists("eventdetail", $context) ? $context["eventdetail"] : (function () { throw new RuntimeError('Variable "eventdetail" does not exist.', 356, $this->source); })()), "url", ["ar"], "method", false, false, false, 356));
// line 357
yield "\t\t\t";
}
// line 358
yield "\t\t\t<script>
\t\t\t\tvar _TopMenuLink = \"";
// line 359
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["topMenu"]) || array_key_exists("topMenu", $context) ? $context["topMenu"] : (function () { throw new RuntimeError('Variable "topMenu" does not exist.', 359, $this->source); })()), "html", null, true);
yield "\";
\t\t\t</script>
\t\t\t<!--End Featured Recipes Section-->
\t\t\t<!--End Wrapper-->
\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "events/events-detail.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 868 => 359, 865 => 358, 862 => 357, 859 => 356, 856 => 355, 853 => 354, 851 => 353, 848 => 352, 841 => 347, 831 => 342, 825 => 340, 815 => 338, 812 => 337, 809 => 336, 801 => 330, 796 => 328, 790 => 327, 781 => 323, 776 => 320, 772 => 319, 765 => 314, 763 => 313, 760 => 312, 750 => 305, 744 => 301, 740 => 299, 733 => 297, 727 => 295, 723 => 293, 719 => 292, 716 => 291, 714 => 290, 711 => 289, 707 => 287, 700 => 285, 696 => 283, 688 => 278, 684 => 277, 681 => 276, 675 => 273, 672 => 272, 669 => 271, 667 => 270, 664 => 269, 660 => 268, 657 => 267, 655 => 266, 645 => 258, 643 => 257, 637 => 253, 634 => 252, 630 => 250, 623 => 248, 617 => 246, 614 => 245, 610 => 244, 607 => 243, 605 => 242, 602 => 241, 598 => 239, 591 => 237, 587 => 235, 579 => 230, 575 => 229, 572 => 228, 566 => 225, 563 => 224, 560 => 223, 558 => 222, 555 => 221, 551 => 220, 548 => 219, 545 => 218, 543 => 217, 534 => 210, 529 => 204, 525 => 202, 522 => 201, 513 => 198, 509 => 197, 505 => 195, 500 => 194, 498 => 193, 495 => 192, 492 => 191, 486 => 190, 483 => 189, 475 => 184, 470 => 182, 466 => 180, 455 => 172, 452 => 171, 449 => 170, 446 => 169, 441 => 168, 439 => 167, 436 => 166, 434 => 165, 423 => 156, 418 => 152, 411 => 148, 407 => 146, 398 => 143, 393 => 140, 389 => 139, 381 => 136, 375 => 132, 367 => 130, 365 => 129, 362 => 128, 359 => 127, 346 => 117, 339 => 113, 332 => 109, 325 => 105, 319 => 102, 312 => 98, 308 => 97, 302 => 93, 300 => 92, 295 => 89, 292 => 88, 284 => 86, 281 => 85, 278 => 84, 270 => 82, 267 => 81, 265 => 80, 259 => 76, 252 => 72, 248 => 71, 240 => 70, 236 => 68, 224 => 64, 221 => 63, 216 => 61, 204 => 59, 202 => 58, 193 => 56, 187 => 55, 184 => 54, 181 => 53, 179 => 52, 173 => 49, 168 => 47, 165 => 46, 159 => 44, 149 => 37, 141 => 34, 133 => 31, 125 => 28, 111 => 16, 101 => 7, 88 => 6, 64 => 3, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/layout.html.twig\" %}
{% block title %}GFS::Event Detail
{% endblock %}
{% block content %}
\t<!--Start Wrapper-->
\t<!--Start Info Media-->
\t\t<div id=\"invoice\" class=\"invoice\"> <section class=\" training-media-box info-media listing-media-box training-hero-container web-event-details web-media-box \">
\t\t\t<div
\t\t\t\tclass=\"training-detail-container-box web-event-details-box\">
\t\t\t\t{# Mohsin's work #}
\t\t\t\t<div class=\"event-new-section\">
\t\t\t\t\t<div class=\"container container-sm\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t\t<div class=\"content-left pe-lg-3 px-3\">
\t\t\t\t\t\t\t\t\t<section class=\"bread-crumbs-section\">
\t\t\t\t\t\t\t\t\t\t<div class=\"container container-lg\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"bread-crumbs-section-box\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"breadcrumb-holder breadcrumb-dgreen\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}\">{{'Home'|trans}}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/professional-training\">{{'Training'|trans}}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/events\">{{'Events'|trans}}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0);\">{{eventdetail.e_name}}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t</ol>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</section>
\t\t\t\t\t\t\t\t\t<h2 class=\"{{ (app.request.locale == 'ar') ? 'rtl-dir' : '' }}\">{{app.request.locale =='en'? eventdetail.e_name('en') : eventdetail.e_name('ar')}}</h2>
\t\t\t\t\t\t\t\t\t{# <h2>{{eventdetail.e_name}}</h2> #}
\t\t\t\t\t\t\t\t\t<p>{{app.request.locale =='en'? eventdetail.e_description('en') : eventdetail.e_description('ar')}}</p>
\t\t\t\t\t\t\t\t\t<p>{{app.request.locale =='en'? eventdetail.e_slider_description('en') : eventdetail.e_slider_description('ar')}}</p>
\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info\">
\t\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"loyaltyProgram(this,{{eventdetail.id}},'{{eventdetail.e_name}}',50,'Event','Share')\">
\t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Event','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/events/' ~ eventdetail.url}}','{{ \" share event with your friends\"|trans }}')\">{{'Share'|trans}}</span>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t{% if Liked|length == 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like-white detailevent\" onclick=\"loyaltyProgram(this,{{eventdetail.id}},'{{eventdetail.e_name}}',30,'Event','Like' , '{{app.request.locale}}')\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t<li class='liked'>{{'Like'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t{# <li class=\"like-white\">{{'Like'|trans}}</li> #}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\" id=\"download\" onclick=\"loyaltyProgram(this,{{eventdetail.id}},'{{eventdetail.e_name}}',10,'Event','Download')\">{{'Download'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info\">
\t\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"sharemodal('Event','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/events/' ~ eventdetail.url}}','{{ \" share event with your friends\"|trans }}')\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"like-white logged-out\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\" id=\"download\">{{'Download'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t{% if (app.request.locale =='ar') %}
\t\t\t\t\t\t\t\t\t{% if eventdetail.eventImageAr %}
\t\t\t\t\t\t\t\t\t\t<img src=\"{{eventdetail.eventImageAr}}\" alt=\"{{eventdetail.e_name}}\"/>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t{% if eventdetail.event_image %}
\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{eventdetail.event_image}}\" alt=\"{{eventdetail.e_name}}\"/>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% if eventdetail.show %}
\t\t\t\t\t\t\t\t<div class=\"col-12 my-5\">
\t\t\t\t\t\t\t\t\t<div class=\"event-timer-section\">
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"{{ (app.request.locale == 'ar') ? 'rtl-dir' : '' }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{{'The webinar will be live in'|trans}}
\t\t\t\t\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-5\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\" countdown {{ (app.request.locale == 'ar') ? 'rtl-dir' : '' }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"days\" class=\"countdown-value\">00</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">{{'Days'|trans}}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"hours\" class=\"countdown-value\">00</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">{{'Hours'|trans}}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"minutes\" class=\"countdown-value\">00</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">{{'Minutes'|trans}}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"seconds\" class=\"countdown-value\">00</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">{{'Seconds'|trans}}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if eventdetail.show %}
\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t\t\t{% if eventdetail.webinarImage %}
\t\t\t\t\t\t\t\t\t\t<img src=\"{{eventdetail.webinarImage}}\" alt=\"{{eventdetail.webinarTitle}}\"/>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t\t\t<div class=\"content-left pe-lg-3 px-3\">
\t\t\t\t\t\t\t\t\t\t<h2 class=\"{{ (app.request.locale == 'ar') ? 'rtl-dir' : '' }}\">{{eventdetail.webinarTitle}}</h2>
\t\t\t\t\t\t\t\t\t\t<ul class=\"event-new-list\">
\t\t\t\t\t\t\t\t\t\t\t{% for listItem in eventdetail.detailListBlock %}
\t\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t\t{{listItem.localizedfields.data.getLocalizedValue('name')}}
\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t{{eventdetail.webinarLink|raw}}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t{# Mohsin's work End #}
\t\t\t</div>
\t\t</section>
\t\t<section class=\"training-area event-detail-chefs event-details-section-2 video-sec \">
\t\t\t<div class=\"container container-sm\">
\t\t\t <div class=\"training-area-media\">
\t\t\t\t<div class=\"training-area-media-video-box event-detail-slide-box\">
\t\t\t\t <div class=\"training-area-media-video-box-section event-detail-video-section\" id=\"event-slider\">
\t\t
\t\t\t\t\t{% if eventdetail.videos|length > 0 or eventdetail.e_images.items %}
\t\t
\t\t\t\t\t {% if eventdetail.videos|length > 0 %}
\t\t\t\t\t\t{% for event_videos in eventdetail.videos %}
\t\t\t\t\t\t {% if event_videos %}
\t\t\t\t\t\t\t{% if event_videos.video.data.type == \"youtube\" %}
\t\t\t\t\t\t\t <div class=\"media-section w-100\">
\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/{{ event_videos.video.data.data }}?si=sXWSc0Yl9ZZRKPHL\"
\t\t\t\t\t\t\t\t\t\ttitle=\"YouTube video player\"
\t\t\t\t\t\t\t\t\t\tframeborder=\"0\"
\t\t\t\t\t\t\t\t\t\tallow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"
\t\t\t\t\t\t\t\t\t\treferrerpolicy=\"strict-origin-when-cross-origin\"
\t\t\t\t\t\t\t\t\t\tallowfullscreen></iframe>
\t\t\t\t\t\t\t </div>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t <div class=\"media-section\">
\t\t\t\t\t\t\t\t<video class=\"second-img second-video\"
\t\t\t\t\t\t\t\t\t poster=\"{{ event_videos.video.data.poster ? event_videos.video.data.poster.thumbnail('event_video_poster_thumb') : '' }}\"
\t\t\t\t\t\t\t\t\t controls=\"audio\">
\t\t\t\t\t\t\t\t <source src=\"{{ event_videos.video.data.data }}\" type=\"video/mp4\">
\t\t\t\t\t\t\t\t Your browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t </div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t {% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t {% endif %}
\t\t
\t\t\t\t\t {% if eventdetail.e_images.items %}
\t\t\t\t\t\t{% for key, image in eventdetail.e_images.items %}
\t\t\t\t\t\t <div class=\"media-section\">
\t\t\t\t\t\t\t<img class=\"second-img\"
\t\t\t\t\t\t\t\t src=\"{{ image.thumbnail('event_video_poster_thumb') }}\"
\t\t\t\t\t\t\t\t alt=\"{{ eventdetail.e_name ~ '(' ~ key ~ ')' }}\" />
\t\t\t\t\t\t </div>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t {% endif %}
\t\t
\t\t\t\t\t{% endif %}
\t\t
\t\t\t\t </div>
\t\t\t\t</div>
\t\t\t\t{# <div class=\"training-area-media-content\">
\t\t\t\t <p>{{ eventdetail.e_slider_description }}</p>
\t\t\t\t</div> #}
\t\t\t </div>
\t\t\t</div>
\t\t </section>
\t\t
\t\t<section class=\"video-sec-2 d-none\" id=\"video-sec-2 \">
\t\t\t<div class=\"container container-sm\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t{% if eventdetail.videos|length > 0 or eventdetail.e_images.items %}
\t\t\t\t\t{% if eventdetail.videos|length > 0 %}
\t\t\t\t\t{% for event_videos in eventdetail.videos %}
\t\t\t\t\t\t{% if event_videos %}
\t\t\t\t\t\t\t{% if event_videos.video.data.type == \"youtube\" %}
\t\t\t\t\t\t\t\t<div class=\"media-section w-100\">
\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/{{event_videos.video.data.data}}?si=sXWSc0Yl9ZZRKPHL\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t\t<video class=\"second-img second-video\" poster=\"{{event_videos.video.data.poster ? event_videos.video.data.poster.thumbnail('event_video_poster_thumb') : ''}}\" controls=\"audio\">
\t\t\t\t\t\t\t\t\t\t<source src=\"{{event_videos.video.data.data}}\" type=\"video/mp4\">
\t\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endfor %}
\t\t\t\t{% endif %}
\t\t\t\t{% if eventdetail.e_images.items %}
\t\t\t\t\t{% for key , image in eventdetail.e_images.items %}
\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t<img class=\"second-img\" src=\"{{ image.thumbnail('event_video_poster_thumb')}}\" alt=\"{{eventdetail.e_name ~ '(' ~ key ~ ')' }}\"/>
\t\t\t\t\t\t{# {{ image.thumbnail('event_video_poster_thumb').getHTML({imgAttributes: {class: 'second-img', alt:'eventdetail.e_name ~ '(' ~ key ~ ')' ~ '}})|raw }} #}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t{% endif %}
\t\t{% endif %}
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t\t<!--End Info Media-->
\t\t{% if eventdetail.videos|length > 0 or eventdetail.e_images.items %}
\t\t\t<!--Start training area Media-->
\t\t\t<section class=\"training-area event-detail-chefs event-details-section-2 video-sec d-none\">
\t\t\t\t<div class=\"container container-sm\">
\t\t\t\t\t<div class=\"training-area-media\">
\t\t\t\t\t\t<div class=\"training-area-media-video-box event-detail-slide-box\">
\t\t\t\t\t\t\t<div class=\"training-area-media-video-box-section event-detail-video-section\" id=\"event-slider\">
\t\t\t\t\t\t\t\t{% if eventdetail.videos|length > 0 %}
\t\t\t\t\t\t\t\t\t{% for event_videos in eventdetail.videos %}
\t\t\t\t\t\t\t\t\t\t{% if event_videos %}
\t\t\t\t\t\t\t\t\t\t\t{% if event_videos.video.data.type == \"youtube\" %}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe width=\"1088\" height=\"780\" src=\"https://www.youtube.com/embed/{{event_videos.video.data.data}}?si=sXWSc0Yl9ZZRKPHL\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<video class=\"second-img second-video\" poster=\"{{event_videos.video.data.poster ? event_videos.video.data.poster.thumbnail('event_video_poster_thumb') : ''}}\" controls=\"audio\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<source src=\"{{event_videos.video.data.data}}\" type=\"video/mp4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% if eventdetail.e_images.items %}
\t\t\t\t\t\t\t\t\t{% for key , image in eventdetail.e_images.items %}
\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t\t\t\t\t\t\t<img
\t\t\t\t\t\t\t\t\t\t\tclass=\"second-img\" src=\"{{ image.thumbnail('event_video_poster_thumb')}}\" alt=\"{{eventdetail.e_name ~ '(' ~ key ~ ')' }}\"/>
\t\t\t\t\t\t\t\t\t\t{# {{ image.thumbnail('event_video_poster_thumb').getHTML({imgAttributes: {class: 'second-img', alt:'eventdetail.e_name ~ '(' ~ key ~ ')' ~ '}})|raw }} #}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"training-area-media-content\">
\t\t\t\t\t\t\t<p>{{eventdetail.e_slider_description}}</p>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</section>
\t\t\t<!--End training area Media-->
\t\t{% endif %}
\t\t<!--Start Featured Recipes Section-->
\t\t{% if eventdetail.similar_events|length > 0 %}
\t\t\t<section class=\"featured-recipes-section inner-frecipes-section event-detail-slider\">
\t\t\t\t<div class=\"container container-sm\">
\t\t\t\t\t<h2 class=\"heading\">Similar Events</h2>
\t\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t\t<div class=\"custom-slider custom-event-slider\">
\t\t\t\t\t\t\t{% for j in 0..eventdetail.similar_events|length -1 %}
\t\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{eventdetail.similar_events[j].event_image}}\" alt=\"{{eventdetail.similar_events[j].e_name}}\">
\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/events/{{eventdetail.similar_events[j].url}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>{{eventdetail.similar_events[j].e_name}}</h3>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t<p>{{eventdetail.similar_events[j].e_description}}</p>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info in-column\">
\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"calander-black\">N/A</li>
\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"feather-map-ping-black\">N/A</li>
\t\t\t\t\t\t\t\t\t\t\t\t{# <li class=\"share\">Share</li> #}
\t\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,{{eventdetail.id}},'{{eventdetail.e_name}}',50,'Event','Share')\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\">{{'Share'|trans}}</li>
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</section>
\t\t{% endif %}
\t\t<div>
\t\t\t{% if (app.request.locale =='ar') %}
\t\t\t\t{% set topMenu =\"/en/events/\" ~ eventdetail.url('en') %}
\t\t\t{% else %}
\t\t\t\t{% set topMenu =\"/ar/events/\" ~ eventdetail.url('ar') %}
\t\t\t{% endif %}
\t\t\t<script>
\t\t\t\tvar _TopMenuLink = \"{{ topMenu }}\";
\t\t\t</script>
\t\t\t<!--End Featured Recipes Section-->
\t\t\t<!--End Wrapper-->
\t\t{% endblock %}
", "events/events-detail.html.twig", "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/events/events-detail.html.twig");
}
}