<?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;
/* @View/layouts/base.html.twig */
class __TwigTemplate_51bf46d90631f9af50ac97af5db317b02032c1fb91e4185bef610f92826f7970 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'head' => [$this, 'block_head'],
'body' => [$this, 'block_body'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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", "@View/layouts/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@View/layouts/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
";
// line 3
$context["bodyClass"] = null;
// line 4
$context["pageClasses"] = [0 => "page"];
// line 5
echo "
";
// line 6
if (array_key_exists("pageClass", $context)) {
// line 7
echo "\t";
$context["bodyClass"] = ((isset($context["pageClass"]) || array_key_exists("pageClass", $context) ? $context["pageClass"] : (function () { throw new RuntimeError('Variable "pageClass" does not exist.', 7, $this->source); })()) . "-page");
// line 8
echo "\t";
$context["pageClasses"] = twig_array_merge((isset($context["pageClasses"]) || array_key_exists("pageClasses", $context) ? $context["pageClasses"] : (function () { throw new RuntimeError('Variable "pageClasses" does not exist.', 8, $this->source); })()), [0 => ((isset($context["pageClass"]) || array_key_exists("pageClass", $context) ? $context["pageClass"] : (function () { throw new RuntimeError('Variable "pageClass" does not exist.', 8, $this->source); })()) . "-page")]);
}
// line 10
echo "
";
// line 11
$context["pageClasses"] = twig_join_filter((isset($context["pageClasses"]) || array_key_exists("pageClasses", $context) ? $context["pageClasses"] : (function () { throw new RuntimeError('Variable "pageClasses" does not exist.', 11, $this->source); })()), " ");
// line 12
$context["lang"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "getLocale", [], "method", false, false, false, 12);
// line 13
$context["residence_mode"] = $this->extensions['App\Twig\TwigExtension']->getResidenceMode();
// line 14
$context["social_media"] = [];
// line 15
echo "<html lang=\"fr\">
\t<head>
\t\t";
// line 17
$context["schemeAndHttpHost"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, false, 17), "getSchemeAndHttpHost", [], "any", false, false, false, 17);
// line 18
echo "\t\t";
if (twig_in_filter("miramar-lacigale.com", (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost", $context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.', 18, $this->source); })()))) {
// line 19
echo "\t\t\t<meta name=\"facebook-domain-verification\" content=\"4t45bul4etl9qga4a810ima4xten22\"/>
\t\t";
}
// line 21
echo "\t\t";
if ((array_key_exists("page_versions", $context) && (isset($context["page_versions"]) || array_key_exists("page_versions", $context) ? $context["page_versions"] : (function () { throw new RuntimeError('Variable "page_versions" does not exist.', 21, $this->source); })()))) {
// line 22
echo "\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["page_versions"]) || array_key_exists("page_versions", $context) ? $context["page_versions"] : (function () { throw new RuntimeError('Variable "page_versions" does not exist.', 22, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["version"]) {
// line 23
echo "\t\t\t\t<link rel=\"alternate\" hreflang=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["version"], "value", [], "array", false, false, false, 23), "html", null, true);
echo "\" href=\"";
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "getSchemeAndHttpHost", [], "method", false, false, false, 23) . twig_get_attribute($this->env, $this->source, $context["version"], "to", [], "array", false, false, false, 23)), "html", null, true);
echo "\"/>
\t\t\t\t";
// line 24
if ((twig_get_attribute($this->env, $this->source, $context["version"], "value", [], "array", false, false, false, 24) == twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "getLocale", [], "method", false, false, false, 24))) {
// line 25
echo "\t\t\t\t\t<link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "getSchemeAndHttpHost", [], "method", false, false, false, 25) . twig_get_attribute($this->env, $this->source, $context["version"], "to", [], "array", false, false, false, 25)), "html", null, true);
echo "\"/>
\t\t\t\t";
}
// line 27
echo "\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['version'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 28
echo "\t\t";
}
// line 29
echo "
\t\t<meta charset=\"utf-8\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=10\">
\t\t";
// line 33
if (array_key_exists("page", $context)) {
// line 34
echo "\t\t\t<meta name=\"title\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 34, $this->source); })()), "getHeaderFields", [0 => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 34, $this->source); })()), 1 => "seo_meta_title", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 34, $this->source); })())], "method", false, false, false, 34), "html", null, true);
echo "\"/>
\t\t\t<meta name=\"description\" content=\"";
// line 35
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 35, $this->source); })()), "getHeaderFields", [0 => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 35, $this->source); })()), 1 => "seo_meta_description", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 35, $this->source); })())], "method", false, false, false, 35), "html", null, true);
echo "\"/>
\t\t\t<title>";
// line 36
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 36, $this->source); })()), "getHeaderFields", [0 => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 36, $this->source); })()), 1 => "seo_meta_title", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 36, $this->source); })())], "method", false, false, false, 36), "html", null, true);
echo "</title>
\t\t";
} else {
// line 38
echo "\t\t\t<title>Miramar</title>
\t\t";
}
// line 40
echo "\t\t<link href='https://api.mapbox.com/mapbox-gl-js/v2.0.0/mapbox-gl.css' rel='stylesheet'/>
\t\t";
// line 43
$this->displayBlock('stylesheets', $context, $blocks);
// line 47
echo "
\t\t\t\t\t";
// line 62
$context["schemeAndHttpHost"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 62, $this->source); })()), "request", [], "any", false, false, false, 62), "getSchemeAndHttpHost", [], "any", false, false, false, 62);
// line 63
echo "\t\t\t";
if (twig_in_filter("miramar-lacigale.com", (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost", $context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.', 63, $this->source); })()))) {
// line 64
echo "\t\t\t<!-- Google Tag Manager -->
\t\t\t
\t\t\t
\t\t\t\t<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-NZDDJPS');
\t\t</script>
\t\t\t<!-- End Google Tag Manager -->
\t\t\t\t";
}
// line 81
echo "\t\t\t
\t\t<script src='https://www.google.com/recaptcha/api.js?render=6LeggfEcAAAAAClhhByqb-q6e7AI-TrnFqhvirqb'></script>
\t\t";
// line 84
$context["schemeAndHttpHost"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 84, $this->source); })()), "request", [], "any", false, false, false, 84), "getSchemeAndHttpHost", [], "any", false, false, false, 84);
// line 85
echo "\t\t";
if (twig_in_filter("miramar-lacigale.com", (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost", $context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.', 85, $this->source); })()))) {
// line 86
echo "\t\t\t<!-- Meta Pixel Code -->
\t\t\t<script>
\t\t\t\t!function (f, b, e, v, n, t, s) {
if (f.fbq)
return;
n = f.fbq = function () {
n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (! f._fbq)
f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = '2.0';
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '905233410257695');
fbq('track', 'PageView');
\t\t\t</script>
\t\t\t<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=905233410257695&ev=PageView&noscript=1\"/></noscript>
\t\t\t<!-- End Meta Pixel Code -->
\t\t\t";
// line 133
echo "
\t\t";
}
// line 135
echo "
\t\t";
// line 136
$this->displayBlock('head', $context, $blocks);
// line 137
echo "\t\t";
if (array_key_exists("page", $context)) {
// line 138
echo "\t\t\t";
$context["array"] = twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 138, $this->source); })()), "getSchemaBreadcrumb", [0 => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 138, $this->source); })()), 1 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 138, $this->source); })()), 2 => (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost", $context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.', 138, $this->source); })())], "method", false, false, false, 138);
// line 139
echo "\t\t\t<script type=\"application/ld+json\">
\t\t\t\t{
\t\t\t\t\t\t\t\t\t\"@context\": \"http://schema.org/\",
\t\t\t\t\t\t\t\t\t\"@type\": \"BreadcrumbList\",
\t\t\t\t\t\t\t\t\t\"name\": \"Miramar La Cigale : Hôtel Thalasso & Spa\",
\t\t\t\t\t\t\t\t\t\"itemListElement\":
\t\t\t\t";
// line 145
echo json_encode((isset($context["array"]) || array_key_exists("array", $context) ? $context["array"] : (function () { throw new RuntimeError('Variable "array" does not exist.', 145, $this->source); })()));
echo "
\t\t\t\t}
\t\t\t</script>
\t\t";
}
// line 149
echo "\t\t<!-- favicon -->
<link rel=\"icon\" type=\"image/x-icon\" href=\"";
// line 150
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/favicon.png"), "html", null, true);
echo "\" />
\t</head>
\t<body ";
// line 154
if ((isset($context["bodyClass"]) || array_key_exists("bodyClass", $context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.', 154, $this->source); })())) {
echo " class=\"";
echo twig_escape_filter($this->env, (isset($context["bodyClass"]) || array_key_exists("bodyClass", $context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.', 154, $this->source); })()), "html", null, true);
echo "\" ";
}
echo ">
\t\t";
// line 156
if (twig_in_filter("miramar-lacigale.com", (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost", $context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.', 156, $this->source); })()))) {
// line 157
echo "\t\t\t<!-- Google Tag Manager (noscript) -->
\t\t\t<noscript>
\t\t\t\t<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NZDDJPS\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
\t\t\t</noscript>
\t\t\t<!-- End Google Tag Manager (noscript) -->
\t\t";
}
// line 163
echo "
\t\t";
// line 164
$this->displayBlock('body', $context, $blocks);
// line 165
echo "
\t\t";
// line 166
$this->loadTemplate("component/page_transition.html.twig", "@View/layouts/base.html.twig", 166)->display($context);
// line 167
echo "
\t\t<div style=\"display:none\">
\t\t\t";
// line 169
$this->loadTemplate("layouts/sprite.svg", "@View/layouts/base.html.twig", 169)->display($context);
// line 170
echo "\t\t</div>
\t\t";
// line 173
echo "\t\t<main
\t\t\tdata-page=\"";
// line 174
echo twig_escape_filter($this->env, ((array_key_exists("jsPageId", $context)) ? (_twig_default_filter((isset($context["jsPageId"]) || array_key_exists("jsPageId", $context) ? $context["jsPageId"] : (function () { throw new RuntimeError('Variable "jsPageId" does not exist.', 174, $this->source); })()), "")) : ("")), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (isset($context["pageClasses"]) || array_key_exists("pageClasses", $context) ? $context["pageClasses"] : (function () { throw new RuntimeError('Variable "pageClasses" does not exist.', 174, $this->source); })()), "html", null, true);
echo "\">
\t\t\t";
// line 176
echo "\t\t\t";
$this->loadTemplate("component/modal-reservations.html.twig", "@View/layouts/base.html.twig", 176)->display([]);
// line 177
echo "
\t\t\t";
// line 179
echo "\t\t\t";
$context["first_menu_items"] = [];
// line 180
echo "\t\t\t";
$context["second_menu_items"] = [];
// line 181
echo "\t\t\t";
if ((isset($context["residence_mode"]) || array_key_exists("residence_mode", $context) ? $context["residence_mode"] : (function () { throw new RuntimeError('Variable "residence_mode" does not exist.', 181, $this->source); })())) {
// line 182
echo "\t\t\t\t";
$context["resi_type"] = "residence";
// line 183
echo "\t\t\t";
} else {
// line 184
echo "\t\t\t\t";
$context["resi_type"] = "hotel";
// line 185
echo "\t\t\t";
}
// line 186
echo "\t\t\t";
if (($this->extensions['App\Twig\TwigExtension']->isCacheMenu((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 186, $this->source); })()), (isset($context["resi_type"]) || array_key_exists("resi_type", $context) ? $context["resi_type"] : (function () { throw new RuntimeError('Variable "resi_type" does not exist.', 186, $this->source); })())) == null)) {
// line 187
echo "\t\t\t\t";
if ((isset($context["residence_mode"]) || array_key_exists("residence_mode", $context) ? $context["residence_mode"] : (function () { throw new RuntimeError('Variable "residence_mode" does not exist.', 187, $this->source); })())) {
// line 188
echo "\t\t\t\t\t";
$context["menu_principale_residence"] = $this->extensions['App\Twig\TwigExtension']->getMenu("principale-residence");
// line 189
echo "\t\t\t\t\t";
if ((isset($context["menu_principale_residence"]) || array_key_exists("menu_principale_residence", $context) ? $context["menu_principale_residence"] : (function () { throw new RuntimeError('Variable "menu_principale_residence" does not exist.', 189, $this->source); })())) {
// line 190
echo "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["menu_principale_residence"]) || array_key_exists("menu_principale_residence", $context) ? $context["menu_principale_residence"] : (function () { throw new RuntimeError('Variable "menu_principale_residence" does not exist.', 190, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["menu_item"]) {
// line 191
echo "\t\t\t\t\t\t\t";
$context["to"] = twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 191, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "link", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 191, $this->source); })())], "method", false, false, false, 191);
// line 192
echo "\t\t\t\t\t\t\t";
if ((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 192, $this->source); })())) {
// line 193
echo "\t\t\t\t\t\t\t\t";
$context["first_menu_items"] = twig_array_merge((isset($context["first_menu_items"]) || array_key_exists("first_menu_items", $context) ? $context["first_menu_items"] : (function () { throw new RuntimeError('Variable "first_menu_items" does not exist.', 193, $this->source); })()), [0 => ["title" => twig_get_attribute($this->env, $this->source, // line 194
(isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 194, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "label", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 194, $this->source); })())], "method", false, false, false, 194), "image" => twig_get_attribute($this->env, $this->source, // line 195
(isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 195, $this->source); })()), "getMediaPublicUrl", [0 => twig_get_attribute($this->env, $this->source, $context["menu_item"], "sonataImg", [], "any", false, false, false, 195), 1 => "big", 2 => twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 195, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "alt_img", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 195, $this->source); })())], "method", false, false, false, 195)], "method", false, false, false, 195), "to" => ((twig_get_attribute($this->env, $this->source, // line 196
$context["menu_item"], "isExternalLink", [], "any", false, false, false, 196)) ? ((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 196, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("render_residence_pages", ["_locale" => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 196, $this->source); })()), "slug" => (isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 196, $this->source); })()), "hostname" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 196, $this->source); })()), "request", [], "any", false, false, false, 196), "getHttpHost", [], "method", false, false, false, 196)]))), "target" => ((twig_get_attribute($this->env, $this->source, // line 197
$context["menu_item"], "isExternalLink", [], "any", false, false, false, 197)) ? ("_blank") : (""))]]);
// line 199
echo "\t\t\t\t\t\t\t";
}
// line 200
echo "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu_item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 201
echo "\t\t\t\t\t";
}
// line 202
echo "\t\t\t\t\t";
$context["menu_secondaire_residence"] = $this->extensions['App\Twig\TwigExtension']->getMenu("secondaire-residence");
// line 203
echo "\t\t\t\t\t";
if ((isset($context["menu_secondaire_residence"]) || array_key_exists("menu_secondaire_residence", $context) ? $context["menu_secondaire_residence"] : (function () { throw new RuntimeError('Variable "menu_secondaire_residence" does not exist.', 203, $this->source); })())) {
// line 204
echo "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["menu_secondaire_residence"]) || array_key_exists("menu_secondaire_residence", $context) ? $context["menu_secondaire_residence"] : (function () { throw new RuntimeError('Variable "menu_secondaire_residence" does not exist.', 204, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["menu_item"]) {
// line 205
echo "\t\t\t\t\t\t\t";
$context["to"] = twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 205, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "link", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 205, $this->source); })())], "method", false, false, false, 205);
// line 206
echo "\t\t\t\t\t\t\t";
if ((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 206, $this->source); })())) {
// line 207
echo "\t\t\t\t\t\t\t\t";
$context["second_menu_items"] = twig_array_merge((isset($context["second_menu_items"]) || array_key_exists("second_menu_items", $context) ? $context["second_menu_items"] : (function () { throw new RuntimeError('Variable "second_menu_items" does not exist.', 207, $this->source); })()), [0 => ["title" => twig_get_attribute($this->env, $this->source, // line 208
(isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 208, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "label", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 208, $this->source); })())], "method", false, false, false, 208), "image" => twig_get_attribute($this->env, $this->source, // line 209
(isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 209, $this->source); })()), "getMediaPublicUrl", [0 => twig_get_attribute($this->env, $this->source, $context["menu_item"], "sonataImg", [], "any", false, false, false, 209), 1 => "big", 2 => twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 209, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "alt_img", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 209, $this->source); })())], "method", false, false, false, 209)], "method", false, false, false, 209), "to" => ((twig_get_attribute($this->env, $this->source, // line 210
$context["menu_item"], "isExternalLink", [], "any", false, false, false, 210)) ? ((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 210, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("render_residence_pages", ["_locale" => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 210, $this->source); })()), "slug" => (isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 210, $this->source); })()), "hostname" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 210, $this->source); })()), "request", [], "any", false, false, false, 210), "getHttpHost", [], "method", false, false, false, 210)]))), "target" => ((twig_get_attribute($this->env, $this->source, // line 211
$context["menu_item"], "isExternalLink", [], "any", false, false, false, 211)) ? ("_blank") : (""))]]);
// line 213
echo "\t\t\t\t\t\t\t";
}
// line 214
echo "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu_item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 215
echo "\t\t\t\t\t";
}
// line 216
echo "\t\t\t\t";
} else {
// line 217
echo "\t\t\t\t\t";
$context["menu_principal_hotel"] = $this->extensions['App\Twig\TwigExtension']->getMenu("principale");
// line 218
echo "\t\t\t\t\t";
if ((isset($context["menu_principal_hotel"]) || array_key_exists("menu_principal_hotel", $context) ? $context["menu_principal_hotel"] : (function () { throw new RuntimeError('Variable "menu_principal_hotel" does not exist.', 218, $this->source); })())) {
// line 219
echo "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["menu_principal_hotel"]) || array_key_exists("menu_principal_hotel", $context) ? $context["menu_principal_hotel"] : (function () { throw new RuntimeError('Variable "menu_principal_hotel" does not exist.', 219, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["menu_item"]) {
// line 220
echo "\t\t\t\t\t\t\t";
$context["to"] = twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 220, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "link", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 220, $this->source); })())], "method", false, false, false, 220);
// line 221
echo "\t\t\t\t\t\t\t";
if ((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 221, $this->source); })())) {
// line 222
echo "\t\t\t\t\t\t\t\t";
$context["first_menu_items"] = twig_array_merge((isset($context["first_menu_items"]) || array_key_exists("first_menu_items", $context) ? $context["first_menu_items"] : (function () { throw new RuntimeError('Variable "first_menu_items" does not exist.', 222, $this->source); })()), [0 => ["title" => twig_get_attribute($this->env, $this->source, // line 223
(isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 223, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "label", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 223, $this->source); })())], "method", false, false, false, 223), "image" => twig_get_attribute($this->env, $this->source, // line 224
(isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 224, $this->source); })()), "getMediaPublicUrl", [0 => twig_get_attribute($this->env, $this->source, $context["menu_item"], "sonataImg", [], "any", false, false, false, 224), 1 => "big", 2 => twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 224, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "alt_img", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 224, $this->source); })())], "method", false, false, false, 224)], "method", false, false, false, 224), "to" => ((twig_get_attribute($this->env, $this->source, // line 225
$context["menu_item"], "isExternalLink", [], "any", false, false, false, 225)) ? ((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 225, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("render_mlc_pages", ["_locale" => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 225, $this->source); })()), "slug" => (isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 225, $this->source); })()), "hostname" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 225, $this->source); })()), "request", [], "any", false, false, false, 225), "getHttpHost", [], "method", false, false, false, 225)]))), "target" => ((twig_get_attribute($this->env, $this->source, // line 226
$context["menu_item"], "isExternalLink", [], "any", false, false, false, 226)) ? ("_blank") : (""))]]);
// line 228
echo "\t\t\t\t\t\t\t";
}
// line 229
echo "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu_item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 230
echo "
\t\t\t\t\t";
}
// line 232
echo "\t\t\t\t\t";
$context["menu_secondaire_hotel"] = $this->extensions['App\Twig\TwigExtension']->getMenu("secondaire");
// line 233
echo "\t\t\t\t\t";
if ((isset($context["menu_secondaire_hotel"]) || array_key_exists("menu_secondaire_hotel", $context) ? $context["menu_secondaire_hotel"] : (function () { throw new RuntimeError('Variable "menu_secondaire_hotel" does not exist.', 233, $this->source); })())) {
// line 234
echo "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["menu_secondaire_hotel"]) || array_key_exists("menu_secondaire_hotel", $context) ? $context["menu_secondaire_hotel"] : (function () { throw new RuntimeError('Variable "menu_secondaire_hotel" does not exist.', 234, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["menu_item"]) {
// line 235
echo "\t\t\t\t\t\t\t";
$context["to"] = twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 235, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "link", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 235, $this->source); })())], "method", false, false, false, 235);
// line 236
echo "\t\t\t\t\t\t\t";
if ((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 236, $this->source); })())) {
// line 237
echo "\t\t\t\t\t\t\t\t";
$context["second_menu_items"] = twig_array_merge((isset($context["second_menu_items"]) || array_key_exists("second_menu_items", $context) ? $context["second_menu_items"] : (function () { throw new RuntimeError('Variable "second_menu_items" does not exist.', 237, $this->source); })()), [0 => ["title" => twig_get_attribute($this->env, $this->source, // line 238
(isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 238, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "label", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 238, $this->source); })())], "method", false, false, false, 238), "image" => twig_get_attribute($this->env, $this->source, // line 239
(isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 239, $this->source); })()), "getMediaPublicUrl", [0 => twig_get_attribute($this->env, $this->source, $context["menu_item"], "sonataImg", [], "any", false, false, false, 239), 1 => "big", 2 => twig_get_attribute($this->env, $this->source, (isset($context["frontservice"]) || array_key_exists("frontservice", $context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.', 239, $this->source); })()), "getMenuItemContent", [0 => $context["menu_item"], 1 => "alt_img", 2 => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 239, $this->source); })())], "method", false, false, false, 239)], "method", false, false, false, 239), "to" => ((twig_get_attribute($this->env, $this->source, // line 240
$context["menu_item"], "isExternalLink", [], "any", false, false, false, 240)) ? ((isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 240, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("render_mlc_pages", ["_locale" => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 240, $this->source); })()), "slug" => (isset($context["to"]) || array_key_exists("to", $context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.', 240, $this->source); })()), "hostname" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 240, $this->source); })()), "request", [], "any", false, false, false, 240), "getHttpHost", [], "method", false, false, false, 240)]))), "target" => ((twig_get_attribute($this->env, $this->source, // line 241
$context["menu_item"], "isExternalLink", [], "any", false, false, false, 241)) ? ("_blank") : (""))]]);
// line 243
echo "\t\t\t\t\t\t\t";
}
// line 244
echo "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu_item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 245
echo "\t\t\t\t\t";
}
// line 246
echo "\t\t\t\t";
}
// line 247
echo "
\t\t\t\t";
// line 248
$context["saveCachedMenu"] = $this->extensions['App\Twig\TwigExtension']->saveCachedMenu((isset($context["first_menu_items"]) || array_key_exists("first_menu_items", $context) ? $context["first_menu_items"] : (function () { throw new RuntimeError('Variable "first_menu_items" does not exist.', 248, $this->source); })()), (isset($context["second_menu_items"]) || array_key_exists("second_menu_items", $context) ? $context["second_menu_items"] : (function () { throw new RuntimeError('Variable "second_menu_items" does not exist.', 248, $this->source); })()), (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 248, $this->source); })()), (isset($context["resi_type"]) || array_key_exists("resi_type", $context) ? $context["resi_type"] : (function () { throw new RuntimeError('Variable "resi_type" does not exist.', 248, $this->source); })()));
// line 249
echo "
\t\t\t";
} else {
// line 251
echo "\t\t\t\t";
$context["the_cached_menu"] = $this->extensions['App\Twig\TwigExtension']->getCachedMenu((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 251, $this->source); })()), (isset($context["resi_type"]) || array_key_exists("resi_type", $context) ? $context["resi_type"] : (function () { throw new RuntimeError('Variable "resi_type" does not exist.', 251, $this->source); })()));
// line 252
echo "\t\t\t\t";
if ((isset($context["the_cached_menu"]) || array_key_exists("the_cached_menu", $context) ? $context["the_cached_menu"] : (function () { throw new RuntimeError('Variable "the_cached_menu" does not exist.', 252, $this->source); })())) {
// line 253
echo "\t\t\t\t\t";
$context["first_menu_items"] = twig_get_attribute($this->env, $this->source, (isset($context["the_cached_menu"]) || array_key_exists("the_cached_menu", $context) ? $context["the_cached_menu"] : (function () { throw new RuntimeError('Variable "the_cached_menu" does not exist.', 253, $this->source); })()), "first_menu", [], "array", false, false, false, 253);
// line 254
echo "\t\t\t\t\t";
$context["second_menu_items"] = twig_get_attribute($this->env, $this->source, (isset($context["the_cached_menu"]) || array_key_exists("the_cached_menu", $context) ? $context["the_cached_menu"] : (function () { throw new RuntimeError('Variable "the_cached_menu" does not exist.', 254, $this->source); })()), "second_menu", [], "array", false, false, false, 254);
// line 255
echo "\t\t\t\t";
}
// line 256
echo "\t\t\t";
}
// line 257
echo "\t\t\t";
if ((isset($context["residence_mode"]) || array_key_exists("residence_mode", $context) ? $context["residence_mode"] : (function () { throw new RuntimeError('Variable "residence_mode" does not exist.', 257, $this->source); })())) {
// line 258
echo "\t\t\t\t";
$context["resi_social_media"] = $this->extensions['App\Twig\TwigExtension']->getSocialMedia("residence", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 258, $this->source); })()), "request", [], "any", false, false, false, 258), "getLocale", [], "method", false, false, false, 258));
// line 259
echo "\t\t\t\t";
if ((isset($context["resi_social_media"]) || array_key_exists("resi_social_media", $context) ? $context["resi_social_media"] : (function () { throw new RuntimeError('Variable "resi_social_media" does not exist.', 259, $this->source); })())) {
// line 260
echo "\t\t\t\t\t";
$context["social_media"] = (isset($context["resi_social_media"]) || array_key_exists("resi_social_media", $context) ? $context["resi_social_media"] : (function () { throw new RuntimeError('Variable "resi_social_media" does not exist.', 260, $this->source); })());
// line 261
echo "\t\t\t\t";
}
// line 262
echo "\t\t\t";
} else {
// line 263
echo "\t\t\t\t";
$context["hotel_social_media"] = $this->extensions['App\Twig\TwigExtension']->getSocialMedia("hotel", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 263, $this->source); })()), "request", [], "any", false, false, false, 263), "getLocale", [], "method", false, false, false, 263));
// line 264
echo "\t\t\t\t";
if ((isset($context["hotel_social_media"]) || array_key_exists("hotel_social_media", $context) ? $context["hotel_social_media"] : (function () { throw new RuntimeError('Variable "hotel_social_media" does not exist.', 264, $this->source); })())) {
// line 265
echo "\t\t\t\t\t";
$context["social_media"] = (isset($context["hotel_social_media"]) || array_key_exists("hotel_social_media", $context) ? $context["hotel_social_media"] : (function () { throw new RuntimeError('Variable "hotel_social_media" does not exist.', 265, $this->source); })());
// line 266
echo "\t\t\t\t";
}
// line 267
echo "\t\t\t";
}
// line 268
echo "
\t\t\t";
// line 269
$this->loadTemplate("component/header/menu.html.twig", "@View/layouts/base.html.twig", 269)->display(twig_to_array(["props" => ["heading" => ["title" => "Journées & rituels thalasso", "titleAnnex" => "se ressourcer"], "firstMenuItems" => // line 275
(isset($context["first_menu_items"]) || array_key_exists("first_menu_items", $context) ? $context["first_menu_items"] : (function () { throw new RuntimeError('Variable "first_menu_items" does not exist.', 275, $this->source); })()), "secondMenuItems" => // line 276
(isset($context["second_menu_items"]) || array_key_exists("second_menu_items", $context) ? $context["second_menu_items"] : (function () { throw new RuntimeError('Variable "second_menu_items" does not exist.', 276, $this->source); })()), "socialItems" => // line 277
(isset($context["social_media"]) || array_key_exists("social_media", $context) ? $context["social_media"] : (function () { throw new RuntimeError('Variable "social_media" does not exist.', 277, $this->source); })())]]));
// line 280
echo "
\t\t\t";
// line 282
$this->displayBlock('content', $context, $blocks);
// line 283
echo "\t\t</main>
\t\t";
// line 286
$this->displayBlock('javascripts', $context, $blocks);
// line 303
echo "
\t</body>
</html></body></html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 43
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 44
echo "\t\t\t";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
\t\t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("cms/css/style.css"), "html", null, true);
echo "\"/>
\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 136
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 164
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 282
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 286
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 287
echo "\t\t\t";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
\t\t\t<script src=\"";
// line 288
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/custom_front.js"), "html", null, true);
echo "\"></script>
\t\t\t<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
\t\t\t<script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
\t\t\t<script src=\"";
// line 291
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("cms/js/scripts.js"), "html", null, true);
echo "\"></script>
\t\t\t<script>
\t\t\t\tgrecaptcha.ready(function () {
grecaptcha.execute('6LeggfEcAAAAAClhhByqb-q6e7AI-TrnFqhvirqb', {action: 'homepage'}).then(function (token) {
\$('.g-recaptcha-response').each(function (i, obj) {
obj.value = token;
});
});
});
\t\t\t</script>
\t\t\t";
// line 302
echo "\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@View/layouts/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 707 => 302, 694 => 291, 688 => 288, 683 => 287, 673 => 286, 655 => 282, 637 => 164, 619 => 136, 607 => 45, 602 => 44, 592 => 43, 579 => 303, 577 => 286, 572 => 283, 570 => 282, 566 => 280, 564 => 277, 563 => 276, 562 => 275, 561 => 269, 558 => 268, 555 => 267, 552 => 266, 549 => 265, 546 => 264, 543 => 263, 540 => 262, 537 => 261, 534 => 260, 531 => 259, 528 => 258, 525 => 257, 522 => 256, 519 => 255, 516 => 254, 513 => 253, 510 => 252, 507 => 251, 503 => 249, 501 => 248, 498 => 247, 495 => 246, 492 => 245, 486 => 244, 483 => 243, 481 => 241, 480 => 240, 479 => 239, 478 => 238, 476 => 237, 473 => 236, 470 => 235, 465 => 234, 462 => 233, 459 => 232, 455 => 230, 449 => 229, 446 => 228, 444 => 226, 443 => 225, 442 => 224, 441 => 223, 439 => 222, 436 => 221, 433 => 220, 428 => 219, 425 => 218, 422 => 217, 419 => 216, 416 => 215, 410 => 214, 407 => 213, 405 => 211, 404 => 210, 403 => 209, 402 => 208, 400 => 207, 397 => 206, 394 => 205, 389 => 204, 386 => 203, 383 => 202, 380 => 201, 374 => 200, 371 => 199, 369 => 197, 368 => 196, 367 => 195, 366 => 194, 364 => 193, 361 => 192, 358 => 191, 353 => 190, 350 => 189, 347 => 188, 344 => 187, 341 => 186, 338 => 185, 335 => 184, 332 => 183, 329 => 182, 326 => 181, 323 => 180, 320 => 179, 317 => 177, 314 => 176, 308 => 174, 305 => 173, 301 => 170, 299 => 169, 295 => 167, 293 => 166, 290 => 165, 288 => 164, 285 => 163, 277 => 157, 275 => 156, 266 => 154, 259 => 150, 256 => 149, 249 => 145, 241 => 139, 238 => 138, 235 => 137, 233 => 136, 230 => 135, 226 => 133, 194 => 86, 191 => 85, 189 => 84, 184 => 81, 165 => 64, 162 => 63, 160 => 62, 157 => 47, 155 => 43, 150 => 40, 146 => 38, 141 => 36, 137 => 35, 132 => 34, 130 => 33, 124 => 29, 121 => 28, 115 => 27, 109 => 25, 107 => 24, 100 => 23, 95 => 22, 92 => 21, 88 => 19, 85 => 18, 83 => 17, 79 => 15, 77 => 14, 75 => 13, 73 => 12, 71 => 11, 68 => 10, 64 => 8, 61 => 7, 59 => 6, 56 => 5, 54 => 4, 52 => 3, 48 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
{% set bodyClass = null %}
{% set pageClasses = ['page'] %}
{% if pageClass is defined %}
\t{% set bodyClass = pageClass ~ '-page' %}
\t{% set pageClasses = pageClasses|merge([pageClass ~ '-page']) %}
{% endif %}
{% set pageClasses = pageClasses|join(' ') %}
{% set lang = app.request.getLocale() %}
{% set residence_mode = getResidenceMode() %}
{% set social_media = [] %}
<html lang=\"fr\">
\t<head>
\t\t{% set schemeAndHttpHost = app.request.getSchemeAndHttpHost %}
\t\t{% if 'miramar-lacigale.com' in schemeAndHttpHost %}
\t\t\t<meta name=\"facebook-domain-verification\" content=\"4t45bul4etl9qga4a810ima4xten22\"/>
\t\t{% endif %}
\t\t{% if (page_versions is defined and page_versions) %}
\t\t\t{% for version in page_versions %}
\t\t\t\t<link rel=\"alternate\" hreflang=\"{{version['value']}}\" href=\"{{app.request.getSchemeAndHttpHost() ~ version['to']}}\"/>
\t\t\t\t{% if version['value'] == app.request.getLocale() %}
\t\t\t\t\t<link rel=\"canonical\" href=\"{{app.request.getSchemeAndHttpHost() ~ version['to']}}\"/>
\t\t\t\t{% endif %}
\t\t\t{% endfor %}
\t\t{% endif %}
\t\t<meta charset=\"utf-8\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=10\">
\t\t{% if page is defined %}
\t\t\t<meta name=\"title\" content=\"{{ frontservice.getHeaderFields(page, 'seo_meta_title', lang) }}\"/>
\t\t\t<meta name=\"description\" content=\"{{ frontservice.getHeaderFields(page, 'seo_meta_description', lang) }}\"/>
\t\t\t<title>{{ frontservice.getHeaderFields(page, 'seo_meta_title', lang) }}</title>
\t\t{% else %}
\t\t\t<title>Miramar</title>
\t\t{% endif %}
\t\t<link href='https://api.mapbox.com/mapbox-gl-js/v2.0.0/mapbox-gl.css' rel='stylesheet'/>
\t\t{% block stylesheets %}
\t\t\t{{ encore_entry_link_tags('app') }}
\t\t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('cms/css/style.css') }}\"/>
\t\t{% endblock %}
\t\t\t\t\t{# <!--
\t\t\t\t\t\t\tStart of global snippet: Please do not remove
\t\t\t\t\t\t\tPlace this snippet between the <head> and </head> tags on every page of your site.
\t\t\t\t\t\t\t-->
\t\t\t\t\t\t\t<!-- Global site tag (gtag.js) - Google Marketing Platform -->
\t\t\t\t\t\t\t<script async src=\"https://www.googletagmanager.com/gtag/js?id=DC-10209412\"></script>
\t\t\t\t\t\t\t<script>
\t\t\t\t\t\t\twindow.dataLayer = window.dataLayer || [];
\t\t\t\t\t\t\tfunction gtag(){dataLayer.push(arguments);}
\t\t\t\t\t\t\tgtag('js', new Date());
\t\t\t
\t\t\t\t\t\t\tgtag('config', 'DC-10209412');
\t\t\t\t\t\t\t</script>
\t\t\t\t\t\t\t<!-- End of global snippet: Please do not remove --> #}
{% set schemeAndHttpHost = app.request.getSchemeAndHttpHost %}
\t\t\t{% if 'miramar-lacigale.com' in schemeAndHttpHost %}
\t\t\t<!-- Google Tag Manager -->
\t\t\t
\t\t\t
\t\t\t\t<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-NZDDJPS');
\t\t</script>
\t\t\t<!-- End Google Tag Manager -->
\t\t\t\t{% endif %}
\t\t\t
\t\t<script src='https://www.google.com/recaptcha/api.js?render=6LeggfEcAAAAAClhhByqb-q6e7AI-TrnFqhvirqb'></script>
\t\t{% set schemeAndHttpHost = app.request.getSchemeAndHttpHost %}
\t\t{% if 'miramar-lacigale.com' in schemeAndHttpHost %}
\t\t\t<!-- Meta Pixel Code -->
\t\t\t<script>
\t\t\t\t!function (f, b, e, v, n, t, s) {
if (f.fbq)
return;
n = f.fbq = function () {
n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (! f._fbq)
f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = '2.0';
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '905233410257695');
fbq('track', 'PageView');
\t\t\t</script>
\t\t\t<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=905233410257695&ev=PageView&noscript=1\"/></noscript>
\t\t\t<!-- End Meta Pixel Code -->
\t\t\t{# <!--
\t\t\t\t\t\t\tEvent snippet for [MIRAMAR] - ALL VISITORS on : Please do not remove.
\t\t\t\t\t\t\tPlace this snippet on pages with events you’re tracking.
\t\t\t\t\t\t\tCreation date: 11/17/2021
\t\t\t\t\t\t\t-->
\t\t\t\t\t\t\t<script>
\t\t\t\t\t\t\tgtag('event', 'conversion', {
\t\t\t\t\t\t\tvar pageUrl = window.location.href;
\t\t\t\t\t\t\t\t'allow_custom_scripts': true,
\t\t\t\t\t\t\t\t'u1': pageUrl,
\t\t\t\t\t\t\t\t'send_to': 'DC-10209412/invmedia/miram003+standard'
\t\t\t\t\t\t\t});
\t\t\t\t\t\t\t</script>
\t\t\t\t\t\t\t<noscript>
\t\t\t\t\t\t\t<img src=\"https://ad.doubleclick.net/ddm/activity/src=10209412;type=invmedia;cat=miram003;u1=na;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/>
\t\t\t\t\t\t\t</noscript>
\t\t\t\t\t\t\t<!-- End of event snippet: Please do not remove --> #}
\t\t{% endif %}
\t\t{% block head %}{% endblock %}
\t\t{% if page is defined %}
\t\t\t{% set array = frontservice.getSchemaBreadcrumb(page, lang, schemeAndHttpHost) %}
\t\t\t<script type=\"application/ld+json\">
\t\t\t\t{
\t\t\t\t\t\t\t\t\t\"@context\": \"http://schema.org/\",
\t\t\t\t\t\t\t\t\t\"@type\": \"BreadcrumbList\",
\t\t\t\t\t\t\t\t\t\"name\": \"Miramar La Cigale : Hôtel Thalasso & Spa\",
\t\t\t\t\t\t\t\t\t\"itemListElement\":
\t\t\t\t{{ array | json_encode | raw }}
\t\t\t\t}
\t\t\t</script>
\t\t{% endif %}
\t\t<!-- favicon -->
<link rel=\"icon\" type=\"image/x-icon\" href=\"{{asset('build/images/favicon.png') }}\" />
\t</head>
\t<body {% if bodyClass %} class=\"{{ bodyClass }}\" {% endif %}>
\t\t{% if 'miramar-lacigale.com' in schemeAndHttpHost %}
\t\t\t<!-- Google Tag Manager (noscript) -->
\t\t\t<noscript>
\t\t\t\t<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NZDDJPS\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
\t\t\t</noscript>
\t\t\t<!-- End Google Tag Manager (noscript) -->
\t\t{% endif %}
\t\t{% block body %}{% endblock %}
\t\t{% include 'component/page_transition.html.twig' %}
\t\t<div style=\"display:none\">
\t\t\t{% include \"layouts/sprite.svg\" %}
\t\t</div>
\t\t{# Main #}
\t\t<main
\t\t\tdata-page=\"{{ jsPageId|default('') }}\" class=\"{{ pageClasses }}\">
\t\t\t{# Modal reservations #}
\t\t\t{% include \"component/modal-reservations.html.twig\" only %}
\t\t\t{# Menu #}
\t\t\t{% set first_menu_items = [] %}
\t\t\t{% set second_menu_items = [] %}
\t\t\t{% if residence_mode %}
\t\t\t\t{% set resi_type = \"residence\" %}
\t\t\t{% else %}
\t\t\t\t{% set resi_type = \"hotel\" %}
\t\t\t{% endif %}
\t\t\t{% if isCacheMenu(lang, resi_type) == null %}
\t\t\t\t{% if residence_mode %}
\t\t\t\t\t{% set menu_principale_residence = getMenu(\"principale-residence\") %}
\t\t\t\t\t{% if menu_principale_residence %}
\t\t\t\t\t\t{% for menu_item in menu_principale_residence %}
\t\t\t\t\t\t\t{% set to = frontservice.getMenuItemContent(menu_item, 'link', lang) %}
\t\t\t\t\t\t\t{% if to %}
\t\t\t\t\t\t\t\t{% set first_menu_items = first_menu_items|merge([{
\t\t\t\t\t\t\t\ttitle: frontservice.getMenuItemContent(menu_item, 'label', lang),
\t\t\t\t\t\t\t\timage: frontservice.getMediaPublicUrl(menu_item.sonataImg, 'big', frontservice.getMenuItemContent(menu_item, 'alt_img', lang)),
\t\t\t\t\t\t\t\tto: (menu_item.isExternalLink) ? to : path(\"render_residence_pages\",{_locale:lang, slug:to, hostname:app.request.getHttpHost()}),
\t\t\t\t\t\t\t\ttarget: (menu_item.isExternalLink) ? \"_blank\" : \"\"
\t\t\t\t\t\t\t}]) %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% set menu_secondaire_residence = getMenu(\"secondaire-residence\") %}
\t\t\t\t\t{% if menu_secondaire_residence %}
\t\t\t\t\t\t{% for menu_item in menu_secondaire_residence %}
\t\t\t\t\t\t\t{% set to = frontservice.getMenuItemContent(menu_item, 'link', lang) %}
\t\t\t\t\t\t\t{% if to %}
\t\t\t\t\t\t\t\t{% set second_menu_items = second_menu_items|merge([{
\t\t\t\t\t\t\t\ttitle: frontservice.getMenuItemContent(menu_item, 'label', lang),
\t\t\t\t\t\t\t\timage: frontservice.getMediaPublicUrl(menu_item.sonataImg, 'big', frontservice.getMenuItemContent(menu_item, 'alt_img', lang)),
\t\t\t\t\t\t\t\tto: (menu_item.isExternalLink) ? to : path(\"render_residence_pages\",{_locale:lang, slug:to, hostname:app.request.getHttpHost()}),
\t\t\t\t\t\t\t\ttarget: (menu_item.isExternalLink) ? \"_blank\" : \"\"
\t\t\t\t\t\t\t}]) %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% else %}
\t\t\t\t\t{% set menu_principal_hotel = getMenu(\"principale\") %}
\t\t\t\t\t{% if menu_principal_hotel %}
\t\t\t\t\t\t{% for menu_item in menu_principal_hotel %}
\t\t\t\t\t\t\t{% set to = frontservice.getMenuItemContent(menu_item, 'link', lang) %}
\t\t\t\t\t\t\t{% if to %}
\t\t\t\t\t\t\t\t{% set first_menu_items = first_menu_items|merge([{
\t\t\t\t\t\t\ttitle: frontservice.getMenuItemContent(menu_item, 'label', lang),
\t\t\t\t\t\t\timage: frontservice.getMediaPublicUrl(menu_item.sonataImg, 'big', frontservice.getMenuItemContent(menu_item, 'alt_img', lang)),
\t\t\t\t\t\t\tto: (menu_item.isExternalLink) ? to : path(\"render_mlc_pages\",{_locale:lang, slug:to, hostname:app.request.getHttpHost()}),
\t\t\t\t\t\t\ttarget: (menu_item.isExternalLink) ? \"_blank\" : \"\"
\t\t\t\t\t\t}]) %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% set menu_secondaire_hotel = getMenu(\"secondaire\") %}
\t\t\t\t\t{% if menu_secondaire_hotel %}
\t\t\t\t\t\t{% for menu_item in menu_secondaire_hotel %}
\t\t\t\t\t\t\t{% set to = frontservice.getMenuItemContent(menu_item, 'link', lang) %}
\t\t\t\t\t\t\t{% if to %}
\t\t\t\t\t\t\t\t{% set second_menu_items = second_menu_items|merge([{
\t\t\t\t\t\t\t\ttitle: frontservice.getMenuItemContent(menu_item, 'label', lang),
\t\t\t\t\t\t\t\timage: frontservice.getMediaPublicUrl(menu_item.sonataImg, 'big', frontservice.getMenuItemContent(menu_item, 'alt_img', lang)),
\t\t\t\t\t\t\t\tto: (menu_item.isExternalLink) ? to : path(\"render_mlc_pages\",{_locale:lang, slug:to, hostname:app.request.getHttpHost()}),
\t\t\t\t\t\t\t\ttarget: (menu_item.isExternalLink) ? \"_blank\" : \"\"
\t\t\t\t\t\t\t}]) %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% endif %}
\t\t\t\t{% set saveCachedMenu = saveCachedMenu(first_menu_items, second_menu_items, lang, resi_type) %}
\t\t\t{% else %}
\t\t\t\t{% set the_cached_menu = getCachedMenu(lang, resi_type) %}
\t\t\t\t{% if the_cached_menu %}
\t\t\t\t\t{% set first_menu_items = the_cached_menu['first_menu'] %}
\t\t\t\t\t{% set second_menu_items = the_cached_menu['second_menu'] %}
\t\t\t\t{% endif %}
\t\t\t{% endif %}
\t\t\t{% if residence_mode %}
\t\t\t\t{% set resi_social_media = getSocialMedia(\"residence\", app.request.getLocale()) %}
\t\t\t\t{% if resi_social_media %}
\t\t\t\t\t{% set social_media = resi_social_media %}
\t\t\t\t{% endif %}
\t\t\t{% else %}
\t\t\t\t{% set hotel_social_media = getSocialMedia(\"hotel\", app.request.getLocale()) %}
\t\t\t\t{% if hotel_social_media %}
\t\t\t\t\t{% set social_media = hotel_social_media %}
\t\t\t\t{% endif %}
\t\t\t{% endif %}
\t\t\t{% include \"component/header/menu.html.twig\" with {
\t\t\t\tprops: {
\t\t\t\t\theading: {
\t\t\t\t\t\ttitle: 'Journées & rituels thalasso',
\t\t\t\t\t\ttitleAnnex: 'se ressourcer'
\t\t\t\t\t},
\t\t\t\t\tfirstMenuItems: first_menu_items,
\t\t\t\t\tsecondMenuItems: second_menu_items,
\t\t\t\t\tsocialItems: social_media
\t\t\t\t}
\t\t\t} only %}
\t\t\t{% block content %}{% endblock %}
\t\t</main>
\t\t{% block javascripts %}
\t\t\t{{ encore_entry_script_tags('app') }}
\t\t\t<script src=\"{{ asset('admin/js/custom_front.js') }}\"></script>
\t\t\t<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
\t\t\t<script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
\t\t\t<script src=\"{{ asset('cms/js/scripts.js') }}\"></script>
\t\t\t<script>
\t\t\t\tgrecaptcha.ready(function () {
grecaptcha.execute('6LeggfEcAAAAAClhhByqb-q6e7AI-TrnFqhvirqb', {action: 'homepage'}).then(function (token) {
\$('.g-recaptcha-response').each(function (i, obj) {
obj.value = token;
});
});
});
\t\t\t</script>
\t\t\t{# <script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"021ef8a8-2589-44e8-8ea7-b84380a00cdb\" data-blockingmode=\"auto\" type=\"text/javascript\"></script> #}
\t\t{% endblock %}
\t</body>
</html></body></html>
", "@View/layouts/base.html.twig", "/home/clients/7d218f7ec097b4ce0b2b1414f88fe0d1/sites/mlc/templates/layouts/base.html.twig");
}
}