<?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/connection_screen.html.twig */
class __TwigTemplate_ef1816640ba8effe28a1579780e5c62b 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/connection_screen.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/connection_screen.html.twig"));
// line 3
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 3, $this->source); })()), ["form_theme.html.twig"], true);
// line 1
$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 5
/**
* @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 6
yield " page connection-screen-page
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 9
/**
* @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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 11
/**
* @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 13
/**
* @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 15
/**
* @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 17
/**
* @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 18
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
// line 19
yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("connection_screen_styles");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 22
/**
* @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 23
yield " ";
$context["currentFormType"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "formType", [], "any", true, true, false, 23)) ? (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.', 23, $this->source); })()), "formType", [], "any", false, false, false, 23), ((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.', 23, $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.', 23, $this->source); })()), "connection")) : ("connection"))));
// line 24
yield "
";
// line 26
yield " ";
$context["media"] = null;
// line 27
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "pageMedia", [], "any", true, true, false, 27) && !(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.', 27, $this->source); })()), "pageMedia", [], "any", false, false, false, 27))) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "pageMedia", [], "any", false, true, false, 27), "id", [], "any", true, true, false, 27))) {
// line 28
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.', 28, $this->source); })()), "pageMedia", [], "any", false, false, false, 28), "id", [], "any", false, false, false, 28), 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.', 28, $this->source); })()), "request", [], "any", false, false, false, 28), "locale", [], "any", false, false, false, 28));
// line 29
yield " ";
}
// line 30
yield "
";
// line 31
$context["mediaUrl"] = (((($tmp = (isset($context["media"]) || array_key_exists("media", $context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.', 31, $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.', 31, $this->source); })()), "1600x")) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/connection-screen/background.gif")));
// line 32
yield " ";
$context["mediaMimeType"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["media"] ?? null), "mimeType", [], "any", true, true, false, 32)) ? (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.', 32, $this->source); })()), "mimeType", [], "any", false, false, false, 32), "")) : (""));
// line 33
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.', 33, $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.', 33, $this->source); })())));
// line 34
yield "
<section class=\"connection-screen\">
";
// line 36
if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["mediaUrl"]) || array_key_exists("mediaUrl", $context) ? $context["mediaUrl"] : (function () { throw new RuntimeError('Variable "mediaUrl" does not exist.', 36, $this->source); })()))) {
// line 37
yield " <div class=\"connection-screen__media\" aria-hidden=\"true\">
";
// line 38
if ((($tmp = (isset($context["isVideo"]) || array_key_exists("isVideo", $context) ? $context["isVideo"] : (function () { throw new RuntimeError('Variable "isVideo" does not exist.', 38, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 39
yield " <video class=\"connection-screen__media-video\" autoplay muted loop playsinline preload=\"metadata\">
<source src=\"";
// line 40
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.', 40, $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.', 40, $this->source); })()), "html_attr");
yield "\" />
</video>
";
} else {
// line 43
yield " <img class=\"connection-screen__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.', 43, $this->source); })()), "html_attr");
yield "\" alt=\"\" />
";
}
// line 45
yield " </div>
";
}
// line 47
yield "
";
// line 48
if (((isset($context["currentFormType"]) || array_key_exists("currentFormType", $context) ? $context["currentFormType"] : (function () { throw new RuntimeError('Variable "currentFormType" does not exist.', 48, $this->source); })()) == "connection")) {
// line 49
yield " ";
yield from $this->load("pages/_includes/connection_screen/_form_connection.html.twig", 49)->unwrap()->yield($context);
// line 50
yield " ";
} elseif (((isset($context["currentFormType"]) || array_key_exists("currentFormType", $context) ? $context["currentFormType"] : (function () { throw new RuntimeError('Variable "currentFormType" does not exist.', 50, $this->source); })()) == "connection_commercial_proposition")) {
// line 51
yield " ";
yield from $this->load("pages/_includes/connection_screen/_form_connection_commercial_proposition.html.twig", 51)->unwrap()->yield($context);
// line 52
yield " ";
} elseif (((isset($context["currentFormType"]) || array_key_exists("currentFormType", $context) ? $context["currentFormType"] : (function () { throw new RuntimeError('Variable "currentFormType" does not exist.', 52, $this->source); })()) == "forgot_password")) {
// line 53
yield " ";
yield from $this->load("pages/_includes/connection_screen/_form_forgot_password.html.twig", 53)->unwrap()->yield($context);
// line 54
yield " ";
} elseif (((isset($context["currentFormType"]) || array_key_exists("currentFormType", $context) ? $context["currentFormType"] : (function () { throw new RuntimeError('Variable "currentFormType" does not exist.', 54, $this->source); })()) == "reset_password")) {
// line 55
yield " ";
yield from $this->load("pages/_includes/connection_screen/_form_reset_password.html.twig", 55)->unwrap()->yield($context);
// line 56
yield " ";
} elseif (((isset($context["currentFormType"]) || array_key_exists("currentFormType", $context) ? $context["currentFormType"] : (function () { throw new RuntimeError('Variable "currentFormType" does not exist.', 56, $this->source); })()) == "subscription")) {
// line 57
yield " ";
yield from $this->load("pages/_includes/connection_screen/_form_subscription.html.twig", 57)->unwrap()->yield($context);
// line 58
yield " ";
} elseif (((isset($context["currentFormType"]) || array_key_exists("currentFormType", $context) ? $context["currentFormType"] : (function () { throw new RuntimeError('Variable "currentFormType" does not exist.', 58, $this->source); })()) == "confirm_subscription")) {
// line 59
yield " ";
yield from $this->load("pages/_includes/connection_screen/_confirm_subscription.html.twig", 59)->unwrap()->yield($context);
// line 60
yield " ";
} elseif (((isset($context["currentFormType"]) || array_key_exists("currentFormType", $context) ? $context["currentFormType"] : (function () { throw new RuntimeError('Variable "currentFormType" does not exist.', 60, $this->source); })()) == "subscription_success")) {
// line 61
yield " ";
yield from $this->load("pages/_includes/connection_screen/_confirm_subscription_success.html.twig", 61)->unwrap()->yield($context);
// line 62
yield " ";
} else {
// line 63
yield " ";
// line 64
yield " ";
yield from $this->load("pages/_includes/connection_screen/_form_connection.html.twig", 64)->unwrap()->yield($context);
// line 65
yield " ";
}
// line 66
yield " </section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/connection_screen.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 346 => 66, 343 => 65, 340 => 64, 338 => 63, 335 => 62, 332 => 61, 329 => 60, 326 => 59, 323 => 58, 320 => 57, 317 => 56, 314 => 55, 311 => 54, 308 => 53, 305 => 52, 302 => 51, 299 => 50, 296 => 49, 294 => 48, 291 => 47, 287 => 45, 281 => 43, 273 => 40, 270 => 39, 268 => 38, 265 => 37, 263 => 36, 259 => 34, 256 => 33, 253 => 32, 251 => 31, 248 => 30, 245 => 29, 242 => 28, 239 => 27, 236 => 26, 233 => 24, 230 => 23, 217 => 22, 204 => 19, 199 => 18, 186 => 17, 164 => 15, 142 => 13, 120 => 11, 98 => 9, 86 => 6, 73 => 5, 62 => 1, 60 => 3, 47 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27base.html.twig\x27 %}
{% form_theme form \x27form_theme.html.twig\x27 %}
{% block page_class %}
page connection-screen-page
{% endblock %}
{% block header %}{% endblock %}
{% block aside %}{% endblock %}
{% block footer %}{% endblock %}
{% block modals %}{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags(\x27connection_screen_styles\x27) }}
{% endblock %}
{% block content %}
{% 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=\"connection-screen\">
{% if mediaUrl is not empty %}
<div class=\"connection-screen__media\" aria-hidden=\"true\">
{% if isVideo %}
<video class=\"connection-screen__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=\"connection-screen__media-img\" src=\"{{ mediaUrl|e(\x27html_attr\x27) }}\" alt=\"\" />
{% endif %}
</div>
{% endif %}
{% if currentFormType == \x27connection\x27 %}
{% include \x27pages/_includes/connection_screen/_form_connection.html.twig\x27 %}
{% elseif currentFormType == \x27connection_commercial_proposition\x27 %}
{% include \x27pages/_includes/connection_screen/_form_connection_commercial_proposition.html.twig\x27 %}
{% elseif currentFormType == \x27forgot_password\x27 %}
{% include \x27pages/_includes/connection_screen/_form_forgot_password.html.twig\x27 %}
{% elseif currentFormType == \x27reset_password\x27 %}
{% include \x27pages/_includes/connection_screen/_form_reset_password.html.twig\x27 %}
{% elseif currentFormType == \x27subscription\x27 %}
{% include \x27pages/_includes/connection_screen/_form_subscription.html.twig\x27 %}
{% elseif currentFormType == \x27confirm_subscription\x27 %}
{% include \x27pages/_includes/connection_screen/_confirm_subscription.html.twig\x27 %}
{% elseif currentFormType == \x27subscription_success\x27 %}
{% include \x27pages/_includes/connection_screen/_confirm_subscription_success.html.twig\x27 %}
{% else %}
{# Fallback: on affiche le formulaire de connexion #}
{% include \x27pages/_includes/connection_screen/_form_connection.html.twig\x27 %}
{% endif %}
</section>
{% endblock %}
", "pages/connection_screen.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/connection_screen.html.twig");
}
}