var/cache/dev/twig/45/45c90333c556362c5b7d66746d8e8504.php line 55

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\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* /wanted_jobs_search/form.html.twig */
  16. class __TwigTemplate_bd7aebe73d529bd9462adfb120ea95a0 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'stylesheets' => [$this, 'block_stylesheets'],
  29. 'main_content' => [$this, 'block_main_content'],
  30. 'javascripts' => [$this, 'block_javascripts'],
  31. ];
  32. }
  33. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34. {
  35. // line 1
  36. return "/base.html.twig";
  37. }
  38. protected function doDisplay(array $context, array $blocks = []): iterable
  39. {
  40. $macros = $this->macros;
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/wanted_jobs_search/form.html.twig"));
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/wanted_jobs_search/form.html.twig"));
  45. $this->parent = $this->load("/base.html.twig", 1);
  46. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49. }
  50. // line 3
  51. /**
  52. * @return iterable<null|scalar|\Stringable>
  53. */
  54. public function block_stylesheets(array $context, array $blocks = []): iterable
  55. {
  56. $macros = $this->macros;
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  61. // line 4
  62. yield " ";
  63. yield Twig\Extension\CoreExtension::include($this->env, $context, "/wanted_jobs_search/_includes/form_stylesheets.html.twig");
  64. yield "
  65. ";
  66. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68. yield from [];
  69. }
  70. // line 7
  71. /**
  72. * @return iterable<null|scalar|\Stringable>
  73. */
  74. public function block_main_content(array $context, array $blocks = []): iterable
  75. {
  76. $macros = $this->macros;
  77. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  79. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  81. // line 8
  82. yield " ";
  83. 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.', 8, $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.', 8, $this->source); })()), "request", [], "any", false, false, false, 8)], "method", false, false, false, 8)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  84. // line 9
  85. yield " ";
  86. // line 10
  87. yield " <script src=\"https://accounts.google.com/gsi/client\" async defer></script>
  88. ";
  89. }
  90. // line 12
  91. yield "
  92. ";
  93. // line 13
  94. $context["resultPage"] = false;
  95. // line 14
  96. yield " ";
  97. yield Twig\Extension\CoreExtension::include($this->env, $context, "/wanted_jobs_search/_includes/form.html.twig");
  98. yield "
  99. ";
  100. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  101. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  102. yield from [];
  103. }
  104. // line 17
  105. /**
  106. * @return iterable<null|scalar|\Stringable>
  107. */
  108. public function block_javascripts(array $context, array $blocks = []): iterable
  109. {
  110. $macros = $this->macros;
  111. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  113. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  115. // line 18
  116. yield " ";
  117. yield Twig\Extension\CoreExtension::include($this->env, $context, "/wanted_jobs_search/_includes/form_javascript.html.twig");
  118. yield "
  119. ";
  120. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122. yield from [];
  123. }
  124. /**
  125. * @codeCoverageIgnore
  126. */
  127. public function getTemplateName(): string
  128. {
  129. return "/wanted_jobs_search/form.html.twig";
  130. }
  131. /**
  132. * @codeCoverageIgnore
  133. */
  134. public function isTraitable(): bool
  135. {
  136. return false;
  137. }
  138. /**
  139. * @codeCoverageIgnore
  140. */
  141. public function getDebugInfo(): array
  142. {
  143. return array ( 146 => 18, 133 => 17, 119 => 14, 117 => 13, 114 => 12, 110 => 10, 108 => 9, 105 => 8, 92 => 7, 78 => 4, 65 => 3, 42 => 1,);
  144. }
  145. public function getSourceContext(): Source
  146. {
  147. return new Source("{% extends '/base.html.twig' %}
  148. {% block stylesheets %}
  149. {{ include('/wanted_jobs_search/_includes/form_stylesheets.html.twig') }}
  150. {% endblock %}
  151. {% block main_content %}
  152. {% if feature_flag_service.featureEnabledForRequest(constant('App\\\\Service\\\\FeatureFlagService::FEATURE_REGISTER_VIA_GOOGLE_IDENTITY'), app.request) %}
  153. {# Google Identity - GSI - One Tap widget client-side code #}
  154. <script src=\"https://accounts.google.com/gsi/client\" async defer></script>
  155. {% endif %}
  156. {% set resultPage = false %}
  157. {{ include('/wanted_jobs_search/_includes/form.html.twig') }}
  158. {% endblock %}
  159. {% block javascripts %}
  160. {{ include('/wanted_jobs_search/_includes/form_javascript.html.twig') }}
  161. {% endblock %}
  162. ", "/wanted_jobs_search/form.html.twig", "/workspace/backend-app/templates/wanted_jobs_search/form.html.twig");
  163. }
  164. }