<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* pages/form_confirmation.html.twig */
class __TwigTemplate_995772ef40cec2e7fdaf2c2fd18b18e3 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_class' => [$this, 'block_page_class'],
'header' => [$this, 'block_header'],
'aside' => [$this, 'block_aside'],
'footer' => [$this, 'block_footer'],
'modals' => [$this, 'block_modals'],
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/form_confirmation.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/form_confirmation.html.twig"));
$this->parent = $this->load("base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_page_class(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_class"));
// line 4
yield " page form-confirmation-page
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_header(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 8
yield " <header class=\"site-header site-header--desktop\">
<div class=\"site-header__inner\">
<div class=\"site-header__bar\">
<div class=\"site-header__brand\">
<a class=\"site-header__logo logo\" href=\"";
// line 12
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html", null, true);
yield "\">
";
// line 13
yield from $this->load("pages/_includes/icons/croisiland-logo.svg", 13)->unwrap()->yield($context);
// line 14
yield " </a>
</div>
<div class=\"site-header__meta\">
";
// line 18
yield from $this->load("pages/_includes/base/_phone.html.twig", 18)->unwrap()->yield($context);
// line 19
yield " ";
yield from $this->load("pages/_includes/base/_hours.html.twig", 19)->unwrap()->yield($context);
// line 20
yield " </div>
</div>
</div>
</header>
<header class=\"site-header site-header--mobile\">
<div class=\"site-header__inner\">
<div class=\"site-header__bar\">
<div class=\"site-header__brand\">
<a class=\"site-header__logo logo\" href=\"";
// line 29
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html", null, true);
yield "\">
";
// line 30
yield from $this->load("pages/_includes/icons/croisiland-logo.svg", 30)->unwrap()->yield($context);
// line 31
yield " </a>
</div>
</div>
</div>
</header>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 38
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_aside(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "aside"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "aside"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 40
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 42
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_modals(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modals"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modals"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 44
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 45
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
// line 46
yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("form_confirmation_styles");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 49
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 50
yield "
";
// line 51
$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), "")) : (""));
// line 52
yield " ";
$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), "")) : (""));
// line 53
yield " ";
$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), "")) : (""));
// line 54
yield " ";
$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), "")) : (""));
// line 55
yield "
";
// line 56
$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"))));
// line 57
yield "
";
// line 59
yield " ";
$context["media"] = null;
// line 60
yield " ";
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))) {
// line 61
yield " ";
$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));
// line 62
yield " ";
}
// line 63
yield "
";
// line 64
$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")));
// line 65
yield " ";
$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), "")) : (""));
// line 66
yield " ";
$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); })())));
// line 67
yield "
<section class=\"form-confirmation\">
";
// line 69
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); })()))) {
// line 70
yield " <div class=\"form-confirmation__media\" aria-hidden=\"true\">
";
// line 71
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)) {
// line 72
yield " <video class=\"form-confirmation__media-video\" autoplay muted loop playsinline preload=\"metadata\">
<source src=\"";
// line 73
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");
yield "\" type=\"";
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");
yield "\" />
</video>
";
} else {
// line 76
yield " <img class=\"form-confirmation__media-img\" src=\"";
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");
yield "\" alt=\"\" />
";
}
// line 78
yield " </div>
";
}
// line 80
yield "
<div class=\"form-confirmation__content\">
<div class=\"form-confirmation__content-text\">
";
// line 84
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); })()), "")) : ("")));
yield "
<div>";
// line 85
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);
yield "</div>
</div>
<a class=\"btn style1 reverse_color little\" href=\"";
// line 87
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);
yield "\">";
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);
yield "</a>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/form_confirmation.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27base.html.twig\x27 %}
{% block page_class %}
page form-confirmation-page
{% endblock %}
{% block header %}
<header class=\"site-header site-header--desktop\">
<div class=\"site-header__inner\">
<div class=\"site-header__bar\">
<div class=\"site-header__brand\">
<a class=\"site-header__logo logo\" href=\"{{ sulu_content_root_path() }}\">
{% include \x27pages/_includes/icons/croisiland-logo.svg\x27 %}
</a>
</div>
<div class=\"site-header__meta\">
{% include \x27pages/_includes/base/_phone.html.twig\x27 %}
{% include \x27pages/_includes/base/_hours.html.twig\x27 %}
</div>
</div>
</div>
</header>
<header class=\"site-header site-header--mobile\">
<div class=\"site-header__inner\">
<div class=\"site-header__bar\">
<div class=\"site-header__brand\">
<a class=\"site-header__logo logo\" href=\"{{ sulu_content_root_path() }}\">
{% include \x27pages/_includes/icons/croisiland-logo.svg\x27 %}
</a>
</div>
</div>
</div>
</header>
{% endblock %}
{% block aside %}{% endblock %}
{% block footer %}{% endblock %}
{% block modals %}{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags(\x27form_confirmation_styles\x27) }}
{% endblock %}
{% block content %}
{% set text = content.text|default(\x27\x27) %}
{% set buttonText = content.buttonText|default(\x27\x27) %}
{% set buttonLink = content.buttonLink|default(\x27\x27) %}
{% set pictogramElement = content.pictogramElement|default(\x27\x27) %}
{% set currentFormType = content.formType|default(formType|default(\x27connection\x27)) %}
{# pageMedia peut être une image ou une vidéo (affiché en arrière-plan) #}
{% set media = null %}
{% if content.pageMedia is defined and content.pageMedia is not null and content.pageMedia.id is defined %}
{% set media = sulu_resolve_media(content.pageMedia.id, app.request.locale) %}
{% endif %}
{% set mediaUrl = media ? sulu_media_url(media, \x271600x\x27) : asset(\x27img/connection-screen/background.gif\x27) %}
{% set mediaMimeType = media.mimeType|default(\x27\x27) %}
{% set isVideo = (mediaMimeType starts with \x27video/\x27) or (mediaUrl matches \x27/\\.(mp4|webm|ogg)(\\\\?.*)?\$/i\x27) %}
<section class=\"form-confirmation\">
{% if mediaUrl is not empty %}
<div class=\"form-confirmation__media\" aria-hidden=\"true\">
{% if isVideo %}
<video class=\"form-confirmation__media-video\" autoplay muted loop playsinline preload=\"metadata\">
<source src=\"{{ mediaUrl|e(\x27html_attr\x27) }}\" type=\"{{ mediaMimeType|e(\x27html_attr\x27) }}\" />
</video>
{% else %}
<img class=\"form-confirmation__media-img\" src=\"{{ mediaUrl|e(\x27html_attr\x27) }}\" alt=\"\" />
{% endif %}
</div>
{% endif %}
<div class=\"form-confirmation__content\">
<div class=\"form-confirmation__content-text\">
{{ getLucidIcon(pictogramElement|default(\x27\x27)) }}
<div>{{ text }}</div>
</div>
<a class=\"btn style1 reverse_color little\" href=\"{{ buttonLink }}\">{{ buttonText }}</a>
</div>
</section>
{% endblock %}
", "pages/form_confirmation.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/form_confirmation.html.twig");
}
}