var/cache/website/dev/twig/2b/2b19126076a40a73641163a9d85ecd72.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Sandbox\SecurityNotAllowedTestError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. use Twig\TemplateWrapper;
  16. /* _snippets/header_croisiland.html.twig */
  17. class __TwigTemplate_86f99a49a5598d47f4d2c4c1759ca7a6 extends Template
  18. {
  19. private Source $source;
  20. /**
  21. * @var array<string, Template>
  22. */
  23. private array $macros = [];
  24. public function __construct(Environment $env)
  25. {
  26. parent::__construct($env);
  27. $this->source = $this->getSourceContext();
  28. $this->parent = false;
  29. $this->blocks = [
  30. 'header_burger' => [$this, 'block_header_burger'],
  31. 'header_before' => [$this, 'block_header_before'],
  32. 'header_account_bar' => [$this, 'block_header_account_bar'],
  33. 'header_phone' => [$this, 'block_header_phone'],
  34. 'header_hours' => [$this, 'block_header_hours'],
  35. 'header_account' => [$this, 'block_header_account'],
  36. 'header_burger_close' => [$this, 'block_header_burger_close'],
  37. 'header_phone_mobile' => [$this, 'block_header_phone_mobile'],
  38. 'header_hours_mobile' => [$this, 'block_header_hours_mobile'],
  39. ];
  40. }
  41. protected function doDisplay(array $context, array $blocks = []): iterable
  42. {
  43. $macros = $this->macros;
  44. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "_snippets/header_croisiland.html.twig"));
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "_snippets/header_croisiland.html.twig"));
  48. // line 1
  49. $context["mode"] = ((array_key_exists("mode", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 1, $this->source); })()), "desktop")) : ("desktop"));
  50. // line 2
  51. yield "<div class=\"site-header__inner\">
  52. \t<div class=\"site-header__bar\">
  53. \t\t";
  54. // line 4
  55. if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 4, $this->source); })()) == "mobile")) {
  56. // line 5
  57. yield "\t\t\t";
  58. yield from $this->unwrap()->yieldBlock('header_burger', $context, $blocks);
  59. // line 10
  60. yield "\t\t";
  61. }
  62. // line 11
  63. yield "\t\t<div class=\"site-header__brand\">
  64. \t\t\t<a class=\"site-header__logo logo\" href=\"";
  65. // line 12
  66. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html", null, true);
  67. yield "\">
  68. \t\t\t\t";
  69. // line 13
  70. yield from $this->load("pages/_includes/icons/croisiland-logo.svg", 13)->unwrap()->yield($context);
  71. // line 14
  72. yield "\t\t\t</a>
  73. \t\t\t";
  74. // line 16
  75. if ((((array_key_exists("webspaceKey", $context) && ((isset($context["webspaceKey"]) || array_key_exists("webspaceKey", $context) ? $context["webspaceKey"] : (function () { throw new RuntimeError('Variable "webspaceKey" does not exist.', 16, $this->source); })()) != "main-website")) && CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 16)) || (($tmp = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "isPartnerDevelopment", [], "any", true, true, false, 16)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 16, $this->source); })()), "isPartnerDevelopment", [], "any", false, false, false, 16), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp : $tmp))) {
  76. // line 17
  77. yield "\t\t\t\t<div id=\"logo-partner\" class=\"site-header__partner\">
  78. \t\t\t\t\t\t";
  79. // line 18
  80. if ((((( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 19
  81. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 19, $this->source); })()), "user", [], "any", false, false, false, 19)) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 20
  82. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 20, $this->source); })()), "user", [], "any", false, false, false, 20), "partnerToken", [], "any", false, false, false, 20))) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 21
  83. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 21, $this->source); })()), "user", [], "any", false, false, false, 21), "partnerToken", [], "any", false, false, false, 21), "partner", [], "any", false, false, false, 21))) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 22
  84. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 22, $this->source); })()), "user", [], "any", false, false, false, 22), "partnerToken", [], "any", false, false, false, 22), "partner", [], "any", false, false, false, 22), "logo", [], "any", false, false, false, 22))) || (CoreExtension::getAttribute($this->env, $this->source, // line 24
  85. ($context["content"] ?? null), "isPartnerDevelopment", [], "any", true, true, false, 24) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 24, $this->source); })()), "isPartnerDevelopment", [], "any", false, false, false, 24) == true)))) {
  86. // line 26
  87. yield "\t\t\t\t\t\t\t
  88. \t\t\t\t\t\t\t";
  89. // line 28
  90. yield "\t\t\t\t\t\t\t";
  91. // line 29
  92. yield "\t\t\t\t\t\t\t";
  93. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "isPartnerDevelopment", [], "any", true, true, false, 29) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 29, $this->source); })()), "isPartnerDevelopment", [], "any", false, false, false, 29) == true))) {
  94. // line 30
  95. yield "\t\t\t\t\t\t\t\t";
  96. $context["partnerLogo"] = "/img/placeholder-company.svg";
  97. // line 31
  98. yield "\t\t\t\t\t\t\t";
  99. } else {
  100. // line 32
  101. yield "\t\t\t\t\t\t\t\t";
  102. $context["partnerLogo"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 32), "partnerToken", [], "any", false, true, false, 32), "partner", [], "any", false, true, false, 32), "logo", [], "any", true, true, false, 32)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 32, $this->source); })()), "user", [], "any", false, false, false, 32), "partnerToken", [], "any", false, false, false, 32), "partner", [], "any", false, false, false, 32), "logo", [], "any", false, false, false, 32), "")) : (""));
  103. // line 33
  104. yield "\t\t\t\t\t\t\t";
  105. }
  106. // line 34
  107. yield "\t\t\t\t\t\t\t<div class=\"logo-partner\">
  108. \t\t\t\t\t\t\t\t<img class=\"small-logo\" src=\"";
  109. // line 35
  110. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["partnerLogo"]) || array_key_exists("partnerLogo", $context) ? $context["partnerLogo"] : (function () { throw new RuntimeError('Variable "partnerLogo" does not exist.', 35, $this->source); })()), "html", null, true);
  111. yield "\" alt=\"";
  112. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 35), "partnerToken", [], "any", false, true, false, 35), "partner", [], "any", false, true, false, 35), "code", [], "any", true, true, false, 35)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "user", [], "any", false, false, false, 35), "partnerToken", [], "any", false, false, false, 35), "partner", [], "any", false, false, false, 35), "code", [], "any", false, false, false, 35), "")) : ("")), "html", null, true);
  113. yield "\" title=\"";
  114. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 35), "partnerToken", [], "any", false, true, false, 35), "partner", [], "any", false, true, false, 35), "name", [], "any", true, true, false, 35)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "user", [], "any", false, false, false, 35), "partnerToken", [], "any", false, false, false, 35), "partner", [], "any", false, false, false, 35), "name", [], "any", false, false, false, 35), "")) : ("")), "html", null, true);
  115. yield "\">
  116. \t\t\t\t\t\t\t</div>
  117. \t\t\t\t\t\t";
  118. } else {
  119. // line 38
  120. yield "\t\t\t\t\t\t\t<span class=\"text-danger\">";
  121. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.partner.logo_missing"), "html", null, true);
  122. yield "</span>
  123. \t\t\t\t\t\t";
  124. }
  125. // line 40
  126. yield "\t\t\t\t\t</div>
  127. \t\t\t\t\t";
  128. // line 41
  129. yield from $this->unwrap()->yieldBlock('header_before', $context, $blocks);
  130. // line 48
  131. yield "\t\t\t";
  132. }
  133. // line 49
  134. yield "\t\t</div>
  135. \t\t
  136. \t\t";
  137. // line 52
  138. if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 52, $this->source); })()) == "mobile")) {
  139. // line 53
  140. yield "\t\t\t";
  141. yield from $this->unwrap()->yieldBlock('header_account_bar', $context, $blocks);
  142. // line 59
  143. yield "\t\t";
  144. }
  145. // line 60
  146. yield "
  147. \t\t";
  148. // line 64
  149. yield "
  150. \t\t";
  151. // line 65
  152. if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 65, $this->source); })()) == "desktop")) {
  153. // line 66
  154. yield "\t\t\t<div class=\"site-header__meta\">
  155. \t\t\t\t";
  156. // line 67
  157. yield from $this->unwrap()->yieldBlock('header_phone', $context, $blocks);
  158. // line 70
  159. yield "\t\t\t\t";
  160. yield from $this->unwrap()->yieldBlock('header_hours', $context, $blocks);
  161. // line 73
  162. yield "\t\t\t\t";
  163. yield from $this->unwrap()->yieldBlock('header_account', $context, $blocks);
  164. // line 79
  165. yield "\t\t\t</div>
  166. \t\t";
  167. }
  168. // line 81
  169. yield "\t</div>
  170. \t<nav class=\"site-header__primary\" aria-label=\"";
  171. // line 83
  172. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.navigation.primary"), "html", null, true);
  173. yield "\">
  174. \t\t";
  175. // line 84
  176. if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 84, $this->source); })()) == "mobile")) {
  177. // line 85
  178. yield "\t\t\t<div class=\"site-header__drawer\" id=\"site-header-drawer\">
  179. \t\t\t\t";
  180. // line 86
  181. yield from $this->unwrap()->yieldBlock('header_burger_close', $context, $blocks);
  182. // line 89
  183. yield "\t\t\t\t<div class=\"site-header__meta site-header__meta--stack\">
  184. \t\t\t\t\t";
  185. // line 90
  186. yield from $this->unwrap()->yieldBlock('header_phone_mobile', $context, $blocks);
  187. // line 93
  188. yield "\t\t\t\t\t";
  189. yield from $this->unwrap()->yieldBlock('header_hours_mobile', $context, $blocks);
  190. // line 96
  191. yield "\t\t\t\t</div>
  192. \t\t";
  193. }
  194. // line 98
  195. yield "
  196. \t\t\t";
  197. // line 99
  198. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "items", [], "any", true, true, false, 99) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 99, $this->source); })()), "items", [], "any", false, false, false, 99)))) {
  199. // line 100
  200. yield "\t\t\t\t<ul class=\"site-header__list\">
  201. \t\t\t\t\t";
  202. // line 101
  203. $context['_parent'] = $context;
  204. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 101, $this->source); })()), "items", [], "any", false, false, false, 101));
  205. $context['loop'] = [
  206. 'parent' => $context['_parent'],
  207. 'index0' => 0,
  208. 'index' => 1,
  209. 'first' => true,
  210. ];
  211. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  212. $length = count($context['_seq']);
  213. $context['loop']['revindex0'] = $length - 1;
  214. $context['loop']['revindex'] = $length;
  215. $context['loop']['length'] = $length;
  216. $context['loop']['last'] = 1 === $length;
  217. }
  218. foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  219. // line 102
  220. yield "\t\t\t\t\t\t";
  221. if ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 102) == "navigation_item")) {
  222. // line 103
  223. yield "\t\t\t\t\t\t\t";
  224. [$context["menuLabel"], $context["menuImage"], $context["menuImageLink"]] = ["menuLabel", "menuImage", "menuImageLink"];
  225. // line 104
  226. yield "\t\t\t\t\t\t\t<li class=\"site-header__item accordion br1\" data-menu=\"";
  227. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["menuLabel"]) || array_key_exists("menuLabel", $context) ? $context["menuLabel"] : (function () { throw new RuntimeError('Variable "menuLabel" does not exist.', 104, $this->source); })()), "html", null, true);
  228. yield "\" data-url=\"\">
  229. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"site-header__trigger accordion-trigger br1\" title=\"";
  230. // line 105
  231. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multipleLabel", [], "any", false, false, false, 105), "html", null, true);
  232. yield "\" data-href=\"\">
  233. \t\t\t\t\t\t\t\t\t";
  234. // line 106
  235. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multipleLabel", [], "any", false, false, false, 106), "html", null, true);
  236. yield "
  237. \t\t\t\t\t\t\t\t\t";
  238. // line 107
  239. yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("chevron-down", ["class" => "accordion-chevron-icon", "aria-hidden" => "true", "data-menu" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "multipleLabel", [], "any", false, false, false, 107)]);
  240. yield "
  241. \t\t\t\t\t\t\t\t</button>
  242. \t\t\t\t\t\t\t\t";
  243. // line 109
  244. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "pages/_includes/base/sub_menu/_submenu.html.twig", ["item" => // line 110
  245. $context["item"], "mode" => // line 111
  246. (isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 111, $this->source); })())]);
  247. // line 112
  248. yield "
  249. \t\t\t\t\t\t\t</li>
  250. \t\t\t\t\t\t";
  251. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 114
  252. $context["item"], "type", [], "any", false, false, false, 114) == "simple_link")) {
  253. // line 115
  254. yield "\t\t\t\t\t\t\t<li class=\"site-header__item site-header__link\">
  255. \t\t\t\t\t\t\t\t<a href=\"";
  256. // line 116
  257. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, false, 116), "html", null, true);
  258. yield "\" class=\"site-header__link\">";
  259. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "text", [], "any", false, false, false, 116), "html", null, true);
  260. yield "</a>
  261. \t\t\t\t\t\t\t</li>
  262. \t\t\t\t\t\t";
  263. }
  264. // line 119
  265. yield "\t\t\t\t\t";
  266. ++$context['loop']['index0'];
  267. ++$context['loop']['index'];
  268. $context['loop']['first'] = false;
  269. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  270. --$context['loop']['revindex0'];
  271. --$context['loop']['revindex'];
  272. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  273. }
  274. }
  275. $_parent = $context['_parent'];
  276. unset($context['_seq'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  277. $context = array_intersect_key($context, $_parent);
  278. $context += $_parent;
  279. // line 120
  280. yield "\t\t\t\t</ul>
  281. \t\t\t";
  282. }
  283. // line 122
  284. yield "
  285. \t\t";
  286. // line 123
  287. if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 123, $this->source); })()) == "mobile")) {
  288. // line 124
  289. yield "\t\t\t</div>
  290. \t\t";
  291. }
  292. // line 126
  293. yield "\t</nav>
  294. </div>
  295. ";
  296. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  297. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  298. yield from [];
  299. }
  300. // line 5
  301. /**
  302. * @return iterable<null|scalar|\Stringable>
  303. */
  304. public function block_header_burger(array $context, array $blocks = []): iterable
  305. {
  306. $macros = $this->macros;
  307. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  308. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_burger"));
  309. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  310. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_burger"));
  311. // line 6
  312. yield "\t\t\t\t<button type=\"button\" class=\"site-header__menu-btn btn br1\" id=\"site-header-menu-open\" aria-expanded=\"false\" aria-controls=\"site-header-drawer\">
  313. \t\t\t\t\t";
  314. // line 7
  315. yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("menu", ["class" => "site-header__menu-btn-icon icon-menu"]);
  316. yield "
  317. \t\t\t\t</button>
  318. \t\t\t";
  319. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  320. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  321. yield from [];
  322. }
  323. // line 41
  324. /**
  325. * @return iterable<null|scalar|\Stringable>
  326. */
  327. public function block_header_before(array $context, array $blocks = []): iterable
  328. {
  329. $macros = $this->macros;
  330. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  331. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_before"));
  332. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  333. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_before"));
  334. // line 42
  335. yield "\t\t\t\t\t\t";
  336. if (((array_key_exists("webspaceKey", $context) && ((isset($context["webspaceKey"]) || array_key_exists("webspaceKey", $context) ? $context["webspaceKey"] : (function () { throw new RuntimeError('Variable "webspaceKey" does not exist.', 42, $this->source); })()) != "main-website")) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 42, $this->source); })()), "user", [], "any", false, false, false, 42)))) {
  337. // line 43
  338. yield "\t\t\t\t\t\t\t<div id=\"partner-message\">
  339. \t\t\t\t\t\t\t\t";
  340. // line 44
  341. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("website.ui.partner_banner", ["%partnerName%" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 44, $this->source); })()), "user", [], "any", false, false, false, 44), "partnerToken", [], "any", false, false, false, 44), "partner", [], "any", false, false, false, 44), "name", [], "any", false, false, false, 44)]), "html", null, true);
  342. yield "
  343. \t\t\t\t\t\t\t</div>
  344. \t\t\t\t\t\t";
  345. }
  346. // line 47
  347. yield "\t\t\t\t\t";
  348. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  349. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  350. yield from [];
  351. }
  352. // line 53
  353. /**
  354. * @return iterable<null|scalar|\Stringable>
  355. */
  356. public function block_header_account_bar(array $context, array $blocks = []): iterable
  357. {
  358. $macros = $this->macros;
  359. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  360. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_account_bar"));
  361. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  362. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_account_bar"));
  363. // line 54
  364. yield "\t\t\t\t";
  365. yield from $this->load("pages/_includes/base/account/_header_menu.html.twig", 54)->unwrap()->yield(CoreExtension::toArray(["isConnectedUser" => ((CoreExtension::getAttribute($this->env, $this->source, // line 55
  366. ($context["content"] ?? null), "isConnectedUser", [], "any", true, true, false, 55)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 55, $this->source); })()), "isConnectedUser", [], "any", false, false, false, 55), false)) : (false)), "mode" => // line 56
  367. (isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 56, $this->source); })())]));
  368. // line 58
  369. yield "\t\t\t";
  370. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  371. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  372. yield from [];
  373. }
  374. // line 67
  375. /**
  376. * @return iterable<null|scalar|\Stringable>
  377. */
  378. public function block_header_phone(array $context, array $blocks = []): iterable
  379. {
  380. $macros = $this->macros;
  381. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  382. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_phone"));
  383. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  384. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_phone"));
  385. // line 68
  386. yield "\t\t\t\t\t";
  387. yield from $this->load("pages/_includes/base/_phone.html.twig", 68)->unwrap()->yield($context);
  388. // line 69
  389. yield "\t\t\t\t";
  390. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  391. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  392. yield from [];
  393. }
  394. // line 70
  395. /**
  396. * @return iterable<null|scalar|\Stringable>
  397. */
  398. public function block_header_hours(array $context, array $blocks = []): iterable
  399. {
  400. $macros = $this->macros;
  401. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  402. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_hours"));
  403. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  404. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_hours"));
  405. // line 71
  406. yield "\t\t\t\t\t";
  407. yield from $this->load("pages/_includes/base/_hours.html.twig", 71)->unwrap()->yield($context);
  408. // line 72
  409. yield "\t\t\t\t";
  410. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  411. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  412. yield from [];
  413. }
  414. // line 73
  415. /**
  416. * @return iterable<null|scalar|\Stringable>
  417. */
  418. public function block_header_account(array $context, array $blocks = []): iterable
  419. {
  420. $macros = $this->macros;
  421. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  422. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_account"));
  423. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  424. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_account"));
  425. // line 74
  426. yield "\t\t\t\t\t";
  427. yield from $this->load("pages/_includes/base/account/_header_menu.html.twig", 74)->unwrap()->yield(CoreExtension::toArray(["isConnectedUser" => ((CoreExtension::getAttribute($this->env, $this->source, // line 75
  428. ($context["content"] ?? null), "isConnectedUser", [], "any", true, true, false, 75)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 75, $this->source); })()), "isConnectedUser", [], "any", false, false, false, 75), false)) : (false)), "mode" => // line 76
  429. (isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 76, $this->source); })())]));
  430. // line 78
  431. yield "\t\t\t\t";
  432. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  433. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  434. yield from [];
  435. }
  436. // line 86
  437. /**
  438. * @return iterable<null|scalar|\Stringable>
  439. */
  440. public function block_header_burger_close(array $context, array $blocks = []): iterable
  441. {
  442. $macros = $this->macros;
  443. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  444. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_burger_close"));
  445. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  446. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_burger_close"));
  447. // line 87
  448. yield "\t\t\t\t\t";
  449. yield from $this->load("pages/_includes/base/_burger_close.html.twig", 87)->unwrap()->yield($context);
  450. // line 88
  451. yield "\t\t\t\t";
  452. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  453. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  454. yield from [];
  455. }
  456. // line 90
  457. /**
  458. * @return iterable<null|scalar|\Stringable>
  459. */
  460. public function block_header_phone_mobile(array $context, array $blocks = []): iterable
  461. {
  462. $macros = $this->macros;
  463. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  464. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_phone_mobile"));
  465. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  466. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_phone_mobile"));
  467. // line 91
  468. yield "\t\t\t\t\t\t";
  469. yield from $this->load("pages/_includes/base/_phone.html.twig", 91)->unwrap()->yield($context);
  470. // line 92
  471. yield "\t\t\t\t\t";
  472. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  473. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  474. yield from [];
  475. }
  476. // line 93
  477. /**
  478. * @return iterable<null|scalar|\Stringable>
  479. */
  480. public function block_header_hours_mobile(array $context, array $blocks = []): iterable
  481. {
  482. $macros = $this->macros;
  483. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  484. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_hours_mobile"));
  485. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  486. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_hours_mobile"));
  487. // line 94
  488. yield "\t\t\t\t\t\t";
  489. yield from $this->load("pages/_includes/base/_hours.html.twig", 94)->unwrap()->yield($context);
  490. // line 95
  491. yield "\t\t\t\t\t";
  492. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  493. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  494. yield from [];
  495. }
  496. /**
  497. * @codeCoverageIgnore
  498. */
  499. public function getTemplateName(): string
  500. {
  501. return "_snippets/header_croisiland.html.twig";
  502. }
  503. /**
  504. * @codeCoverageIgnore
  505. */
  506. public function isTraitable(): bool
  507. {
  508. return false;
  509. }
  510. /**
  511. * @codeCoverageIgnore
  512. */
  513. public function getDebugInfo(): array
  514. {
  515. return array ( 566 => 95, 563 => 94, 550 => 93, 539 => 92, 536 => 91, 523 => 90, 512 => 88, 509 => 87, 496 => 86, 485 => 78, 483 => 76, 482 => 75, 480 => 74, 467 => 73, 456 => 72, 453 => 71, 440 => 70, 429 => 69, 426 => 68, 413 => 67, 402 => 58, 400 => 56, 399 => 55, 397 => 54, 384 => 53, 373 => 47, 367 => 44, 364 => 43, 361 => 42, 348 => 41, 334 => 7, 331 => 6, 318 => 5, 305 => 126, 301 => 124, 299 => 123, 296 => 122, 292 => 120, 277 => 119, 269 => 116, 266 => 115, 264 => 114, 260 => 112, 258 => 111, 257 => 110, 256 => 109, 251 => 107, 247 => 106, 243 => 105, 238 => 104, 235 => 103, 232 => 102, 215 => 101, 212 => 100, 210 => 99, 207 => 98, 203 => 96, 200 => 93, 198 => 90, 195 => 89, 193 => 86, 190 => 85, 188 => 84, 184 => 83, 180 => 81, 176 => 79, 173 => 73, 170 => 70, 168 => 67, 165 => 66, 163 => 65, 160 => 64, 157 => 60, 154 => 59, 151 => 53, 149 => 52, 144 => 49, 141 => 48, 139 => 41, 136 => 40, 130 => 38, 120 => 35, 117 => 34, 114 => 33, 111 => 32, 108 => 31, 105 => 30, 102 => 29, 100 => 28, 97 => 26, 95 => 24, 94 => 22, 93 => 21, 92 => 20, 91 => 19, 90 => 18, 87 => 17, 85 => 16, 81 => 14, 79 => 13, 75 => 12, 72 => 11, 69 => 10, 66 => 5, 64 => 4, 60 => 2, 58 => 1,);
  516. }
  517. public function getSourceContext(): Source
  518. {
  519. return new Source("{% set mode = mode|default(\x27desktop\x27) %}
  520. <div class=\"site-header__inner\">
  521. \t<div class=\"site-header__bar\">
  522. \t\t{% if mode == \x27mobile\x27 %}
  523. \t\t\t{% block header_burger %}
  524. \t\t\t\t<button type=\"button\" class=\"site-header__menu-btn btn br1\" id=\"site-header-menu-open\" aria-expanded=\"false\" aria-controls=\"site-header-drawer\">
  525. \t\t\t\t\t{{ getLucidIcon(\x27menu\x27, {\x27class\x27: \x27site-header__menu-btn-icon icon-menu\x27}) }}
  526. \t\t\t\t</button>
  527. \t\t\t{% endblock %}
  528. \t\t{% endif %}
  529. \t\t<div class=\"site-header__brand\">
  530. \t\t\t<a class=\"site-header__logo logo\" href=\"{{ sulu_content_root_path() }}\">
  531. \t\t\t\t{% include \x27pages/_includes/icons/croisiland-logo.svg\x27 %}
  532. \t\t\t</a>
  533. \t\t\t{% if webspaceKey is defined and webspaceKey != \x27main-website\x27 and app.user is defined or content.isPartnerDevelopment|default(false) %}
  534. \t\t\t\t<div id=\"logo-partner\" class=\"site-header__partner\">
  535. \t\t\t\t\t\t{% if
  536. app.user is not null
  537. and app.user.partnerToken is not null
  538. and app.user.partnerToken.partner is not null
  539. and app.user.partnerToken.partner.logo is not null
  540. \t\t\t\t\t\t\tor content.isPartnerDevelopment is defined and content.isPartnerDevelopment == true
  541. %}
  542. \t\t\t\t\t\t\t
  543. \t\t\t\t\t\t\t{# {% set partnerLogo = app.user.partnerToken.partner.logo %} #}
  544. \t\t\t\t\t\t\t{# A supprimer en phase de production #}
  545. \t\t\t\t\t\t\t{% if content.isPartnerDevelopment is defined and content.isPartnerDevelopment == true %}
  546. \t\t\t\t\t\t\t\t{% set partnerLogo = \x27/img/placeholder-company.svg\x27 %}
  547. \t\t\t\t\t\t\t{% else %}
  548. \t\t\t\t\t\t\t\t{% set partnerLogo = app.user.partnerToken.partner.logo|default(\x27\x27) %}
  549. \t\t\t\t\t\t\t{% endif %}
  550. \t\t\t\t\t\t\t<div class=\"logo-partner\">
  551. \t\t\t\t\t\t\t\t<img class=\"small-logo\" src=\"{{ partnerLogo }}\" alt=\"{{ app.user.partnerToken.partner.code|default(\x27\x27) }}\" title=\"{{ app.user.partnerToken.partner.name|default(\x27\x27) }}\">
  552. \t\t\t\t\t\t\t</div>
  553. \t\t\t\t\t\t{% else %}
  554. \t\t\t\t\t\t\t<span class=\"text-danger\">{{ \x27header.partner.logo_missing\x27|trans }}</span>
  555. \t\t\t\t\t\t{% endif %}
  556. \t\t\t\t\t</div>
  557. \t\t\t\t\t{% block header_before %}
  558. \t\t\t\t\t\t{% if webspaceKey is defined and webspaceKey != \x27main-website\x27 and app.user is not null %}
  559. \t\t\t\t\t\t\t<div id=\"partner-message\">
  560. \t\t\t\t\t\t\t\t{{ \x27website.ui.partner_banner\x27|trans({\x27%partnerName%\x27: app.user.partnerToken.partner.name}) }}
  561. \t\t\t\t\t\t\t</div>
  562. \t\t\t\t\t\t{% endif %}
  563. \t\t\t\t\t{% endblock %}
  564. \t\t\t{% endif %}
  565. \t\t</div>
  566. \t\t
  567. \t\t{% if mode == \x27mobile\x27 %}
  568. \t\t\t{% block header_account_bar %}
  569. \t\t\t\t{% include \x27pages/_includes/base/account/_header_menu.html.twig\x27 with {
  570. \t\t\t\t\tisConnectedUser: content.isConnectedUser|default(false),
  571. \t\t\t\t\tmode: mode,
  572. \t\t\t\t} only %}
  573. \t\t\t{% endblock %}
  574. \t\t{% endif %}
  575. \t\t{# {% block header_research %}
  576. \t\t\t{% include \x27pages/_includes/base/sub_menu/_research.html.twig\x27 %}
  577. \t\t{% endblock %} #}
  578. \t\t{% if mode == \x27desktop\x27 %}
  579. \t\t\t<div class=\"site-header__meta\">
  580. \t\t\t\t{% block header_phone %}
  581. \t\t\t\t\t{% include \x27pages/_includes/base/_phone.html.twig\x27 %}
  582. \t\t\t\t{% endblock %}
  583. \t\t\t\t{% block header_hours %}
  584. \t\t\t\t\t{% include \x27pages/_includes/base/_hours.html.twig\x27 %}
  585. \t\t\t\t{% endblock %}
  586. \t\t\t\t{% block header_account %}
  587. \t\t\t\t\t{% include \x27pages/_includes/base/account/_header_menu.html.twig\x27 with {
  588. \t\t\t\t\t\tisConnectedUser: content.isConnectedUser|default(false),
  589. \t\t\t\t\t\tmode: mode,
  590. \t\t\t\t\t} only %}
  591. \t\t\t\t{% endblock %}
  592. \t\t\t</div>
  593. \t\t{% endif %}
  594. \t</div>
  595. \t<nav class=\"site-header__primary\" aria-label=\"{{ \x27header.navigation.primary\x27|trans }}\">
  596. \t\t{% if mode == \x27mobile\x27 %}
  597. \t\t\t<div class=\"site-header__drawer\" id=\"site-header-drawer\">
  598. \t\t\t\t{% block header_burger_close %}
  599. \t\t\t\t\t{% include \x27pages/_includes/base/_burger_close.html.twig\x27 %}
  600. \t\t\t\t{% endblock %}
  601. \t\t\t\t<div class=\"site-header__meta site-header__meta--stack\">
  602. \t\t\t\t\t{% block header_phone_mobile %}
  603. \t\t\t\t\t\t{% include \x27pages/_includes/base/_phone.html.twig\x27 %}
  604. \t\t\t\t\t{% endblock %}
  605. \t\t\t\t\t{% block header_hours_mobile %}
  606. \t\t\t\t\t\t{% include \x27pages/_includes/base/_hours.html.twig\x27 %}
  607. \t\t\t\t\t{% endblock %}
  608. \t\t\t\t</div>
  609. \t\t{% endif %}
  610. \t\t\t{% if content.items is defined and content.items is not empty %}
  611. \t\t\t\t<ul class=\"site-header__list\">
  612. \t\t\t\t\t{% for item in content.items %}
  613. \t\t\t\t\t\t{% if item.type == \x27navigation_item\x27 %}
  614. \t\t\t\t\t\t\t{% set menuLabel, menuImage, menuImageLink = \x27menuLabel\x27, \x27menuImage\x27, \x27menuImageLink\x27 %}
  615. \t\t\t\t\t\t\t<li class=\"site-header__item accordion br1\" data-menu=\"{{ menuLabel }}\" data-url=\"\">
  616. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"site-header__trigger accordion-trigger br1\" title=\"{{ item.multipleLabel }}\" data-href=\"\">
  617. \t\t\t\t\t\t\t\t\t{{ item.multipleLabel }}
  618. \t\t\t\t\t\t\t\t\t{{ getLucidIcon(\x27chevron-down\x27, {\x27class\x27: \x27accordion-chevron-icon\x27, \x27aria-hidden\x27: \x27true\x27, \x27data-menu\x27: item.multipleLabel }) }}
  619. \t\t\t\t\t\t\t\t</button>
  620. \t\t\t\t\t\t\t\t{{ include(\x27pages/_includes/base/sub_menu/_submenu.html.twig\x27, {
  621. \t\t\t\t\t\t\t\t\titem: item,
  622. \t\t\t\t\t\t\t\t\tmode: mode
  623. \t\t\t\t\t\t\t\t}) }}
  624. \t\t\t\t\t\t\t</li>
  625. \t\t\t\t\t\t{% elseif item.type == \x27simple_link\x27 %}
  626. \t\t\t\t\t\t\t<li class=\"site-header__item site-header__link\">
  627. \t\t\t\t\t\t\t\t<a href=\"{{ item.link }}\" class=\"site-header__link\">{{ item.text }}</a>
  628. \t\t\t\t\t\t\t</li>
  629. \t\t\t\t\t\t{% endif %}
  630. \t\t\t\t\t{% endfor %}
  631. \t\t\t\t</ul>
  632. \t\t\t{% endif %}
  633. \t\t{% if mode == \x27mobile\x27 %}
  634. \t\t\t</div>
  635. \t\t{% endif %}
  636. \t</nav>
  637. </div>
  638. ", "_snippets/header_croisiland.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/_snippets/header_croisiland.html.twig");
  639. }
  640. }