<?php
use 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;
/* mons/stores/show.html.twig */
class __TwigTemplate_d95ac25713768b94d094ed1f9d6f3e7baba289d9b1b263823a6582a5e403d0ba extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'head' => [$this, 'block_head'],
'stylesheets' => [$this, 'block_stylesheets'],
'metatags' => [$this, 'block_metatags'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@SyliusShop/layout-large.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "mons/stores/show.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "mons/stores/show.html.twig"));
$this->parent = $this->loadTemplate("@SyliusShop/layout-large.html.twig", "mons/stores/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 4
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 4, $this->source); })()), "title", [], "any", false, false, false, 4))) {
// line 5
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 5, $this->source); })()), "title", [], "any", false, false, false, 5), "html", null, true);
echo "
";
} else {
// line 7
echo " ";
$this->displayParentBlock("title", $context, $blocks);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
public function block_head($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 12
echo " ";
$this->displayParentBlock("head", $context, $blocks);
echo "
";
// line 14
$this->displayBlock('stylesheets', $context, $blocks);
// line 19
echo "
";
// line 20
$this->displayBlock('metatags', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 14
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 15
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
<link href='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.css' rel='stylesheet' />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 20
public function block_metatags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 21
echo " ";
$this->displayParentBlock("metatags", $context, $blocks);
echo "
<meta name=\"keywords\" content=\"";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 23, $this->source); })()), "metaKeywords", [], "any", false, false, false, 23), "html", null, true);
echo "\"/>
<meta name=\"description\" content=\"";
// line 24
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 24, $this->source); })()), "metaDescription", [], "any", false, false, false, 24), "html", null, true);
echo "\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 29
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 30
echo " <div class=\"store-details\">
<div class=\"container\">
";
// line 32
$this->loadTemplate("common/_breadcrumb-store.html.twig", "mons/stores/show.html.twig", 32)->display($context);
// line 33
echo "
<div class=\"store-details__columns\">
";
// line 35
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 35, $this->source); })()), "image", [], "any", false, false, false, 35))) {
// line 36
echo " <img class=\"store-details__image\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 36, $this->source); })()), "image", [], "any", false, false, false, 36), "path", [], "any", false, false, false, 36), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 36, $this->source); })()), "title", [], "any", false, false, false, 36), "html_attr");
echo "\" data-aos=\"fade-right\">
";
}
// line 38
echo " <div class=\"store-details__content\" data-aos=\"fade-left\">
<h1 class=\"page__title\">
<span class=\"page__tagline\">";
// line 40
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 40, $this->source); })()), "location", [], "any", false, false, false, 40), "html", null, true);
echo "</span>
";
// line 41
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 41, $this->source); })()), "name", [], "any", false, false, false, 41), "html", null, true);
echo "
</h1>
<div class=\"store-details__text\">
";
// line 44
echo twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 44, $this->source); })()), "content", [], "any", false, false, false, 44);
echo "
</div>
</div>
</div>
</div>
<div class=\"bg-dark store-details__deco\">
<div class=\"container\">
<div class=\"store-details__infos\">
<div class=\"store-details__infos-left\" data-aos=\"fade-right\">
<h3 class=\"c-red bold h4 store-details__infos-title\">";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 53, $this->source); })()), "name", [], "any", false, false, false, 53), "html", null, true);
echo "</h3><br>
<div class=\"store-details__infos-section\">
";
// line 55
if (((twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 55, $this->source); })()), "address", [], "any", false, false, false, 55) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 55, $this->source); })()), "address", [], "any", false, false, false, 55)))) {
// line 56
echo " <div class=\"store-details__icon-block\">
<i class=\"fas fa-map-marker-alt\"></i>
<div>
";
// line 59
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 59, $this->source); })()), "address", [], "any", false, false, false, 59), "html", null, true);
echo "<br>
<a href=\"https://www.google.com/maps/place/";
// line 60
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->formatForGmaps(twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 60, $this->source); })()), "address", [], "any", false, false, false, 60)), "html", null, true);
echo "/@";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 60, $this->source); })()), "gpsLat", [], "any", false, false, false, 60), "html", null, true);
echo ",";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 60, $this->source); })()), "gpsLng", [], "any", false, false, false, 60), "html", null, true);
echo ",17z\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.link.see_on_gmaps"), "html", null, true);
echo "\" target=\"_blank\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.access_map"), "html", null, true);
echo "</a>
</div>
</div>
";
}
// line 64
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 64, $this->source); })()), "email", [], "any", false, false, false, 64) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 64, $this->source); })()), "email", [], "any", false, false, false, 64)))) {
// line 65
echo " <div class=\"store-details__icon-block\">
<i class=\"fas fa-envelope\"></i>
<div><a href=\"mailto:";
// line 67
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 67, $this->source); })()), "email", [], "any", false, false, false, 67), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.write_to_the_store"), "html_attr");
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 67, $this->source); })()), "email", [], "any", false, false, false, 67), "html", null, true);
echo "</a></div>
</div>
";
}
// line 70
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 70, $this->source); })()), "phone", [], "any", false, false, false, 70) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 70, $this->source); })()), "phone", [], "any", false, false, false, 70)))) {
// line 71
echo " <div class=\"store-details__icon-block\">
<i class=\"fas fa-phone\"></i>
<div>";
// line 73
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.phone"), "html", null, true);
echo " <a href=\"tel:";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 73, $this->source); })()), "phone", [], "any", false, false, false, 73), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.call_the_store"), "html_attr");
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 73, $this->source); })()), "phone", [], "any", false, false, false, 73), "html", null, true);
echo "</a></div>
</div>
";
}
// line 76
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 76, $this->source); })()), "fax", [], "any", false, false, false, 76) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 76, $this->source); })()), "fax", [], "any", false, false, false, 76)))) {
// line 77
echo " <div class=\"store-details__icon-block\">
<i class=\"fas fa-fax\"></i>
<div>";
// line 79
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.fax"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 79, $this->source); })()), "fax", [], "any", false, false, false, 79), "html", null, true);
echo "</div>
</div>
";
}
// line 82
echo " </div>
<div class=\"store-details__infos-section\">
";
// line 84
if (((twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 84, $this->source); })()), "openingTimes", [], "any", false, false, false, 84) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 84, $this->source); })()), "openingTimes", [], "any", false, false, false, 84)))) {
// line 85
echo " <div class=\"store-details__icon-block\">
<i class=\"fas fa-clock\"></i>
<div>
<strong>";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.opening_times"), "html", null, true);
echo "</strong>
<br>
";
// line 90
echo twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 90, $this->source); })()), "openingTimes", [], "any", false, false, false, 90);
echo "
</div>
</div>
";
}
// line 94
echo " <br>
<br>
";
// line 96
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 96, $this->source); })()), "googleBusinessUrl", [], "any", false, false, false, 96))) {
// line 97
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 97, $this->source); })()), "googleBusinessUrl", [], "any", false, false, false, 97), "html", null, true);
echo "\" class=\"button button--medium button--outline-red button--outline-thin\" target=\"_blank\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.leave_a_comment"), "html_attr");
echo "\"><i class=\"fas fa-comments\"></i>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.leave_a_comment"), "html", null, true);
echo "</a>
";
}
// line 99
echo " </div>
</div>
<div class=\"store-details__infos-right\" data-aos=\"fade-left\">
<div class=\"store-details__infos-map\">
<div id=\"map\"></div>
</div>
<a href=\"";
// line 105
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_store_index");
echo "\" class=\"button button--outline button--medium button--outline-thin\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.back_to_the_list"), "html_attr");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.back_to_the_list"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>";
// line 112
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.order_online");
echo "</p>
<a class=\"button button--secondary button--medium\" href=\"";
// line 113
echo twig_escape_filter($this->env, $this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderLinkRuntime')->getLinkForCode("contact"), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.info_request"), "html_attr");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.stores.info_request"), "html", null, true);
echo "</a>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 120
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 121
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.js'></script>
<script type=\"text/javascript\">
// Display the map
mapboxgl.accessToken = '";
// line 126
echo twig_escape_filter($this->env, (isset($context["mapbox_key"]) || array_key_exists("mapbox_key", $context) ? $context["mapbox_key"] : (function () { throw new RuntimeError('Variable "mapbox_key" does not exist.', 126, $this->source); })()), "html", null, true);
echo "';
var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/mapbox/light-v10',
center: [";
// line 131
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 131, $this->source); })()), "gpsLng", [], "any", false, false, false, 131), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 131, $this->source); })()), "gpsLat", [], "any", false, false, false, 131), "html", null, true);
echo "],
zoom: 13
});
var marker = new mapboxgl.Marker({
color: '#883412'
})
.setLngLat([";
// line 138
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 138, $this->source); })()), "gpsLng", [], "any", false, false, false, 138), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 138, $this->source); })()), "gpsLat", [], "any", false, false, false, 138), "html", null, true);
echo "])
.addTo(map);
var nav = new mapboxgl.NavigationControl();
map.addControl(nav, 'top-left');
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "mons/stores/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 444 => 138, 432 => 131, 424 => 126, 415 => 121, 405 => 120, 386 => 113, 382 => 112, 368 => 105, 360 => 99, 350 => 97, 348 => 96, 344 => 94, 337 => 90, 332 => 88, 327 => 85, 325 => 84, 321 => 82, 313 => 79, 309 => 77, 306 => 76, 294 => 73, 290 => 71, 287 => 70, 277 => 67, 273 => 65, 270 => 64, 255 => 60, 251 => 59, 246 => 56, 244 => 55, 239 => 53, 227 => 44, 221 => 41, 217 => 40, 213 => 38, 205 => 36, 203 => 35, 199 => 33, 197 => 32, 193 => 30, 183 => 29, 171 => 24, 167 => 23, 161 => 21, 151 => 20, 136 => 15, 126 => 14, 116 => 20, 113 => 19, 111 => 14, 105 => 12, 95 => 11, 81 => 7, 75 => 5, 73 => 4, 63 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@SyliusShop/layout-large.html.twig' %}
{%- block title -%}
{% if page.title is not empty %}
{{ page.title }}
{% else %}
{{ parent() }}
{% endif %}
{%- endblock -%}
{% block head %}
{{ parent() }}
{% block stylesheets %}
{{ parent() }}
<link href='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.css' rel='stylesheet' />
{% endblock %}
{% block metatags %}
{{ parent() }}
<meta name=\"keywords\" content=\"{{ page.metaKeywords }}\"/>
<meta name=\"description\" content=\"{{ page.metaDescription }}\"/>
{% endblock %}
{% endblock %}
{% block content %}
<div class=\"store-details\">
<div class=\"container\">
{% include 'common/_breadcrumb-store.html.twig' %}
<div class=\"store-details__columns\">
{% if store.image is not empty %}
<img class=\"store-details__image\" src=\"{{ store.image.path }}\" alt=\"{{ store.title|e('html_attr') }}\" data-aos=\"fade-right\">
{% endif %}
<div class=\"store-details__content\" data-aos=\"fade-left\">
<h1 class=\"page__title\">
<span class=\"page__tagline\">{{ store.location }}</span>
{{ store.name }}
</h1>
<div class=\"store-details__text\">
{{ store.content|raw }}
</div>
</div>
</div>
</div>
<div class=\"bg-dark store-details__deco\">
<div class=\"container\">
<div class=\"store-details__infos\">
<div class=\"store-details__infos-left\" data-aos=\"fade-right\">
<h3 class=\"c-red bold h4 store-details__infos-title\">{{ store.name }}</h3><br>
<div class=\"store-details__infos-section\">
{% if store.address != \"\" and store.address is not null %}
<div class=\"store-details__icon-block\">
<i class=\"fas fa-map-marker-alt\"></i>
<div>
{{ store.address }}<br>
<a href=\"https://www.google.com/maps/place/{{ store.address|format_for_gmaps }}/@{{ store.gpsLat }},{{ store.gpsLng }},17z\" title=\"{{ 'sylius.structures.link.see_on_gmaps'|trans }}\" target=\"_blank\">{{ 'sylius.stores.access_map'|trans }}</a>
</div>
</div>
{% endif %}
{% if store.email != \"\" and store.email is not null %}
<div class=\"store-details__icon-block\">
<i class=\"fas fa-envelope\"></i>
<div><a href=\"mailto:{{ store.email }}\" title=\"{{ 'sylius.stores.write_to_the_store'|trans|e('html_attr') }}\">{{ store.email }}</a></div>
</div>
{% endif %}
{% if store.phone != \"\" and store.phone is not null %}
<div class=\"store-details__icon-block\">
<i class=\"fas fa-phone\"></i>
<div>{{ 'sylius.stores.phone'|trans }} <a href=\"tel:{{ store.phone }}\" target=\"_blank\" title=\"{{ 'sylius.stores.call_the_store'|trans|e('html_attr') }}\">{{ store.phone }}</a></div>
</div>
{% endif %}
{% if store.fax != \"\" and store.fax is not null %}
<div class=\"store-details__icon-block\">
<i class=\"fas fa-fax\"></i>
<div>{{ 'sylius.stores.fax'|trans }} {{ store.fax }}</div>
</div>
{% endif %}
</div>
<div class=\"store-details__infos-section\">
{% if store.openingTimes != \"\" and store.openingTimes is not null %}
<div class=\"store-details__icon-block\">
<i class=\"fas fa-clock\"></i>
<div>
<strong>{{ 'sylius.stores.opening_times'|trans }}</strong>
<br>
{{ store.openingTimes|raw }}
</div>
</div>
{% endif %}
<br>
<br>
{% if store.googleBusinessUrl is not null %}
<a href=\"{{ store.googleBusinessUrl }}\" class=\"button button--medium button--outline-red button--outline-thin\" target=\"_blank\" title=\"{{ 'sylius.stores.leave_a_comment'|trans|e('html_attr') }}\"><i class=\"fas fa-comments\"></i>{{ 'sylius.stores.leave_a_comment'|trans }}</a>
{% endif %}
</div>
</div>
<div class=\"store-details__infos-right\" data-aos=\"fade-left\">
<div class=\"store-details__infos-map\">
<div id=\"map\"></div>
</div>
<a href=\"{{ path('app_shop_store_index') }}\" class=\"button button--outline button--medium button--outline-thin\" title=\"{{ 'sylius.stores.back_to_the_list'|trans|e('html_attr') }}\">{{ 'sylius.stores.back_to_the_list'|trans }}</a>
</div>
</div>
</div>
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>{{ 'sylius.stores.order_online'|trans|raw }}</p>
<a class=\"button button--secondary button--medium\" href=\"{{ bitbag_cms_get_link_for_code('contact') }}\" title=\"{{ 'sylius.stores.info_request'|trans|e('html_attr') }}\">{{ 'sylius.stores.info_request'|trans }}</a>
</div>
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.js'></script>
<script type=\"text/javascript\">
// Display the map
mapboxgl.accessToken = '{{ mapbox_key }}';
var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/mapbox/light-v10',
center: [{{ store.gpsLng }}, {{ store.gpsLat }}],
zoom: 13
});
var marker = new mapboxgl.Marker({
color: '#883412'
})
.setLngLat([{{ store.gpsLng }}, {{ store.gpsLat }}])
.addTo(map);
var nav = new mapboxgl.NavigationControl();
map.addControl(nav, 'top-left');
</script>
{% endblock %}
", "mons/stores/show.html.twig", "/home/mons/site/www/templates/mons/stores/show.html.twig");
}
}