var/cache/website/dev/twig/04/040c5d3fdb1243bafc8a41ffe6c17297.php line 60

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. /* pages/form_confirmation.html.twig */
  17. class __TwigTemplate_995772ef40cec2e7fdaf2c2fd18b18e3 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->blocks = [
  29. 'page_class' => [$this, 'block_page_class'],
  30. 'header' => [$this, 'block_header'],
  31. 'aside' => [$this, 'block_aside'],
  32. 'footer' => [$this, 'block_footer'],
  33. 'modals' => [$this, 'block_modals'],
  34. 'stylesheets' => [$this, 'block_stylesheets'],
  35. 'content' => [$this, 'block_content'],
  36. ];
  37. }
  38. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  39. {
  40. // line 1
  41. return "base.html.twig";
  42. }
  43. protected function doDisplay(array $context, array $blocks = []): iterable
  44. {
  45. $macros = $this->macros;
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/form_confirmation.html.twig"));
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/form_confirmation.html.twig"));
  50. $this->parent = $this->load("base.html.twig", 1);
  51. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  52. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54. }
  55. // line 3
  56. /**
  57. * @return iterable<null|scalar|\Stringable>
  58. */
  59. public function block_page_class(array $context, array $blocks = []): iterable
  60. {
  61. $macros = $this->macros;
  62. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_class"));
  64. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_class"));
  66. // line 4
  67. yield " page form-confirmation-page
  68. ";
  69. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71. yield from [];
  72. }
  73. // line 7
  74. /**
  75. * @return iterable<null|scalar|\Stringable>
  76. */
  77. public function block_header(array $context, array $blocks = []): iterable
  78. {
  79. $macros = $this->macros;
  80. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  82. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  84. // line 8
  85. yield " <header class=\"site-header site-header--desktop\">
  86. <div class=\"site-header__inner\">
  87. <div class=\"site-header__bar\">
  88. <div class=\"site-header__brand\">
  89. <a class=\"site-header__logo logo\" href=\"";
  90. // line 12
  91. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html", null, true);
  92. yield "\">
  93. ";
  94. // line 13
  95. yield from $this->load("pages/_includes/icons/croisiland-logo.svg", 13)->unwrap()->yield($context);
  96. // line 14
  97. yield " </a>
  98. </div>
  99. <div class=\"site-header__meta\">
  100. ";
  101. // line 18
  102. yield from $this->load("pages/_includes/base/_phone.html.twig", 18)->unwrap()->yield($context);
  103. // line 19
  104. yield " ";
  105. yield from $this->load("pages/_includes/base/_hours.html.twig", 19)->unwrap()->yield($context);
  106. // line 20
  107. yield " </div>
  108. </div>
  109. </div>
  110. </header>
  111. <header class=\"site-header site-header--mobile\">
  112. <div class=\"site-header__inner\">
  113. <div class=\"site-header__bar\">
  114. <div class=\"site-header__brand\">
  115. <a class=\"site-header__logo logo\" href=\"";
  116. // line 29
  117. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html", null, true);
  118. yield "\">
  119. ";
  120. // line 30
  121. yield from $this->load("pages/_includes/icons/croisiland-logo.svg", 30)->unwrap()->yield($context);
  122. // line 31
  123. yield " </a>
  124. </div>
  125. </div>
  126. </div>
  127. </header>
  128. ";
  129. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131. yield from [];
  132. }
  133. // line 38
  134. /**
  135. * @return iterable<null|scalar|\Stringable>
  136. */
  137. public function block_aside(array $context, array $blocks = []): iterable
  138. {
  139. $macros = $this->macros;
  140. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "aside"));
  142. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "aside"));
  144. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  145. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  146. yield from [];
  147. }
  148. // line 40
  149. /**
  150. * @return iterable<null|scalar|\Stringable>
  151. */
  152. public function block_footer(array $context, array $blocks = []): iterable
  153. {
  154. $macros = $this->macros;
  155. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  156. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  157. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  158. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  159. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  161. yield from [];
  162. }
  163. // line 42
  164. /**
  165. * @return iterable<null|scalar|\Stringable>
  166. */
  167. public function block_modals(array $context, array $blocks = []): iterable
  168. {
  169. $macros = $this->macros;
  170. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  171. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modals"));
  172. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  173. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modals"));
  174. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  175. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  176. yield from [];
  177. }
  178. // line 44
  179. /**
  180. * @return iterable<null|scalar|\Stringable>
  181. */
  182. public function block_stylesheets(array $context, array $blocks = []): iterable
  183. {
  184. $macros = $this->macros;
  185. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  187. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  189. // line 45
  190. yield " ";
  191. yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  192. yield "
  193. ";
  194. // line 46
  195. yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("form_confirmation_styles");
  196. yield "
  197. ";
  198. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  199. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  200. yield from [];
  201. }
  202. // line 49
  203. /**
  204. * @return iterable<null|scalar|\Stringable>
  205. */
  206. public function block_content(array $context, array $blocks = []): iterable
  207. {
  208. $macros = $this->macros;
  209. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  210. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  211. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  212. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  213. // line 50
  214. yield "
  215. ";
  216. // line 51
  217. $context["text"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "text", [], "any", true, true, false, 51)) ? (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.', 51, $this->source); })()), "text", [], "any", false, false, false, 51), "")) : (""));
  218. // line 52
  219. yield " ";
  220. $context["buttonText"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "buttonText", [], "any", true, true, false, 52)) ? (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.', 52, $this->source); })()), "buttonText", [], "any", false, false, false, 52), "")) : (""));
  221. // line 53
  222. yield " ";
  223. $context["buttonLink"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "buttonLink", [], "any", true, true, false, 53)) ? (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.', 53, $this->source); })()), "buttonLink", [], "any", false, false, false, 53), "")) : (""));
  224. // line 54
  225. yield " ";
  226. $context["pictogramElement"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "pictogramElement", [], "any", true, true, false, 54)) ? (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.', 54, $this->source); })()), "pictogramElement", [], "any", false, false, false, 54), "")) : (""));
  227. // line 55
  228. yield "
  229. ";
  230. // line 56
  231. $context["currentFormType"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "formType", [], "any", true, true, false, 56)) ? (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.', 56, $this->source); })()), "formType", [], "any", false, false, false, 56), ((array_key_exists("formType", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["formType"]) || array_key_exists("formType", $context) ? $context["formType"] : (function () { throw new RuntimeError('Variable "formType" does not exist.', 56, $this->source); })()), "connection")) : ("connection")))) : (((array_key_exists("formType", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["formType"]) || array_key_exists("formType", $context) ? $context["formType"] : (function () { throw new RuntimeError('Variable "formType" does not exist.', 56, $this->source); })()), "connection")) : ("connection"))));
  232. // line 57
  233. yield "
  234. ";
  235. // line 59
  236. yield " ";
  237. $context["media"] = null;
  238. // line 60
  239. yield " ";
  240. if (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "pageMedia", [], "any", true, true, false, 60) && !(null === 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.', 60, $this->source); })()), "pageMedia", [], "any", false, false, false, 60))) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "pageMedia", [], "any", false, true, false, 60), "id", [], "any", true, true, false, 60))) {
  241. // line 61
  242. yield " ";
  243. $context["media"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(CoreExtension::getAttribute($this->env, $this->source, 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.', 61, $this->source); })()), "pageMedia", [], "any", false, false, false, 61), "id", [], "any", false, false, false, 61), 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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "locale", [], "any", false, false, false, 61));
  244. // line 62
  245. yield " ";
  246. }
  247. // line 63
  248. yield "
  249. ";
  250. // line 64
  251. $context["mediaUrl"] = (((($tmp = (isset($context["media"]) || array_key_exists("media", $context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.', 64, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['App\Twig\MediaExtension']->getMediaUrlWithFallback((isset($context["media"]) || array_key_exists("media", $context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.', 64, $this->source); })()), "1600x")) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/connection-screen/background.gif")));
  252. // line 65
  253. yield " ";
  254. $context["mediaMimeType"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["media"] ?? null), "mimeType", [], "any", true, true, false, 65)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["media"]) || array_key_exists("media", $context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.', 65, $this->source); })()), "mimeType", [], "any", false, false, false, 65), "")) : (""));
  255. // line 66
  256. yield " ";
  257. $context["isVideo"] = ((is_string($_v0 = (isset($context["mediaMimeType"]) || array_key_exists("mediaMimeType", $context) ? $context["mediaMimeType"] : (function () { throw new RuntimeError('Variable "mediaMimeType" does not exist.', 66, $this->source); })())) && is_string($_v1 = "video/") && str_starts_with($_v0, $_v1)) || CoreExtension::matches("/.(mp4|webm|ogg)(\\?.*)?\$/i", (isset($context["mediaUrl"]) || array_key_exists("mediaUrl", $context) ? $context["mediaUrl"] : (function () { throw new RuntimeError('Variable "mediaUrl" does not exist.', 66, $this->source); })())));
  258. // line 67
  259. yield "
  260. <section class=\"form-confirmation\">
  261. ";
  262. // line 69
  263. if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["mediaUrl"]) || array_key_exists("mediaUrl", $context) ? $context["mediaUrl"] : (function () { throw new RuntimeError('Variable "mediaUrl" does not exist.', 69, $this->source); })()))) {
  264. // line 70
  265. yield " <div class=\"form-confirmation__media\" aria-hidden=\"true\">
  266. ";
  267. // line 71
  268. if ((($tmp = (isset($context["isVideo"]) || array_key_exists("isVideo", $context) ? $context["isVideo"] : (function () { throw new RuntimeError('Variable "isVideo" does not exist.', 71, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  269. // line 72
  270. yield " <video class=\"form-confirmation__media-video\" autoplay muted loop playsinline preload=\"metadata\">
  271. <source src=\"";
  272. // line 73
  273. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["mediaUrl"]) || array_key_exists("mediaUrl", $context) ? $context["mediaUrl"] : (function () { throw new RuntimeError('Variable "mediaUrl" does not exist.', 73, $this->source); })()), "html_attr");
  274. yield "\" type=\"";
  275. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["mediaMimeType"]) || array_key_exists("mediaMimeType", $context) ? $context["mediaMimeType"] : (function () { throw new RuntimeError('Variable "mediaMimeType" does not exist.', 73, $this->source); })()), "html_attr");
  276. yield "\" />
  277. </video>
  278. ";
  279. } else {
  280. // line 76
  281. yield " <img class=\"form-confirmation__media-img\" src=\"";
  282. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["mediaUrl"]) || array_key_exists("mediaUrl", $context) ? $context["mediaUrl"] : (function () { throw new RuntimeError('Variable "mediaUrl" does not exist.', 76, $this->source); })()), "html_attr");
  283. yield "\" alt=\"\" />
  284. ";
  285. }
  286. // line 78
  287. yield " </div>
  288. ";
  289. }
  290. // line 80
  291. yield "
  292. <div class=\"form-confirmation__content\">
  293. <div class=\"form-confirmation__content-text\">
  294. ";
  295. // line 84
  296. yield (string) $this->env->getFunction('getLucidIcon')->getCallable()(((array_key_exists("pictogramElement", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["pictogramElement"]) || array_key_exists("pictogramElement", $context) ? $context["pictogramElement"] : (function () { throw new RuntimeError('Variable "pictogramElement" does not exist.', 84, $this->source); })()), "")) : ("")));
  297. yield "
  298. <div>";
  299. // line 85
  300. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["text"]) || array_key_exists("text", $context) ? $context["text"] : (function () { throw new RuntimeError('Variable "text" does not exist.', 85, $this->source); })()), "html", null, true);
  301. yield "</div>
  302. </div>
  303. <a class=\"btn style1 reverse_color little\" href=\"";
  304. // line 87
  305. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["buttonLink"]) || array_key_exists("buttonLink", $context) ? $context["buttonLink"] : (function () { throw new RuntimeError('Variable "buttonLink" does not exist.', 87, $this->source); })()), "html", null, true);
  306. yield "\">";
  307. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["buttonText"]) || array_key_exists("buttonText", $context) ? $context["buttonText"] : (function () { throw new RuntimeError('Variable "buttonText" does not exist.', 87, $this->source); })()), "html", null, true);
  308. yield "</a>
  309. </div>
  310. </section>
  311. ";
  312. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  313. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  314. yield from [];
  315. }
  316. /**
  317. * @codeCoverageIgnore
  318. */
  319. public function getTemplateName(): string
  320. {
  321. return "pages/form_confirmation.html.twig";
  322. }
  323. /**
  324. * @codeCoverageIgnore
  325. */
  326. public function isTraitable(): bool
  327. {
  328. return false;
  329. }
  330. /**
  331. * @codeCoverageIgnore
  332. */
  333. public function getDebugInfo(): array
  334. {
  335. return array ( 366 => 87, 361 => 85, 357 => 84, 351 => 80, 347 => 78, 341 => 76, 333 => 73, 330 => 72, 328 => 71, 325 => 70, 323 => 69, 319 => 67, 316 => 66, 313 => 65, 311 => 64, 308 => 63, 305 => 62, 302 => 61, 299 => 60, 296 => 59, 293 => 57, 291 => 56, 288 => 55, 285 => 54, 282 => 53, 279 => 52, 277 => 51, 274 => 50, 261 => 49, 248 => 46, 243 => 45, 230 => 44, 208 => 42, 186 => 40, 164 => 38, 148 => 31, 146 => 30, 142 => 29, 131 => 20, 128 => 19, 126 => 18, 120 => 14, 118 => 13, 114 => 12, 108 => 8, 95 => 7, 83 => 4, 70 => 3, 47 => 1,);
  336. }
  337. public function getSourceContext(): Source
  338. {
  339. return new Source("{% extends \x27base.html.twig\x27 %}
  340. {% block page_class %}
  341. page form-confirmation-page
  342. {% endblock %}
  343. {% block header %}
  344. <header class=\"site-header site-header--desktop\">
  345. <div class=\"site-header__inner\">
  346. <div class=\"site-header__bar\">
  347. <div class=\"site-header__brand\">
  348. <a class=\"site-header__logo logo\" href=\"{{ sulu_content_root_path() }}\">
  349. {% include \x27pages/_includes/icons/croisiland-logo.svg\x27 %}
  350. </a>
  351. </div>
  352. <div class=\"site-header__meta\">
  353. {% include \x27pages/_includes/base/_phone.html.twig\x27 %}
  354. {% include \x27pages/_includes/base/_hours.html.twig\x27 %}
  355. </div>
  356. </div>
  357. </div>
  358. </header>
  359. <header class=\"site-header site-header--mobile\">
  360. <div class=\"site-header__inner\">
  361. <div class=\"site-header__bar\">
  362. <div class=\"site-header__brand\">
  363. <a class=\"site-header__logo logo\" href=\"{{ sulu_content_root_path() }}\">
  364. {% include \x27pages/_includes/icons/croisiland-logo.svg\x27 %}
  365. </a>
  366. </div>
  367. </div>
  368. </div>
  369. </header>
  370. {% endblock %}
  371. {% block aside %}{% endblock %}
  372. {% block footer %}{% endblock %}
  373. {% block modals %}{% endblock %}
  374. {% block stylesheets %}
  375. {{ parent() }}
  376. {{ encore_entry_link_tags(\x27form_confirmation_styles\x27) }}
  377. {% endblock %}
  378. {% block content %}
  379. {% set text = content.text|default(\x27\x27) %}
  380. {% set buttonText = content.buttonText|default(\x27\x27) %}
  381. {% set buttonLink = content.buttonLink|default(\x27\x27) %}
  382. {% set pictogramElement = content.pictogramElement|default(\x27\x27) %}
  383. {% set currentFormType = content.formType|default(formType|default(\x27connection\x27)) %}
  384. {# pageMedia peut être une image ou une vidéo (affiché en arrière-plan) #}
  385. {% set media = null %}
  386. {% if content.pageMedia is defined and content.pageMedia is not null and content.pageMedia.id is defined %}
  387. {% set media = sulu_resolve_media(content.pageMedia.id, app.request.locale) %}
  388. {% endif %}
  389. {% set mediaUrl = media ? sulu_media_url(media, \x271600x\x27) : asset(\x27img/connection-screen/background.gif\x27) %}
  390. {% set mediaMimeType = media.mimeType|default(\x27\x27) %}
  391. {% set isVideo = (mediaMimeType starts with \x27video/\x27) or (mediaUrl matches \x27/\\.(mp4|webm|ogg)(\\\\?.*)?\$/i\x27) %}
  392. <section class=\"form-confirmation\">
  393. {% if mediaUrl is not empty %}
  394. <div class=\"form-confirmation__media\" aria-hidden=\"true\">
  395. {% if isVideo %}
  396. <video class=\"form-confirmation__media-video\" autoplay muted loop playsinline preload=\"metadata\">
  397. <source src=\"{{ mediaUrl|e(\x27html_attr\x27) }}\" type=\"{{ mediaMimeType|e(\x27html_attr\x27) }}\" />
  398. </video>
  399. {% else %}
  400. <img class=\"form-confirmation__media-img\" src=\"{{ mediaUrl|e(\x27html_attr\x27) }}\" alt=\"\" />
  401. {% endif %}
  402. </div>
  403. {% endif %}
  404. <div class=\"form-confirmation__content\">
  405. <div class=\"form-confirmation__content-text\">
  406. {{ getLucidIcon(pictogramElement|default(\x27\x27)) }}
  407. <div>{{ text }}</div>
  408. </div>
  409. <a class=\"btn style1 reverse_color little\" href=\"{{ buttonLink }}\">{{ buttonText }}</a>
  410. </div>
  411. </section>
  412. {% endblock %}
  413. ", "pages/form_confirmation.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/form_confirmation.html.twig");
  414. }
  415. }