var/cache/dev/twig/34/3417a7bb8a6bfeed2790d3a12ac2dff4.php line 39
<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;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;/* home/show.html.twig */class __TwigTemplate_255215feba0da02059de99d201c2c900 extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['title' => [$this, 'block_title'],'body' => [$this, 'block_body'],];}protected function doGetParent(array $context){// line 1return "base2.html.twig";}protected function doDisplay(array $context, array $blocks = []){$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", "home/show.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home/show.html.twig"));$this->parent = $this->loadTemplate("base2.html.twig", "home/show.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 3public function block_title($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));echo "Nom du commerce";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 5public function block_body($context, array $blocks = []){$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", "body"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));// line 6echo "<div class=\"font-inter dark:bg-background sticky-header-first-content\"><sectionclass=\"pt-0 border-b border-gray-200 dark:border-foreground dark:bg-background lg:px-0 px-5\"><div class=\"container-fluid mx-auto lg:p-0 p-5\"><!-- Slider main container --><div class=\"relative\"><div class=\"swiper swiper-4-item overflow-x-hidden\"><!-- Additional required wrapper --><div class=\"swiper-wrapper relative h-full\"><!-- Slides --><div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"";// line 22echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 22, $this->source); })()), "picture1"), "html", null, true);echo "\"/></div></div>";// line 26if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 26, $this->source); })()), "picture2"))) {// line 27echo " <div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><img class=\"h-96 w-full object-cover fullscreen-image\"src=\"";// line 30echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 30, $this->source); })()), "picture2"), "html", null, true);echo "\" /></div></div>";}// line 34echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 34, $this->source); })()), "picture3"))) {// line 35echo " <div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"";// line 39echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 39, $this->source); })()), "picture3"), "html", null, true);echo "\"/></div></div>";}// line 44echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 44, $this->source); })()), "picture4"))) {// line 45echo " <div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"";// line 49echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 49, $this->source); })()), "picture4"), "html", null, true);echo "\"/></div></div>";}// line 54echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 54, $this->source); })()), "picture5"))) {// line 55echo " <div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"";// line 59echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 59, $this->source); })()), "picture5"), "html", null, true);echo "\"/></div></div>";}// line 64echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 64, $this->source); })()), "picture6"))) {// line 65echo " <div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"";// line 69echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 69, $this->source); })()), "picture6"), "html", null, true);echo "\"/></div></div>";}// line 74echo " </div><!-- If we need pagination --><div class=\"swiper-pagination\"></div><!-- If we need navigation buttons --></div>";// line 81if (($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 81, $this->source); })()), "picture5") != null)) {// line 82echo " <div class=\"swiper-button-prev left-2 lg:left-6 after:hidden\"><buttontype=\"button\"class=\"bg-white dark:bg-foreground text-blue-500 rounded-full p-2\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"stroke-width=\"2\"d=\"M10 19l-7-7m0 0l7-7m-7 7h18\"/></svg></button></div><div class=\"swiper-button-next absolute right-2 lg:right-6 after:hidden\"><buttontype=\"button\"class=\"bg-white dark:bg-foreground text-blue-500 rounded-full p-2\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"stroke-width=\"2\"d=\"M14 5l7 7m0 0l-7 7m7-7H3\"/></svg></button></div>";}// line 125echo " </div><div class=\"bg-gray-100 dark:bg-foreground pt-6 pb-1\"><div class=\"container mx-auto px-5\"><div class=\"flex flex-wrap mb-4\"><!-- Start - Show categories -->";// line 134$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 134, $this->source); })()), "categories", [], "any", false, false, false, 134));foreach ($context['_seq'] as $context["_key"] => $context["category"]) {// line 135echo " <span class=\"bg-yellow-500 text-xs text-white rounded-full px-4 py-1 flex items-center mr-1 mb-3\"><span class=\"badge bg-warning text-dark\">";// line 136echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 136), "html", null, true);echo "</span></span>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 139echo "<!-- END - Show categories --></div><div class=\"flex justify-between flex-wrap\"><div class=\"mb-4\"><div class=\"flex items-center mb-1\"><h4class=\"text-gray-700 font-medium dark:text-gray-100 mr-2 lg:text-3xl text-2xl\">";// line 150echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 150, $this->source); })()), "name", [], "any", false, false, false, 150), "html", null, true);echo "</h4>";// line 155if ((twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 155, $this->source); })()), "verified", [], "any", false, false, false, 155) == true)) {// line 156echo " <svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5 text-green-500\"viewBox=\"0 0 20 20\"fill=\"currentColor\"><pathfill-rule=\"evenodd\"d=\"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\"clip-rule=\"evenodd\"/></svg>";}// line 169echo "</div><div class=\"flex items-center text-gray-500 dark:text-gray-300\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5 mr-1\"viewBox=\"0 0 20 20\"fill=\"currentColor\"><pathfill-rule=\"evenodd\"d=\"M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z\"clip-rule=\"evenodd\"/></svg><p class=\"text-base\">";// line 187echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 187, $this->source); })()), "addressCity", [], "any", false, false, false, 187), "html", null, true);echo "</p></div></div>";// line 192if ((twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 192, $this->source); })()), "verified", [], "any", false, false, false, 192) == true)) {// line 193echo " <div class=\"mb-4\"><buttontype=\"button\"class=\"w-full flex justify-center items-center bg-green-600 rounded-lg text-white p-[0.657rem] mb-3\"><svgclass=\"mr-3\"width=\"31\"height=\"31\"viewBox=\"0 0 31 31\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M3.1001 15.5C3.1001 8.65091 8.65104 3.09998 15.5001 3.09998C22.3492 3.09998 27.9001 8.65091 27.9001 15.5C27.9001 22.349 22.3492 27.9 15.5001 27.9C8.65104 27.9 3.1001 22.349 3.1001 15.5ZM21.1092 13.359C21.6371 12.8311 21.6371 11.9689 21.1092 11.4409C20.5812 10.9129 19.719 10.9129 19.191 11.4409L13.9501 16.6818L11.8092 14.5409C11.2812 14.0129 10.419 14.0129 9.89103 14.5409C9.36307 15.0689 9.36307 15.9311 9.89103 16.459L12.991 19.559C13.519 20.087 14.3812 20.087 14.9092 19.559L21.1092 13.359Z\"fill=\"white\"/></svg>Etablissement vérifié par Best of Sarlat</button>";}// line 214echo " <div class=\"mb-4\"><div class=\"flex flex-wrap items-center mb-1\">";// line 220$context["rating"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 220, $this->source); })()), "result", [], "any", false, false, false, 220), "rating", [], "any", false, false, false, 220);// line 221echo "";// line 222if ((((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 222, $this->source); })()) >= 0) && ((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 222, $this->source); })()) < 0.5))) {// line 223echo "<div class='stars-rating' style=\"--rating: 0;\"><div class=\"rating\"></div></div>";} elseif ((( // line 226(isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 226, $this->source); })()) >= 0.5) && ((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 226, $this->source); })()) < 1.5))) {// line 227echo "<div class='stars-rating' style=\"--rating: 0.5;\"><div class=\"rating\"></div></div>";} elseif ((( // line 230(isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 230, $this->source); })()) >= 1.5) && ((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 230, $this->source); })()) < 2.5))) {// line 231echo "<div class='stars-rating' style=\"--rating: 1.5;\"><div class=\"rating\"></div></div>";} elseif ((( // line 234(isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 234, $this->source); })()) >= 2.5) && ((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 234, $this->source); })()) < 3.5))) {// line 235echo "<div class='stars-rating' style=\"--rating: 2.5;\"><div class=\"rating\"></div></div>";} elseif ((( // line 238(isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 238, $this->source); })()) >= 3.5) && ((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 238, $this->source); })()) < 4.5))) {// line 239echo "<div class='stars-rating' style=\"--rating: 3.5;\"><div class=\"rating\"></div></div>";} elseif ((( // line 242(isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 242, $this->source); })()) >= 4.5) && ((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 242, $this->source); })()) < 5))) {// line 243echo "<div class='stars-rating' style=\"--rating: 4.5;\"><div class=\"rating\"></div></div>";} elseif (( // line 246(isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 246, $this->source); })()) == 5)) {// line 247echo "<div class='stars-rating' style=\"--rating: 5;\"><div class=\"rating\"></div></div>";}// line 251echo "<span class=\"text-gray-700 font-medium mr-2 dark:text-gray-400\">";// line 257echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 257, $this->source); })()), "result", [], "any", false, false, false, 257), "rating", [], "any", false, false, false, 257), "html", null, true);echo "</span><span class=\"text-gray-500 dark:text-gray-400 text-sm mr-2\">(";// line 260echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 260, $this->source); })()), "result", [], "any", false, false, false, 260), "user_ratings_total", [], "any", false, false, false, 260), "html", null, true);echo " avis donnés)</span></div><span class=\"text-gray-500 dark:text-gray-400 text-sm mr-2\">Note fournie par<a href=\"";// line 265echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 265, $this->source); })()), "result", [], "any", false, false, false, 265), "url", [], "any", false, false, false, 265), "html", null, true);echo "\" target=\"_blank\" class=\"text-blue-500 underline\">Google</a></span></div></div></div></div></div></section><section class=\"dark:bg-background pt-20 bg-bodygray lg:px-0 px-5\"><div class=\"container mx-auto\"><div class=\"grid lg:grid-cols-3 grid-cols-1 gap-7\"><div class=\"lg:col-span-2 col-span-1\"><divclass=\"rounded-lg shadow-fornt-2 dark:bg-foreground p-6 bg-white mb-7\"><h5class=\"text-base font-medium mb-4 text-gray-700 dark:text-gray-100\">Description</h5><p class=\"text-sm font-normal text-gray-500 dark:text-gray-300\">";// line 286echo twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 286, $this->source); })()), "about", [], "any", false, false, false, 286);echo "</p></div><divclass=\"rounded-lg shadow-fornt-2 dark:bg-foreground p-6 bg-white mb-7\"><divclass=\"text-base font-medium mb-4 text-gray-700 dark:text-gray-100\">Photos</div><div class=\"swiper mySwiper2 mb-7\"><div class=\"swiper-wrapper\"><div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"";// line 302echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 302, $this->source); })()), "picture1"), "html", null, true);echo "\"/></div>";// line 305if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 305, $this->source); })()), "picture2"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"";// line 309echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 309, $this->source); })()), "picture2"), "html", null, true);echo "\"/></div>";}// line 313echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 313, $this->source); })()), "picture3"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"";// line 317echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 317, $this->source); })()), "picture3"), "html", null, true);echo "\"/></div>";}// line 321echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 321, $this->source); })()), "picture4"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"";// line 325echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 325, $this->source); })()), "picture4"), "html", null, true);echo "\"/></div>";}// line 329echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 329, $this->source); })()), "picture5"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"";// line 333echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 333, $this->source); })()), "picture5"), "html", null, true);echo "\"/></div>";}// line 337echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 337, $this->source); })()), "picture6"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"";// line 341echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 341, $this->source); })()), "picture6"), "html", null, true);echo "\"/></div>";}// line 345echo " </div><div class=\"swiper-button-next after:hidden\"><buttontype=\"button\"class=\"bg-white dark:bg-foreground text-blue-500 rounded-full p-2\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M9 5l7 7-7 7\"/></svg></button></div><div class=\"swiper-button-prev after:hidden\"><buttontype=\"button\"class=\"bg-white dark:bg-foreground text-blue-500 rounded-full p-2\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M15 19l-7-7 7-7\"/></svg></button></div></div><div thumbsSlider=\"\" class=\"swiper mySwiper\"><div class=\"swiper-wrapper\"><div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"";// line 394echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 394, $this->source); })()), "picture1"), "html", null, true);echo "\"/></div>";// line 397if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 397, $this->source); })()), "picture2"))) {// line 398echo " <div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"";// line 401echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 401, $this->source); })()), "picture2"), "html", null, true);echo "\"/></div>";}// line 405echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 405, $this->source); })()), "picture3"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"";// line 409echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 409, $this->source); })()), "picture3"), "html", null, true);echo "\"/></div>";}// line 413echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 413, $this->source); })()), "picture4"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"";// line 417echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 417, $this->source); })()), "picture4"), "html", null, true);echo "\"/></div>";}// line 421echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 421, $this->source); })()), "picture5"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"";// line 425echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 425, $this->source); })()), "picture5"), "html", null, true);echo "\"/></div>";}// line 429echo " ";if ( !(null === $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 429, $this->source); })()), "picture6"))) {echo "<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"";// line 433echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 433, $this->source); })()), "picture6"), "html", null, true);echo "\"/></div>";}// line 437echo " </div></div></div><divclass=\"rounded-lg shadow-fornt-2 dark:bg-foreground p-6 bg-white mb-7\"><h5class=\"text-base font-medium mb-4 text-gray-700 dark:text-gray-100\">Les petits plus</h5><!-- Start - Show tags --><div class=\"grid md:grid-cols-3 grid-cols-2 gap-7\">";// line 453$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 453, $this->source); })()), "tags", [], "any", false, false, false, 453));foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {// line 454echo " <divclass=\"flex items-center [&>*]:hover:text-blue-500 cursor-pointer\"><svgclass=\"w-[18px] h-[18px] mr-2 text-gray-500 dark:text-gray-300\"width=\"16\"height=\"16\"viewBox=\"0 0 16 16\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M7.41762 10.1179C7.24324 10.295 6.95637 10.295 6.78199 10.1179L4.98199 8.31786C4.8048 8.14349 4.8048 7.85661 4.98199 7.68224C5.15637 7.50505 5.44324 7.50505 5.61762 7.68224L7.0998 9.16442L10.382 5.88224C10.5564 5.70505 10.8432 5.70505 11.0176 5.88224C11.1948 6.05661 11.1948 6.34349 11.0176 6.51786L7.41762 10.1179ZM15.1998 8.00005C15.1998 11.9769 11.9767 15.2 7.9998 15.2C4.02293 15.2 0.799805 11.9769 0.799805 8.00005C0.799805 4.02317 4.02293 0.800049 7.9998 0.800049C11.9767 0.800049 15.1998 4.02317 15.1998 8.00005ZM7.9998 1.70005C4.52074 1.70005 1.6998 4.52099 1.6998 8.00005C1.6998 11.4791 4.52074 14.3 7.9998 14.3C11.4789 14.3 14.2998 11.4791 14.2998 8.00005C14.2998 4.52099 11.4789 1.70005 7.9998 1.70005Z\"fill=\"currentColor\"/></svg><span class=\"text-sm font-normal text-gray-700 dark:text-gray-300\">";// line 471echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 471), "html", null, true);echo "</span></div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 475echo " </div></div><!-- END - Show tags --><div class=\"mobilehidden\"><h1class=\"text-gray-700 dark:text-gray-100 lg:text-3xl text-2xl mb-2\">Dans la même catégorie</h1><p class=\"text-gray-500 dark:text-gray-400 mb-12\">D'autres commerces qui pourraient vous convenir</p><div class=\"grid lg:grid-cols-2 grid-cols-1 gap-7 mb-10\"><!-- Slide START -->";// line 492$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((isset($context["twoShops"]) || array_key_exists("twoShops", $context) ? $context["twoShops"] : (function () { throw new RuntimeError('Variable "twoShops" does not exist.', 492, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["shop"]) {// line 493echo " <div class=\"overflow-hidden rounded-lg\"><ahref=\"";// line 495echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home_show", ["slug" => twig_get_attribute($this->env, $this->source, $context["shop"], "slug", [], "any", false, false, false, 495)]), "html", null, true);echo "\"class=\"relative overflow-hidden group\"><imgclass=\"w-full h-80 object-cover rounded-t-lg group-hover:scale-105 transition-all\"src=\"";// line 501echo twig_escape_filter($this->env, $this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["shop"], "picture1"), "html", null, true);echo "\"alt=\"\"/><divclass=\"absolute bottom-0 overflow-hidden top-1/2 flex items-start flex-col justify-end left-0 pb-5 pl-5 pt-2 card-linear-gradient w-full\"><div class=\"flex text-white items-center mb-2\"><h2 class=\"text-xl capitalize font-semibold\">";// line 509echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["shop"], "name", [], "any", false, false, false, 509), "html", null, true);echo "</h2>";// line 511if ((twig_get_attribute($this->env, $this->source, $context["shop"], "verified", [], "any", false, false, false, 511) == true)) {// line 512echo " <svgwidth=\"20\"height=\"20\"viewBox=\"0 0 20 20\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M15.6562 4.34313C16.4688 5.15625 16.6906 6.31875 16.4031 7.34688C17.3531 7.85 18 8.85 18 10C18 11.15 17.3531 12.15 16.4031 12.6531C16.7188 13.6812 16.4688 14.8156 15.6562 15.6562C14.8156 16.4688 13.6812 16.6906 12.6531 16.4031C12.15 17.3531 11.15 18 10 18C8.85 18 7.85 17.3531 7.34688 16.4031C6.31875 16.7188 5.15625 16.4688 4.34313 15.6562C3.53 14.8156 3.28125 13.6812 3.59687 12.6531C2.64687 12.15 2 11.15 2 10C2 8.85 2.64687 7.85 3.59687 7.34688C3.25312 6.31875 3.53 5.15625 4.34313 4.34313C5.15625 3.53 6.31875 3.28125 7.34688 3.59687C7.85 2.64687 8.85 2 10 2C11.15 2 12.15 2.64687 12.6531 3.59687C13.6812 3.25312 14.8156 3.53 15.6562 4.34313Z\"fill=\"#00AB55\"/><pathd=\"M7 10L8.64645 11.6464C8.84171 11.8417 9.15829 11.8417 9.35355 11.6464L13 8\"stroke=\"white\"stroke-width=\"1.2\"stroke-linecap=\"round\"/></svg>";}// line 531echo " </div><p class=\"text-sm font-normal text-white mb-4\">";// line 533echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["shop"], "AddressCity", [], "any", false, false, false, 533), "html", null, true);echo "</p></div></a></div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['shop'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 539echo "<!-- Slide END --></div></div></div><div class=\"lg:col-span-1 col-span-1\"><div class=\"rounded-lg shadow-fornt-2 dark:bg-foreground bg-white mb-7\"><div class=\"mapouter\"><div class=\"gmap_canvas\"><iframeclass=\"w-full h-64 rounded-t-md\"id=\"gmap_canvas\"src=\"https://maps.google.com/maps?q=";// line 553echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 553, $this->source); })()), "result", [], "any", false, false, false, 553), "geometry", [], "any", false, false, false, 553), "location", [], "any", false, false, false, 553), "lat", [], "any", false, false, false, 553), "html", null, true);echo ",";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 553, $this->source); })()), "result", [], "any", false, false, false, 553), "geometry", [], "any", false, false, false, 553), "location", [], "any", false, false, false, 553), "lng", [], "any", false, false, false, 553), "html", null, true);echo "&t=&z=13&ie=UTF8&iwloc=&output=embed\"frameborder=\"0\"scrolling=\"no\"marginheight=\"0\"marginwidth=\"0\"></iframe></div></div><div class=\"p-6 border-b border-gray-200 dark:border-gray-800\"><divclass=\"flex items-center text-gray-700 dark:text-gray-300 mb-4\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-4 w-4 mr-2\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z\"/><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M15 11a3 3 0 11-6 0 3 3 0 016 0z\"/></svg><p class=\"text-base\">";// line 584echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 584, $this->source); })()), "result", [], "any", false, false, false, 584), "formatted_address", [], "any", false, false, false, 584), "html", null, true);echo "</p></div><divclass=\"flex items-center text-gray-700 dark:text-gray-300 mb-4\"><svgclass=\"h-4 w-4 mr-2\"xmlns=\"http://www.w3.org/2000/svg\"class=\"h-6 w-6\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z\"/></svg><p class=\"text-base\">";// line 604echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 604, $this->source); })()), "result", [], "any", false, false, false, 604), "formatted_phone_number", [], "any", false, false, false, 604), "html", null, true);echo "</p></div>";// line 607if (twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 607, $this->source); })()), "website", [], "any", false, false, false, 607)) {// line 608echo " <divclass=\"flex items-center text-gray-700 dark:text-gray-300 mb-4\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-4 w-4 mr-2\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9\"/></svg><atarget=\"_blank\"href=\"";// line 627echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 627, $this->source); })()), "website", [], "any", false, false, false, 627), "html", null, true);echo "\"class=\"relative overflow-hidden group\"><p class=\"text-base\">";// line 630echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 630, $this->source); })()), "website", [], "any", false, false, false, 630), "html", null, true);echo "</p></a></div>";}// line 634echo " </div>";// line 635if ((((twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 635, $this->source); })()), "facebook", [], "any", false, false, false, 635) || twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 635, $this->source); })()), "twitter", [], "any", false, false, false, 635)) || twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 635, $this->source); })()), "linkedin", [], "any", false, false, false, 635)) || twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 635, $this->source); })()), "instagram", [], "any", false, false, false, 635))) {// line 636echo " <div class=\"p-6\"><h6 class=\"text-base text-gray-700 dark:text-gray-100 mb-2\">Suivez-nous sur :</h6><div class=\"flex flex-wrap\">";// line 641if (twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 641, $this->source); })()), "facebook", [], "any", false, false, false, 641)) {// line 642echo " <buttontype=\"button\"class=\"border mr-3 mb-3 border-gray-200 dark:border-gray-800 dark:text-gray-400 p-2 rounded-lg hover:text-blue-500 hover:border-blue-500 dark:hover:text-blue-500 dark:hover:border-blue-500\"><atarget=\"_blank\"href=\"";// line 648echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 648, $this->source); })()), "facebook", [], "any", false, false, false, 648), "html", null, true);echo "\"class=\"relative overflow-hidden group\"><svgwidth=\"20\"height=\"21\"viewBox=\"0 0 20 21\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M18 10.5625C18 6.14422 14.4183 2.5625 10 2.5625C5.58172 2.5625 2 6.14422 2 10.5625C2 14.5555 4.92547 17.8652 8.75 18.4653V12.875H6.71875V10.5625H8.75V8.8C8.75 6.795 9.94438 5.6875 11.7717 5.6875C12.6467 5.6875 13.5625 5.84375 13.5625 5.84375V7.8125H12.5538C11.56 7.8125 11.25 8.42922 11.25 9.0625V10.5625H13.4688L13.1141 12.875H11.25V18.4653C15.0745 17.8652 18 14.5555 18 10.5625Z\"fill=\"currentColor\"/></svg></a></button>";}// line 666echo "";// line 667if (twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 667, $this->source); })()), "instagram", [], "any", false, false, false, 667)) {// line 668echo " <buttontype=\"button\"class=\"border mr-3 mb-3 border-gray-200 dark:border-gray-800 dark:text-gray-400 p-2 rounded-lg hover:text-blue-500 hover:border-blue-500 dark:hover:text-blue-500 dark:hover:border-blue-500\"><atarget=\"_blank\"href=\"";// line 674echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 674, $this->source); })()), "instagram", [], "any", false, false, false, 674), "html", null, true);echo "\"class=\"relative overflow-hidden group\"><svgwidth=\"20\"height=\"20\"viewBox=\"0 0 17 18\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z\"fill=\"currentColor\"/></svg></a></button>";}// line 692echo "";// line 693if (twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 693, $this->source); })()), "linkedin", [], "any", false, false, false, 693)) {// line 694echo " <buttontype=\"button\"class=\"border mr-3 mb-3 border-gray-200 dark:border-gray-800 dark:text-gray-400 p-2 rounded-lg hover:text-blue-500 hover:border-blue-500 dark:hover:text-blue-500 dark:hover:border-blue-500\"><atarget=\"_blank\"href=\"";// line 700echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 700, $this->source); })()), "linkedin", [], "any", false, false, false, 700), "html", null, true);echo "\"class=\"relative overflow-hidden group\"><svgwidth=\"20\"height=\"21\"viewBox=\"0 0 20 21\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M16.8156 2.5625H3.18125C2.52812 2.5625 2 3.07813 2 3.71563V17.4062C2 18.0438 2.52812 18.5625 3.18125 18.5625H16.8156C17.4688 18.5625 18 18.0438 18 17.4094V3.71563C18 3.07813 17.4688 2.5625 16.8156 2.5625ZM6.74687 16.1969H4.37188V8.55937H6.74687V16.1969ZM5.55938 7.51875C4.79688 7.51875 4.18125 6.90312 4.18125 6.14375C4.18125 5.38438 4.79688 4.76875 5.55938 4.76875C6.31875 4.76875 6.93437 5.38438 6.93437 6.14375C6.93437 6.9 6.31875 7.51875 5.55938 7.51875ZM15.6344 16.1969H13.2625V12.4844C13.2625 11.6 13.2469 10.4594 12.0281 10.4594C10.7937 10.4594 10.6062 11.425 10.6062 12.4219V16.1969H8.2375V8.55937H10.5125V9.60313H10.5437C10.8594 9.00313 11.6344 8.36875 12.7875 8.36875C15.1906 8.36875 15.6344 9.95 15.6344 12.0063V16.1969Z\"fill=\"currentColor\"/></svg></a></button>";}// line 718echo "";// line 719if (twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 719, $this->source); })()), "twitter", [], "any", false, false, false, 719)) {// line 720echo " <buttontype=\"button\"class=\"border mr-3 mb-3 border-gray-200 dark:border-gray-800 dark:text-gray-400 p-2 rounded-lg hover:text-blue-500 hover:border-blue-500 dark:hover:text-blue-500 dark:hover:border-blue-500\"><atarget=\"_blank\"href=\"";// line 726echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["shopForView"]) || array_key_exists("shopForView", $context) ? $context["shopForView"] : (function () { throw new RuntimeError('Variable "shopForView" does not exist.', 726, $this->source); })()), "twitter", [], "any", false, false, false, 726), "html", null, true);echo "\"class=\"relative overflow-hidden group\"><svgwidth=\"20\"height=\"21\"viewBox=\"0 0 20 21\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M7.03344 16.563C13.0697 16.563 16.3722 11.5608 16.3722 7.22423C16.3722 7.0836 16.3691 6.93985 16.3628 6.79923C17.0052 6.33463 17.5597 5.75916 18 5.09985C17.4017 5.36605 16.7664 5.53991 16.1159 5.61548C16.8009 5.20493 17.3137 4.55997 17.5594 3.80017C16.915 4.18203 16.2104 4.4514 15.4756 4.59673C14.9806 4.0707 14.326 3.7224 13.6131 3.60569C12.9003 3.48898 12.1688 3.61036 11.5318 3.95105C10.8949 4.29175 10.3879 4.83279 10.0892 5.49053C9.7906 6.14827 9.71695 6.88606 9.87969 7.58985C8.575 7.52438 7.29862 7.18546 6.13332 6.59505C4.96802 6.00465 3.9398 5.17595 3.11531 4.16267C2.69627 4.88515 2.56804 5.74008 2.75669 6.55372C2.94534 7.36735 3.43671 8.07862 4.13094 8.54298C3.60975 8.52643 3.09998 8.38611 2.64375 8.1336V8.17423C2.64328 8.93242 2.9054 9.66738 3.38554 10.2542C3.86568 10.841 4.53422 11.2434 5.2775 11.393C4.7947 11.5251 4.28799 11.5443 3.79656 11.4492C4.0063 12.1013 4.41438 12.6716 4.96385 13.0805C5.51331 13.4895 6.17675 13.7167 6.86156 13.7305C5.69895 14.6437 4.26278 15.1391 2.78438 15.1367C2.52219 15.1363 2.26027 15.1203 2 15.0886C3.5019 16.0522 5.24902 16.5639 7.03344 16.563Z\"fill=\"currentColor\"/></svg></a></button>";}// line 744echo "</div></div>";}// line 748echo " </div><div class=\"rounded-lg shadow-fornt-2 dark:bg-foreground bg-white mb-7\"><divclass=\"p-6 border-b mb-6 flex justify-between border-gray-200 text-gray-700 font-medium dark:border-gray-800 dark:text-gray-100\"><div class=\"flex\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-6 w-6 text-yellow-500 mr-2\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"/></svg><div class=\"text-base text-gray-700 dark:text-gray-100\">Horaires d'ouverture</div></div>";// line 773if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 773, $this->source); })()), "result", [], "any", false, false, false, 773), "opening_hours", [], "any", false, false, false, 773), "open_now", [], "any", false, false, false, 773) == true)) {// line 774echo " <div class=\"bg-green-50 text-xs p-2 rounded-lg text-green-500\">Ouvert actuellement</div>";} else {// line 778echo " <div class=\"bg-red-500 text-xs p-2 rounded-lg text-red-500\">Fermé</div>";}// line 782echo "</div><div class=\"\"><divclass=\"px-6 py-3 text-gray-500 dark:text-gray-400 flex justify-between\"><h6 class=\"font-medium w-32\"></h6><p class=\"w-32 text-center\">Matin</p><p class=\"w-32 text-center\">Après-midi</p></div>";// line 794$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable([0 => 1, 1 => 2, 2 => 3, 3 => 4, 4 => 5, 5 => 6, 6 => 7]);foreach ($context['_seq'] as $context["_key"] => $context["day"]) {// line 795echo " <div class=\"px-6 py-3 text-gray-500 dark:text-gray-400 flex justify-between\"><h6 class=\"font-medium w-32\">";// line 797$context["dayMap"] = [1 => "Lundi", 2 => "Mardi", 3 => "Mercredi", 4 => "Jeudi", 5 => "Vendredi", 6 => "Samedi", 7 => "Dimanche"];// line 806echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["dayMap"]) || array_key_exists("dayMap", $context) ? $context["dayMap"] : (function () { throw new RuntimeError('Variable "dayMap" does not exist.', 806, $this->source); })()), $context["day"], [], "array", false, false, false, 806), "html", null, true);echo "</h6>";// line 808$context["isMorningOpen"] = false;// line 809echo " ";$context["isAfternoonOpen"] = false;// line 810echo " ";$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["apiData"]) || array_key_exists("apiData", $context) ? $context["apiData"] : (function () { throw new RuntimeError('Variable "apiData" does not exist.', 810, $this->source); })()), "result", [], "any", false, false, false, 810), "opening_hours", [], "any", false, false, false, 810), "periods", [], "any", false, false, false, 810));foreach ($context['_seq'] as $context["_key"] => $context["period"]) {// line 811echo " ";if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["period"], "open", [], "any", false, false, false, 811), "day", [], "any", false, false, false, 811) == $context["day"])) {// line 812echo " ";$context["isMorningOpen"] = true;// line 813echo " ";$context["openingTime"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["period"], "open", [], "any", false, false, false, 813), "time", [], "any", false, false, false, 813);// line 814echo " ";$context["closingTime"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["period"], "close", [], "any", false, false, false, 814), "time", [], "any", false, false, false, 814);// line 815echo " ";$context["formattedOpeningTime"] = ((twig_slice($this->env, (isset($context["openingTime"]) || array_key_exists("openingTime", $context) ? $context["openingTime"] : (function () { throw new RuntimeError('Variable "openingTime" does not exist.', 815, $this->source); })()), 0, 2) . ":") . twig_slice($this->env, (isset($context["openingTime"]) || array_key_exists("openingTime", $context) ? $context["openingTime"] : (function () { throw new RuntimeError('Variable "openingTime" does not exist.', 815, $this->source); })()), 2, null));// line 816echo " ";$context["formattedClosingTime"] = ((twig_slice($this->env, (isset($context["closingTime"]) || array_key_exists("closingTime", $context) ? $context["closingTime"] : (function () { throw new RuntimeError('Variable "closingTime" does not exist.', 816, $this->source); })()), 0, 2) . ":") . twig_slice($this->env, (isset($context["closingTime"]) || array_key_exists("closingTime", $context) ? $context["closingTime"] : (function () { throw new RuntimeError('Variable "closingTime" does not exist.', 816, $this->source); })()), 2, null));// line 817echo " ";$context["closingHour"] = twig_slice($this->env, (isset($context["closingTime"]) || array_key_exists("closingTime", $context) ? $context["closingTime"] : (function () { throw new RuntimeError('Variable "closingTime" does not exist.', 817, $this->source); })()), 0, 2);// line 818echo " ";$context["isAfternoon"] = ((isset($context["closingHour"]) || array_key_exists("closingHour", $context) ? $context["closingHour"] : (function () { throw new RuntimeError('Variable "closingHour" does not exist.', 818, $this->source); })()) > "12");// line 819echo " ";if ((isset($context["isAfternoon"]) || array_key_exists("isAfternoon", $context) ? $context["isAfternoon"] : (function () { throw new RuntimeError('Variable "isAfternoon" does not exist.', 819, $this->source); })())) {// line 820echo " ";$context["isAfternoonOpen"] = true;// line 821echo " <p class=\"w-32 text-center\">";echo twig_escape_filter($this->env, (isset($context["formattedOpeningTime"]) || array_key_exists("formattedOpeningTime", $context) ? $context["formattedOpeningTime"] : (function () { throw new RuntimeError('Variable "formattedOpeningTime" does not exist.', 821, $this->source); })()), "html", null, true);echo " - ";echo twig_escape_filter($this->env, (isset($context["formattedClosingTime"]) || array_key_exists("formattedClosingTime", $context) ? $context["formattedClosingTime"] : (function () { throw new RuntimeError('Variable "formattedClosingTime" does not exist.', 821, $this->source); })()), "html", null, true);echo "</p>";} else {// line 823echo " <p class=\"w-32 text-center\">";echo twig_escape_filter($this->env, (isset($context["formattedOpeningTime"]) || array_key_exists("formattedOpeningTime", $context) ? $context["formattedOpeningTime"] : (function () { throw new RuntimeError('Variable "formattedOpeningTime" does not exist.', 823, $this->source); })()), "html", null, true);echo " - ";echo twig_escape_filter($this->env, (isset($context["formattedClosingTime"]) || array_key_exists("formattedClosingTime", $context) ? $context["formattedClosingTime"] : (function () { throw new RuntimeError('Variable "formattedClosingTime" does not exist.', 823, $this->source); })()), "html", null, true);echo "</p>";}// line 825echo " ";}// line 826echo " ";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['period'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 827echo " ";if ( !(isset($context["isMorningOpen"]) || array_key_exists("isMorningOpen", $context) ? $context["isMorningOpen"] : (function () { throw new RuntimeError('Variable "isMorningOpen" does not exist.', 827, $this->source); })())) {// line 828echo " <p class=\"w-32 text-center\">Fermé</p>";}// line 830echo " ";if ( !(isset($context["isAfternoonOpen"]) || array_key_exists("isAfternoonOpen", $context) ? $context["isAfternoonOpen"] : (function () { throw new RuntimeError('Variable "isAfternoonOpen" does not exist.', 830, $this->source); })())) {// line 831echo " <p class=\"w-32 text-center\">Fermé</p>";}// line 833echo " </div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['day'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 835echo "</div></div><divclass=\"shadow-front-3 bg-white dark:bg-foreground p-6 rounded-lg mb-7\"><h4class=\"text-base font-medium text-gray-700 dark:text-gray-100 mb-3\">Toutes les catégories</h4>";// line 853$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((isset($context["allCategories"]) || array_key_exists("allCategories", $context) ? $context["allCategories"] : (function () { throw new RuntimeError('Variable "allCategories" does not exist.', 853, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["category"]) {// line 854echo " <ahref=\"";// line 855echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home_list_category", ["id" => twig_get_attribute($this->env, $this->source, $context["category"], "id", [], "any", false, false, false, 855)]), "html", null, true);echo "\"aria-colcount=\"\"class=\"flex hover:text-blue-500 dark:hover:text-blue-500 justify-between text-base text-gray-500 dark:text-gray-400 dark:border-gray-800 border-b border-gray-200 items-center py-3\"><h6 class=\"font-medium\">";// line 859echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 859), "html", null, true);echo "</h6></a>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 862echo "</div></div></div></div></section><div class=\"scroll-top-btn opacity-0 transition-all\"><buttontype=\"button\"class=\"bg-blue-500 p-2 fixed z-50 bottom-0 hover:-translate-y-2 transition-all right-0 m-10 rounded-full\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-6 w-6 text-white\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M7 11l5-5m0 0l5 5m-5-5v12\"/></svg></button></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "home/show.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 1318 => 862, 1309 => 859, 1302 => 855, 1299 => 854, 1295 => 853, 1275 => 835, 1268 => 833, 1264 => 831, 1261 => 830, 1257 => 828, 1254 => 827, 1248 => 826, 1245 => 825, 1237 => 823, 1229 => 821, 1226 => 820, 1223 => 819, 1220 => 818, 1217 => 817, 1214 => 816, 1211 => 815, 1208 => 814, 1205 => 813, 1202 => 812, 1199 => 811, 1194 => 810, 1191 => 809, 1189 => 808, 1183 => 806, 1181 => 797, 1177 => 795, 1173 => 794, 1159 => 782, 1153 => 778, 1147 => 774, 1145 => 773, 1118 => 748, 1112 => 744, 1091 => 726, 1083 => 720, 1081 => 719, 1078 => 718, 1057 => 700, 1049 => 694, 1047 => 693, 1044 => 692, 1023 => 674, 1015 => 668, 1013 => 667, 1010 => 666, 989 => 648, 981 => 642, 979 => 641, 972 => 636, 970 => 635, 967 => 634, 960 => 630, 954 => 627, 933 => 608, 931 => 607, 925 => 604, 902 => 584, 866 => 553, 850 => 539, 838 => 533, 834 => 531, 813 => 512, 811 => 511, 806 => 509, 795 => 501, 786 => 495, 782 => 493, 778 => 492, 759 => 475, 749 => 471, 730 => 454, 726 => 453, 708 => 437, 701 => 433, 693 => 429, 686 => 425, 678 => 421, 671 => 417, 663 => 413, 656 => 409, 648 => 405, 641 => 401, 636 => 398, 634 => 397, 628 => 394, 577 => 345, 570 => 341, 562 => 337, 555 => 333, 547 => 329, 540 => 325, 532 => 321, 525 => 317, 517 => 313, 510 => 309, 503 => 305, 497 => 302, 478 => 286, 454 => 265, 446 => 260, 440 => 257, 432 => 251, 426 => 247, 424 => 246, 419 => 243, 417 => 242, 412 => 239, 410 => 238, 405 => 235, 403 => 234, 398 => 231, 396 => 230, 391 => 227, 389 => 226, 384 => 223, 382 => 222, 379 => 221, 377 => 220, 369 => 214, 346 => 193, 344 => 192, 336 => 187, 316 => 169, 301 => 156, 299 => 155, 291 => 150, 278 => 139, 269 => 136, 266 => 135, 262 => 134, 251 => 125, 206 => 82, 204 => 81, 195 => 74, 187 => 69, 181 => 65, 178 => 64, 170 => 59, 164 => 55, 161 => 54, 153 => 49, 147 => 45, 144 => 44, 136 => 39, 130 => 35, 127 => 34, 120 => 30, 115 => 27, 113 => 26, 106 => 22, 88 => 6, 78 => 5, 59 => 3, 36 => 1,);}public function getSourceContext(){return new Source("{% extends 'base2.html.twig' %}{% block title %}Nom du commerce{% endblock %}{% block body %}<div class=\"font-inter dark:bg-background sticky-header-first-content\"><sectionclass=\"pt-0 border-b border-gray-200 dark:border-foreground dark:bg-background lg:px-0 px-5\"><div class=\"container-fluid mx-auto lg:p-0 p-5\"><!-- Slider main container --><div class=\"relative\"><div class=\"swiper swiper-4-item overflow-x-hidden\"><!-- Additional required wrapper --><div class=\"swiper-wrapper relative h-full\"><!-- Slides --><div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"{{ vich_uploader_asset(shopForView, 'picture1') }}\"/></div></div>{% if vich_uploader_asset(shopForView, 'picture2') is not null %}<div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><img class=\"h-96 w-full object-cover fullscreen-image\"src=\"{{ vich_uploader_asset(shopForView, 'picture2') }}\" /></div></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture3') is not null %}<div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"{{ vich_uploader_asset(shopForView, 'picture3') }}\"/></div></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture4') is not null %}<div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"{{ vich_uploader_asset(shopForView, 'picture4') }}\"/></div></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture5') is not null %}<div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"{{ vich_uploader_asset(shopForView, 'picture5') }}\"/></div></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture6') is not null %}<div class=\"swiper-slide\"><div class=\"relative cursor-pointer\"><imgclass=\"h-96 w-full object-cover fullscreen-image\"src=\"{{ vich_uploader_asset(shopForView, 'picture6') }}\"/></div></div>{% endif %}</div><!-- If we need pagination --><div class=\"swiper-pagination\"></div><!-- If we need navigation buttons --></div>{% if vich_uploader_asset(shopForView, 'picture5') != null %}<div class=\"swiper-button-prev left-2 lg:left-6 after:hidden\"><buttontype=\"button\"class=\"bg-white dark:bg-foreground text-blue-500 rounded-full p-2\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"stroke-width=\"2\"d=\"M10 19l-7-7m0 0l7-7m-7 7h18\"/></svg></button></div><div class=\"swiper-button-next absolute right-2 lg:right-6 after:hidden\"><buttontype=\"button\"class=\"bg-white dark:bg-foreground text-blue-500 rounded-full p-2\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"stroke-width=\"2\"d=\"M14 5l7 7m0 0l-7 7m7-7H3\"/></svg></button></div>{% endif %}</div><div class=\"bg-gray-100 dark:bg-foreground pt-6 pb-1\"><div class=\"container mx-auto px-5\"><div class=\"flex flex-wrap mb-4\"><!-- Start - Show categories -->{% for category in shopForView.categories %}<span class=\"bg-yellow-500 text-xs text-white rounded-full px-4 py-1 flex items-center mr-1 mb-3\"><span class=\"badge bg-warning text-dark\">{{ category.name }}</span></span>{% endfor %}<!-- END - Show categories --></div><div class=\"flex justify-between flex-wrap\"><div class=\"mb-4\"><div class=\"flex items-center mb-1\"><h4class=\"text-gray-700 font-medium dark:text-gray-100 mr-2 lg:text-3xl text-2xl\">{{shopForView.name}}</h4>{% if shopForView.verified == true %}<svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5 text-green-500\"viewBox=\"0 0 20 20\"fill=\"currentColor\"><pathfill-rule=\"evenodd\"d=\"M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\"clip-rule=\"evenodd\"/></svg>{% endif %}</div><div class=\"flex items-center text-gray-500 dark:text-gray-300\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5 mr-1\"viewBox=\"0 0 20 20\"fill=\"currentColor\"><pathfill-rule=\"evenodd\"d=\"M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z\"clip-rule=\"evenodd\"/></svg><p class=\"text-base\">{{ shopForView.addressCity }}</p></div></div>{% if shopForView.verified == true %}<div class=\"mb-4\"><buttontype=\"button\"class=\"w-full flex justify-center items-center bg-green-600 rounded-lg text-white p-[0.657rem] mb-3\"><svgclass=\"mr-3\"width=\"31\"height=\"31\"viewBox=\"0 0 31 31\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M3.1001 15.5C3.1001 8.65091 8.65104 3.09998 15.5001 3.09998C22.3492 3.09998 27.9001 8.65091 27.9001 15.5C27.9001 22.349 22.3492 27.9 15.5001 27.9C8.65104 27.9 3.1001 22.349 3.1001 15.5ZM21.1092 13.359C21.6371 12.8311 21.6371 11.9689 21.1092 11.4409C20.5812 10.9129 19.719 10.9129 19.191 11.4409L13.9501 16.6818L11.8092 14.5409C11.2812 14.0129 10.419 14.0129 9.89103 14.5409C9.36307 15.0689 9.36307 15.9311 9.89103 16.459L12.991 19.559C13.519 20.087 14.3812 20.087 14.9092 19.559L21.1092 13.359Z\"fill=\"white\"/></svg>Etablissement vérifié par Best of Sarlat</button>{% endif %}<div class=\"mb-4\"><div class=\"flex flex-wrap items-center mb-1\">{% set rating = apiData.result.rating %}{% if rating >= 0 and rating < 0.5 %}<div class='stars-rating' style=\"--rating: 0;\"><div class=\"rating\"></div></div>{% elseif rating >= 0.5 and rating < 1.5 %}<div class='stars-rating' style=\"--rating: 0.5;\"><div class=\"rating\"></div></div>{% elseif rating >= 1.5 and rating < 2.5 %}<div class='stars-rating' style=\"--rating: 1.5;\"><div class=\"rating\"></div></div>{% elseif rating >= 2.5 and rating < 3.5 %}<div class='stars-rating' style=\"--rating: 2.5;\"><div class=\"rating\"></div></div>{% elseif rating >= 3.5 and rating < 4.5 %}<div class='stars-rating' style=\"--rating: 3.5;\"><div class=\"rating\"></div></div>{% elseif rating >= 4.5 and rating < 5 %}<div class='stars-rating' style=\"--rating: 4.5;\"><div class=\"rating\"></div></div>{% elseif rating == 5 %}<div class='stars-rating' style=\"--rating: 5;\"><div class=\"rating\"></div></div>{% endif %}<span class=\"text-gray-700 font-medium mr-2 dark:text-gray-400\">{{apiData.result.rating}}</span><span class=\"text-gray-500 dark:text-gray-400 text-sm mr-2\">({{apiData.result.user_ratings_total}} avis donnés)</span></div><span class=\"text-gray-500 dark:text-gray-400 text-sm mr-2\">Note fournie par<a href=\"{{apiData.result.url}}\" target=\"_blank\" class=\"text-blue-500 underline\">Google</a></span></div></div></div></div></div></section><section class=\"dark:bg-background pt-20 bg-bodygray lg:px-0 px-5\"><div class=\"container mx-auto\"><div class=\"grid lg:grid-cols-3 grid-cols-1 gap-7\"><div class=\"lg:col-span-2 col-span-1\"><divclass=\"rounded-lg shadow-fornt-2 dark:bg-foreground p-6 bg-white mb-7\"><h5class=\"text-base font-medium mb-4 text-gray-700 dark:text-gray-100\">Description</h5><p class=\"text-sm font-normal text-gray-500 dark:text-gray-300\">{{shopForView.about | raw}}</p></div><divclass=\"rounded-lg shadow-fornt-2 dark:bg-foreground p-6 bg-white mb-7\"><divclass=\"text-base font-medium mb-4 text-gray-700 dark:text-gray-100\">Photos</div><div class=\"swiper mySwiper2 mb-7\"><div class=\"swiper-wrapper\"><div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture1') }}\"/></div>{% if vich_uploader_asset(shopForView, 'picture2') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture2') }}\"/></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture3') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture3') }}\"/></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture4') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture4') }}\"/></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture5') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture5') }}\"/></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture6') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-96 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture6') }}\"/></div>{% endif %}</div><div class=\"swiper-button-next after:hidden\"><buttontype=\"button\"class=\"bg-white dark:bg-foreground text-blue-500 rounded-full p-2\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M9 5l7 7-7 7\"/></svg></button></div><div class=\"swiper-button-prev after:hidden\"><buttontype=\"button\"class=\"bg-white dark:bg-foreground text-blue-500 rounded-full p-2\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-5 w-5\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M15 19l-7-7 7-7\"/></svg></button></div></div><div thumbsSlider=\"\" class=\"swiper mySwiper\"><div class=\"swiper-wrapper\"><div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture1') }}\"/></div>{% if vich_uploader_asset(shopForView, 'picture2') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture2') }}\"/></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture3') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture3') }}\"/></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture4') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture4') }}\"/></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture5') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture5') }}\"/></div>{% endif %}{% if vich_uploader_asset(shopForView, 'picture6') is not null %}<div class=\"swiper-slide\"><imgclass=\"h-24 w-full object-cover rounded-lg\"src=\"{{ vich_uploader_asset(shopForView, 'picture6') }}\"/></div>{% endif %}</div></div></div><divclass=\"rounded-lg shadow-fornt-2 dark:bg-foreground p-6 bg-white mb-7\"><h5class=\"text-base font-medium mb-4 text-gray-700 dark:text-gray-100\">Les petits plus</h5><!-- Start - Show tags --><div class=\"grid md:grid-cols-3 grid-cols-2 gap-7\">{% for tag in shopForView.tags %}<divclass=\"flex items-center [&>*]:hover:text-blue-500 cursor-pointer\"><svgclass=\"w-[18px] h-[18px] mr-2 text-gray-500 dark:text-gray-300\"width=\"16\"height=\"16\"viewBox=\"0 0 16 16\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M7.41762 10.1179C7.24324 10.295 6.95637 10.295 6.78199 10.1179L4.98199 8.31786C4.8048 8.14349 4.8048 7.85661 4.98199 7.68224C5.15637 7.50505 5.44324 7.50505 5.61762 7.68224L7.0998 9.16442L10.382 5.88224C10.5564 5.70505 10.8432 5.70505 11.0176 5.88224C11.1948 6.05661 11.1948 6.34349 11.0176 6.51786L7.41762 10.1179ZM15.1998 8.00005C15.1998 11.9769 11.9767 15.2 7.9998 15.2C4.02293 15.2 0.799805 11.9769 0.799805 8.00005C0.799805 4.02317 4.02293 0.800049 7.9998 0.800049C11.9767 0.800049 15.1998 4.02317 15.1998 8.00005ZM7.9998 1.70005C4.52074 1.70005 1.6998 4.52099 1.6998 8.00005C1.6998 11.4791 4.52074 14.3 7.9998 14.3C11.4789 14.3 14.2998 11.4791 14.2998 8.00005C14.2998 4.52099 11.4789 1.70005 7.9998 1.70005Z\"fill=\"currentColor\"/></svg><span class=\"text-sm font-normal text-gray-700 dark:text-gray-300\">{{ tag.name }}</span></div>{% endfor %}</div></div><!-- END - Show tags --><div class=\"mobilehidden\"><h1class=\"text-gray-700 dark:text-gray-100 lg:text-3xl text-2xl mb-2\">Dans la même catégorie</h1><p class=\"text-gray-500 dark:text-gray-400 mb-12\">D'autres commerces qui pourraient vous convenir</p><div class=\"grid lg:grid-cols-2 grid-cols-1 gap-7 mb-10\"><!-- Slide START -->{% for shop in twoShops %}<div class=\"overflow-hidden rounded-lg\"><ahref=\"{{ path('app_home_show', {'slug' : shop.slug })}}\"class=\"relative overflow-hidden group\"><imgclass=\"w-full h-80 object-cover rounded-t-lg group-hover:scale-105 transition-all\"src=\"{{ vich_uploader_asset(shop, 'picture1') }}\"alt=\"\"/><divclass=\"absolute bottom-0 overflow-hidden top-1/2 flex items-start flex-col justify-end left-0 pb-5 pl-5 pt-2 card-linear-gradient w-full\"><div class=\"flex text-white items-center mb-2\"><h2 class=\"text-xl capitalize font-semibold\">{{shop.name}}</h2>{% if shop.verified == true %}<svgwidth=\"20\"height=\"20\"viewBox=\"0 0 20 20\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M15.6562 4.34313C16.4688 5.15625 16.6906 6.31875 16.4031 7.34688C17.3531 7.85 18 8.85 18 10C18 11.15 17.3531 12.15 16.4031 12.6531C16.7188 13.6812 16.4688 14.8156 15.6562 15.6562C14.8156 16.4688 13.6812 16.6906 12.6531 16.4031C12.15 17.3531 11.15 18 10 18C8.85 18 7.85 17.3531 7.34688 16.4031C6.31875 16.7188 5.15625 16.4688 4.34313 15.6562C3.53 14.8156 3.28125 13.6812 3.59687 12.6531C2.64687 12.15 2 11.15 2 10C2 8.85 2.64687 7.85 3.59687 7.34688C3.25312 6.31875 3.53 5.15625 4.34313 4.34313C5.15625 3.53 6.31875 3.28125 7.34688 3.59687C7.85 2.64687 8.85 2 10 2C11.15 2 12.15 2.64687 12.6531 3.59687C13.6812 3.25312 14.8156 3.53 15.6562 4.34313Z\"fill=\"#00AB55\"/><pathd=\"M7 10L8.64645 11.6464C8.84171 11.8417 9.15829 11.8417 9.35355 11.6464L13 8\"stroke=\"white\"stroke-width=\"1.2\"stroke-linecap=\"round\"/></svg>{% endif %}</div><p class=\"text-sm font-normal text-white mb-4\">{{shop.AddressCity}}</p></div></a></div>{% endfor %}<!-- Slide END --></div></div></div><div class=\"lg:col-span-1 col-span-1\"><div class=\"rounded-lg shadow-fornt-2 dark:bg-foreground bg-white mb-7\"><div class=\"mapouter\"><div class=\"gmap_canvas\"><iframeclass=\"w-full h-64 rounded-t-md\"id=\"gmap_canvas\"src=\"https://maps.google.com/maps?q={{apiData.result.geometry.location.lat}},{{apiData.result.geometry.location.lng}}&t=&z=13&ie=UTF8&iwloc=&output=embed\"frameborder=\"0\"scrolling=\"no\"marginheight=\"0\"marginwidth=\"0\"></iframe></div></div><div class=\"p-6 border-b border-gray-200 dark:border-gray-800\"><divclass=\"flex items-center text-gray-700 dark:text-gray-300 mb-4\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-4 w-4 mr-2\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z\"/><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M15 11a3 3 0 11-6 0 3 3 0 016 0z\"/></svg><p class=\"text-base\">{{apiData.result.formatted_address}}</p></div><divclass=\"flex items-center text-gray-700 dark:text-gray-300 mb-4\"><svgclass=\"h-4 w-4 mr-2\"xmlns=\"http://www.w3.org/2000/svg\"class=\"h-6 w-6\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z\"/></svg><p class=\"text-base\">{{apiData.result.formatted_phone_number}}</p></div>{% if shopForView.website %}<divclass=\"flex items-center text-gray-700 dark:text-gray-300 mb-4\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-4 w-4 mr-2\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9\"/></svg><atarget=\"_blank\"href=\"{{shopForView.website}}\"class=\"relative overflow-hidden group\"><p class=\"text-base\">{{shopForView.website}}</p></a></div>{% endif %}</div>{% if shopForView.facebook or shopForView.twitter or shopForView.linkedin or shopForView.instagram %}<div class=\"p-6\"><h6 class=\"text-base text-gray-700 dark:text-gray-100 mb-2\">Suivez-nous sur :</h6><div class=\"flex flex-wrap\">{% if shopForView.facebook %}<buttontype=\"button\"class=\"border mr-3 mb-3 border-gray-200 dark:border-gray-800 dark:text-gray-400 p-2 rounded-lg hover:text-blue-500 hover:border-blue-500 dark:hover:text-blue-500 dark:hover:border-blue-500\"><atarget=\"_blank\"href=\"{{shopForView.facebook}}\"class=\"relative overflow-hidden group\"><svgwidth=\"20\"height=\"21\"viewBox=\"0 0 20 21\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M18 10.5625C18 6.14422 14.4183 2.5625 10 2.5625C5.58172 2.5625 2 6.14422 2 10.5625C2 14.5555 4.92547 17.8652 8.75 18.4653V12.875H6.71875V10.5625H8.75V8.8C8.75 6.795 9.94438 5.6875 11.7717 5.6875C12.6467 5.6875 13.5625 5.84375 13.5625 5.84375V7.8125H12.5538C11.56 7.8125 11.25 8.42922 11.25 9.0625V10.5625H13.4688L13.1141 12.875H11.25V18.4653C15.0745 17.8652 18 14.5555 18 10.5625Z\"fill=\"currentColor\"/></svg></a></button>{% endif %}{% if shopForView.instagram %}<buttontype=\"button\"class=\"border mr-3 mb-3 border-gray-200 dark:border-gray-800 dark:text-gray-400 p-2 rounded-lg hover:text-blue-500 hover:border-blue-500 dark:hover:text-blue-500 dark:hover:border-blue-500\"><atarget=\"_blank\"href=\"{{shopForView.instagram}}\"class=\"relative overflow-hidden group\"><svgwidth=\"20\"height=\"20\"viewBox=\"0 0 17 18\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z\"fill=\"currentColor\"/></svg></a></button>{% endif %}{% if shopForView.linkedin %}<buttontype=\"button\"class=\"border mr-3 mb-3 border-gray-200 dark:border-gray-800 dark:text-gray-400 p-2 rounded-lg hover:text-blue-500 hover:border-blue-500 dark:hover:text-blue-500 dark:hover:border-blue-500\"><atarget=\"_blank\"href=\"{{shopForView.linkedin}}\"class=\"relative overflow-hidden group\"><svgwidth=\"20\"height=\"21\"viewBox=\"0 0 20 21\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M16.8156 2.5625H3.18125C2.52812 2.5625 2 3.07813 2 3.71563V17.4062C2 18.0438 2.52812 18.5625 3.18125 18.5625H16.8156C17.4688 18.5625 18 18.0438 18 17.4094V3.71563C18 3.07813 17.4688 2.5625 16.8156 2.5625ZM6.74687 16.1969H4.37188V8.55937H6.74687V16.1969ZM5.55938 7.51875C4.79688 7.51875 4.18125 6.90312 4.18125 6.14375C4.18125 5.38438 4.79688 4.76875 5.55938 4.76875C6.31875 4.76875 6.93437 5.38438 6.93437 6.14375C6.93437 6.9 6.31875 7.51875 5.55938 7.51875ZM15.6344 16.1969H13.2625V12.4844C13.2625 11.6 13.2469 10.4594 12.0281 10.4594C10.7937 10.4594 10.6062 11.425 10.6062 12.4219V16.1969H8.2375V8.55937H10.5125V9.60313H10.5437C10.8594 9.00313 11.6344 8.36875 12.7875 8.36875C15.1906 8.36875 15.6344 9.95 15.6344 12.0063V16.1969Z\"fill=\"currentColor\"/></svg></a></button>{% endif %}{% if shopForView.twitter %}<buttontype=\"button\"class=\"border mr-3 mb-3 border-gray-200 dark:border-gray-800 dark:text-gray-400 p-2 rounded-lg hover:text-blue-500 hover:border-blue-500 dark:hover:text-blue-500 dark:hover:border-blue-500\"><atarget=\"_blank\"href=\"{{shopForView.twitter}}\"class=\"relative overflow-hidden group\"><svgwidth=\"20\"height=\"21\"viewBox=\"0 0 20 21\"fill=\"none\"xmlns=\"http://www.w3.org/2000/svg\"><pathd=\"M7.03344 16.563C13.0697 16.563 16.3722 11.5608 16.3722 7.22423C16.3722 7.0836 16.3691 6.93985 16.3628 6.79923C17.0052 6.33463 17.5597 5.75916 18 5.09985C17.4017 5.36605 16.7664 5.53991 16.1159 5.61548C16.8009 5.20493 17.3137 4.55997 17.5594 3.80017C16.915 4.18203 16.2104 4.4514 15.4756 4.59673C14.9806 4.0707 14.326 3.7224 13.6131 3.60569C12.9003 3.48898 12.1688 3.61036 11.5318 3.95105C10.8949 4.29175 10.3879 4.83279 10.0892 5.49053C9.7906 6.14827 9.71695 6.88606 9.87969 7.58985C8.575 7.52438 7.29862 7.18546 6.13332 6.59505C4.96802 6.00465 3.9398 5.17595 3.11531 4.16267C2.69627 4.88515 2.56804 5.74008 2.75669 6.55372C2.94534 7.36735 3.43671 8.07862 4.13094 8.54298C3.60975 8.52643 3.09998 8.38611 2.64375 8.1336V8.17423C2.64328 8.93242 2.9054 9.66738 3.38554 10.2542C3.86568 10.841 4.53422 11.2434 5.2775 11.393C4.7947 11.5251 4.28799 11.5443 3.79656 11.4492C4.0063 12.1013 4.41438 12.6716 4.96385 13.0805C5.51331 13.4895 6.17675 13.7167 6.86156 13.7305C5.69895 14.6437 4.26278 15.1391 2.78438 15.1367C2.52219 15.1363 2.26027 15.1203 2 15.0886C3.5019 16.0522 5.24902 16.5639 7.03344 16.563Z\"fill=\"currentColor\"/></svg></a></button>{% endif %}</div></div>{% endif %}</div><div class=\"rounded-lg shadow-fornt-2 dark:bg-foreground bg-white mb-7\"><divclass=\"p-6 border-b mb-6 flex justify-between border-gray-200 text-gray-700 font-medium dark:border-gray-800 dark:text-gray-100\"><div class=\"flex\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-6 w-6 text-yellow-500 mr-2\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"/></svg><div class=\"text-base text-gray-700 dark:text-gray-100\">Horaires d'ouverture</div></div>{% if apiData.result.opening_hours.open_now == true %}<div class=\"bg-green-50 text-xs p-2 rounded-lg text-green-500\">Ouvert actuellement</div>{% else %}<div class=\"bg-red-500 text-xs p-2 rounded-lg text-red-500\">Fermé</div>{% endif %}</div><div class=\"\"><divclass=\"px-6 py-3 text-gray-500 dark:text-gray-400 flex justify-between\"><h6 class=\"font-medium w-32\"></h6><p class=\"w-32 text-center\">Matin</p><p class=\"w-32 text-center\">Après-midi</p></div>{% for day in [1, 2, 3, 4, 5, 6, 7] %}<div class=\"px-6 py-3 text-gray-500 dark:text-gray-400 flex justify-between\"><h6 class=\"font-medium w-32\">{% set dayMap = {1: 'Lundi',2: 'Mardi',3: 'Mercredi',4: 'Jeudi',5: 'Vendredi',6: 'Samedi',7: 'Dimanche'} %}{{ dayMap[day] }}</h6>{% set isMorningOpen = false %}{% set isAfternoonOpen = false %}{% for period in apiData.result.opening_hours.periods %}{% if period.open.day == day %}{% set isMorningOpen = true %}{% set openingTime = period.open.time %}{% set closingTime = period.close.time %}{% set formattedOpeningTime = openingTime[:2] ~ ':' ~ openingTime[2:] %}{% set formattedClosingTime = closingTime[:2] ~ ':' ~ closingTime[2:] %}{% set closingHour = closingTime[:2] %}{% set isAfternoon = closingHour > '12' %}{% if isAfternoon %}{% set isAfternoonOpen = true %}<p class=\"w-32 text-center\">{{ formattedOpeningTime }} - {{ formattedClosingTime }}</p>{% else %}<p class=\"w-32 text-center\">{{ formattedOpeningTime }} - {{ formattedClosingTime }}</p>{% endif %}{% endif %}{% endfor %}{% if not isMorningOpen %}<p class=\"w-32 text-center\">Fermé</p>{% endif %}{% if not isAfternoonOpen %}<p class=\"w-32 text-center\">Fermé</p>{% endif %}</div>{% endfor %}</div></div><divclass=\"shadow-front-3 bg-white dark:bg-foreground p-6 rounded-lg mb-7\"><h4class=\"text-base font-medium text-gray-700 dark:text-gray-100 mb-3\">Toutes les catégories</h4>{% for category in allCategories %}<ahref=\"{{ path('app_home_list_category', {'id' : category.id })}}\"aria-colcount=\"\"class=\"flex hover:text-blue-500 dark:hover:text-blue-500 justify-between text-base text-gray-500 dark:text-gray-400 dark:border-gray-800 border-b border-gray-200 items-center py-3\"><h6 class=\"font-medium\">{{ category.name }}</h6></a>{% endfor %}</div></div></div></div></section><div class=\"scroll-top-btn opacity-0 transition-all\"><buttontype=\"button\"class=\"bg-blue-500 p-2 fixed z-50 bottom-0 hover:-translate-y-2 transition-all right-0 m-10 rounded-full\"><svgxmlns=\"http://www.w3.org/2000/svg\"class=\"h-6 w-6 text-white\"fill=\"none\"viewBox=\"0 0 24 24\"stroke=\"currentColor\"stroke-width=\"2\"><pathstroke-linecap=\"round\"stroke-linejoin=\"round\"d=\"M7 11l5-5m0 0l5 5m-5-5v12\"/></svg></button></div>{% endblock %}", "home/show.html.twig", "/home/bestofi/bestof/templates/home/show.html.twig");}}