<?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\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* /recurrent_jobs_search/form.html.twig */
class __TwigTemplate_c833a8e149f345016ae4d28984b1ca0f 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 = [
'main_content' => [$this, 'block_main_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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", "/recurrent_jobs_search/form.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/recurrent_jobs_search/form.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 2
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_main_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", "main_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
// line 3
yield "
";
// line 4
if ((($tmp = !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.', 4, $this->source); })()), "user", [], "any", false, false, false, 4)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 5
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["feature_flag_service"]) || array_key_exists("feature_flag_service", $context) ? $context["feature_flag_service"] : (function () { throw new RuntimeError('Variable "feature_flag_service" does not exist.', 5, $this->source); })()), "featureEnabledForRequest", [Twig\Extension\CoreExtension::constant("App\\Service\\FeatureFlagService::FEATURE_REGISTER_VIA_GOOGLE_IDENTITY"), 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.', 5, $this->source); })()), "request", [], "any", false, false, false, 5)], "method", false, false, false, 5)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 6
yield " ";
// line 7
yield " <div id=\"g_id_onload\"
data-client_id=\"788335927892-ttc3saqioltf5ng0plia8l3635mp3lbr.apps.googleusercontent.com\"
data-context=\"signin\"
data-login_uri=\"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("returnurls.google.identity.gsi.jobseeker"), ["http" => "https"]), "html", null, true);
yield "\"
data-close_on_tap_outside=\"true\"
>
</div>
";
}
// line 15
yield " ";
}
// line 16
yield "
";
// line 17
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["feature_flag_service"]) || array_key_exists("feature_flag_service", $context) ? $context["feature_flag_service"] : (function () { throw new RuntimeError('Variable "feature_flag_service" does not exist.', 17, $this->source); })()), "featureEnabledForRequest", [Twig\Extension\CoreExtension::constant("App\\Service\\FeatureFlagService::FEATURE_REGISTER_VIA_GOOGLE_IDENTITY"), 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.', 17, $this->source); })()), "request", [], "any", false, false, false, 17)], "method", false, false, false, 17)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 18
yield " ";
// line 19
yield " <script src=\"https://accounts.google.com/gsi/client\" async defer></script>
";
}
// line 21
yield "
";
// line 22
$context["resultPage"] = false;
// line 23
yield " <div class=\"jtw-form-card\">";
yield Twig\Extension\CoreExtension::include($this->env, $context, "/recurrent_jobs_search/_includes/form.html.twig");
yield "</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 27
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 28
yield " ";
yield Twig\Extension\CoreExtension::include($this->env, $context, "/recurrent_jobs_search/_includes/form_javascript.html.twig");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "/recurrent_jobs_search/form.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 147 => 28, 134 => 27, 119 => 23, 117 => 22, 114 => 21, 110 => 19, 108 => 18, 106 => 17, 103 => 16, 100 => 15, 92 => 10, 87 => 7, 85 => 6, 82 => 5, 80 => 4, 77 => 3, 64 => 2, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '/base.html.twig' %}
{% block main_content %}
{% if not app.user %}
{% if feature_flag_service.featureEnabledForRequest(constant('App\\\\Service\\\\FeatureFlagService::FEATURE_REGISTER_VIA_GOOGLE_IDENTITY'), app.request) %}
{# Google Identity - GSI - One Tap widget DOM element #}
<div id=\"g_id_onload\"
data-client_id=\"788335927892-ttc3saqioltf5ng0plia8l3635mp3lbr.apps.googleusercontent.com\"
data-context=\"signin\"
data-login_uri=\"{{ url('returnurls.google.identity.gsi.jobseeker')|replace({'http': 'https'}) }}\"
data-close_on_tap_outside=\"true\"
>
</div>
{% endif %}
{% endif %}
{% if feature_flag_service.featureEnabledForRequest(constant('App\\\\Service\\\\FeatureFlagService::FEATURE_REGISTER_VIA_GOOGLE_IDENTITY'), app.request) %}
{# Google Identity - GSI - One Tap widget client-side code #}
<script src=\"https://accounts.google.com/gsi/client\" async defer></script>
{% endif %}
{% set resultPage = false %}
<div class=\"jtw-form-card\">{{ include('/recurrent_jobs_search/_includes/form.html.twig') }}</div>
{% endblock %}
{% block javascripts %}
{{ include('/recurrent_jobs_search/_includes/form_javascript.html.twig') }}
{% endblock %}
", "/recurrent_jobs_search/form.html.twig", "/workspace/backend-app/templates/recurrent_jobs_search/form.html.twig");
}
}