<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* Recipes/reciepedetails.html.twig */
class __TwigTemplate_c299ff1d09cb429f6194c24faa0b7b8f extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Recipes/reciepedetails.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Recipes/reciepedetails.html.twig"));
$this->parent = $this->loadTemplate("layout/layout.html.twig", "Recipes/reciepedetails.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 5
yield "
\t";
// line 6
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "locale", [], "any", false, false, false, 6) == "en")) {
// line 7
yield "\t\t";
$context["weblink"] = "en";
// line 8
yield "\t";
} else {
// line 9
yield "\t\t";
$context["weblink"] = "ar";
// line 10
yield "\t";
}
// line 11
yield "\t<div>
\t\t<!--Start Recipe Top Download-->
\t\t<section class=\"info-media media-bg-left recipe-detail-download new-recipe-detail recipe-detail-edited-add\">
\t\t\t<div class=\"container container-sm\">
\t\t\t\t<div class=\"mobile_flex\">
\t\t\t\t<div class=\"info-section recipe-info__puesdo\">
\t\t\t\t\t";
// line 18
yield "\t\t\t\t\t<h1>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 18, $this->source); })()), "name", [], "any", false, false, false, 18), "html", null, true);
yield "</h1>
\t\t\t\t\t";
// line 19
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 19, $this->source); })()), "Chef", [], "any", false, false, false, 19)) {
// line 20
yield "\t\t\t\t\t\t<h6 class=\"resource-name\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("by"), "html", null, true);
yield "
\t\t\t\t\t\t\t";
// line 21
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 21, $this->source); })()), "Chef", [], "any", false, false, false, 21), "html", null, true);
yield "</h6>
\t\t\t\t\t";
}
// line 23
yield "\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t";
// line 25
yield "\t\t\t\t\t\t<li class=\"orders\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html", null, true);
yield "
\t\t\t\t\t\t\t";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html", null, true);
yield "
\t\t\t\t\t\t\t";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 27, $this->source); })()), "serves", [], "any", false, false, false, 27), "html", null, true);
yield "</li>
\t\t\t\t\t\t<li class=\"time\">";
// line 29
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 29, $this->source); })()), "typeofmeal", [], "any", false, false, false, 29)), "html", null, true);
yield "</li>
\t\t\t\t\t\t<li class=\"rating\">";
// line 30
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 30, $this->source); })()), "html", null, true);
yield "</li>
\t\t\t\t\t</ul>
\t\t\t\t\t<p>";
// line 32
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 32, $this->source); })()), "description", [], "any", false, false, false, 32), "html", null, true);
yield "</p>
\t\t\t\t\t<p id=\"content\" class=\"d-none\">";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 33, $this->source); })()), "short_description", [], "any", false, false, false, 33), "html", null, true);
yield "</p>
\t\t\t\t\t<ul class=\"list-unstyled social-info recipe-info\">
\t\t\t\t\t\t";
// line 36
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 36, $this->source); })()), "session", [], "any", false, false, false, 36), "get", ["loginUserName"], "method", false, false, false, 36);
// line 37
yield "\t\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 37, $this->source); })()))) {
// line 38
yield "
\t\t\t\t\t\t\t";
// line 39
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.', 39, $this->source); })())) == 0)) {
// line 40
yield "\t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 40, $this->source); })()), "id", [], "any", false, false, false, 40), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 40, $this->source); })()), "name", [], "any", false, false, false, 40), "html", null, true);
yield "',30,'Recipe','Like' , '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 40, $this->source); })()), "request", [], "any", false, false, false, 40), "locale", [], "any", false, false, false, 40), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t";
} else {
// line 43
yield "\t\t\t\t\t\t\t\t<li class=\"liked\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t";
}
// line 45
yield "
\t\t\t\t\t\t\t<li class=\"share recipeshare\" onclick=\"loyaltyProgram(this,";
// line 46
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 46, $this->source); })()), "id", [], "any", false, false, false, 46), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 46, $this->source); })()), "name", [], "any", false, false, false, 46), "html", null, true);
yield "',50,'Recipe','Share', '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 46, $this->source); })()), "request", [], "any", false, false, false, 46), "locale", [], "any", false, false, false, 46), "html", null, true);
yield "')\">
\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Recipe','";
// line 47
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "getSchemeAndHttpHost", [], "method", false, false, false, 47) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "locale", [], "any", false, false, false, 47)) . "/all-recipes/") . CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 47, $this->source); })()), "url", [], "any", false, false, false, 47)), "html", null, true);
yield "' , '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share goody recipe with your friends"), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
// line 56
yield "\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "locale", [], "any", false, false, false, 56), "html", null, true);
yield "/print/recipe/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 56, $this->source); })()), "url", [], "any", false, false, false, 56), "html", null, true);
yield "\"><li class=\"download-blue\" id=\"download\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html", null, true);
yield "</li></a>
\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/";
// line 57
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 57, $this->source); })()), "request", [], "any", false, false, false, 57), "locale", [], "any", false, false, false, 57), "html", null, true);
yield "/print/recipe/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 57, $this->source); })()), "url", [], "any", false, false, false, 57), "html", null, true);
yield "\"><li class=\"print-blue\" id=\"pdfprnt\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Print"), "html", null, true);
yield "</li></a>
\t\t\t\t\t\t\t<li class=\"menu-blue d-none\">";
// line 58
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add To Menu"), "html", null, true);
yield "</li>
\t\t\t\t\t\t";
} else {
// line 61
yield "\t\t\t\t\t\t\t<li class=\"like logged-out\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Recipe','";
// line 63
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 63, $this->source); })()), "request", [], "any", false, false, false, 63), "getSchemeAndHttpHost", [], "method", false, false, false, 63) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 63, $this->source); })()), "request", [], "any", false, false, false, 63), "locale", [], "any", false, false, false, 63)) . "/all-recipes/") . CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 63, $this->source); })()), "url", [], "any", false, false, false, 63)), "html", null, true);
yield "' , '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share goody recipe with your friends"), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</li></a>
\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/";
// line 64
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 64, $this->source); })()), "request", [], "any", false, false, false, 64), "locale", [], "any", false, false, false, 64), "html", null, true);
yield "/print/recipe/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 64, $this->source); })()), "url", [], "any", false, false, false, 64), "html", null, true);
yield "\"><li class=\"download-blue\" id=\"download\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html", null, true);
yield "</li></a>
\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/";
// line 65
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 65, $this->source); })()), "request", [], "any", false, false, false, 65), "locale", [], "any", false, false, false, 65), "html", null, true);
yield "/print/recipe/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 65, $this->source); })()), "url", [], "any", false, false, false, 65), "html", null, true);
yield "\"><li class=\"print-blue\" id=\"pdfprnt\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Print"), "html", null, true);
yield "</li></a>
\t\t\t\t\t\t\t<li class=\"menu-blue d-none\">";
// line 66
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add To Menu"), "html", null, true);
yield "</li>
\t\t\t\t\t\t";
}
// line 68
yield "
\t\t\t\t\t</ul>
\t\t\t\t</div>
\t\t\t\t<div class=\"media-section media-section-01\">
\t\t\t\t\t";
// line 73
if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 73, $this->source); })()), "banner_video", [], "any", false, false, false, 73))) {
// line 74
yield "\t\t\t\t\t\t";
// line 75
yield "\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 75, $this->source); })()), "featured_image", [], "any", false, false, false, 75)) {
// line 76
yield "\t\t\t\t\t\t";
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 76, $this->source); })()), "featured_image", [], "any", false, false, false, 76), "thumbnail", ["858x592"], "method", false, false, false, 76), "getHTML", [["imgAttributes" => ["class" => "", "alt" => "Feature Image"]]], "method", false, false, false, 76);
yield "
\t\t\t\t\t\t";
}
// line 78
yield "\t\t\t\t\t";
} else {
// line 79
yield "\t\t\t\t\t\t<video poster=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 79, $this->source); })()), "featured_image", [], "any", false, false, false, 79), "html", null, true);
yield "\" playsinline preload=\"auto\" loop=\"true\" autoplay=\"true\" muted=\"true\" controlslist=\"nodownload\">
\t\t\t\t\t\t\t<source src=\"";
// line 80
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 80, $this->source); })()), "banner_video", [], "any", false, false, false, 80), "data", [], "any", false, false, false, 80), "html", null, true);
yield "\" type=\"video/mp4\">
\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t</video>
\t\t\t\t\t\t";
// line 87
yield "
\t\t\t\t\t";
}
// line 89
yield "\t\t\t\t\t";
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 89, $this->source); })()), "detail_video", [], "any", false, false, false, 89))) {
// line 90
yield "\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary\" data-toggle=\"modal\" data-target=\"#recipevideomodal\">";
// line 91
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Watch Full Video"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 96
yield "\t\t\t\t</div>
\t\t\t</div>
\t\t\t\t
\t\t\t\t<!--Start Breadcrumbs-->
\t\t\t\t<div class=\"breadcrumb-holder breadcrumb-fixed\">
\t\t\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t<a href=\"/";
// line 103
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 103, $this->source); })()), "request", [], "any", false, false, false, 103), "locale", [], "any", false, false, false, 103), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t<a href=\"/";
// line 106
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 106, $this->source); })()), "request", [], "any", false, false, false, 106), "locale", [], "any", false, false, false, 106), "html", null, true);
yield "/recipes\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t";
// line 108
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 108, $this->source); })()), "category", [], "any", false, false, false, 108)) > 0)) {
// line 109
yield "\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 109, $this->source); })()), "category", [], "any", false, false, false, 109));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 110
yield "\t\t\t\t\t\t\t\t";
// line 111
yield "\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t<a href=\"/en/recipes/";
// line 112
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Category"], "cat_url", [], "any", false, false, false, 112), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Category"], "recipecategoryname", [], "any", false, false, false, 112), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['Category'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 115
yield "\t\t\t\t\t\t";
}
// line 116
yield "\t\t\t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 116, $this->source); })()), "name", [], "any", false, false, false, 116), "html", null, true);
yield "</li>
\t\t\t\t\t</ol>
\t\t\t\t</div>
\t\t\t\t<!--End Breadcrumbs-->
\t\t\t</div>
\t\t</section>
\t\t<!--End Recipe Top Download-->
\t\t<!--Start Ingredients and Instructions-->
\t\t<section class=\"cooking-tabs\">
\t\t\t<div
\t\t\t\tclass=\"container container-sm\">
\t\t\t\t<!--Start Tab Titles-->
\t\t\t\t<ul class=\"row nav nav-pills\" id=\"cooking-tab\" role=\"tablist\">
\t\t\t\t\t<li class=\"col-md-6 col-xl-6 nav-item\" role=\"presentation\">
\t\t\t\t\t\t<a class=\"nav-link sub-sm-heading active\" id=\"ingredients-tab\" data-toggle=\"pill\" href=\"#ingredients\" role=\"tab\" aria-controls=\"ingredients\" aria-selected=\"true\">";
// line 134
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ingredients"), "html", null, true);
yield "
\t\t\t\t\t\t\t";
// line 135
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["recipedetails"] ?? null), "Serving_options", [], "any", false, true, false, 135), "items", [], "any", false, true, false, 135), 0, [], "array", false, true, false, 135), "ingredeints", [], "any", true, true, false, 135)) {
// line 136
yield "\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 136, $this->source); })()), "Serving_options", [], "any", false, false, false, 136), "items", [], "any", false, false, false, 136), 0, [], "array", false, false, false, 136), "ingredeints", [], "any", false, false, false, 136)), "html", null, true);
}
yield "</a>
\t\t\t\t\t</li>
\t\t\t\t\t<li class=\"col-md-6 col-xl-6 nav-item\" role=\"presentation\">
\t\t\t\t\t\t<a class=\"nav-link sub-sm-heading\" id=\"instruction-tab\" data-toggle=\"pill\" href=\"#instruction\" role=\"tab\" aria-controls=\"instruction\" aria-selected=\"false\">";
// line 139
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Instructions"), "html", null, true);
yield "</a>
\t\t\t\t\t</li>
\t\t\t\t</ul>
\t\t\t\t<!--End Tab Titles-->
\t\t\t\t<!--Start Tab Content-->
\t\t\t\t<div class=\"row tab-content\" id=\"cooking-tabContent\">
\t\t\t\t\t\t\t
\t\t\t\t\t<!--Start Ingredients Tab Content-->
\t\t\t\t\t\t<div class=\"col-md-6 col-xl-6 tab-pane fade show active\" id=\"ingredients\" role=\"tabpanel\" aria-labelledby=\"ingredients-tab\"> <div class=\"order-count\">
\t\t\t\t\t\t\t<div class=\"order-count-title\">";
// line 149
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Order's"), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t<div class=\"order-count-number\">
\t\t\t\t\t\t\t\t<span class=\"minus\" id=\"minusx\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon minus\"></span>
\t\t\t\t\t\t\t\t<input class=\"count numeric-remove-spiner\" onkeypress='return event.charCode >= 48 && event.charCode <= 57' id=\"valuechange\" type=\"number\" value=\"";
// line 152
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 152, $this->source); })()), "serves", [], "any", false, false, false, 152), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t<span class=\"plus\" id=\"plusx\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon plus\"></span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<input class=\"serving d-none\" type=\"text\" value=\"";
// line 155
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 155, $this->source); })()), "serves", [], "any", false, false, false, 155), "html", null, true);
yield "\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"ingredients-holders\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 159
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 159, $this->source); })()), "serving_options", [], "any", false, false, false, 159));
foreach ($context['_seq'] as $context["_key"] => $context["ingrident"]) {
// line 160
yield "\t\t\t\t\t\t\t\t\t<h4 class=\"title\">";
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 160, $this->source); })()), "request", [], "any", false, false, false, 160), "locale", [], "any", false, false, false, 160) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ingrident"], "serve", [], "any", false, false, false, 160), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ingrident"], "serve_ar", [], "any", false, false, false, 160), "html", null, true)));
yield "</h4>
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled content-list\">
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t";
// line 163
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["ingrident"], "ingredeints", [], "any", false, false, false, 163));
foreach ($context['_seq'] as $context["_key"] => $context["ing"]) {
// line 164
yield "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"name capsfirstleter\">";
// line 166
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 166, $this->source); })()), "request", [], "any", false, false, false, 166), "locale", [], "any", false, false, false, 166) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "ingredient", [], "any", false, false, false, 166), "data", [], "any", false, false, false, 166), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "ingredient_ar", [], "any", false, false, false, 166), "data", [], "any", false, false, false, 166), "html", null, true)));
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 168
yield "\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"measurement\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 169
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "multiply", [], "any", false, false, false, 169), "data", [], "any", false, false, false, 169) != 0)) {
// line 170
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "multiply", [], "any", false, false, false, 170), "data", [], "any", false, false, false, 170), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 172
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 172, $this->source); })()), "request", [], "any", false, false, false, 172), "locale", [], "any", false, false, false, 172) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "unit", [], "any", false, false, false, 172), "data", [], "any", false, false, false, 172), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "unit_ar", [], "any", false, false, false, 172), "data", [], "any", false, false, false, 172), "html", null, true)));
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"new d-none\">";
// line 173
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "multiply", [], "any", false, false, false, 173), "data", [], "any", false, false, false, 173), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"unit d-none\">";
// line 175
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 175, $this->source); })()), "request", [], "any", false, false, false, 175), "locale", [], "any", false, false, false, 175) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "unit", [], "any", false, false, false, 175), "data", [], "any", false, false, false, 175), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ing"], "unit_ar", [], "any", false, false, false, 175), "data", [], "any", false, false, false, 175), "html", null, true)));
yield "
\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['ing'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 181
yield "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t";
// line 183
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["ingrident"], "recipe_feature_product", [], "any", false, false, false, 183));
foreach ($context['_seq'] as $context["_key"] => $context["recipe_feature_product"]) {
// line 184
yield "\t\t\t\t\t\t\t\t\t\t\t";
if (array_key_exists("recipe_feature_product", $context)) {
// line 185
yield "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 186
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "brands", [], "any", false, false, false, 186), "id", [], "any", false, false, false, 186) == 263)) {
// line 187
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["class"] = "slide-img-bg-brown";
// line 188
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "brands", [], "any", false, false, false, 188), "id", [], "any", false, false, false, 188) == 262)) {
// line 189
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["class"] = "slide-img-bg-blue";
// line 190
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "brands", [], "any", false, false, false, 190), "id", [], "any", false, false, false, 190) == 413)) {
// line 191
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["class"] = "slide-img-bg-purple";
// line 192
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 193
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["class"] = "slide-img-bg-green";
// line 194
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 195
yield "
\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"product-available-box\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"product-box product-box-horizon\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 199
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 199, $this->source); })()), "session", [], "any", false, false, false, 199), "get", ["loginUserName"], "method", false, false, false, 199);
// line 200
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 200, $this->source); })()))) {
// line 201
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "id", [], "any", false, false, false, 201), (isset($context["Liked_Recipe_feature_product_Ids"]) || array_key_exists("Liked_Recipe_feature_product_Ids", $context) ? $context["Liked_Recipe_feature_product_Ids"] : (function () { throw new RuntimeError('Variable "Liked_Recipe_feature_product_Ids" does not exist.', 201, $this->source); })()))) {
// line 202
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/Liked-01.svg\" alt=\"Liked\"></a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 206
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"loyaltyProgram(this,";
// line 207
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "id", [], "any", false, false, false, 207), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "name", [], "any", false, false, false, 207), "html", null, true);
yield "',30,'Product','Like')\"><img src=\"/static/assets/images/like.svg\" alt=\"Like\"></a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 210
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 211
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like logged-out\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/like.svg\" alt=\"Like\"></a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 215
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 215, $this->source); })()), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 216
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "attrimage", [], "any", false, true, false, 216), "Items", [], "any", false, true, false, 216), 0, [], "array", true, true, false, 216)) {
// line 217
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 217, $this->source); })()), "request", [], "any", false, false, false, 217), "locale", [], "any", false, false, false, 217), "html", null, true);
yield "/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "url", [], "any", false, false, false, 217), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 218
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "attrimage", [], "any", false, false, false, 218), "Items", [], "any", false, false, false, 218), 0, [], "array", false, false, false, 218), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "name", [], "any", false, false, false, 218), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 221
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 223
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 223, $this->source); })()), "request", [], "any", false, false, false, 223), "locale", [], "any", false, false, false, 223), "html", null, true);
yield "/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "url", [], "any", false, false, false, 223), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">";
// line 224
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "name", [], "any", false, false, false, 224), "html", null, true);
yield "</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">";
// line 226
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "size", [], "any", false, false, false, 226), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"inline-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 228
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "region", [], "any", false, true, false, 228), 0, [], "array", false, true, false, 228), "price", [], "array", false, true, false, 228), "data", [], "any", true, true, false, 228)) {
// line 229
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "region", [], "any", false, false, false, 229), 0, [], "array", false, false, false, 229), "price", [], "array", false, false, false, 229), "data", [], "any", false, false, false, 229), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 230
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "region", [], "any", false, false, false, 230), 0, [], "array", false, false, false, 230), "currency_symbol", [], "array", false, false, false, 230), "data", [], "any", false, false, false, 230)), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 231
$context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "region", [], "any", false, false, false, 231), 0, [], "array", false, false, false, 231), "price", [], "array", false, false, false, 231), "data", [], "any", false, false, false, 231) / 100) * 10));
// line 232
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 237
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 238
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count small-count\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count-number\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"minus\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon minus\"></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"count\" id=\"fig\" type=\"text\" value=\"1\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"plus\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon plus\"></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary add-to-cart-rcp\" onclick=\"addCart(this, ";
// line 246
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "id", [], "any", false, false, false, 246), "html", null, true);
yield ", 1)\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Cart"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 248
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 248, $this->source); })()), "session", [], "any", false, false, false, 248), "get", ["loginUserName"], "method", false, false, false, 248))) {
// line 249
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder d-none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline\" onclick=\"inventoryProgram(this,";
// line 250
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points", $context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.', 250, $this->source); })()), "html", null, true);
yield ",";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe_feature_product"], "id", [], "any", false, false, false, 250), "html", null, true);
yield ")\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 253
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder d-none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline recipe-logged-out\">";
// line 254
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"recipe-inventry-alert\"></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 258
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 263
yield "\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['recipe_feature_product'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 264
yield "\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['ingrident'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 266
yield "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--End Ingredients Tab Content-->
\t\t\t\t\t<!--Start Instruction Tab Content-->
\t\t\t\t\t<div class=\"col-md-6 col-xl-6 tab-pane fade\" id=\"instruction\" role=\"tabpanel\" aria-labelledby=\"instruction-tab\">
\t\t\t\t\t\t<div class=\"instructions-holder\">
\t\t\t\t\t\t\t<h5 class=\"title\">
\t\t\t\t\t\t\t\t";
// line 276
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("intruction_desc"), "html", null, true);
yield "
\t\t\t\t\t\t\t";
// line 278
yield "\t\t\t\t\t\t\t\t";
// line 279
yield "\t\t\t\t\t\t\t</h5>
\t\t\t\t\t\t\t<ul class=\"list-unstyled content-list\">
\t\t\t\t\t\t\t\t";
// line 281
$context["step"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 281, $this->source); })()), "steps", [], "any", false, false, false, 281);
// line 282
yield "\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 282, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["steps"]) {
// line 283
yield "\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t";
// line 284
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["steps"], "localizedfields", [], "any", false, false, false, 284), "data", [], "any", false, false, false, 284), "getLocalizedValue", ["description"], "method", false, false, false, 284), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['steps'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 287
yield "\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t";
// line 294
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"special-notes\">
\t\t\t\t\t\t\t<h3 class=\"title\">";
// line 296
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Special Notes:"), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t<ul class=\"list-unstyled notes-list\">
\t\t\t\t\t\t\t\t";
// line 299
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 299, $this->source); })()), "note_list", [], "any", false, false, false, 299));
foreach ($context['_seq'] as $context["_key"] => $context["special_notes"]) {
// line 300
yield "\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t<strong>";
// line 301
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["special_notes"], "bold_tag", [], "any", false, false, false, 301), "data", [], "any", false, false, false, 301), "html", null, true);
yield ":</strong>
\t\t\t\t\t\t\t\t\t\t";
// line 302
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["special_notes"], "special_note", [], "any", false, false, false, 302), "data", [], "any", false, false, false, 302), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['special_notes'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 305
yield "
\t\t\t\t\t\t\t\t";
// line 311
yield "\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--End Instruction Tab Content-->
\t\t\t\t</div>
\t\t\t\t<!--End Tab Content-->
\t\t\t</div>
\t\t</section>
\t</div>
\t";
// line 320
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 320, $this->source); })()), "detail_video", [], "any", false, false, false, 320))) {
// line 321
yield "\t\t<!-- Start video modal -->
\t\t<div class=\"modal fade video-modal\" id=\"recipevideomodal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"recipevideomodal\" aria-hidden=\"true\" data-backdrop=\"static\">
\t\t\t<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<div class=\"video-modal-box\">
\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
\t\t\t\t\t\t\t<span aria-hidden=\"true\">×</span>
\t\t\t\t\t\t</button>
\t\t\t\t\t\t<div class=\"video-modal-box-media\">
\t\t\t\t\t\t\t<figure class=\"video-modal-box-media-figure\">
\t\t\t\t\t\t\t\t<video poster=\"";
// line 331
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 331, $this->source); })()), "featured_image", [], "any", false, false, false, 331), "html", null, true);
yield "\" controls playsinline preload=\"auto\" loop=\"false\" controlslist=\"nodownload\" id=\"videoId\">
\t\t\t\t\t\t\t\t\t<source src=\"";
// line 332
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 332, $this->source); })()), "detail_video", [], "any", false, false, false, 332), "data", [], "any", false, false, false, 332), "html", null, true);
yield "\" type=\"video/mp4\">
\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t\t";
// line 339
yield "\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<!-- End video modal -->
\t";
}
// line 347
yield "\t<!--Start Ingredients and Instructions-->
\t<!--Start Instagram Section-->
\t<section class=\"social-holder\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"social-holder-box rcpe-detail\">
\t\t\t\t<div class=\"social-holder-img\">
\t\t\t\t\t<img src=\"/static/assets/images/insta-pic.jpg\" alt=\"insta pic\">
\t\t\t\t</div>
\t\t\t\t<div class=\"social-holder-info\">
\t\t\t\t\t<h5>";
// line 357
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DID YOU MAKE THIS RECIPE?"), "html", null, true);
yield "</h5>
\t\t\t\t\t<p>";
// line 358
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("We love hearing how you went with this recipes!"), "html", null, true);
yield "</p>
\t\t\t\t\t<p>";
// line 359
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tag us on Instagram at"), "html", null, true);
yield "
\t\t\t\t\t\t<a href=\"https://www.instagram.com/goodyculinarysolutions/\" target=\"_blank\">@goody_professional_solutions</a>
\t\t\t\t\t</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Instagram Section-->
\t<!--Start Menu Builder Tool-->
\t<section class=\"info-media loyalty-program menu-builder-tool loyalty-program-inner\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>";
// line 372
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tools for you"), "html", null, true);
yield "</h5>
\t\t\t\t<h4>";
// line 373
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Get the right menu"), "html", null, true);
yield "</h4>
\t\t\t\t<h3>";
// line 374
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ideas and right cost"), "html", null, true);
yield "</h3>
\t\t\t\t<p>";
// line 375
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Make your menu options more profitable."), "html", null, true);
yield "</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"newsletter-subscribe \">
\t\t\t\t\t\t<h4 class=\"cstsmLP\">\"";
// line 380
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming Soon"), "html", null, true);
yield "\"</h4>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"btn-border d-none\">
\t\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-black\">";
// line 383
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming soon"), "html", null, true);
yield "</a>
\t\t\t\t\t\t";
// line 385
yield "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"media-section media-shadow\">
\t\t\t\t<img src=\"/static/assets/images/Recipe_Menu_Builder_875x550.jpg\" alt=\"Recipe Menu Builder\">
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Menu Builder Tool-->
\t<!--Start Similar Recipes Section-->
\t";
// line 396
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["similar_recipes"]) || array_key_exists("similar_recipes", $context) ? $context["similar_recipes"] : (function () { throw new RuntimeError('Variable "similar_recipes" does not exist.', 396, $this->source); })())) > 0)) {
// line 397
yield "\t\t<section class=\"featured-recipes-section inner-featured-recipe similar-recipes recipe-detail-similer\">
\t\t\t<div class=\"container container-sm\">
\t\t\t\t<h2 class=\"heading\">";
// line 399
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Similar-Recipes"), "html", null, true);
yield "</h2>
\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t<div class=\"featured-recipes-slider\">
\t\t\t\t\t\t";
// line 402
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["similar_recipes"]) || array_key_exists("similar_recipes", $context) ? $context["similar_recipes"] : (function () { throw new RuntimeError('Variable "similar_recipes" does not exist.', 402, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Similar_recipes"]) {
// line 403
yield "\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 405
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "url", [], "any", false, false, false, 405), "html", null, true);
yield "\" tabindex=\"0\">
\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 408
yield "\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "featured_image", [], "any", false, false, false, 408)) {
// line 409
yield "\t\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "featured_image", [], "any", false, false, false, 409), "thumbnail", ["354x244"], "method", false, false, false, 409), "getHTML", [["imgAttributes" => ["class" => "", "alt" => CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "name", [], "any", false, false, false, 409)]]], "method", false, false, false, 409);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 411
yield "\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "banner_video", [], "any", false, false, false, 411)) {
// line 412
yield "\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 414
yield "\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 417
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "url", [], "any", false, false, false, 417), "html", null, true);
yield "\" tabindex=\"0\">
\t\t\t\t\t\t\t\t\t\t\t<h3>";
// line 418
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "name", [], "any", false, false, false, 418), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<p>";
// line 420
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "short_description", [], "any", false, false, false, 420), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t\t\t\t<ul
\t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 424
yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 425
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 426
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "serves", [], "any", false, false, false, 426), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">";
// line 427
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "typeofmeal", [], "any", false, false, false, 427)), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 431
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_recipes"], "url", [], "any", false, false, false, 431), "html", null, true);
yield "\" class=\"btn btn-custom btn-primary\" tabindex=\"0\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipe"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['Similar_recipes'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 436
yield "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t";
}
// line 441
yield "\t<!--End Similar Recipes Section-->
";
// line 442
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 442, $this->source); })()), "tags", [], "any", false, false, false, 442)) > 0)) {
// line 443
yield "\t<!--Start Tag Section-->
\t<section class=\"tag-section\">
\t\t<div class=\"container container-sm\">
\t\t\t<h2 class=\"heading\">";
// line 446
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tags"), "html", null, true);
yield "</h2>
\t\t\t<ul class=\"list-unstyled tag-list\">
\t\t\t\t";
// line 448
$context["count"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 448, $this->source); })()), "tags", [], "any", false, false, false, 448);
// line 449
yield "\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 449, $this->source); })())) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
// line 450
yield "\t\t\t\t\t";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 450, $this->source); })())) > 0)) {
// line 451
yield "\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t<a href=\"/en/searchrecipe?tag_id=";
// line 452
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 452, $this->source); })()), "tags", [], "any", false, false, false, 452), $context["j"], [], "array", false, false, false, 452), "id", [], "any", false, false, false, 452), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 452, $this->source); })()), "tags", [], "any", false, false, false, 452), $context["j"], [], "array", false, false, false, 452), "tag_name", [], "any", false, false, false, 452), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t";
}
// line 455
yield "\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['j'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 456
yield "\t\t\t</ul>
\t\t</div>
\t</section>
\t<!--End Tag Section-->
\t";
}
// line 461
yield "
\t<!--Start Comments Section-->
\t<section class=\"comment-section\">
\t\t<div class=\"container container-sm\">
\t\t\t<div
\t\t\t\tclass=\"comment-section-box\">
\t\t\t\t<!--Start Leave Comments-->
\t\t\t\t<div class=\"leave-comment\">
\t\t\t\t\t<div class=\"leave-comment-header\">
\t\t\t\t\t\t<h5>";
// line 470
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Leave a Comment"), "html", null, true);
yield "</h5>
\t\t\t\t\t\t<p>";
// line 471
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cooked this recipe? Comment and rate this recipe!"), "html", null, true);
yield "</p>
\t\t\t\t\t\t<p>";
// line 472
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Earn reward points for your interaction."), "html", null, true);
yield "</p>
\t\t\t\t\t</div>
\t\t\t\t\t<form action=\"/review\" method=\"post\" id = \"submitFormRecipeComment\">
\t\t\t\t\t\t<div class=\"custom-form leave-comment-form\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">";
// line 480
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Name"), "html", null, true);
yield ":</label>
\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"name\" required=\"\"/>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">";
// line 484
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email"), "html", null, true);
yield ":</label>
\t\t\t\t\t\t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" required=\"\"/>
\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"recipe_id\" value=\"";
// line 486
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 486, $this->source); })()), "id", [], "any", false, false, false, 486), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"recipe_url\" value=\"";
// line 487
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 487, $this->source); })()), "url", [], "any", false, false, false, 487), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"locale\" value=\"";
// line 488
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 488, $this->source); })()), "request", [], "any", false, false, false, 488), "locale", [], "any", false, false, false, 488), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t\t<div class=\"form-group form-group-textarea\">
\t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">";
// line 493
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comment"), "html", null, true);
yield ":</label>
\t\t\t\t\t\t\t\t\t\t<textarea class=\"form-control\" name=\"comment\" required=\"\"></textarea>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"form-group form-inline\">
\t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">";
// line 497
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rating"), "html", null, true);
yield ":</label>
\t\t\t\t\t\t\t\t\t\t<fieldset class=\"rating rating-md\">
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar5\" name=\"addreviewrating\" value=\"5\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar5\" title=\"5 stars\"></label>
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar4\" name=\"addreviewrating\" value=\"4\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar4\" title=\" 4 stars\"></label>
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar3\" name=\"addreviewrating\" value=\"3\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar3\" title=\"3 stars\"></label>
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar2\" name=\"addreviewrating\" value=\"2\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar2\" title=\"2 stars\"></label>
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar1\" name=\"addreviewrating\" value=\"1\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar1\" title=\"1 star\"></label>
\t\t\t\t\t\t\t\t\t\t</fieldset>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"mandatory-text\">
\t\t\t\t\t\t\t\t<p>";
// line 518
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your email address will not be published."), "html", null, true);
yield "
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t<p>";
// line 520
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("All fields are mandatory."), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"checkbox-holder d-none\">
\t\t\t\t\t\t\t\t<input class=\"styled-checkbox\" id=\"notify\" type=\"checkbox\" value=\"notify\" checked>
\t\t\t\t\t\t\t\t<label for=\"notify\">";
// line 525
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Notify me via e-mail if anyone answers my comment."), "html", null, true);
yield "</label>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<span class=\"recaptcha text-danger error-color\"></span>
\t\t\t\t\t\t\t";
// line 528
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 528, $this->source); })()), "request", [], "any", false, false, false, 528), "getSchemeAndHttpHost", [], "method", false, false, false, 528) == "https://goodyculinaire.com")) {
// line 529
yield "\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LeRqBEeAAAAAPqLUIzSnAM5EmZrgsPgzf4zLI7P\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 530
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 530, $this->source); })()), "request", [], "any", false, false, false, 530), "getSchemeAndHttpHost", [], "method", false, false, false, 530) == "https://gfs2.centric.ae")) {
// line 531
yield "\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LdxNsAgAAAAAKdxceNtgNjH6TlrgstHJ-N-zH6C\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 532
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 532, $this->source); })()), "request", [], "any", false, false, false, 532), "getSchemeAndHttpHost", [], "method", false, false, false, 532) == "https://goodycs.com")) {
// line 533
yield "\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6Le5OcAgAAAAANCPxYj-Tufd8ooE9d92HvhQNyac\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t";
}
// line 535
yield "\t\t\t\t\t\t\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
\t\t\t\t\t\t\t<div><span class=\"alert-message text-dark\"></span></div>
\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t\t<button class=\"btn btn-custom btn-green\">";
// line 538
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Submit"), "html", null, true);
yield "</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t\t<!--End Leave Comments-->
\t\t\t\t<!--Start Comments List-->
\t\t\t\t<div class=\"comments-list\">
\t\t\t\t\t<div class=\"row new_div\">
\t\t\t\t\t\t";
// line 550
$context["ratingcount"] = 0;
// line 551
yield "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["review"]) || array_key_exists("review", $context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.', 551, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["reviews"]) {
// line 552
yield "\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t<div class=\"comment-list-box\">
\t\t\t\t\t\t\t\t\t<div class=\"comment-list-box-header\">
\t\t\t\t\t\t\t\t\t\t<figure class=\"person-img\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/user-icon-01.png\" alt=\"user icon\">
\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t<h5>";
// line 558
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "name", [], "any", false, false, false, 558), "html", null, true);
yield "</h5>
\t\t\t\t\t\t\t\t\t\t<div class=\"rating\">";
// line 559
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "rating", [], "any", false, false, false, 559), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<p>";
// line 561
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "comment", [], "any", false, false, false, 561), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t\t\t<div class=\"date\">";
// line 562
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "mydate", [], "any", false, false, false, 562), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 565
if ((CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "rating", [], "any", false, false, false, 565) > 0)) {
// line 566
yield "\t\t\t\t\t\t\t\t";
$context["ratingcount"] = ((isset($context["ratingcount"]) || array_key_exists("ratingcount", $context) ? $context["ratingcount"] : (function () { throw new RuntimeError('Variable "ratingcount" does not exist.', 566, $this->source); })()) + 1);
// line 567
yield "
\t\t\t\t\t\t\t";
}
// line 569
yield "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['reviews'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 570
yield "\t\t\t\t\t</div>
\t\t\t\t\t";
// line 571
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["review"]) || array_key_exists("review", $context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.', 571, $this->source); })())) >= 3)) {
// line 572
yield "\t\t\t\t\t\t<div class=\"load-more\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-outline btn-loadX btn-green\" onclick=\"loadMoreRecipeReviews()\" id=\"load-more\">";
// line 573
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Load more"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t<!-- btn-load >> This is the class for showing loader gif -->
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 577
yield "\t\t\t\t</div>
\t\t\t\t<!--End Comments List-->
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--Start Wrapper-->
\t<!--End Wrapper-->
\t\t<script>
\t\t\t//console.log(window.location.href)
\t\t\t\$(\"#submitFormRecipeComment\").submit(function (event) {
\t\t\tevent.preventDefault();
\t\t\tvar post_url = \$(this).attr(\"action\"); // get form action url
\t\t\tvar request_method = \$(this).attr(\"method\"); // get form GET/POST method
\t\t\t
\t\t\tform_data = new FormData(this);
\t\t\t\$.ajax({
\t\t\turl: post_url,
\t\t\ttype: request_method,
\t\t\tdata: form_data,
\t\t\tcontentType: false,
\t\t\tcache: false,
\t\t\tprocessData: false,
\t\t\tsuccess: function (response) {
\t\t\tif (response.success == 2) {
\t\t\t\t\t
\t\t\tdocument.getElementById('submitFormRecipeComment').reset();
\t\t
\t\t\t\$('.alert-message').removeClass('text-dark').addClass('text-success').html('";
// line 608
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Thank you for your feedback."), "html", null, true);
yield "');
\t\t\t\$('#submitForm').trigger(\"reset\");
\t\t\t\$(\".alert-message\").delay(5000).slideUp(500);
\t\t\t}else if (response.success == 1){
\t\t\tdocument.getElementById('submitFormRecipeComment').reset();
\t\t\t\$('.alert-message').removeClass('text-dark').addClass('text-danger').html('";
// line 613
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please check the the captcha form."), "html", null, true);
yield "');
\t\t\t\$('#submitForm').trigger(\"reset\");
\t\t\t\$(\".alert-message\").delay(5000).slideUp(500);
\t\t\t} else {
\t\t\tdocument.getElementById('submitFormRecipeComment').reset();
\t\t\t\$('.alert-message').html('Oops! Please try again something went wrong');
\t\t\t}
\t\t\t}
\t\t\t});
\t\t\t});
\t\t// Download and Print Recipe According to serving ingerident quantity srart\t
\t\t\$(document).ready(function () {
\t\t\tvar serving = parseInt(\$('.serving').val(), 10);
\t\t\t\$(\"a.directions-link\").each(function() {
\t\t\t\tvar \$this = \$(this);
\t\t\t\tconst _href = \$this.attr(\"href\");
\t\t\t \t\$(\"#valuechange\").on('keyup change', function () {
\t\t\t\t var countTxt = parseInt(\$('.count').val(), 10);
\t\t\t\t\$(\".directions-link\").attr(\"href\", _href+\"~portion=\"+countTxt);
\t\t\t\t});
\t\t\t\t\$(\".directions-link\").attr(\"href\", _href+\"~portion=\"+serving);
\t\t\t\tconsole.log(countTxt);
\t\t});
\t\t});
\t\t// Download and Print Recipe According to serving ingerident quantity end\t
\t\t\t
\t\t</script>
\t<!-- End Modal Attribute -->
\t\t";
// line 650
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 650, $this->source); })()), "request", [], "any", false, false, false, 650), "locale", [], "any", false, false, false, 650) == "ar")) {
// line 651
yield "\t\t";
$context["topMenu"] = ("/en/all-recipes/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 651, $this->source); })()), "url", ["en"], "method", false, false, false, 651));
// line 652
yield "\t";
} else {
// line 653
yield "\t\t";
$context["topMenu"] = ("/ar/all-recipes/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 653, $this->source); })()), "url", ["ar"], "method", false, false, false, 653));
// line 654
yield "\t";
}
// line 655
yield "\t<!--End Comments Section-->
\t
\t\t<script type=\"text/javascript\">
\t\t\t\tvar _TopMenuLink = \"";
// line 658
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.', 658, $this->source); })()), "html", null, true);
yield "\";
\t\t\t\tlet page = 1;
\t\t\t\tfunction loadMoreRecipeReviews() {
\t\t\t\tlet add_query = '&';
\t\t\t\tif (!window.location.search) {
\t\t\t\tadd_query = '?';
\t\t\t\t}
\t\t\t\t\$.ajax({
\t\t\t\ttype: \"GET\",
\t\t\t\turl: window.location.href + add_query + 'page=' + page,
\t\t\t\tdata: '',
\t\t\t\tcache: false,
\t\t\t\tbeforeSend: function () {
\t\t\t\t\$('.btn-loadX').addClass('btn-load');
\t\t\t\t\$('.btn-loadX').html('Loading...');
\t\t\t\t},
\t\t\t\tcomplete: function () {
\t\t\t\t\$('.btn-loadX').removeClass('btn-load');
\t\t\t\t\$('.btn-loadX').html('Load more');
\t\t\t\t},
\t\t\t\tsuccess: function (data) {
\t\t\t\tif (data.success) {
\t\t\t\t\$('.new_div').append(data.success);
\t\t\t\tpage++;
\t\t\t\t}
\t\t\t\tif (data.success == '' || data.total_reviews < 2) {
\t\t\t\t\$('.btn-loadX').hide();
\t\t\t\t}
\t\t\t\t// else if(data.success == ''){
\t\t\t\t// \$('.btn-loadX').hide();
\t\t\t\t// }
\t\t\t\t}
\t\t\t\t});
\t\t\t\t}
\t\t\t\t// function pausemodal(recipeid) {
\t\t\t\t// console.log(recipeid);
\t\t\t\t// \$('#videoId' + recipeid).trigger('pause');
\t\t\t\t// }
\t\t\t\t// function playany(recipeid) {
\t\t\t\t// console.log(recipeid);
\t\t\t\t// \$('#videoId' + recipeid).trigger('pause');
\t\t\t\t// \$('#videoId'+recipeid).trigger('play');
\t\t\t\t// }
\t\t</script>
\t<!-- This section is used for seo purpose please do not remove any line within this commented section -->
\t";
// line 709
$context["schemasteps"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 709, $this->source); })()), "steps", [], "any", false, false, false, 709);
// line 710
yield "\t<script type=\"application/ld+json\">
\t\t{
\t\t\t\"@context\": \"https://schema.org/\",
\t\t\t\"@type\": \"Recipe\",
\t\t\t\"name\": \"";
// line 714
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 714, $this->source); })()), "name", [], "any", false, false, false, 714), "html", null, true);
yield "\",
\t\t";
// line 715
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["recipedetails"] ?? null), "featured_image", [], "any", true, true, false, 715) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["recipedetails"] ?? null), "featured_image", [], "any", false, true, false, 715), "path", [], "any", true, true, false, 715))) {
// line 716
yield "\t\t\t\"image\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 716, $this->source); })()), "request", [], "any", false, false, false, 716), "getSchemeAndHttpHost", [], "method", false, false, false, 716) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 716, $this->source); })()), "featured_image", [], "any", false, false, false, 716), "path", [], "any", false, false, false, 716)) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 716, $this->source); })()), "featured_image", [], "any", false, false, false, 716), "filename", [], "any", false, false, false, 716)), "html", null, true);
yield "\",
\t\t";
}
// line 718
yield "\t\t\"description\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 718, $this->source); })()), "description", [], "any", false, false, false, 718), "html", null, true);
yield "\",
\t\t";
// line 719
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 719, $this->source); })()), "recipes_schema_markup_keywords", [], "any", false, false, false, 719))) {
// line 720
yield "\t\t\t\"keywords\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 720, $this->source); })()), "recipes_schema_markup_keywords", [], "any", false, false, false, 720), "html", null, true);
yield "\",
\t\t";
}
// line 722
yield "\t\t\"author\": {
\t\t\t\t\"@type\": \"Person\",
\t\t\t\t\"name\": \"";
// line 724
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 724, $this->source); })()), "Chef", [], "any", false, false, false, 724), "html", null, true);
yield "\"
\t\t\t\t},
\t\t\t\t\"datePublished\": \"";
// line 726
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 726, $this->source); })()), "modificationDate", [], "any", false, false, false, 726), "Y-m-d"), "html", null, true);
yield "\",
\t\t\t\t\"prepTime\": \"\",
\t\t\t\t\"cookTime\": \"PT50M\",
\t\t\t\t\"totalTime\": \"PT50M\",
\t\t\t\t\"recipeCategory\": \"";
// line 730
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 730, $this->source); })()), "typeofmeal", [], "any", false, false, false, 730), "html", null, true);
yield "\",
\t\t\t\t\"recipeCuisine\": \"";
// line 731
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 731, $this->source); })()), "cuisine", [], "any", false, false, false, 731), "html", null, true);
yield "\",
\t\t\t\t\"recipeYield\": \"4\",
\t\t\t\"nutrition\": {
\t\t\t\t\t\"@type\": \"NutritionInformation\",
\t\t\t\t\t\"calories\": \"\"
\t\t\t\t}
\t\t";
// line 737
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["recipedetails"] ?? null), "serving_options", [], "any", false, true, false, 737), "Items", [], "any", true, true, false, 737)) {
yield ",
\t\t\t\t\"recipeIngredient\": [
\t\t\t";
// line 739
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 739, $this->source); })()), "serving_options", [], "any", false, false, false, 739), "Items", [], "any", false, false, false, 739)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 740
yield "\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 740, $this->source); })()), "serving_options", [], "any", false, false, false, 740), "Items", [], "any", false, false, false, 740), $context["i"], [], "array", false, false, false, 740), "ingredeints", [], "any", false, false, false, 740)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
// line 741
yield "\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 741, $this->source); })()), "request", [], "any", false, false, false, 741), "locale", [], "any", false, false, false, 741) == "en")) {
// line 742
yield "\t\t\t\t\t\t\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 742, $this->source); })()), "serving_options", [], "any", false, false, false, 742), "Items", [], "any", false, false, false, 742), $context["i"], [], "array", false, false, false, 742), "ingredeints", [], "any", false, false, false, 742), $context["j"], [], "array", false, false, false, 742), "ingredient", [], "array", false, false, false, 742), "data", [], "any", false, false, false, 742), "html", null, true);
yield "
\t\t\t\t\t\t";
// line 743
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 743, $this->source); })()), "serving_options", [], "any", false, false, false, 743), "Items", [], "any", false, false, false, 743), $context["i"], [], "array", false, false, false, 743), "ingredeints", [], "any", false, false, false, 743), $context["j"], [], "array", false, false, false, 743), "multiply", [], "array", false, false, false, 743), "data", [], "any", false, false, false, 743), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 743, $this->source); })()), "serving_options", [], "any", false, false, false, 743), "Items", [], "any", false, false, false, 743), $context["i"], [], "array", false, false, false, 743), "ingredeints", [], "any", false, false, false, 743), $context["j"], [], "array", false, false, false, 743), "unit", [], "array", false, false, false, 743), "data", [], "any", false, false, false, 743), "html", null, true);
yield "\"
\t\t\t\t\t\t";
// line 744
if (($context["j"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 744, $this->source); })()), "serving_options", [], "any", false, false, false, 744), "Items", [], "any", false, false, false, 744), $context["i"], [], "array", false, false, false, 744), "ingredeints", [], "any", false, false, false, 744)) - 1))) {
yield ",
\t\t\t\t\t\t";
}
// line 746
yield "\t\t\t\t\t";
} else {
// line 747
yield "\t\t\t\t\t\t\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 747, $this->source); })()), "serving_options", [], "any", false, false, false, 747), "Items", [], "any", false, false, false, 747), $context["i"], [], "array", false, false, false, 747), "ingredeints", [], "any", false, false, false, 747), $context["j"], [], "array", false, false, false, 747), "ingredient_ar", [], "array", false, false, false, 747), "data", [], "any", false, false, false, 747), "html", null, true);
yield "
\t\t\t\t\t\t";
// line 748
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 748, $this->source); })()), "serving_options", [], "any", false, false, false, 748), "Items", [], "any", false, false, false, 748), $context["i"], [], "array", false, false, false, 748), "ingredeints", [], "any", false, false, false, 748), $context["j"], [], "array", false, false, false, 748), "multiply", [], "array", false, false, false, 748), "data", [], "any", false, false, false, 748), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 748, $this->source); })()), "serving_options", [], "any", false, false, false, 748), "Items", [], "any", false, false, false, 748), $context["i"], [], "array", false, false, false, 748), "ingredeints", [], "any", false, false, false, 748), $context["j"], [], "array", false, false, false, 748), "unit_ar", [], "array", false, false, false, 748), "data", [], "any", false, false, false, 748), "html", null, true);
yield "\"
\t\t\t\t\t\t";
// line 749
if (($context["j"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 749, $this->source); })()), "serving_options", [], "any", false, false, false, 749), "Items", [], "any", false, false, false, 749), $context["i"], [], "array", false, false, false, 749), "ingredeints", [], "any", false, false, false, 749)) - 1))) {
yield ",
\t\t\t\t\t\t";
}
// line 751
yield "
\t\t\t\t\t";
}
// line 753
yield "\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['j'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 754
yield "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['i'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 755
yield "
\t\t\t]
\t\t";
}
// line 758
yield "\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["recipedetails"] ?? null), "steps", [], "any", true, true, false, 758)) {
yield ",
\t\t\t\"recipeInstructions\": [
\t\t\t";
// line 760
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 760, $this->source); })()), "steps", [], "any", false, false, false, 760)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
yield "{
\t\t\t\t";
// line 761
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["recipedetails"] ?? null), "steps", [], "any", false, true, false, 761), $context["i"], [], "array", true, true, false, 761)) {
// line 762
yield "\t\t\t\t\t\"@type\": \"HowToStep\",
\t\t\t\t\t\"text\": \"";
// line 763
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 763, $this->source); })()), "steps", [], "any", false, false, false, 763), $context["i"], [], "array", false, false, false, 763), "localizedfields", [], "any", false, false, false, 763), "data", [], "any", false, false, false, 763), "getLocalizedValue", ["description"], "method", false, false, false, 763), "html", null, true);
yield "\"
\t\t\t\t\t";
}
// line 765
yield "\t\t\t\t\t}
\t\t\t\t";
// line 766
if (($context["i"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 766, $this->source); })()), "steps", [], "any", false, false, false, 766)) - 1))) {
yield ",
\t\t\t\t";
}
// line 768
yield "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['i'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield "]
\t\t";
}
// line 769
yield ",
\t\t\t\t\"video\": {
\t\t\t\t\t\t\t\"@type\": \"VideoObject\",
\t\t\t\t\t\t\t";
// line 772
if (array_key_exists("recipedetails", $context)) {
// line 773
yield "\t\t\t\t\t\t\t\"name\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 773, $this->source); })()), "name", [], "any", false, false, false, 773), "html", null, true);
yield "\",
\t\t\t\t\t\t\t\"description\": \"";
// line 774
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 774, $this->source); })()), "description", [], "any", false, false, false, 774), "html", null, true);
yield "\",
\t\t\t\t\t\t\t";
// line 775
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["recipedetails"] ?? null), "featured_image", [], "any", false, true, false, 775), "path", [], "any", true, true, false, 775)) {
// line 776
yield "\t\t\t\t\t\t\t\"thumbnailUrl\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 776, $this->source); })()), "request", [], "any", false, false, false, 776), "getSchemeAndHttpHost", [], "method", false, false, false, 776) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 776, $this->source); })()), "featured_image", [], "any", false, false, false, 776), "path", [], "any", false, false, false, 776)) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 776, $this->source); })()), "featured_image", [], "any", false, false, false, 776), "filename", [], "any", false, false, false, 776)), "html", null, true);
yield "\",
\t\t\t\t\t\t\t";
}
// line 778
yield "\t\t\t\t\t\t\t\"uploadDate\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 778, $this->source); })()), "modificationDate", [], "any", false, false, false, 778), "Y-m-d"), "html", null, true);
yield "\",
\t\t\t\t\t\t\t\"contentUrl\": \"";
// line 779
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 779, $this->source); })()), "request", [], "any", false, false, false, 779), "getSchemeAndHttpHost", [], "method", false, false, false, 779) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 779, $this->source); })()), "request", [], "any", false, false, false, 779), "locale", [], "any", false, false, false, 779)) . "/all-recipes/") . CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 779, $this->source); })()), "url", [], "any", false, false, false, 779)), "html", null, true);
yield "\",
\t\t\t\t\t\t\t";
}
// line 781
yield "\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["recipedetails"] ?? null), "detail_video", [], "any", false, true, false, 781), "data", [], "any", true, true, false, 781)) {
// line 782
yield "\t\t\t\"embedUrl\": \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 782, $this->source); })()), "request", [], "any", false, false, false, 782), "getSchemeAndHttpHost", [], "method", false, false, false, 782) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 782, $this->source); })()), "detail_video", [], "any", false, false, false, 782), "data", [], "any", false, false, false, 782), "path", [], "any", false, false, false, 782)) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails", $context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.', 782, $this->source); })()), "detail_video", [], "any", false, false, false, 782), "data", [], "any", false, false, false, 782), "filename", [], "any", false, false, false, 782)), "html", null, true);
yield "\"
\t\t";
} else {
// line 784
yield "\t\t\t\"embedUrl\": \"Video not available\"
\t\t";
}
// line 786
yield "\t\t}
\t\t";
// line 787
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["review"]) || array_key_exists("review", $context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.', 787, $this->source); })())) > 1)) {
// line 788
yield "\t\t\t\"aggregateRating\": {
\t\t\t\t\"@type\": \"AggregateRating\",
\t\t\t\t\"ratingValue\": \"";
// line 790
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 790, $this->source); })()), "html", null, true);
yield "\",
\t\t\t\t\"bestRating\": \"5\",
\t\t\t\t\"worstRating\": \"1\",
\t\t\t\t\"ratingCount\": \"";
// line 793
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["ratingcount"]) || array_key_exists("ratingcount", $context) ? $context["ratingcount"] : (function () { throw new RuntimeError('Variable "ratingcount" does not exist.', 793, $this->source); })()), "html", null, true);
yield "\",
\t\t\t\t\"reviewCount\": \"";
// line 794
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["review"]) || array_key_exists("review", $context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.', 794, $this->source); })())), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t},
\t\t\t";
// line 796
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["review"]) || array_key_exists("review", $context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.', 796, $this->source); })()));
foreach ($context['_seq'] as $context["keys"] => $context["reviews"]) {
// line 797
yield "\t\t\t\t\"review\": {
\t\t\t\t\t\"@type\": \"Review\",
\t\t\t\t\t\"name\": \"";
// line 799
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "name", [], "any", false, false, false, 799), "html", null, true);
yield "\",
\t\t\t\t\t\"reviewBody\": \"";
// line 800
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "comment", [], "any", false, false, false, 800), "html", null, true);
yield "\",
\t\t\t\t\t\"reviewRating\": {
\t\t\t\t\t\t\"@type\": \"Rating\",
\t\t\t\t\t\t\"ratingValue\": \"";
// line 803
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "rating", [], "any", false, false, false, 803), "html", null, true);
yield "\",
\t\t\t\t\t\t\"bestRating\": \"5\",
\t\t\t\t\t\t\"worstRating\": \"1\"
\t\t\t\t\t},
\t\t\t\t\t\"datePublished\": \"";
// line 807
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "mydate", [], "any", false, false, false, 807), "html", null, true);
yield "\",
\t\t\t\t\t\"author\": {\"@type\": \"Person\", \"";
// line 808
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reviews"], "name", [], "any", false, false, false, 808), "html", null, true);
yield "\": \"man\"},
\t\t\t\t\t\"publisher\": {\"@type\": \"Organization\", \"name\": \"goody\"}}
\t\t\t\t";
// line 810
if (($context["keys"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["review"]) || array_key_exists("review", $context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.', 810, $this->source); })())) - 1))) {
// line 811
yield "\t\t\t\t\t,
\t\t\t\t";
}
// line 813
yield "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['keys'], $context['reviews'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 814
yield "\t\t";
}
// line 815
yield "\t\t}
\t</script>
\t<!-- This section is used for seo purpose please do not remove any line within this commented section end -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Recipes/reciepedetails.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 1696 => 815, 1693 => 814, 1687 => 813, 1683 => 811, 1681 => 810, 1676 => 808, 1672 => 807, 1665 => 803, 1659 => 800, 1655 => 799, 1651 => 797, 1647 => 796, 1642 => 794, 1638 => 793, 1632 => 790, 1628 => 788, 1626 => 787, 1623 => 786, 1619 => 784, 1613 => 782, 1610 => 781, 1605 => 779, 1600 => 778, 1594 => 776, 1592 => 775, 1588 => 774, 1583 => 773, 1581 => 772, 1576 => 769, 1567 => 768, 1562 => 766, 1559 => 765, 1554 => 763, 1551 => 762, 1549 => 761, 1543 => 760, 1537 => 758, 1532 => 755, 1526 => 754, 1520 => 753, 1516 => 751, 1511 => 749, 1506 => 748, 1501 => 747, 1498 => 746, 1493 => 744, 1488 => 743, 1483 => 742, 1480 => 741, 1475 => 740, 1471 => 739, 1466 => 737, 1457 => 731, 1453 => 730, 1446 => 726, 1441 => 724, 1437 => 722, 1431 => 720, 1429 => 719, 1424 => 718, 1418 => 716, 1416 => 715, 1412 => 714, 1406 => 710, 1404 => 709, 1350 => 658, 1345 => 655, 1342 => 654, 1339 => 653, 1336 => 652, 1333 => 651, 1331 => 650, 1291 => 613, 1283 => 608, 1250 => 577, 1243 => 573, 1240 => 572, 1238 => 571, 1235 => 570, 1229 => 569, 1225 => 567, 1222 => 566, 1220 => 565, 1214 => 562, 1210 => 561, 1205 => 559, 1201 => 558, 1193 => 552, 1188 => 551, 1186 => 550, 1171 => 538, 1166 => 535, 1162 => 533, 1160 => 532, 1157 => 531, 1155 => 530, 1152 => 529, 1150 => 528, 1144 => 525, 1136 => 520, 1131 => 518, 1107 => 497, 1100 => 493, 1092 => 488, 1088 => 487, 1084 => 486, 1079 => 484, 1072 => 480, 1061 => 472, 1057 => 471, 1053 => 470, 1042 => 461, 1035 => 456, 1029 => 455, 1021 => 452, 1018 => 451, 1015 => 450, 1010 => 449, 1008 => 448, 1003 => 446, 998 => 443, 996 => 442, 993 => 441, 986 => 436, 973 => 431, 966 => 427, 962 => 426, 958 => 425, 953 => 424, 947 => 420, 942 => 418, 938 => 417, 933 => 414, 929 => 412, 926 => 411, 920 => 409, 917 => 408, 912 => 405, 908 => 403, 904 => 402, 898 => 399, 894 => 397, 892 => 396, 879 => 385, 875 => 383, 869 => 380, 861 => 375, 857 => 374, 853 => 373, 849 => 372, 833 => 359, 829 => 358, 825 => 357, 813 => 347, 803 => 339, 797 => 332, 793 => 331, 781 => 321, 779 => 320, 768 => 311, 765 => 305, 756 => 302, 752 => 301, 749 => 300, 745 => 299, 739 => 296, 735 => 294, 732 => 287, 723 => 284, 720 => 283, 715 => 282, 713 => 281, 709 => 279, 707 => 278, 703 => 276, 691 => 266, 684 => 264, 678 => 263, 671 => 258, 664 => 254, 661 => 253, 651 => 250, 648 => 249, 646 => 248, 639 => 246, 629 => 238, 626 => 237, 624 => 232, 622 => 231, 618 => 230, 613 => 229, 611 => 228, 606 => 226, 601 => 224, 595 => 223, 591 => 221, 583 => 218, 576 => 217, 574 => 216, 569 => 215, 563 => 211, 560 => 210, 552 => 207, 549 => 206, 543 => 202, 540 => 201, 537 => 200, 535 => 199, 529 => 195, 526 => 194, 523 => 193, 520 => 192, 517 => 191, 514 => 190, 511 => 189, 508 => 188, 505 => 187, 503 => 186, 500 => 185, 497 => 184, 493 => 183, 489 => 181, 477 => 175, 472 => 173, 467 => 172, 461 => 170, 459 => 169, 456 => 168, 452 => 166, 448 => 164, 444 => 163, 437 => 160, 433 => 159, 426 => 155, 420 => 152, 414 => 149, 401 => 139, 393 => 136, 391 => 135, 387 => 134, 365 => 116, 362 => 115, 351 => 112, 348 => 111, 346 => 110, 341 => 109, 339 => 108, 332 => 106, 324 => 103, 315 => 96, 307 => 91, 304 => 90, 301 => 89, 297 => 87, 291 => 80, 286 => 79, 283 => 78, 277 => 76, 274 => 75, 272 => 74, 270 => 73, 263 => 68, 258 => 66, 250 => 65, 242 => 64, 234 => 63, 228 => 61, 222 => 58, 214 => 57, 205 => 56, 194 => 47, 186 => 46, 183 => 45, 177 => 43, 164 => 40, 162 => 39, 159 => 38, 156 => 37, 154 => 36, 148 => 33, 144 => 32, 139 => 30, 135 => 29, 130 => 27, 126 => 26, 121 => 25, 118 => 23, 113 => 21, 108 => 20, 106 => 19, 101 => 18, 93 => 11, 90 => 10, 87 => 9, 84 => 8, 81 => 7, 79 => 6, 76 => 5, 63 => 4, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/layout.html.twig\" %}
{# {% block title %}GFS::Recipe {{ recipedetails.name}}{% endblock %} #}
{% block content %}
\t{% if app.request.locale == 'en' %}
\t\t{% set weblink ='en' %}
\t{% else %}
\t\t{% set weblink ='ar' %}
\t{% endif %}
\t<div>
\t\t<!--Start Recipe Top Download-->
\t\t<section class=\"info-media media-bg-left recipe-detail-download new-recipe-detail recipe-detail-edited-add\">
\t\t\t<div class=\"container container-sm\">
\t\t\t\t<div class=\"mobile_flex\">
\t\t\t\t<div class=\"info-section recipe-info__puesdo\">
\t\t\t\t\t{# <h4>The awesome</h4> #}
\t\t\t\t\t<h1>{{ recipedetails.name}}</h1>
\t\t\t\t\t{% if recipedetails.Chef %}
\t\t\t\t\t\t<h6 class=\"resource-name\">{{'by'|trans}}
\t\t\t\t\t\t\t{{ recipedetails.Chef}}</h6>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t\t\t{# <li class=\"mins\">{{ recipedetails.time}} {{\"mins\"|trans }}</li> #}
\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}
\t\t\t\t\t\t\t{{'Serving'|trans}}
\t\t\t\t\t\t\t{{ recipedetails.serves}}</li>
\t\t\t\t\t\t<li class=\"time\">{{ recipedetails.typeofmeal|trans}}</li>
\t\t\t\t\t\t<li class=\"rating\">{{rating}}</li>
\t\t\t\t\t</ul>
\t\t\t\t\t<p>{{recipedetails.description}}</p>
\t\t\t\t\t<p id=\"content\" class=\"d-none\">{{recipedetails.short_description}}</p>
\t\t\t\t\t<ul class=\"list-unstyled social-info recipe-info\">
\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t{% if Liked|length == 0 %}
\t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this, {{ recipedetails.id }},'{{ recipedetails.name }}',30,'Recipe','Like' , '{{app.request.locale}}')\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<li class=\"liked\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<li class=\"share recipeshare\" onclick=\"loyaltyProgram(this,{{ recipedetails.id }},'{{ recipedetails.name }}',50,'Recipe','Share', '{{app.request.locale}}')\">
\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Recipe','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/all-recipes/' ~ recipedetails.url}}' , '{{ \" share goody recipe with your friends\"|trans }}')\">{{'Share'|trans}}</span>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{# {% if Shared|length == 0 %}
\t\t\t\t\t\t\t\t<li class=\"share recipeshare\" onclick = \"loyaltyProgram({{ recipedetails.id }},'{{ recipedetails.name }}',50,'Recipe','Share')\">Share</li>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<li class=\"share\">Shared</li>
\t\t\t\t\t\t\t{% endif %} #}
\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/{{app.request.locale}}/print/recipe/{{recipedetails.url}}\"><li class=\"download-blue\" id=\"download\">{{'Download'|trans}}</li></a>
\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/{{app.request.locale}}/print/recipe/{{recipedetails.url}}\"><li class=\"print-blue\" id=\"pdfprnt\">{{'Print'|trans}}</li></a>
\t\t\t\t\t\t\t<li class=\"menu-blue d-none\">{{'Add To Menu'|trans}}</li>
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t<li class=\"like logged-out\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Recipe','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/all-recipes/' ~ recipedetails.url}}' , '{{ \" share goody recipe with your friends\"|trans }}')\">{{'Share'|trans}}</li></a>
\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/{{app.request.locale}}/print/recipe/{{recipedetails.url}}\"><li class=\"download-blue\" id=\"download\">{{'Download'|trans}}</li></a>
\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/{{app.request.locale}}/print/recipe/{{recipedetails.url}}\"><li class=\"print-blue\" id=\"pdfprnt\">{{'Print'|trans}}</li></a>
\t\t\t\t\t\t\t<li class=\"menu-blue d-none\">{{'Add To Menu'|trans}}</li>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</ul>
\t\t\t\t</div>
\t\t\t\t<div class=\"media-section media-section-01\">
\t\t\t\t\t{% if recipedetails.banner_video is empty %}
\t\t\t\t\t\t{# <img src=\"{{recipedetails.featured_image}}\" alt=\"{{recipedetails.name}}\"> #}
\t\t\t\t\t\t{% if recipedetails.featured_image %}
\t\t\t\t\t\t{{ recipedetails.featured_image.thumbnail('858x592').getHTML({imgAttributes: {class:'',alt:\"Feature Image\" }})|raw }}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% else %}
\t\t\t\t\t\t<video poster=\"{{ recipedetails.featured_image }}\" playsinline preload=\"auto\" loop=\"true\" autoplay=\"true\" muted=\"true\" controlslist=\"nodownload\">
\t\t\t\t\t\t\t<source src=\"{{ recipedetails.banner_video.data}}\" type=\"video/mp4\">
\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t</video>
\t\t\t\t\t\t{# <div class=\"control-options\">
\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t<i class=\"fas fa-pause-circle\"></i>
\t\t\t\t\t\t</div> #}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if recipedetails.detail_video is not empty %}
\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary\" data-toggle=\"modal\" data-target=\"#recipevideomodal\">{{'Watch Full Video'|trans}}
\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t\t
\t\t\t\t<!--Start Breadcrumbs-->
\t\t\t\t<div class=\"breadcrumb-holder breadcrumb-fixed\">
\t\t\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}\">{{ \"Home\"|trans }}</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/recipes\">{{ \"recipes\"|trans }}</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t{% if recipedetails.category|length > 0 %}
\t\t\t\t\t\t\t{% for Category in recipedetails.category %}
\t\t\t\t\t\t\t\t{# {% set usp = \"#{recipedetails.cuisine}\"|raw|upper %} #}
\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t<a href=\"/en/recipes/{{Category.cat_url}}\">{{Category.recipecategoryname}}</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ recipedetails.name}}</li>
\t\t\t\t\t</ol>
\t\t\t\t</div>
\t\t\t\t<!--End Breadcrumbs-->
\t\t\t</div>
\t\t</section>
\t\t<!--End Recipe Top Download-->
\t\t<!--Start Ingredients and Instructions-->
\t\t<section class=\"cooking-tabs\">
\t\t\t<div
\t\t\t\tclass=\"container container-sm\">
\t\t\t\t<!--Start Tab Titles-->
\t\t\t\t<ul class=\"row nav nav-pills\" id=\"cooking-tab\" role=\"tablist\">
\t\t\t\t\t<li class=\"col-md-6 col-xl-6 nav-item\" role=\"presentation\">
\t\t\t\t\t\t<a class=\"nav-link sub-sm-heading active\" id=\"ingredients-tab\" data-toggle=\"pill\" href=\"#ingredients\" role=\"tab\" aria-controls=\"ingredients\" aria-selected=\"true\">{{\"Ingredients\"|trans }}
\t\t\t\t\t\t\t{% if recipedetails.Serving_options.items[0].ingredeints is defined %}
\t\t\t\t\t\t\t{{ recipedetails.Serving_options.items[0].ingredeints|length }}{% endif %}</a>
\t\t\t\t\t</li>
\t\t\t\t\t<li class=\"col-md-6 col-xl-6 nav-item\" role=\"presentation\">
\t\t\t\t\t\t<a class=\"nav-link sub-sm-heading\" id=\"instruction-tab\" data-toggle=\"pill\" href=\"#instruction\" role=\"tab\" aria-controls=\"instruction\" aria-selected=\"false\">{{\"Instructions\"|trans }}</a>
\t\t\t\t\t</li>
\t\t\t\t</ul>
\t\t\t\t<!--End Tab Titles-->
\t\t\t\t<!--Start Tab Content-->
\t\t\t\t<div class=\"row tab-content\" id=\"cooking-tabContent\">
\t\t\t\t\t\t\t
\t\t\t\t\t<!--Start Ingredients Tab Content-->
\t\t\t\t\t\t<div class=\"col-md-6 col-xl-6 tab-pane fade show active\" id=\"ingredients\" role=\"tabpanel\" aria-labelledby=\"ingredients-tab\"> <div class=\"order-count\">
\t\t\t\t\t\t\t<div class=\"order-count-title\">{{\"Order's\"|trans}}</div>
\t\t\t\t\t\t\t<div class=\"order-count-number\">
\t\t\t\t\t\t\t\t<span class=\"minus\" id=\"minusx\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon minus\"></span>
\t\t\t\t\t\t\t\t<input class=\"count numeric-remove-spiner\" onkeypress='return event.charCode >= 48 && event.charCode <= 57' id=\"valuechange\" type=\"number\" value=\"{{ recipedetails.serves}}\"/>
\t\t\t\t\t\t\t\t<span class=\"plus\" id=\"plusx\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon plus\"></span>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<input class=\"serving d-none\" type=\"text\" value=\"{{ recipedetails.serves}}\"/>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"ingredients-holders\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t{% for ingrident in recipedetails.serving_options %}
\t\t\t\t\t\t\t\t\t<h4 class=\"title\">{{ (app.request.locale =='en') ? ingrident.serve:ingrident.serve_ar}}</h4>
\t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled content-list\">
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t{% for ing in ingrident.ingredeints %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"name capsfirstleter\">{{ (app.request.locale =='en') ? ing.ingredient.data : ing.ingredient_ar.data }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t{# <span class=\"measurement\">{% if ingredeints[i+1]['ingredeints'][j]['multiply'].data != 0 %} {{ ingredeints[i+1]['ingredeints'][j]['multiply'].data * recipedetails.serves }}{% endif %}{{ (app.request.locale =='en') ? ingredeints[i+1]['ingredeints'][j]['unit'].data : ingredeints[i+1]['ingredeints'][j]['unit_ar'].data }}</span> #}
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"measurement\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ing.multiply.data != 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ ing.multiply.data }}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{{ (app.request.locale =='en') ? ing.unit.data:ing.unit_ar.data }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"new d-none\">{{ ing.multiply.data}}
\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"unit d-none\">{{ (app.request.locale =='en') ? ing.unit.data:ing.unit_ar.data }}
\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t{% for recipe_feature_product in ingrident.recipe_feature_product %}
\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product.brands.id == 263 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-brown\" %}
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif recipe_feature_product.brands.id == 262 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-blue\" %}
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif recipe_feature_product.brands.id == 413 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-purple\" %}
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-green\" %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"product-available-box\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"product-box product-box-horizon\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product.id in Liked_Recipe_feature_product_Ids %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/Liked-01.svg\" alt=\"Liked\"></a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"loyaltyProgram(this,{{ recipe_feature_product.id }},'{{ recipe_feature_product.name }}',30,'Product','Like')\"><img src=\"/static/assets/images/like.svg\" alt=\"Like\"></a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like logged-out\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/like.svg\" alt=\"Like\"></a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img {{class}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product.attrimage.Items[0] is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{recipe_feature_product.url}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{recipe_feature_product.attrimage.Items[0]}}\" alt=\"{{recipe_feature_product.name}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{recipe_feature_product.url}}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">{{recipe_feature_product.name}}</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">{{recipe_feature_product.size}}</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"inline-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product.region[0]['price'].data is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">{{recipe_feature_product.region[0]['price'].data}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{recipe_feature_product.region[0]['currency_symbol'].data|trans}}</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set points = (((recipe_feature_product.region[0]['price'].data)/100)*10)|round %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <div class=\"award\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Earn'|trans}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{points}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}</div> #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count small-count\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count-number\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"minus\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon minus\"></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"count\" id=\"fig\" type=\"text\" value=\"1\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"plus\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon plus\"></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary add-to-cart-rcp\" onclick=\"addCart(this, {{recipe_feature_product.id}}, 1)\">{{'Add to Cart'|trans}}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.session.get('loginUserName') is not null %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder d-none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline\" onclick=\"inventoryProgram(this,{{points}},{{recipe_feature_product.id}})\">{{'Add to Inventory'|trans}}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder d-none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline recipe-logged-out\">{{'Add to Inventory'|trans}}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"recipe-inventry-alert\"></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--End Ingredients Tab Content-->
\t\t\t\t\t<!--Start Instruction Tab Content-->
\t\t\t\t\t<div class=\"col-md-6 col-xl-6 tab-pane fade\" id=\"instruction\" role=\"tabpanel\" aria-labelledby=\"instruction-tab\">
\t\t\t\t\t\t<div class=\"instructions-holder\">
\t\t\t\t\t\t\t<h5 class=\"title\">
\t\t\t\t\t\t\t\t{{'intruction_desc'|trans}}
\t\t\t\t\t\t\t{# {{'Instructions_desc'|trans}} #}
\t\t\t\t\t\t\t\t{# {{recipedetails.instructions}} #}
\t\t\t\t\t\t\t</h5>
\t\t\t\t\t\t\t<ul class=\"list-unstyled content-list\">
\t\t\t\t\t\t\t\t{% set step = recipedetails.steps %}
\t\t\t\t\t\t\t\t{% for steps in step %}
\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t{{ steps.localizedfields.data.getLocalizedValue('description')}}</li>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t{# {% if recipedetails.detail_video is not empty %}
\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary\" data-toggle=\"modal\" data-target=\"#recipevideomodal\">Watch Video <i
\t\t\t\t\t\t\t\tclass=\"fas fa-play-circle\"></i></a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %} #}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"special-notes\">
\t\t\t\t\t\t\t<h3 class=\"title\">{{'Special Notes:'|trans}}</h3>
\t\t\t\t\t\t\t<ul class=\"list-unstyled notes-list\">
\t\t\t\t\t\t\t\t{% for special_notes in recipedetails.note_list %}
\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t<strong>{{ special_notes.bold_tag.data}}:</strong>
\t\t\t\t\t\t\t\t\t\t{{ special_notes.special_note.data}}
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t{# <li><strong>Bone attachment:</strong> In order for the meat to be fork tender, it needs to be cooked far
\t\t\t\t\t\t\t\t\tenough so that
\t\t\t\t\t\t\t\t\tthe connective tissue holding the meat to the bone becomes tender. So the meat is not really attached.
\t\t\t\t\t\t\t\t\tBut if you handle it carefully, it stays together.
\t\t\t\t\t\t\t\t</li> #}
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--End Instruction Tab Content-->
\t\t\t\t</div>
\t\t\t\t<!--End Tab Content-->
\t\t\t</div>
\t\t</section>
\t</div>
\t{% if recipedetails.detail_video is not empty %}
\t\t<!-- Start video modal -->
\t\t<div class=\"modal fade video-modal\" id=\"recipevideomodal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"recipevideomodal\" aria-hidden=\"true\" data-backdrop=\"static\">
\t\t\t<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<div class=\"video-modal-box\">
\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
\t\t\t\t\t\t\t<span aria-hidden=\"true\">×</span>
\t\t\t\t\t\t</button>
\t\t\t\t\t\t<div class=\"video-modal-box-media\">
\t\t\t\t\t\t\t<figure class=\"video-modal-box-media-figure\">
\t\t\t\t\t\t\t\t<video poster=\"{{ recipedetails.featured_image}}\" controls playsinline preload=\"auto\" loop=\"false\" controlslist=\"nodownload\" id=\"videoId\">
\t\t\t\t\t\t\t\t\t<source src=\"{{ recipedetails.detail_video.data}}\" type=\"video/mp4\">
\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t\t{# <div class=\"control-options\">
\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t\t\t<i class=\"fas fa-pause-circle\"></i>
\t\t\t\t\t\t\t\t\t</div> #}
\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<!-- End video modal -->
\t{% endif %}
\t<!--Start Ingredients and Instructions-->
\t<!--Start Instagram Section-->
\t<section class=\"social-holder\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"social-holder-box rcpe-detail\">
\t\t\t\t<div class=\"social-holder-img\">
\t\t\t\t\t<img src=\"/static/assets/images/insta-pic.jpg\" alt=\"insta pic\">
\t\t\t\t</div>
\t\t\t\t<div class=\"social-holder-info\">
\t\t\t\t\t<h5>{{'DID YOU MAKE THIS RECIPE?'|trans}}</h5>
\t\t\t\t\t<p>{{'We love hearing how you went with this recipes!'|trans}}</p>
\t\t\t\t\t<p>{{'Tag us on Instagram at'|trans}}
\t\t\t\t\t\t<a href=\"https://www.instagram.com/goodyculinarysolutions/\" target=\"_blank\">@goody_professional_solutions</a>
\t\t\t\t\t</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Instagram Section-->
\t<!--Start Menu Builder Tool-->
\t<section class=\"info-media loyalty-program menu-builder-tool loyalty-program-inner\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>{{'Tools for you'|trans}}</h5>
\t\t\t\t<h4>{{'Get the right menu'|trans}}</h4>
\t\t\t\t<h3>{{'ideas and right cost'|trans}}</h3>
\t\t\t\t<p>{{'Make your menu options more profitable.'|trans}}</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"newsletter-subscribe \">
\t\t\t\t\t\t<h4 class=\"cstsmLP\">\"{{'Coming Soon'|trans}}\"</h4>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"btn-border d-none\">
\t\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-black\">{{'Coming soon'|trans}}</a>
\t\t\t\t\t\t{# <a href=\"/{{app.request.locale}}\" class=\"btn btn-custom btn-lg-o-white\">Discover More</a> #}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"media-section media-shadow\">
\t\t\t\t<img src=\"/static/assets/images/Recipe_Menu_Builder_875x550.jpg\" alt=\"Recipe Menu Builder\">
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Menu Builder Tool-->
\t<!--Start Similar Recipes Section-->
\t{% if similar_recipes|length > 0 %}
\t\t<section class=\"featured-recipes-section inner-featured-recipe similar-recipes recipe-detail-similer\">
\t\t\t<div class=\"container container-sm\">
\t\t\t\t<h2 class=\"heading\">{{\"Similar-Recipes\"|trans }}</h2>
\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t<div class=\"featured-recipes-slider\">
\t\t\t\t\t\t{% for Similar_recipes in similar_recipes %}
\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t<a href=\"{{ Similar_recipes.url}}\" tabindex=\"0\">
\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t{# <img src=\"{{Similar_recipes.featured_image}}\" alt=\"{{ Similar_recipes.name }}\"> #}
\t\t\t\t\t\t\t\t\t\t\t{% if Similar_recipes.featured_image %}
\t\t\t\t\t\t\t\t\t\t\t{{ Similar_recipes.featured_image.thumbnail('354x244').getHTML({imgAttributes: {class:'',alt: Similar_recipes.name }})|raw }}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% if Similar_recipes.banner_video %}
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t<a href=\"{{ Similar_recipes.url}}\" tabindex=\"0\">
\t\t\t\t\t\t\t\t\t\t\t<h3>{{ Similar_recipes.name }}</h3>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<p>{{ Similar_recipes.short_description }}</p>
\t\t\t\t\t\t\t\t\t\t<ul
\t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t{# <li class=\"mins\">{{ Similar_recipes.time }} {{\"mins\"|trans }}</li> #}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}
\t\t\t\t\t\t\t\t\t\t\t\t{{'Serving'|trans}}
\t\t\t\t\t\t\t\t\t\t\t\t{{ Similar_recipes.serves }}</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">{{ Similar_recipes.typeofmeal|trans }}</li>
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t\t\t\t<a href=\"{{ Similar_recipes.url}}\" class=\"btn btn-custom btn-primary\" tabindex=\"0\">{{'View Recipe'|trans}}</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t{% endif %}
\t<!--End Similar Recipes Section-->
{% if recipedetails.tags|length > 0 %}
\t<!--Start Tag Section-->
\t<section class=\"tag-section\">
\t\t<div class=\"container container-sm\">
\t\t\t<h2 class=\"heading\">{{'Tags'|trans}}</h2>
\t\t\t<ul class=\"list-unstyled tag-list\">
\t\t\t\t{% set count = recipedetails.tags %}
\t\t\t\t{% for j in 0..count|length -1 %}
\t\t\t\t\t{% if count|length > 0 %}
\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t<a href=\"/en/searchrecipe?tag_id={{recipedetails.tags[j].id}}\">{{recipedetails.tags[j].tag_name}}</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t{% endif %}
\t\t\t\t{% endfor %}
\t\t\t</ul>
\t\t</div>
\t</section>
\t<!--End Tag Section-->
\t{% endif %}
\t<!--Start Comments Section-->
\t<section class=\"comment-section\">
\t\t<div class=\"container container-sm\">
\t\t\t<div
\t\t\t\tclass=\"comment-section-box\">
\t\t\t\t<!--Start Leave Comments-->
\t\t\t\t<div class=\"leave-comment\">
\t\t\t\t\t<div class=\"leave-comment-header\">
\t\t\t\t\t\t<h5>{{'Leave a Comment'|trans}}</h5>
\t\t\t\t\t\t<p>{{'Cooked this recipe? Comment and rate this recipe!'|trans}}</p>
\t\t\t\t\t\t<p>{{'Earn reward points for your interaction.'|trans}}</p>
\t\t\t\t\t</div>
\t\t\t\t\t<form action=\"/review\" method=\"post\" id = \"submitFormRecipeComment\">
\t\t\t\t\t\t<div class=\"custom-form leave-comment-form\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">{{'Name'|trans}}:</label>
\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"name\" required=\"\"/>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">{{'Email'|trans}}:</label>
\t\t\t\t\t\t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" required=\"\"/>
\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"recipe_id\" value=\"{{ recipedetails.id}}\"/>
\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"recipe_url\" value=\"{{ recipedetails.url}}\"/>
\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"locale\" value=\"{{ app.request.locale}}\"/>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t\t<div class=\"form-group form-group-textarea\">
\t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">{{'Comment'|trans}}:</label>
\t\t\t\t\t\t\t\t\t\t<textarea class=\"form-control\" name=\"comment\" required=\"\"></textarea>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"form-group form-inline\">
\t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">{{'Rating'|trans}}:</label>
\t\t\t\t\t\t\t\t\t\t<fieldset class=\"rating rating-md\">
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar5\" name=\"addreviewrating\" value=\"5\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar5\" title=\"5 stars\"></label>
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar4\" name=\"addreviewrating\" value=\"4\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar4\" title=\" 4 stars\"></label>
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar3\" name=\"addreviewrating\" value=\"3\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar3\" title=\"3 stars\"></label>
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar2\" name=\"addreviewrating\" value=\"2\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar2\" title=\"2 stars\"></label>
\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar1\" name=\"addreviewrating\" value=\"1\">
\t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar1\" title=\"1 star\"></label>
\t\t\t\t\t\t\t\t\t\t</fieldset>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"mandatory-text\">
\t\t\t\t\t\t\t\t<p>{{'Your email address will not be published.'|trans}}
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t<p>{{'All fields are mandatory.'|trans}}</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"checkbox-holder d-none\">
\t\t\t\t\t\t\t\t<input class=\"styled-checkbox\" id=\"notify\" type=\"checkbox\" value=\"notify\" checked>
\t\t\t\t\t\t\t\t<label for=\"notify\">{{'Notify me via e-mail if anyone answers my comment.'|trans}}</label>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<span class=\"recaptcha text-danger error-color\"></span>
\t\t\t\t\t\t\t{% if app.request.getSchemeAndHttpHost() == \"https://goodyculinaire.com\" %}
\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LeRqBEeAAAAAPqLUIzSnAM5EmZrgsPgzf4zLI7P\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t{% elseif app.request.getSchemeAndHttpHost() == \"https://gfs2.centric.ae\" %}
\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LdxNsAgAAAAAKdxceNtgNjH6TlrgstHJ-N-zH6C\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t{% elseif app.request.getSchemeAndHttpHost() == \"https://goodycs.com\" %}
\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6Le5OcAgAAAAANCPxYj-Tufd8ooE9d92HvhQNyac\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
\t\t\t\t\t\t\t<div><span class=\"alert-message text-dark\"></span></div>
\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t\t<button class=\"btn btn-custom btn-green\">{{'Submit'|trans}}</button>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t\t<!--End Leave Comments-->
\t\t\t\t<!--Start Comments List-->
\t\t\t\t<div class=\"comments-list\">
\t\t\t\t\t<div class=\"row new_div\">
\t\t\t\t\t\t{% set ratingcount = 0 %}
\t\t\t\t\t\t{% for reviews in review %}
\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t<div class=\"comment-list-box\">
\t\t\t\t\t\t\t\t\t<div class=\"comment-list-box-header\">
\t\t\t\t\t\t\t\t\t\t<figure class=\"person-img\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/user-icon-01.png\" alt=\"user icon\">
\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t\t<h5>{{reviews.name}}</h5>
\t\t\t\t\t\t\t\t\t\t<div class=\"rating\">{{reviews.rating}}</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<p>{{reviews.comment}}</p>
\t\t\t\t\t\t\t\t\t<div class=\"date\">{{reviews.mydate}}</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% if reviews.rating > 0 %}
\t\t\t\t\t\t\t\t{% set ratingcount = ratingcount + 1 %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t\t{% if review|length >= 3 %}
\t\t\t\t\t\t<div class=\"load-more\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-outline btn-loadX btn-green\" onclick=\"loadMoreRecipeReviews()\" id=\"load-more\">{{'Load more'|trans}}</a>
\t\t\t\t\t\t\t<!-- btn-load >> This is the class for showing loader gif -->
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t\t<!--End Comments List-->
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--Start Wrapper-->
\t<!--End Wrapper-->
\t\t<script>
\t\t\t//console.log(window.location.href)
\t\t\t\$(\"#submitFormRecipeComment\").submit(function (event) {
\t\t\tevent.preventDefault();
\t\t\tvar post_url = \$(this).attr(\"action\"); // get form action url
\t\t\tvar request_method = \$(this).attr(\"method\"); // get form GET/POST method
\t\t\t
\t\t\tform_data = new FormData(this);
\t\t\t\$.ajax({
\t\t\turl: post_url,
\t\t\ttype: request_method,
\t\t\tdata: form_data,
\t\t\tcontentType: false,
\t\t\tcache: false,
\t\t\tprocessData: false,
\t\t\tsuccess: function (response) {
\t\t\tif (response.success == 2) {
\t\t\t\t\t
\t\t\tdocument.getElementById('submitFormRecipeComment').reset();
\t\t
\t\t\t\$('.alert-message').removeClass('text-dark').addClass('text-success').html('{{ \"Thank you for your feedback.\"|trans }}');
\t\t\t\$('#submitForm').trigger(\"reset\");
\t\t\t\$(\".alert-message\").delay(5000).slideUp(500);
\t\t\t}else if (response.success == 1){
\t\t\tdocument.getElementById('submitFormRecipeComment').reset();
\t\t\t\$('.alert-message').removeClass('text-dark').addClass('text-danger').html('{{ \"Please check the the captcha form.\"|trans }}');
\t\t\t\$('#submitForm').trigger(\"reset\");
\t\t\t\$(\".alert-message\").delay(5000).slideUp(500);
\t\t\t} else {
\t\t\tdocument.getElementById('submitFormRecipeComment').reset();
\t\t\t\$('.alert-message').html('Oops! Please try again something went wrong');
\t\t\t}
\t\t\t}
\t\t\t});
\t\t\t});
\t\t// Download and Print Recipe According to serving ingerident quantity srart\t
\t\t\$(document).ready(function () {
\t\t\tvar serving = parseInt(\$('.serving').val(), 10);
\t\t\t\$(\"a.directions-link\").each(function() {
\t\t\t\tvar \$this = \$(this);
\t\t\t\tconst _href = \$this.attr(\"href\");
\t\t\t \t\$(\"#valuechange\").on('keyup change', function () {
\t\t\t\t var countTxt = parseInt(\$('.count').val(), 10);
\t\t\t\t\$(\".directions-link\").attr(\"href\", _href+\"~portion=\"+countTxt);
\t\t\t\t});
\t\t\t\t\$(\".directions-link\").attr(\"href\", _href+\"~portion=\"+serving);
\t\t\t\tconsole.log(countTxt);
\t\t});
\t\t});
\t\t// Download and Print Recipe According to serving ingerident quantity end\t
\t\t\t
\t\t</script>
\t<!-- End Modal Attribute -->
\t\t{% if (app.request.locale =='ar') %}
\t\t{% set topMenu =\"/en/all-recipes/\" ~ recipedetails.url('en') %}
\t{% else %}
\t\t{% set topMenu =\"/ar/all-recipes/\" ~ recipedetails.url('ar') %}
\t{% endif %}
\t<!--End Comments Section-->
\t
\t\t<script type=\"text/javascript\">
\t\t\t\tvar _TopMenuLink = \"{{ topMenu }}\";
\t\t\t\tlet page = 1;
\t\t\t\tfunction loadMoreRecipeReviews() {
\t\t\t\tlet add_query = '&';
\t\t\t\tif (!window.location.search) {
\t\t\t\tadd_query = '?';
\t\t\t\t}
\t\t\t\t\$.ajax({
\t\t\t\ttype: \"GET\",
\t\t\t\turl: window.location.href + add_query + 'page=' + page,
\t\t\t\tdata: '',
\t\t\t\tcache: false,
\t\t\t\tbeforeSend: function () {
\t\t\t\t\$('.btn-loadX').addClass('btn-load');
\t\t\t\t\$('.btn-loadX').html('Loading...');
\t\t\t\t},
\t\t\t\tcomplete: function () {
\t\t\t\t\$('.btn-loadX').removeClass('btn-load');
\t\t\t\t\$('.btn-loadX').html('Load more');
\t\t\t\t},
\t\t\t\tsuccess: function (data) {
\t\t\t\tif (data.success) {
\t\t\t\t\$('.new_div').append(data.success);
\t\t\t\tpage++;
\t\t\t\t}
\t\t\t\tif (data.success == '' || data.total_reviews < 2) {
\t\t\t\t\$('.btn-loadX').hide();
\t\t\t\t}
\t\t\t\t// else if(data.success == ''){
\t\t\t\t// \$('.btn-loadX').hide();
\t\t\t\t// }
\t\t\t\t}
\t\t\t\t});
\t\t\t\t}
\t\t\t\t// function pausemodal(recipeid) {
\t\t\t\t// console.log(recipeid);
\t\t\t\t// \$('#videoId' + recipeid).trigger('pause');
\t\t\t\t// }
\t\t\t\t// function playany(recipeid) {
\t\t\t\t// console.log(recipeid);
\t\t\t\t// \$('#videoId' + recipeid).trigger('pause');
\t\t\t\t// \$('#videoId'+recipeid).trigger('play');
\t\t\t\t// }
\t\t</script>
\t<!-- This section is used for seo purpose please do not remove any line within this commented section -->
\t{% set schemasteps = recipedetails.steps %}
\t<script type=\"application/ld+json\">
\t\t{
\t\t\t\"@context\": \"https://schema.org/\",
\t\t\t\"@type\": \"Recipe\",
\t\t\t\"name\": \"{{recipedetails.name}}\",
\t\t{% if recipedetails.featured_image is defined and recipedetails.featured_image.path is defined %}
\t\t\t\"image\": \"{{app.request.getSchemeAndHttpHost() ~ recipedetails.featured_image.path ~ recipedetails.featured_image.filename}}\",
\t\t{% endif %}
\t\t\"description\": \"{{recipedetails.description}}\",
\t\t{% if recipedetails.recipes_schema_markup_keywords is not empty %}
\t\t\t\"keywords\": \"{{recipedetails.recipes_schema_markup_keywords}}\",
\t\t{% endif %}
\t\t\"author\": {
\t\t\t\t\"@type\": \"Person\",
\t\t\t\t\"name\": \"{{recipedetails.Chef}}\"
\t\t\t\t},
\t\t\t\t\"datePublished\": \"{{recipedetails.modificationDate|date('Y-m-d')}}\",
\t\t\t\t\"prepTime\": \"\",
\t\t\t\t\"cookTime\": \"PT50M\",
\t\t\t\t\"totalTime\": \"PT50M\",
\t\t\t\t\"recipeCategory\": \"{{recipedetails.typeofmeal}}\",
\t\t\t\t\"recipeCuisine\": \"{{recipedetails.cuisine}}\",
\t\t\t\t\"recipeYield\": \"4\",
\t\t\t\"nutrition\": {
\t\t\t\t\t\"@type\": \"NutritionInformation\",
\t\t\t\t\t\"calories\": \"\"
\t\t\t\t}
\t\t{% if recipedetails.serving_options.Items is defined %},
\t\t\t\t\"recipeIngredient\": [
\t\t\t{% for i in 0..recipedetails.serving_options.Items|length -1 %}
\t\t\t\t{% for j in 0..recipedetails.serving_options.Items[i].ingredeints|length -1 %}
\t\t\t\t\t{% if app.request.locale == \"en\" %}
\t\t\t\t\t\t\"{{recipedetails.serving_options.Items[i].ingredeints[j]['ingredient'].data}}
\t\t\t\t\t\t{{recipedetails.serving_options.Items[i].ingredeints[j]['multiply'].data}}{{recipedetails.serving_options.Items[i].ingredeints[j]['unit'].data}}\"
\t\t\t\t\t\t{% if j < recipedetails.serving_options.Items[i].ingredeints|length - 1 %},
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% else %}
\t\t\t\t\t\t\"{{recipedetails.serving_options.Items[i].ingredeints[j]['ingredient_ar'].data}}
\t\t\t\t\t\t{{recipedetails.serving_options.Items[i].ingredeints[j]['multiply'].data}}{{recipedetails.serving_options.Items[i].ingredeints[j]['unit_ar'].data}}\"
\t\t\t\t\t\t{% if j < recipedetails.serving_options.Items[i].ingredeints|length - 1 %},
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% endfor %}
\t\t\t{% endfor %}
\t\t\t]
\t\t{% endif %}
\t\t{% if recipedetails.steps is defined %},
\t\t\t\"recipeInstructions\": [
\t\t\t{% for i in 0..recipedetails.steps|length -1 %}{
\t\t\t\t{% if recipedetails.steps[i] is defined %}
\t\t\t\t\t\"@type\": \"HowToStep\",
\t\t\t\t\t\"text\": \"{{ recipedetails.steps[i].localizedfields.data.getLocalizedValue('description')}}\"
\t\t\t\t\t{% endif %}
\t\t\t\t\t}
\t\t\t\t{% if i < recipedetails.steps|length -1 %},
\t\t\t\t{% endif %}
\t\t\t{% endfor %}]
\t\t{% endif %},
\t\t\t\t\"video\": {
\t\t\t\t\t\t\t\"@type\": \"VideoObject\",
\t\t\t\t\t\t\t{% if recipedetails is defined %}
\t\t\t\t\t\t\t\"name\": \"{{recipedetails.name}}\",
\t\t\t\t\t\t\t\"description\": \"{{recipedetails.description}}\",
\t\t\t\t\t\t\t{% if recipedetails.featured_image.path is defined %}
\t\t\t\t\t\t\t\"thumbnailUrl\": \"{{app.request.getSchemeAndHttpHost() ~ recipedetails.featured_image.path ~ recipedetails.featured_image.filename}}\",
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\"uploadDate\": \"{{recipedetails.modificationDate|date('Y-m-d')}}\",
\t\t\t\t\t\t\t\"contentUrl\": \"{{app.request.getSchemeAndHttpHost() ~ \"/\" ~ app.request.locale ~ \"/all-recipes/\" ~ recipedetails.url}}\",
\t\t\t\t\t\t\t{% endif %}
\t\t{% if recipedetails.detail_video.data is defined %}
\t\t\t\"embedUrl\": \"{{app.request.getSchemeAndHttpHost() ~ recipedetails.detail_video.data.path ~ recipedetails.detail_video.data.filename}}\"
\t\t{% else %}
\t\t\t\"embedUrl\": \"Video not available\"
\t\t{% endif %}
\t\t}
\t\t{% if review|length > 1 %}
\t\t\t\"aggregateRating\": {
\t\t\t\t\"@type\": \"AggregateRating\",
\t\t\t\t\"ratingValue\": \"{{rating}}\",
\t\t\t\t\"bestRating\": \"5\",
\t\t\t\t\"worstRating\": \"1\",
\t\t\t\t\"ratingCount\": \"{{ratingcount}}\",
\t\t\t\t\"reviewCount\": \"{{review|length}}\"
\t\t\t\t\t\t\t\t},
\t\t\t{% for keys , reviews in review %}
\t\t\t\t\"review\": {
\t\t\t\t\t\"@type\": \"Review\",
\t\t\t\t\t\"name\": \"{{reviews.name}}\",
\t\t\t\t\t\"reviewBody\": \"{{reviews.comment}}\",
\t\t\t\t\t\"reviewRating\": {
\t\t\t\t\t\t\"@type\": \"Rating\",
\t\t\t\t\t\t\"ratingValue\": \"{{reviews.rating}}\",
\t\t\t\t\t\t\"bestRating\": \"5\",
\t\t\t\t\t\t\"worstRating\": \"1\"
\t\t\t\t\t},
\t\t\t\t\t\"datePublished\": \"{{reviews.mydate}}\",
\t\t\t\t\t\"author\": {\"@type\": \"Person\", \"{{reviews.name}}\": \"man\"},
\t\t\t\t\t\"publisher\": {\"@type\": \"Organization\", \"name\": \"goody\"}}
\t\t\t\t{% if keys < review|length -1 %}
\t\t\t\t\t,
\t\t\t\t{% endif %}
\t\t\t{% endfor %}
\t\t{% endif %}
\t\t}
\t</script>
\t<!-- This section is used for seo purpose please do not remove any line within this commented section end -->
{% endblock %}
", "Recipes/reciepedetails.html.twig", "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/Recipes/reciepedetails.html.twig");
}
}