var/cache/dev/twig/a7/a77ea934b80e32e5eaa7f358fa3d7d9d.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* events/events-detail.html.twig */
  16. class __TwigTemplate_4153618ff18edd01cc143a4af186f164 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'content' => [$this'block_content'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "layout/layout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""events/events-detail.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""events/events-detail.html.twig"));
  44.         $this->parent $this->loadTemplate("layout/layout.html.twig""events/events-detail.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         yield "GFS::Event Detail
  63. ";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.         yield from [];
  69.     }
  70.     // line 6
  71.     /**
  72.      * @return iterable<null|scalar|\Stringable>
  73.      */
  74.     public function block_content(array $context, array $blocks = []): iterable
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  81.         // line 7
  82.         yield "
  83. \t<!--Start Wrapper-->
  84. \t<!--Start Info Media-->
  85. \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 \">
  86. \t\t\t<div
  87. \t\t\t\tclass=\"training-detail-container-box web-event-details-box\">
  88. \t\t\t\t";
  89.         // line 16
  90.         yield "\t\t\t\t<div class=\"event-new-section\">
  91. \t\t\t\t\t<div class=\"container  container-sm\">
  92. \t\t\t\t\t\t<div class=\"row\">
  93. \t\t\t\t\t\t\t<div class=\"col-lg-6\">
  94. \t\t\t\t\t\t\t\t<div class=\"content-left pe-lg-3 px-3\">
  95. \t\t\t\t\t\t\t\t\t<section class=\"bread-crumbs-section\">
  96. \t\t\t\t\t\t\t\t\t\t<div class=\"container container-lg\">
  97. \t\t\t\t\t\t\t\t\t\t\t<div class=\"bread-crumbs-section-box\">
  98. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"breadcrumb-holder breadcrumb-dgreen\">
  99. \t\t\t\t\t\t\t\t\t\t\t\t\t<ol class=\"breadcrumb\">
  100. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  101. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  102.         // line 28
  103.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse28), "locale", [], "any"falsefalsefalse28), "html"nulltrue);
  104.         yield "\">";
  105.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  106.         yield "</a>
  107. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  108. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  109. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  110.         // line 31
  111.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse31), "locale", [], "any"falsefalsefalse31), "html"nulltrue);
  112.         yield "/professional-training\">";
  113.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training"), "html"nulltrue);
  114.         yield "</a>
  115. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  116. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  117. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  118.         // line 34
  119.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse34), "locale", [], "any"falsefalsefalse34), "html"nulltrue);
  120.         yield "/events\">";
  121.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Events"), "html"nulltrue);
  122.         yield "</a>
  123. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  124. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  125. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0);\">";
  126.         // line 37
  127.         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"falsefalsefalse37), "html"nulltrue);
  128.         yield "</a>
  129. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  130. \t\t\t\t\t\t\t\t\t\t\t\t\t</ol>
  131. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  132. \t\t\t\t\t\t\t\t\t\t\t</div>
  133. \t\t\t\t\t\t\t\t\t\t</div>
  134. \t\t\t\t\t\t\t\t\t</section>
  135. \t\t\t\t\t\t\t\t\t<h2 class=\"";
  136.         // line 44
  137.         yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse44), "locale", [], "any"falsefalsefalse44) == "ar")) ? ("rtl-dir") : (""));
  138.         yield "\">";
  139.         yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse44), "locale", [], "any"falsefalsefalse44) == "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"falsefalsefalse44), "html"nulltrue)) : ($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"falsefalsefalse44), "html"nulltrue)));
  140.         yield "</h2>
  141. \t\t\t\t\t\t\t\t\t";
  142.         // line 46
  143.         yield "
  144. \t\t\t\t\t\t\t\t\t<p>";
  145.         // line 47
  146.         yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse47), "locale", [], "any"falsefalsefalse47) == "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"falsefalsefalse47), "html"nulltrue)) : ($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"falsefalsefalse47), "html"nulltrue)));
  147.         yield "</p>
  148. \t\t\t\t\t\t\t\t\t<p>";
  149.         // line 49
  150.         yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse49), "locale", [], "any"falsefalsefalse49) == "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"falsefalsefalse49), "html"nulltrue)) : ($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"falsefalsefalse49), "html"nulltrue)));
  151.         yield "</p>
  152. \t\t\t\t\t\t\t\t\t";
  153.         // line 52
  154.         $context["user"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse52), "get", ["loginUserName"], "method"falsefalsefalse52);
  155.         // line 53
  156.         yield "\t\t\t\t\t\t\t\t\t";
  157.         if ( !(null === (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'53$this->source); })()))) {
  158.             // line 54
  159.             yield "\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info\">
  160. \t\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"loyaltyProgram(this,";
  161.             // line 55
  162.             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"falsefalsefalse55), "html"nulltrue);
  163.             yield ",'";
  164.             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"falsefalsefalse55), "html"nulltrue);
  165.             yield "',50,'Event','Share')\">
  166. \t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Event','";
  167.             // line 56
  168.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse56), "getSchemeAndHttpHost", [], "method"falsefalsefalse56) . "/") . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse56), "locale", [], "any"falsefalsefalse56)) . "/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"falsefalsefalse56)), "html"nulltrue);
  169.             yield "','";
  170.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share event with your friends"), "html"nulltrue);
  171.             yield "')\">";
  172.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  173.             yield "</span>
  174. \t\t\t\t\t\t\t\t\t\t\t</li>
  175. \t\t\t\t\t\t\t\t\t\t\t";
  176.             // line 58
  177.             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)) {
  178.                 // line 59
  179.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"like-white detailevent\" onclick=\"loyaltyProgram(this,";
  180.                 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"falsefalsefalse59), "html"nulltrue);
  181.                 yield ",'";
  182.                 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"falsefalsefalse59), "html"nulltrue);
  183.                 yield "',30,'Event','Like' , '";
  184.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse59), "locale", [], "any"falsefalsefalse59), "html"nulltrue);
  185.                 yield "')\">";
  186.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  187.                 yield "</li>
  188. \t\t\t\t\t\t\t\t\t\t\t";
  189.             } else {
  190.                 // line 61
  191.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t<li class='liked'>";
  192.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  193.                 yield "</li>
  194. \t\t\t\t\t\t\t\t\t\t\t\t";
  195.                 // line 63
  196.                 yield "\t\t\t\t\t\t\t\t\t\t\t";
  197.             }
  198.             // line 64
  199.             yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\" id=\"download\" onclick=\"loyaltyProgram(this,";
  200.             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"falsefalsefalse64), "html"nulltrue);
  201.             yield ",'";
  202.             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"falsefalsefalse64), "html"nulltrue);
  203.             yield "',10,'Event','Download')\">";
  204.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html"nulltrue);
  205.             yield "</li>
  206. \t\t\t\t\t\t\t\t\t\t</ul>
  207. \t\t\t\t\t\t\t\t\t";
  208.         } else {
  209.             // line 68
  210.             yield "
  211. \t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info\">
  212. \t\t\t\t\t\t\t\t\t\t\t<li class=\"share-white\" onclick=\"sharemodal('Event','";
  213.             // line 70
  214.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse70), "getSchemeAndHttpHost", [], "method"falsefalsefalse70) . "/") . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse70), "locale", [], "any"falsefalsefalse70)) . "/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"falsefalsefalse70)), "html"nulltrue);
  215.             yield "','";
  216.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share event with your friends"), "html"nulltrue);
  217.             yield "')\">";
  218.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  219.             yield "</li>
  220. \t\t\t\t\t\t\t\t\t\t\t<li class=\"like-white logged-out\">";
  221.             // line 71
  222.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  223.             yield "</li>
  224. \t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\" id=\"download\">";
  225.             // line 72
  226.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html"nulltrue);
  227.             yield "</li>
  228. \t\t\t\t\t\t\t\t\t\t</ul>
  229. \t\t\t\t\t\t\t\t\t";
  230.         }
  231.         // line 76
  232.         yield "\t\t\t\t\t\t\t\t</div>
  233. \t\t\t\t\t\t\t</div>
  234. \t\t\t\t\t\t\t<div class=\"col-lg-6\">
  235. \t\t\t\t\t\t\t
  236. \t\t\t\t\t\t\t\t\t";
  237.         // line 80
  238.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse80), "locale", [], "any"falsefalsefalse80) == "ar")) {
  239.             // line 81
  240.             yield "\t\t\t\t\t\t\t\t\t";
  241.             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"falsefalsefalse81)) {
  242.                 // line 82
  243.                 yield "\t\t\t\t\t\t\t\t\t\t<img src=\"";
  244.                 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"falsefalsefalse82), "html"nulltrue);
  245.                 yield "\" alt=\"";
  246.                 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"falsefalsefalse82), "html"nulltrue);
  247.                 yield "\"/>
  248. \t\t\t\t\t\t\t\t\t\t\t";
  249.             }
  250.             // line 84
  251.             yield "\t\t\t\t\t\t\t\t\t";
  252.         } else {
  253.             // line 85
  254.             yield "\t\t\t\t\t\t\t\t\t\t";
  255.             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"falsefalsefalse85)) {
  256.                 // line 86
  257.                 yield "\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  258.                 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"falsefalsefalse86), "html"nulltrue);
  259.                 yield "\" alt=\"";
  260.                 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"falsefalsefalse86), "html"nulltrue);
  261.                 yield "\"/>
  262. \t\t\t\t\t\t\t\t\t\t";
  263.             }
  264.             // line 88
  265.             yield "\t\t\t\t\t\t\t\t\t";
  266.         }
  267.         // line 89
  268.         yield "\t\t\t\t\t\t\t\t
  269. \t\t\t\t\t\t\t</div>
  270. \t\t\t\t\t\t\t";
  271.         // line 92
  272.         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"falsefalsefalse92)) {
  273.             // line 93
  274.             yield "\t\t\t\t\t\t\t\t<div class=\"col-12 my-5\">
  275. \t\t\t\t\t\t\t\t\t<div class=\"event-timer-section\">
  276. \t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  277. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  278. \t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"";
  279.             // line 97
  280.             yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse97), "locale", [], "any"falsefalsefalse97) == "ar")) ? ("rtl-dir") : (""));
  281.             yield "\">
  282. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  283.             // line 98
  284.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("The webinar will be live in"), "html"nulltrue);
  285.             yield "
  286. \t\t\t\t\t\t\t\t\t\t\t\t</h3>
  287. \t\t\t\t\t\t\t\t\t\t\t</div>
  288. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-5\">
  289. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\" countdown ";
  290.             // line 102
  291.             yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse102), "locale", [], "any"falsefalsefalse102) == "ar")) ? ("rtl-dir") : (""));
  292.             yield "\">
  293. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
  294. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"days\" class=\"countdown-value\">00</span>
  295. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">";
  296.             // line 105
  297.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Days"), "html"nulltrue);
  298.             yield "</span>
  299. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  300. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
  301. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"hours\" class=\"countdown-value\">00</span>
  302. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">";
  303.             // line 109
  304.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Hours"), "html"nulltrue);
  305.             yield "</span>
  306. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  307. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
  308. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"minutes\" class=\"countdown-value\">00</span>
  309. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">";
  310.             // line 113
  311.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Minutes"), "html"nulltrue);
  312.             yield "</span>
  313. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  314. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
  315. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"seconds\" class=\"countdown-value\">00</span>
  316. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">";
  317.             // line 117
  318.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Seconds"), "html"nulltrue);
  319.             yield "</span>
  320. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  321. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  322. \t\t\t\t\t\t\t\t\t\t\t</div>
  323. \t\t\t\t\t\t\t\t\t\t</div>
  324. \t\t\t\t\t\t\t\t\t</div>
  325. \t\t\t\t\t\t\t\t</div>
  326. \t\t\t\t\t\t\t";
  327.         }
  328.         // line 127
  329.         yield "\t\t\t\t\t\t\t";
  330.         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"falsefalsefalse127)) {
  331.             // line 128
  332.             yield "\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  333. \t\t\t\t\t\t\t\t\t";
  334.             // line 129
  335.             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"falsefalsefalse129)) {
  336.                 // line 130
  337.                 yield "\t\t\t\t\t\t\t\t\t\t<img src=\"";
  338.                 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"falsefalsefalse130), "html"nulltrue);
  339.                 yield "\" alt=\"";
  340.                 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"falsefalsefalse130), "html"nulltrue);
  341.                 yield "\"/>
  342. \t\t\t\t\t\t\t\t\t";
  343.             }
  344.             // line 132
  345.             yield "\t\t\t\t\t\t\t\t</div>
  346. \t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  347. \t\t\t\t\t\t\t\t\t<div class=\"content-left pe-lg-3 px-3\">
  348. \t\t\t\t\t\t\t\t\t\t<h2 class=\"";
  349.             // line 136
  350.             yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse136), "locale", [], "any"falsefalsefalse136) == "ar")) ? ("rtl-dir") : (""));
  351.             yield "\">";
  352.             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"falsefalsefalse136), "html"nulltrue);
  353.             yield "</h2>
  354. \t\t\t\t\t\t\t\t\t\t<ul class=\"event-new-list\">
  355. \t\t\t\t\t\t\t\t\t\t\t";
  356.             // line 139
  357.             $context['_parent'] = $context;
  358.             $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"falsefalsefalse139));
  359.             foreach ($context['_seq'] as $context["_key"] => $context["listItem"]) {
  360.                 // line 140
  361.                 yield "
  362. \t\t\t\t\t\t\t\t\t\t\t\t<li>
  363. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  364.                 // line 143
  365.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["listItem"], "localizedfields", [], "any"falsefalsefalse143), "data", [], "any"falsefalsefalse143), "getLocalizedValue", ["name"], "method"falsefalsefalse143), "html"nulltrue);
  366.                 yield "
  367. \t\t\t\t\t\t\t\t\t\t\t\t</li>
  368. \t\t\t\t\t\t\t\t\t\t\t";
  369.             }
  370.             $_parent $context['_parent'];
  371.             unset($context['_seq'], $context['_key'], $context['listItem'], $context['_parent']);
  372.             $context array_intersect_key($context$_parent) + $_parent;
  373.             // line 146
  374.             yield "
  375. \t\t\t\t\t\t\t\t\t\t</ul>
  376. \t\t\t\t\t\t\t\t\t\t";
  377.             // line 148
  378.             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"falsefalsefalse148);
  379.             yield "
  380. \t\t\t\t\t\t\t\t\t</div>
  381. \t\t\t\t\t\t\t\t</div>
  382. \t\t\t\t\t\t\t";
  383.         }
  384.         // line 152
  385.         yield "\t\t\t\t\t\t</div>
  386. \t\t\t\t\t</div>
  387. \t\t\t\t</div>
  388. \t\t\t\t";
  389.         // line 156
  390.         yield "
  391. \t\t\t</div>
  392. \t\t</section>
  393. \t\t<section class=\"training-area event-detail-chefs event-details-section-2 video-sec \">
  394. \t\t\t<div class=\"container container-sm\">
  395. \t\t\t  <div class=\"training-area-media\">
  396. \t\t\t\t<div class=\"training-area-media-video-box event-detail-slide-box\">
  397. \t\t\t\t  <div class=\"training-area-media-video-box-section event-detail-video-section\" id=\"event-slider\">
  398. \t\t  
  399. \t\t\t\t\t";
  400.         // line 165
  401.         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"falsefalsefalse165)) > 0) || CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse165), "items", [], "any"falsefalsefalse165))) {
  402.             // line 166
  403.             yield "\t\t  
  404. \t\t\t\t\t  ";
  405.             // line 167
  406.             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"falsefalsefalse167)) > 0)) {
  407.                 // line 168
  408.                 yield "\t\t\t\t\t\t";
  409.                 $context['_parent'] = $context;
  410.                 $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"falsefalsefalse168));
  411.                 foreach ($context['_seq'] as $context["_key"] => $context["event_videos"]) {
  412.                     // line 169
  413.                     yield "\t\t\t\t\t\t  ";
  414.                     if ($context["event_videos"]) {
  415.                         // line 170
  416.                         yield "\t\t\t\t\t\t\t";
  417.                         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse170), "data", [], "any"falsefalsefalse170), "type", [], "any"falsefalsefalse170) == "youtube")) {
  418.                             // line 171
  419.                             yield "\t\t\t\t\t\t\t  <div class=\"media-section w-100\">
  420. \t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/";
  421.                             // line 172
  422.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse172), "data", [], "any"falsefalsefalse172), "data", [], "any"falsefalsefalse172), "html"nulltrue);
  423.                             yield "?si=sXWSc0Yl9ZZRKPHL\"
  424. \t\t\t\t\t\t\t\t\t\ttitle=\"YouTube video player\"
  425. \t\t\t\t\t\t\t\t\t\tframeborder=\"0\"
  426. \t\t\t\t\t\t\t\t\t\tallow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"
  427. \t\t\t\t\t\t\t\t\t\treferrerpolicy=\"strict-origin-when-cross-origin\"
  428. \t\t\t\t\t\t\t\t\t\tallowfullscreen></iframe>
  429. \t\t\t\t\t\t\t  </div>
  430. \t\t\t\t\t\t\t";
  431.                         } else {
  432.                             // line 180
  433.                             yield "\t\t\t\t\t\t\t  <div class=\"media-section\">
  434. \t\t\t\t\t\t\t\t<video class=\"second-img second-video\"
  435. \t\t\t\t\t\t\t\t\t   poster=\"";
  436.                             // line 182
  437.                             yield ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse182), "data", [], "any"falsefalsefalse182), "poster", [], "any"falsefalsefalse182)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse182), "data", [], "any"falsefalsefalse182), "poster", [], "any"falsefalsefalse182), "thumbnail", ["event_video_poster_thumb"], "method"falsefalsefalse182), "html"nulltrue)) : (""));
  438.                             yield "\"
  439. \t\t\t\t\t\t\t\t\t   controls=\"audio\">
  440. \t\t\t\t\t\t\t\t  <source src=\"";
  441.                             // line 184
  442.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse184), "data", [], "any"falsefalsefalse184), "data", [], "any"falsefalsefalse184), "html"nulltrue);
  443.                             yield "\" type=\"video/mp4\">
  444. \t\t\t\t\t\t\t\t  Your browser does not support the video tag.
  445. \t\t\t\t\t\t\t\t</video>
  446. \t\t\t\t\t\t\t  </div>
  447. \t\t\t\t\t\t\t";
  448.                         }
  449.                         // line 189
  450.                         yield "\t\t\t\t\t\t  ";
  451.                     }
  452.                     // line 190
  453.                     yield "\t\t\t\t\t\t";
  454.                 }
  455.                 $_parent $context['_parent'];
  456.                 unset($context['_seq'], $context['_key'], $context['event_videos'], $context['_parent']);
  457.                 $context array_intersect_key($context$_parent) + $_parent;
  458.                 // line 191
  459.                 yield "\t\t\t\t\t  ";
  460.             }
  461.             // line 192
  462.             yield "\t\t  
  463. \t\t\t\t\t  ";
  464.             // line 193
  465.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse193), "items", [], "any"falsefalsefalse193)) {
  466.                 // line 194
  467.                 yield "\t\t\t\t\t\t";
  468.                 $context['_parent'] = $context;
  469.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse194), "items", [], "any"falsefalsefalse194));
  470.                 foreach ($context['_seq'] as $context["key"] => $context["image"]) {
  471.                     // line 195
  472.                     yield "\t\t\t\t\t\t  <div class=\"media-section\">
  473. \t\t\t\t\t\t\t<img class=\"second-img\"
  474. \t\t\t\t\t\t\t\t src=\"";
  475.                     // line 197
  476.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["image"], "thumbnail", ["event_video_poster_thumb"], "method"falsefalsefalse197), "html"nulltrue);
  477.                     yield "\"
  478. \t\t\t\t\t\t\t\t alt=\"";
  479.                     // line 198
  480.                     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"falsefalsefalse198) . "(") . $context["key"]) . ")"), "html"nulltrue);
  481.                     yield "\" />
  482. \t\t\t\t\t\t  </div>
  483. \t\t\t\t\t\t";
  484.                 }
  485.                 $_parent $context['_parent'];
  486.                 unset($context['_seq'], $context['key'], $context['image'], $context['_parent']);
  487.                 $context array_intersect_key($context$_parent) + $_parent;
  488.                 // line 201
  489.                 yield "\t\t\t\t\t  ";
  490.             }
  491.             // line 202
  492.             yield "\t\t  
  493. \t\t\t\t\t";
  494.         }
  495.         // line 204
  496.         yield "\t\t  
  497. \t\t\t\t  </div>
  498. \t\t\t\t</div>
  499. \t\t\t\t";
  500.         // line 210
  501.         yield "\t\t\t  </div>
  502. \t\t\t</div>
  503. \t\t  </section>
  504. \t\t  
  505. \t\t<section class=\"video-sec-2 d-none\" id=\"video-sec-2 \">
  506. \t\t\t<div class=\"container container-sm\">
  507. \t\t\t\t<div class=\"row\">
  508. \t\t\t\t\t";
  509.         // line 217
  510.         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"falsefalsefalse217)) > 0) || CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse217), "items", [], "any"falsefalsefalse217))) {
  511.             // line 218
  512.             yield "\t\t\t\t\t";
  513.             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"falsefalsefalse218)) > 0)) {
  514.                 // line 219
  515.                 yield "
  516. \t\t\t\t\t";
  517.                 // line 220
  518.                 $context['_parent'] = $context;
  519.                 $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"falsefalsefalse220));
  520.                 foreach ($context['_seq'] as $context["_key"] => $context["event_videos"]) {
  521.                     // line 221
  522.                     yield "
  523. \t\t\t\t\t\t";
  524.                     // line 222
  525.                     if ($context["event_videos"]) {
  526.                         // line 223
  527.                         yield "\t\t\t\t\t\t\t";
  528.                         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse223), "data", [], "any"falsefalsefalse223), "type", [], "any"falsefalsefalse223) == "youtube")) {
  529.                             // line 224
  530.                             yield "\t\t\t\t\t\t\t\t<div class=\"media-section w-100\">
  531. \t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/";
  532.                             // line 225
  533.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse225), "data", [], "any"falsefalsefalse225), "data", [], "any"falsefalsefalse225), "html"nulltrue);
  534.                             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>
  535. \t\t\t\t\t\t\t\t</div>
  536. \t\t\t\t\t\t\t";
  537.                         } else {
  538.                             // line 228
  539.                             yield "\t\t\t\t\t\t\t\t<div class=\"media-section\">
  540. \t\t\t\t\t\t\t\t\t<video class=\"second-img second-video\" poster=\"";
  541.                             // line 229
  542.                             yield ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse229), "data", [], "any"falsefalsefalse229), "poster", [], "any"falsefalsefalse229)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse229), "data", [], "any"falsefalsefalse229), "poster", [], "any"falsefalsefalse229), "thumbnail", ["event_video_poster_thumb"], "method"falsefalsefalse229), "html"nulltrue)) : (""));
  543.                             yield "\" controls=\"audio\">
  544. \t\t\t\t\t\t\t\t\t\t<source src=\"";
  545.                             // line 230
  546.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse230), "data", [], "any"falsefalsefalse230), "data", [], "any"falsefalsefalse230), "html"nulltrue);
  547.                             yield "\" type=\"video/mp4\">
  548. \t\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
  549. \t\t\t\t\t\t\t\t\t</video>
  550. \t\t\t\t\t\t\t\t</div>
  551. \t\t\t\t\t\t\t";
  552.                         }
  553.                         // line 235
  554.                         yield "
  555. \t\t\t\t\t\t";
  556.                     }
  557.                     // line 237
  558.                     yield "
  559. \t\t\t\t\t";
  560.                 }
  561.                 $_parent $context['_parent'];
  562.                 unset($context['_seq'], $context['_key'], $context['event_videos'], $context['_parent']);
  563.                 $context array_intersect_key($context$_parent) + $_parent;
  564.                 // line 239
  565.                 yield "
  566. \t\t\t\t";
  567.             }
  568.             // line 241
  569.             yield "
  570. \t\t\t\t";
  571.             // line 242
  572.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse242), "items", [], "any"falsefalsefalse242)) {
  573.                 // line 243
  574.                 yield "
  575. \t\t\t\t\t";
  576.                 // line 244
  577.                 $context['_parent'] = $context;
  578.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse244), "items", [], "any"falsefalsefalse244));
  579.                 foreach ($context['_seq'] as $context["key"] => $context["image"]) {
  580.                     // line 245
  581.                     yield "\t\t\t\t\t\t<div class=\"media-section\">
  582. \t\t\t\t\t\t\t<img class=\"second-img\" src=\"";
  583.                     // line 246
  584.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["image"], "thumbnail", ["event_video_poster_thumb"], "method"falsefalsefalse246), "html"nulltrue);
  585.                     yield "\" alt=\"";
  586.                     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"falsefalsefalse246) . "(") . $context["key"]) . ")"), "html"nulltrue);
  587.                     yield "\"/>
  588. \t\t\t\t\t\t";
  589.                     // line 248
  590.                     yield "\t\t\t\t\t\t</div>
  591. \t\t\t\t\t";
  592.                 }
  593.                 $_parent $context['_parent'];
  594.                 unset($context['_seq'], $context['key'], $context['image'], $context['_parent']);
  595.                 $context array_intersect_key($context$_parent) + $_parent;
  596.                 // line 250
  597.                 yield "
  598. \t\t\t\t";
  599.             }
  600.             // line 252
  601.             yield "\t\t";
  602.         }
  603.         // line 253
  604.         yield "\t\t\t\t</div>
  605. \t\t\t</div>
  606. \t\t</section>
  607. \t\t<!--End Info Media-->
  608. \t\t";
  609.         // line 257
  610.         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"falsefalsefalse257)) > 0) || CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse257), "items", [], "any"falsefalsefalse257))) {
  611.             // line 258
  612.             yield "
  613. \t\t\t<!--Start training area Media-->
  614. \t\t\t<section class=\"training-area event-detail-chefs event-details-section-2 video-sec d-none\">
  615. \t\t\t\t<div class=\"container container-sm\">
  616. \t\t\t\t\t<div class=\"training-area-media\">
  617. \t\t\t\t\t\t<div class=\"training-area-media-video-box event-detail-slide-box\">
  618. \t\t\t\t\t\t\t<div class=\"training-area-media-video-box-section event-detail-video-section\" id=\"event-slider\">
  619. \t\t\t\t\t\t\t\t";
  620.             // line 266
  621.             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"falsefalsefalse266)) > 0)) {
  622.                 // line 267
  623.                 yield "
  624. \t\t\t\t\t\t\t\t\t";
  625.                 // line 268
  626.                 $context['_parent'] = $context;
  627.                 $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"falsefalsefalse268));
  628.                 foreach ($context['_seq'] as $context["_key"] => $context["event_videos"]) {
  629.                     // line 269
  630.                     yield "
  631. \t\t\t\t\t\t\t\t\t\t";
  632.                     // line 270
  633.                     if ($context["event_videos"]) {
  634.                         // line 271
  635.                         yield "\t\t\t\t\t\t\t\t\t\t\t";
  636.                         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse271), "data", [], "any"falsefalsefalse271), "type", [], "any"falsefalsefalse271) == "youtube")) {
  637.                             // line 272
  638.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
  639. \t\t\t\t\t\t\t\t\t\t\t\t\t<iframe width=\"1088\" height=\"780\" src=\"https://www.youtube.com/embed/";
  640.                             // line 273
  641.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse273), "data", [], "any"falsefalsefalse273), "data", [], "any"falsefalsefalse273), "html"nulltrue);
  642.                             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>
  643. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  644. \t\t\t\t\t\t\t\t\t\t\t";
  645.                         } else {
  646.                             // line 276
  647.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
  648. \t\t\t\t\t\t\t\t\t\t\t\t\t<video class=\"second-img second-video\" poster=\"";
  649.                             // line 277
  650.                             yield ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse277), "data", [], "any"falsefalsefalse277), "poster", [], "any"falsefalsefalse277)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse277), "data", [], "any"falsefalsefalse277), "poster", [], "any"falsefalsefalse277), "thumbnail", ["event_video_poster_thumb"], "method"falsefalsefalse277), "html"nulltrue)) : (""));
  651.                             yield "\" controls=\"audio\">
  652. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<source src=\"";
  653.                             // line 278
  654.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["event_videos"], "video", [], "any"falsefalsefalse278), "data", [], "any"falsefalsefalse278), "data", [], "any"falsefalsefalse278), "html"nulltrue);
  655.                             yield "\" type=\"video/mp4\">
  656. \t\t\t\t\t\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
  657. \t\t\t\t\t\t\t\t\t\t\t\t\t</video>
  658. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  659. \t\t\t\t\t\t\t\t\t\t\t";
  660.                         }
  661.                         // line 283
  662.                         yield "
  663. \t\t\t\t\t\t\t\t\t\t";
  664.                     }
  665.                     // line 285
  666.                     yield "
  667. \t\t\t\t\t\t\t\t\t";
  668.                 }
  669.                 $_parent $context['_parent'];
  670.                 unset($context['_seq'], $context['_key'], $context['event_videos'], $context['_parent']);
  671.                 $context array_intersect_key($context$_parent) + $_parent;
  672.                 // line 287
  673.                 yield "
  674. \t\t\t\t\t\t\t\t";
  675.             }
  676.             // line 289
  677.             yield "
  678. \t\t\t\t\t\t\t\t";
  679.             // line 290
  680.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse290), "items", [], "any"falsefalsefalse290)) {
  681.                 // line 291
  682.                 yield "
  683. \t\t\t\t\t\t\t\t\t";
  684.                 // line 292
  685.                 $context['_parent'] = $context;
  686.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse292), "items", [], "any"falsefalsefalse292));
  687.                 foreach ($context['_seq'] as $context["key"] => $context["image"]) {
  688.                     // line 293
  689.                     yield "\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
  690. \t\t\t\t\t\t\t\t\t\t\t<img
  691. \t\t\t\t\t\t\t\t\t\t\tclass=\"second-img\" src=\"";
  692.                     // line 295
  693.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["image"], "thumbnail", ["event_video_poster_thumb"], "method"falsefalsefalse295), "html"nulltrue);
  694.                     yield "\" alt=\"";
  695.                     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"falsefalsefalse295) . "(") . $context["key"]) . ")"), "html"nulltrue);
  696.                     yield "\"/>
  697. \t\t\t\t\t\t\t\t\t\t";
  698.                     // line 297
  699.                     yield "\t\t\t\t\t\t\t\t\t\t</div>
  700. \t\t\t\t\t\t\t\t\t";
  701.                 }
  702.                 $_parent $context['_parent'];
  703.                 unset($context['_seq'], $context['key'], $context['image'], $context['_parent']);
  704.                 $context array_intersect_key($context$_parent) + $_parent;
  705.                 // line 299
  706.                 yield "
  707. \t\t\t\t\t\t\t\t";
  708.             }
  709.             // line 301
  710.             yield "
  711. \t\t\t\t\t\t\t</div>
  712. \t\t\t\t\t\t</div>
  713. \t\t\t\t\t\t<div class=\"training-area-media-content\">
  714. \t\t\t\t\t\t\t<p>";
  715.             // line 305
  716.             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"falsefalsefalse305), "html"nulltrue);
  717.             yield "</p>
  718. \t\t\t\t\t\t</div>
  719. \t\t\t\t\t</div>
  720. \t\t\t\t</div>
  721. \t\t\t</section>
  722. \t\t\t<!--End training area Media-->
  723. \t\t";
  724.         }
  725.         // line 312
  726.         yield "\t\t<!--Start Featured Recipes Section-->
  727. \t\t";
  728.         // line 313
  729.         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"falsefalsefalse313)) > 0)) {
  730.             // line 314
  731.             yield "\t\t\t<section class=\"featured-recipes-section inner-frecipes-section event-detail-slider\">
  732. \t\t\t\t<div class=\"container container-sm\">
  733. \t\t\t\t\t<h2 class=\"heading\">Similar Events</h2>
  734. \t\t\t\t\t<div class=\"featured-recipes\">
  735. \t\t\t\t\t\t<div class=\"custom-slider custom-event-slider\">
  736. \t\t\t\t\t\t\t";
  737.             // line 319
  738.             $context['_parent'] = $context;
  739.             $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"falsefalsefalse319)) - 1)));
  740.             foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
  741.                 // line 320
  742.                 yield "\t\t\t\t\t\t\t\t<div class=\"slide\">
  743. \t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  744. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  745. \t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  746.                 // line 323
  747.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse323), $context["j"], [], "array"falsefalsefalse323), "event_image", [], "any"falsefalsefalse323), "html"nulltrue);
  748.                 yield "\" alt=\"";
  749.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse323), $context["j"], [], "array"falsefalsefalse323), "e_name", [], "any"falsefalsefalse323), "html"nulltrue);
  750.                 yield "\">
  751. \t\t\t\t\t\t\t\t\t\t</figure>
  752. \t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  753. \t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
  754. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  755.                 // line 327
  756.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse327), "locale", [], "any"falsefalsefalse327), "html"nulltrue);
  757.                 yield "/events/";
  758.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse327), $context["j"], [], "array"falsefalsefalse327), "url", [], "any"falsefalsefalse327), "html"nulltrue);
  759.                 yield "\">
  760. \t\t\t\t\t\t\t\t\t\t\t\t\t<h3>";
  761.                 // line 328
  762.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse328), $context["j"], [], "array"falsefalsefalse328), "e_name", [], "any"falsefalsefalse328), "html"nulltrue);
  763.                 yield "</h3>
  764. \t\t\t\t\t\t\t\t\t\t\t\t</a>
  765. \t\t\t\t\t\t\t\t\t\t\t\t<p>";
  766.                 // line 330
  767.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse330), $context["j"], [], "array"falsefalsefalse330), "e_description", [], "any"falsefalsefalse330), "html"nulltrue);
  768.                 yield "</p>
  769. \t\t\t\t\t\t\t\t\t\t\t</div>
  770. \t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info in-column\">
  771. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"calander-black\">N/A</li>
  772. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"feather-map-ping-black\">N/A</li>
  773. \t\t\t\t\t\t\t\t\t\t\t\t";
  774.                 // line 336
  775.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  776.                 $context["user"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse336), "get", ["loginUserName"], "method"falsefalsefalse336);
  777.                 // line 337
  778.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  779.                 if ( !(null === (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'337$this->source); })()))) {
  780.                     // line 338
  781.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this,";
  782.                     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"falsefalsefalse338), "html"nulltrue);
  783.                     yield ",'";
  784.                     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"falsefalsefalse338), "html"nulltrue);
  785.                     yield "',50,'Event','Share')\">";
  786.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  787.                     yield "</li>
  788. \t\t\t\t\t\t\t\t\t\t\t\t";
  789.                 } else {
  790.                     // line 340
  791.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\">";
  792.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  793.                     yield "</li>
  794. \t\t\t\t\t\t\t\t\t\t\t\t";
  795.                 }
  796.                 // line 342
  797.                 yield "\t\t\t\t\t\t\t\t\t\t\t</ul>
  798. \t\t\t\t\t\t\t\t\t\t</div>
  799. \t\t\t\t\t\t\t\t\t</div>
  800. \t\t\t\t\t\t\t\t</div>
  801. \t\t\t\t\t\t\t";
  802.             }
  803.             $_parent $context['_parent'];
  804.             unset($context['_seq'], $context['_key'], $context['j'], $context['_parent']);
  805.             $context array_intersect_key($context$_parent) + $_parent;
  806.             // line 347
  807.             yield "\t\t\t\t\t\t</div>
  808. \t\t\t\t\t</div>
  809. \t\t\t\t</div>
  810. \t\t\t</section>
  811. \t\t";
  812.         }
  813.         // line 352
  814.         yield "\t\t<div>
  815. \t\t\t";
  816.         // line 353
  817.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse353), "locale", [], "any"falsefalsefalse353) == "ar")) {
  818.             // line 354
  819.             yield "\t\t\t\t";
  820.             $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"falsefalsefalse354));
  821.             // line 355
  822.             yield "\t\t\t";
  823.         } else {
  824.             // line 356
  825.             yield "\t\t\t\t";
  826.             $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"falsefalsefalse356));
  827.             // line 357
  828.             yield "\t\t\t";
  829.         }
  830.         // line 358
  831.         yield "\t\t\t<script>
  832. \t\t\t\tvar _TopMenuLink = \"";
  833.         // line 359
  834.         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"nulltrue);
  835.         yield "\";
  836. \t\t\t</script>
  837. \t\t\t<!--End Featured Recipes Section-->
  838. \t\t\t<!--End Wrapper-->
  839. \t\t";
  840.         
  841.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  842.         
  843.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  844.         yield from [];
  845.     }
  846.     /**
  847.      * @codeCoverageIgnore
  848.      */
  849.     public function getTemplateName(): string
  850.     {
  851.         return "events/events-detail.html.twig";
  852.     }
  853.     /**
  854.      * @codeCoverageIgnore
  855.      */
  856.     public function isTraitable(): bool
  857.     {
  858.         return false;
  859.     }
  860.     /**
  861.      * @codeCoverageIgnore
  862.      */
  863.     public function getDebugInfo(): array
  864.     {
  865.         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,);
  866.     }
  867.     public function getSourceContext(): Source
  868.     {
  869.         return new Source("{% extends \"layout/layout.html.twig\" %}
  870. {% block title %}GFS::Event Detail
  871. {% endblock %}
  872. {% block content %}
  873. \t<!--Start Wrapper-->
  874. \t<!--Start Info Media-->
  875. \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 \">
  876. \t\t\t<div
  877. \t\t\t\tclass=\"training-detail-container-box web-event-details-box\">
  878. \t\t\t\t{# Mohsin's work #}
  879. \t\t\t\t<div class=\"event-new-section\">
  880. \t\t\t\t\t<div class=\"container  container-sm\">
  881. \t\t\t\t\t\t<div class=\"row\">
  882. \t\t\t\t\t\t\t<div class=\"col-lg-6\">
  883. \t\t\t\t\t\t\t\t<div class=\"content-left pe-lg-3 px-3\">
  884. \t\t\t\t\t\t\t\t\t<section class=\"bread-crumbs-section\">
  885. \t\t\t\t\t\t\t\t\t\t<div class=\"container container-lg\">
  886. \t\t\t\t\t\t\t\t\t\t\t<div class=\"bread-crumbs-section-box\">
  887. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"breadcrumb-holder breadcrumb-dgreen\">
  888. \t\t\t\t\t\t\t\t\t\t\t\t\t<ol class=\"breadcrumb\">
  889. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  890. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}\">{{'Home'|trans}}</a>
  891. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  892. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  893. \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>
  894. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  895. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  896. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/events\">{{'Events'|trans}}</a>
  897. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  898. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  899. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0);\">{{eventdetail.e_name}}</a>
  900. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  901. \t\t\t\t\t\t\t\t\t\t\t\t\t</ol>
  902. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  903. \t\t\t\t\t\t\t\t\t\t\t</div>
  904. \t\t\t\t\t\t\t\t\t\t</div>
  905. \t\t\t\t\t\t\t\t\t</section>
  906. \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>
  907. \t\t\t\t\t\t\t\t\t{# <h2>{{eventdetail.e_name}}</h2> #}
  908. \t\t\t\t\t\t\t\t\t<p>{{app.request.locale =='en'? eventdetail.e_description('en') : eventdetail.e_description('ar')}}</p>
  909. \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>
  910. \t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
  911. \t\t\t\t\t\t\t\t\t{% if user is not null %}
  912. \t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info\">
  913. \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')\">
  914. \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>
  915. \t\t\t\t\t\t\t\t\t\t\t</li>
  916. \t\t\t\t\t\t\t\t\t\t\t{% if Liked|length == 0 %}
  917. \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>
  918. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  919. \t\t\t\t\t\t\t\t\t\t\t\t<li class='liked'>{{'Like'|trans}}</li>
  920. \t\t\t\t\t\t\t\t\t\t\t\t{# <li class=\"like-white\">{{'Like'|trans}}</li> #}
  921. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  922. \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>
  923. \t\t\t\t\t\t\t\t\t\t</ul>
  924. \t\t\t\t\t\t\t\t\t{% else %}
  925. \t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info\">
  926. \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>
  927. \t\t\t\t\t\t\t\t\t\t\t<li class=\"like-white logged-out\">{{'Like'|trans}}</li>
  928. \t\t\t\t\t\t\t\t\t\t\t<li class=\"download d-none\" id=\"download\">{{'Download'|trans}}</li>
  929. \t\t\t\t\t\t\t\t\t\t</ul>
  930. \t\t\t\t\t\t\t\t\t{% endif %}
  931. \t\t\t\t\t\t\t\t</div>
  932. \t\t\t\t\t\t\t</div>
  933. \t\t\t\t\t\t\t<div class=\"col-lg-6\">
  934. \t\t\t\t\t\t\t
  935. \t\t\t\t\t\t\t\t\t{% if (app.request.locale =='ar') %}
  936. \t\t\t\t\t\t\t\t\t{% if eventdetail.eventImageAr %}
  937. \t\t\t\t\t\t\t\t\t\t<img src=\"{{eventdetail.eventImageAr}}\" alt=\"{{eventdetail.e_name}}\"/>
  938. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  939. \t\t\t\t\t\t\t\t\t{% else %}
  940. \t\t\t\t\t\t\t\t\t\t{% if eventdetail.event_image %}
  941. \t\t\t\t\t\t\t\t\t\t\t<img src=\"{{eventdetail.event_image}}\" alt=\"{{eventdetail.e_name}}\"/>
  942. \t\t\t\t\t\t\t\t\t\t{% endif %}
  943. \t\t\t\t\t\t\t\t\t{% endif %}
  944. \t\t\t\t\t\t\t\t
  945. \t\t\t\t\t\t\t</div>
  946. \t\t\t\t\t\t\t{% if eventdetail.show %}
  947. \t\t\t\t\t\t\t\t<div class=\"col-12 my-5\">
  948. \t\t\t\t\t\t\t\t\t<div class=\"event-timer-section\">
  949. \t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  950. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-7\">
  951. \t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"{{ (app.request.locale == 'ar') ? 'rtl-dir' : '' }}\">
  952. \t\t\t\t\t\t\t\t\t\t\t\t\t{{'The webinar will be live in'|trans}}
  953. \t\t\t\t\t\t\t\t\t\t\t\t</h3>
  954. \t\t\t\t\t\t\t\t\t\t\t</div>
  955. \t\t\t\t\t\t\t\t\t\t\t<div class=\"col-lg-5\">
  956. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\" countdown {{ (app.request.locale == 'ar') ? 'rtl-dir' : '' }}\">
  957. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
  958. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"days\" class=\"countdown-value\">00</span>
  959. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">{{'Days'|trans}}</span>
  960. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  961. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
  962. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"hours\" class=\"countdown-value\">00</span>
  963. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">{{'Hours'|trans}}</span>
  964. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  965. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
  966. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"minutes\" class=\"countdown-value\">00</span>
  967. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">{{'Minutes'|trans}}</span>
  968. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  969. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"countdown-item\">
  970. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span id=\"seconds\" class=\"countdown-value\">00</span>
  971. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"countdown-label\">{{'Seconds'|trans}}</span>
  972. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  973. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  974. \t\t\t\t\t\t\t\t\t\t\t</div>
  975. \t\t\t\t\t\t\t\t\t\t</div>
  976. \t\t\t\t\t\t\t\t\t</div>
  977. \t\t\t\t\t\t\t\t</div>
  978. \t\t\t\t\t\t\t{% endif %}
  979. \t\t\t\t\t\t\t{% if eventdetail.show %}
  980. \t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  981. \t\t\t\t\t\t\t\t\t{% if eventdetail.webinarImage %}
  982. \t\t\t\t\t\t\t\t\t\t<img src=\"{{eventdetail.webinarImage}}\" alt=\"{{eventdetail.webinarTitle}}\"/>
  983. \t\t\t\t\t\t\t\t\t{% endif %}
  984. \t\t\t\t\t\t\t\t</div>
  985. \t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  986. \t\t\t\t\t\t\t\t\t<div class=\"content-left pe-lg-3 px-3\">
  987. \t\t\t\t\t\t\t\t\t\t<h2 class=\"{{ (app.request.locale == 'ar') ? 'rtl-dir' : '' }}\">{{eventdetail.webinarTitle}}</h2>
  988. \t\t\t\t\t\t\t\t\t\t<ul class=\"event-new-list\">
  989. \t\t\t\t\t\t\t\t\t\t\t{% for listItem in  eventdetail.detailListBlock %}
  990. \t\t\t\t\t\t\t\t\t\t\t\t<li>
  991. \t\t\t\t\t\t\t\t\t\t\t\t\t{{listItem.localizedfields.data.getLocalizedValue('name')}}
  992. \t\t\t\t\t\t\t\t\t\t\t\t</li>
  993. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  994. \t\t\t\t\t\t\t\t\t\t</ul>
  995. \t\t\t\t\t\t\t\t\t\t{{eventdetail.webinarLink|raw}}
  996. \t\t\t\t\t\t\t\t\t</div>
  997. \t\t\t\t\t\t\t\t</div>
  998. \t\t\t\t\t\t\t{% endif %}
  999. \t\t\t\t\t\t</div>
  1000. \t\t\t\t\t</div>
  1001. \t\t\t\t</div>
  1002. \t\t\t\t{# Mohsin's work End #}
  1003. \t\t\t</div>
  1004. \t\t</section>
  1005. \t\t<section class=\"training-area event-detail-chefs event-details-section-2 video-sec \">
  1006. \t\t\t<div class=\"container container-sm\">
  1007. \t\t\t  <div class=\"training-area-media\">
  1008. \t\t\t\t<div class=\"training-area-media-video-box event-detail-slide-box\">
  1009. \t\t\t\t  <div class=\"training-area-media-video-box-section event-detail-video-section\" id=\"event-slider\">
  1010. \t\t  
  1011. \t\t\t\t\t{% if eventdetail.videos|length > 0 or eventdetail.e_images.items %}
  1012. \t\t  
  1013. \t\t\t\t\t  {% if eventdetail.videos|length > 0 %}
  1014. \t\t\t\t\t\t{% for event_videos in eventdetail.videos %}
  1015. \t\t\t\t\t\t  {% if event_videos %}
  1016. \t\t\t\t\t\t\t{% if event_videos.video.data.type == \"youtube\" %}
  1017. \t\t\t\t\t\t\t  <div class=\"media-section w-100\">
  1018. \t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/{{ event_videos.video.data.data }}?si=sXWSc0Yl9ZZRKPHL\"
  1019. \t\t\t\t\t\t\t\t\t\ttitle=\"YouTube video player\"
  1020. \t\t\t\t\t\t\t\t\t\tframeborder=\"0\"
  1021. \t\t\t\t\t\t\t\t\t\tallow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"
  1022. \t\t\t\t\t\t\t\t\t\treferrerpolicy=\"strict-origin-when-cross-origin\"
  1023. \t\t\t\t\t\t\t\t\t\tallowfullscreen></iframe>
  1024. \t\t\t\t\t\t\t  </div>
  1025. \t\t\t\t\t\t\t{% else %}
  1026. \t\t\t\t\t\t\t  <div class=\"media-section\">
  1027. \t\t\t\t\t\t\t\t<video class=\"second-img second-video\"
  1028. \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') : '' }}\"
  1029. \t\t\t\t\t\t\t\t\t   controls=\"audio\">
  1030. \t\t\t\t\t\t\t\t  <source src=\"{{ event_videos.video.data.data }}\" type=\"video/mp4\">
  1031. \t\t\t\t\t\t\t\t  Your browser does not support the video tag.
  1032. \t\t\t\t\t\t\t\t</video>
  1033. \t\t\t\t\t\t\t  </div>
  1034. \t\t\t\t\t\t\t{% endif %}
  1035. \t\t\t\t\t\t  {% endif %}
  1036. \t\t\t\t\t\t{% endfor %}
  1037. \t\t\t\t\t  {% endif %}
  1038. \t\t  
  1039. \t\t\t\t\t  {% if eventdetail.e_images.items %}
  1040. \t\t\t\t\t\t{% for key, image in eventdetail.e_images.items %}
  1041. \t\t\t\t\t\t  <div class=\"media-section\">
  1042. \t\t\t\t\t\t\t<img class=\"second-img\"
  1043. \t\t\t\t\t\t\t\t src=\"{{ image.thumbnail('event_video_poster_thumb') }}\"
  1044. \t\t\t\t\t\t\t\t alt=\"{{ eventdetail.e_name ~ '(' ~ key ~ ')' }}\" />
  1045. \t\t\t\t\t\t  </div>
  1046. \t\t\t\t\t\t{% endfor %}
  1047. \t\t\t\t\t  {% endif %}
  1048. \t\t  
  1049. \t\t\t\t\t{% endif %}
  1050. \t\t  
  1051. \t\t\t\t  </div>
  1052. \t\t\t\t</div>
  1053. \t\t\t\t{# <div class=\"training-area-media-content\">
  1054. \t\t\t\t  <p>{{ eventdetail.e_slider_description }}</p>
  1055. \t\t\t\t</div> #}
  1056. \t\t\t  </div>
  1057. \t\t\t</div>
  1058. \t\t  </section>
  1059. \t\t  
  1060. \t\t<section class=\"video-sec-2 d-none\" id=\"video-sec-2 \">
  1061. \t\t\t<div class=\"container container-sm\">
  1062. \t\t\t\t<div class=\"row\">
  1063. \t\t\t\t\t{% if eventdetail.videos|length > 0 or eventdetail.e_images.items %}
  1064. \t\t\t\t\t{% if eventdetail.videos|length > 0 %}
  1065. \t\t\t\t\t{% for event_videos in eventdetail.videos %}
  1066. \t\t\t\t\t\t{% if event_videos %}
  1067. \t\t\t\t\t\t\t{% if event_videos.video.data.type == \"youtube\" %}
  1068. \t\t\t\t\t\t\t\t<div class=\"media-section w-100\">
  1069. \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>
  1070. \t\t\t\t\t\t\t\t</div>
  1071. \t\t\t\t\t\t\t{% else %}
  1072. \t\t\t\t\t\t\t\t<div class=\"media-section\">
  1073. \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\">
  1074. \t\t\t\t\t\t\t\t\t\t<source src=\"{{event_videos.video.data.data}}\" type=\"video/mp4\">
  1075. \t\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
  1076. \t\t\t\t\t\t\t\t\t</video>
  1077. \t\t\t\t\t\t\t\t</div>
  1078. \t\t\t\t\t\t\t{% endif %}
  1079. \t\t\t\t\t\t{% endif %}
  1080. \t\t\t\t\t{% endfor %}
  1081. \t\t\t\t{% endif %}
  1082. \t\t\t\t{% if eventdetail.e_images.items %}
  1083. \t\t\t\t\t{% for key , image in eventdetail.e_images.items %}
  1084. \t\t\t\t\t\t<div class=\"media-section\">
  1085. \t\t\t\t\t\t\t<img class=\"second-img\" src=\"{{ image.thumbnail('event_video_poster_thumb')}}\" alt=\"{{eventdetail.e_name ~ '(' ~ key ~ ')' }}\"/>
  1086. \t\t\t\t\t\t{# {{ image.thumbnail('event_video_poster_thumb').getHTML({imgAttributes: {class: 'second-img', alt:'eventdetail.e_name ~ '(' ~ key ~ ')' ~ '}})|raw }} #}
  1087. \t\t\t\t\t\t</div>
  1088. \t\t\t\t\t{% endfor %}
  1089. \t\t\t\t{% endif %}
  1090. \t\t{% endif %}
  1091. \t\t\t\t</div>
  1092. \t\t\t</div>
  1093. \t\t</section>
  1094. \t\t<!--End Info Media-->
  1095. \t\t{% if eventdetail.videos|length > 0 or eventdetail.e_images.items %}
  1096. \t\t\t<!--Start training area Media-->
  1097. \t\t\t<section class=\"training-area event-detail-chefs event-details-section-2 video-sec d-none\">
  1098. \t\t\t\t<div class=\"container container-sm\">
  1099. \t\t\t\t\t<div class=\"training-area-media\">
  1100. \t\t\t\t\t\t<div class=\"training-area-media-video-box event-detail-slide-box\">
  1101. \t\t\t\t\t\t\t<div class=\"training-area-media-video-box-section event-detail-video-section\" id=\"event-slider\">
  1102. \t\t\t\t\t\t\t\t{% if eventdetail.videos|length > 0 %}
  1103. \t\t\t\t\t\t\t\t\t{% for event_videos in eventdetail.videos %}
  1104. \t\t\t\t\t\t\t\t\t\t{% if event_videos %}
  1105. \t\t\t\t\t\t\t\t\t\t\t{% if event_videos.video.data.type == \"youtube\" %}
  1106. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
  1107. \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>
  1108. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1109. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  1110. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
  1111. \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\">
  1112. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<source src=\"{{event_videos.video.data.data}}\" type=\"video/mp4\">
  1113. \t\t\t\t\t\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
  1114. \t\t\t\t\t\t\t\t\t\t\t\t\t</video>
  1115. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1116. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1117. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1118. \t\t\t\t\t\t\t\t\t{% endfor %}
  1119. \t\t\t\t\t\t\t\t{% endif %}
  1120. \t\t\t\t\t\t\t\t{% if eventdetail.e_images.items %}
  1121. \t\t\t\t\t\t\t\t\t{% for key , image in eventdetail.e_images.items %}
  1122. \t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
  1123. \t\t\t\t\t\t\t\t\t\t\t<img
  1124. \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 ~ ')' }}\"/>
  1125. \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 }} #}
  1126. \t\t\t\t\t\t\t\t\t\t</div>
  1127. \t\t\t\t\t\t\t\t\t{% endfor %}
  1128. \t\t\t\t\t\t\t\t{% endif %}
  1129. \t\t\t\t\t\t\t</div>
  1130. \t\t\t\t\t\t</div>
  1131. \t\t\t\t\t\t<div class=\"training-area-media-content\">
  1132. \t\t\t\t\t\t\t<p>{{eventdetail.e_slider_description}}</p>
  1133. \t\t\t\t\t\t</div>
  1134. \t\t\t\t\t</div>
  1135. \t\t\t\t</div>
  1136. \t\t\t</section>
  1137. \t\t\t<!--End training area Media-->
  1138. \t\t{% endif %}
  1139. \t\t<!--Start Featured Recipes Section-->
  1140. \t\t{% if eventdetail.similar_events|length > 0 %}
  1141. \t\t\t<section class=\"featured-recipes-section inner-frecipes-section event-detail-slider\">
  1142. \t\t\t\t<div class=\"container container-sm\">
  1143. \t\t\t\t\t<h2 class=\"heading\">Similar Events</h2>
  1144. \t\t\t\t\t<div class=\"featured-recipes\">
  1145. \t\t\t\t\t\t<div class=\"custom-slider custom-event-slider\">
  1146. \t\t\t\t\t\t\t{% for j in 0..eventdetail.similar_events|length -1 %}
  1147. \t\t\t\t\t\t\t\t<div class=\"slide\">
  1148. \t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  1149. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  1150. \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}}\">
  1151. \t\t\t\t\t\t\t\t\t\t</figure>
  1152. \t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  1153. \t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
  1154. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/events/{{eventdetail.similar_events[j].url}}\">
  1155. \t\t\t\t\t\t\t\t\t\t\t\t\t<h3>{{eventdetail.similar_events[j].e_name}}</h3>
  1156. \t\t\t\t\t\t\t\t\t\t\t\t</a>
  1157. \t\t\t\t\t\t\t\t\t\t\t\t<p>{{eventdetail.similar_events[j].e_description}}</p>
  1158. \t\t\t\t\t\t\t\t\t\t\t</div>
  1159. \t\t\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info in-column\">
  1160. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"calander-black\">N/A</li>
  1161. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"feather-map-ping-black\">N/A</li>
  1162. \t\t\t\t\t\t\t\t\t\t\t\t{# <li class=\"share\">Share</li> #}
  1163. \t\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
  1164. \t\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}
  1165. \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>
  1166. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1167. \t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"share\">{{'Share'|trans}}</li>
  1168. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1169. \t\t\t\t\t\t\t\t\t\t\t</ul>
  1170. \t\t\t\t\t\t\t\t\t\t</div>
  1171. \t\t\t\t\t\t\t\t\t</div>
  1172. \t\t\t\t\t\t\t\t</div>
  1173. \t\t\t\t\t\t\t{% endfor %}
  1174. \t\t\t\t\t\t</div>
  1175. \t\t\t\t\t</div>
  1176. \t\t\t\t</div>
  1177. \t\t\t</section>
  1178. \t\t{% endif %}
  1179. \t\t<div>
  1180. \t\t\t{% if (app.request.locale =='ar') %}
  1181. \t\t\t\t{% set topMenu =\"/en/events/\" ~ eventdetail.url('en') %}
  1182. \t\t\t{% else %}
  1183. \t\t\t\t{% set topMenu =\"/ar/events/\" ~ eventdetail.url('ar') %}
  1184. \t\t\t{% endif %}
  1185. \t\t\t<script>
  1186. \t\t\t\tvar _TopMenuLink = \"{{ topMenu }}\";
  1187. \t\t\t</script>
  1188. \t\t\t<!--End Featured Recipes Section-->
  1189. \t\t\t<!--End Wrapper-->
  1190. \t\t{% endblock %}
  1191. ""events/events-detail.html.twig""/var/www/vhosts/centric.ae/gcs.centric.ae/templates/events/events-detail.html.twig");
  1192.     }
  1193. }