var/cache/dev/twig/ab/ab2db2254bbea28292be4adb0fddee3a.php line 62

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. /* lef-career/layout.html.twig */
  16. class __TwigTemplate_65b38f373606dae6d6508ef2a8749e96 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->parent false;
  28.         $this->blocks = [
  29.             'layoutCommonAttribute' => [$this'block_layoutCommonAttribute'],
  30.             'htmlAttributes' => [$this'block_htmlAttributes'],
  31.             'head_inline_stylesheets' => [$this'block_head_inline_stylesheets'],
  32.             'head_links' => [$this'block_head_links'],
  33.             'layout_head_meta_init' => [$this'block_layout_head_meta_init'],
  34.             'layout_head_meta' => [$this'block_layout_head_meta'],
  35.             'bodyAttributes' => [$this'block_bodyAttributes'],
  36.             'scripts' => [$this'block_scripts'],
  37.         ];
  38.         $this->sandbox $this->extensions[SandboxExtension::class];
  39.         $this->checkSecurity();
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""lef-career/layout.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""lef-career/layout.html.twig"));
  48.         // line 1
  49.         yield "<!doctype html>";
  50.         // line 3
  51.         yield from $this->unwrap()->yieldBlock('layoutCommonAttribute'$context$blocks);
  52.         // line 6
  53.         $context["isDocument"] = $this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'6$this->source); })()), "\\Pimcore\\Model\\Document\\Page");
  54.         // line 8
  55.         $this->env->getFunction('layout_html_attribute_add')->getCallable()("html""lang"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsetrue8), "locale", [], "any"falsefalsetrue8));
  56.         // line 9
  57.         $this->env->getFunction('layout_html_attribute_add_class')->getCallable()("html""no-js");
  58.         // line 11
  59.         yield "<html ";
  60.         yield from $this->unwrap()->yieldBlock('htmlAttributes'$context$blocks);
  61.         yield ">
  62.     <head>";
  63.         // line 13
  64.         yield Twig\Extension\CoreExtension::include($this->env$context"lef-career/partials/head/meta.html.twig");
  65.         // line 15
  66.         $_v0 = ('' === $tmp \Twig\Extension\CoreExtension::captureOutput((function () use (&$context$macros$blocks) {
  67.             // line 16
  68.             if (((isset($context["isDocument"]) || array_key_exists("isDocument"$context) ? $context["isDocument"] : (function () { throw new RuntimeError('Variable "isDocument" does not exist.'16$this->source); })()) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'16$this->source); })()), "title", [], "any"falsefalsetrue16)))) {
  69.                 // line 17
  70.                 CoreExtension::getAttribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'17$this->source); })()), "title", [], "any"falsefalsetrue17)], "method"falsefalsetrue17);
  71.             } else {
  72.                 // line 19
  73.                 CoreExtension::getAttribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "set", ["LEF Karriere"], "method"falsefalsetrue19);
  74.             }
  75.             // line 22
  76.             yield $this->env->getFunction('pimcore_head_title')->getCallable()();
  77.             yield from [];
  78.         })())) ? '' : new Markup($tmp$this->env->getCharset());
  79.         // line 15
  80.         yield Twig\Extension\CoreExtension::spaceless($_v0);
  81.         // line 25
  82.         yield Twig\Extension\CoreExtension::include($this->env$context"lef-career/partials/head/preloadLinks.html.twig");
  83.         // line 26
  84.         yield Twig\Extension\CoreExtension::include($this->env$context"lef-career/partials/head/asynchronousFontLoading.html.twig");
  85.         // line 28
  86.         yield "<style>";
  87.         // line 29
  88.         yield $this->extensions['Aufwind\StdlibBundle\Twig\FileExtension']->includeWeb("/css/career-critical.css");
  89.         // line 30
  90.         yield "</style>";
  91.         // line 32
  92.         yield from $this->unwrap()->yieldBlock('head_inline_stylesheets'$context$blocks);
  93.         // line 36
  94.         yield from $this->unwrap()->yieldBlock('head_links'$context$blocks);
  95.         // line 40
  96.         $_v1 = ('' === $tmp \Twig\Extension\CoreExtension::captureOutput((function () use (&$context$macros$blocks) {
  97.             // line 41
  98.             if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'41$this->source); })()))) {
  99.                 // line 42
  100.                 $context["document"] = Pimcore\Model\Document::getById(1);
  101.             }
  102.             // line 45
  103.             if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'45$this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
  104.                 // line 46
  105.                 $context["document"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'46$this->source); })()), "getObject", [], "method"falsefalsetrue46);
  106.             }
  107.             // line 49
  108.             if (((isset($context["isDocument"]) || array_key_exists("isDocument"$context) ? $context["isDocument"] : (function () { throw new RuntimeError('Variable "isDocument" does not exist.'49$this->source); })()) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'49$this->source); })()), "description", [], "any"falsefalsetrue49)))) {
  109.                 // line 50
  110.                 CoreExtension::getAttribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'50$this->source); })()), "description", [], "any"falsefalsetrue50)], "method"falsefalsetrue50);
  111.             }
  112.             yield from [];
  113.         })())) ? '' : new Markup($tmp$this->env->getCharset());
  114.         // line 40
  115.         yield Twig\Extension\CoreExtension::spaceless($_v1);
  116.         // line 54
  117.         yield Twig\Extension\CoreExtension::include($this->env$context"lef-career/partials/head/asynchronousStylesheetLoading.html.twig");
  118.         // line 56
  119.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('hreflang_init')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'56$this->source); })()), 56$this->source)), "html"nulltrue);
  120.         // line 57
  121.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('canonical_init')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'57$this->source); })()), 57$this->source)), "html"nulltrue);
  122.         // line 59
  123.         yield from $this->unwrap()->yieldBlock('layout_head_meta_init'$context$blocks);
  124.         // line 62
  125.         yield from $this->unwrap()->yieldBlock('layout_head_meta'$context$blocks);
  126.         // line 66
  127.         yield Twig\Extension\CoreExtension::include($this->env$context"lef-career/partials/head/jsFeatureDetection.html.twig");
  128.         // line 67
  129.         yield Twig\Extension\CoreExtension::include($this->env$context"lef-career/partials/head/favicons.html.twig");
  130.         // line 68
  131.         yield "</head>";
  132.         // line 70
  133.         if ((($tmp = (isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'70$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  134.             // line 71
  135.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('layout_html_attribute_add_class')->getCallable()("body""editmode"), "html"nulltrue);
  136.         }
  137.         // line 74
  138.         if ((($tmp =  !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'74$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  139.             // line 75
  140.             $context["navigation_root"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'75$this->source); })()), "getProperty", ["navigation_root"], "method"falsefalsetrue75);
  141.             // line 76
  142.             if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["navigation_root"]) || array_key_exists("navigation_root"$context) ? $context["navigation_root"] : (function () { throw new RuntimeError('Variable "navigation_root" does not exist.'76$this->source); })()), "id", [], "any"falsefalsetrue76) == CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'76$this->source); })()), "id", [], "any"falsefalsetrue76))) {
  143.                 // line 77
  144.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('layout_html_attribute_add_class')->getCallable()("body""home"), "html"nulltrue);
  145.             }
  146.         }
  147.         // line 81
  148.         yield "<body ";
  149.         yield from $this->unwrap()->yieldBlock('bodyAttributes'$context$blocks);
  150.         yield ">";
  151.         // line 82
  152.         yield Twig\Extension\CoreExtension::include($this->env$context"lef-career/partials/svg-sprite.html.twig");
  153.         // line 83
  154.         yield Twig\Extension\CoreExtension::include($this->env$context"lef-career/partials/header.html.twig");
  155.         // line 85
  156.         yield "<main id=\"main-content\">";
  157.         // line 86
  158.         yield from         $this->unwrap()->yieldBlock("content"$context$blocks);
  159.         // line 88
  160.         if (( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'88$this->source); })()) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["navigation_root"]) || array_key_exists("navigation_root"$context) ? $context["navigation_root"] : (function () { throw new RuntimeError('Variable "navigation_root" does not exist.'88$this->source); })()), "id", [], "any"falsefalsetrue88) == CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'88$this->source); })()), "id", [], "any"falsefalsetrue88)))) {
  161.             // line 89
  162.             $context["footer_snippet"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'89$this->source); })()), "getProperty", ["footer_snippet"], "method"falsefalsetrue89);
  163.             // line 90
  164.             if ((($tmp = (isset($context["footer_snippet"]) || array_key_exists("footer_snippet"$context) ? $context["footer_snippet"] : (function () { throw new RuntimeError('Variable "footer_snippet" does not exist.'90$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  165.                 // line 91
  166.                 yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["footer_snippet"]) || array_key_exists("footer_snippet"$context) ? $context["footer_snippet"] : (function () { throw new RuntimeError('Variable "footer_snippet" does not exist.'91$this->source); })()), 91$this->source));
  167.             }
  168.         }
  169.         // line 94
  170.         yield "</main>";
  171.         // line 96
  172.         if (( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'96$this->source); })()) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["navigation_root"]) || array_key_exists("navigation_root"$context) ? $context["navigation_root"] : (function () { throw new RuntimeError('Variable "navigation_root" does not exist.'96$this->source); })()), "id", [], "any"falsefalsetrue96) != CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'96$this->source); })()), "id", [], "any"falsefalsetrue96)))) {
  173.             // line 97
  174.             $context["footer_snippet"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'97$this->source); })()), "getProperty", ["footer_snippet"], "method"falsefalsetrue97);
  175.             // line 98
  176.             if ((($tmp = (isset($context["footer_snippet"]) || array_key_exists("footer_snippet"$context) ? $context["footer_snippet"] : (function () { throw new RuntimeError('Variable "footer_snippet" does not exist.'98$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  177.                 // line 99
  178.                 yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["footer_snippet"]) || array_key_exists("footer_snippet"$context) ? $context["footer_snippet"] : (function () { throw new RuntimeError('Variable "footer_snippet" does not exist.'99$this->source); })()), 99$this->source));
  179.             }
  180.         }
  181.         // line 103
  182.         yield from $this->unwrap()->yieldBlock('scripts'$context$blocks);
  183.         // line 107
  184.         if ((($tmp =  !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'107$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  185.             // line 108
  186.             yield "<script id=\"accessible-toggle\">";
  187.             // line 109
  188.             yield $this->extensions['Aufwind\StdlibBundle\Twig\FileExtension']->includeWeb("/lef-career/js/accessible-toggle.js");
  189.             // line 110
  190.             yield "</script>";
  191.         }
  192.         // line 113
  193.         if (( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'113$this->source); })()) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["navigation_root"]) || array_key_exists("navigation_root"$context) ? $context["navigation_root"] : (function () { throw new RuntimeError('Variable "navigation_root" does not exist.'113$this->source); })()), "id", [], "any"falsefalsetrue113) == CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'113$this->source); })()), "id", [], "any"falsefalsetrue113)))) {
  194.             // line 114
  195.             yield "<script src=\"/vendor/headroom.js/dist/headroom.min.js\"></script>
  196.             <script id=\"header-toggle\">";
  197.             // line 116
  198.             yield $this->extensions['Aufwind\StdlibBundle\Twig\FileExtension']->includeWeb("/lef-career/js/toggle-header-visibility.js");
  199.             // line 117
  200.             yield "</script>";
  201.         }
  202.         // line 119
  203.         yield "</body>
  204. </html>";
  205.         
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  207.         
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  209.         yield from [];
  210.     }
  211.     // line 3
  212.     /**
  213.      * @return iterable<null|scalar|\Stringable>
  214.      */
  215.     public function block_layoutCommonAttribute(array $context, array $blocks = []): iterable
  216.     {
  217.         $macros $this->macros;
  218.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layoutCommonAttribute"));
  220.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  221.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layoutCommonAttribute"));
  222.         
  223.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  224.         
  225.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226.         yield from [];
  227.     }
  228.     // line 11
  229.     /**
  230.      * @return iterable<null|scalar|\Stringable>
  231.      */
  232.     public function block_htmlAttributes(array $context, array $blocks = []): iterable
  233.     {
  234.         $macros $this->macros;
  235.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlAttributes"));
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlAttributes"));
  239.         yield $this->env->getFunction('layout_html_attribute_render')->getCallable()("html");
  240.         
  241.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  242.         
  243.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  244.         yield from [];
  245.     }
  246.     // line 32
  247.     /**
  248.      * @return iterable<null|scalar|\Stringable>
  249.      */
  250.     public function block_head_inline_stylesheets(array $context, array $blocks = []): iterable
  251.     {
  252.         $macros $this->macros;
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  254.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_inline_stylesheets"));
  255.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  256.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_inline_stylesheets"));
  257.         // line 33
  258.         yield $this->env->getFunction('pimcore_head_style')->getCallable()();
  259.         
  260.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  261.         
  262.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  263.         yield from [];
  264.     }
  265.     // line 36
  266.     /**
  267.      * @return iterable<null|scalar|\Stringable>
  268.      */
  269.     public function block_head_links(array $context, array $blocks = []): iterable
  270.     {
  271.         $macros $this->macros;
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_links"));
  274.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_links"));
  276.         // line 37
  277.         yield $this->env->getFunction('pimcore_head_link')->getCallable()();
  278.         
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  280.         
  281.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  282.         yield from [];
  283.     }
  284.     // line 59
  285.     /**
  286.      * @return iterable<null|scalar|\Stringable>
  287.      */
  288.     public function block_layout_head_meta_init(array $context, array $blocks = []): iterable
  289.     {
  290.         $macros $this->macros;
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_init"));
  293.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  294.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_init"));
  295.         
  296.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  297.         
  298.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  299.         yield from [];
  300.     }
  301.     // line 62
  302.     /**
  303.      * @return iterable<null|scalar|\Stringable>
  304.      */
  305.     public function block_layout_head_meta(array $context, array $blocks = []): iterable
  306.     {
  307.         $macros $this->macros;
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  309.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  310.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  311.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  312.         // line 63
  313.         yield $this->env->getFunction('pimcore_head_meta')->getCallable()();
  314.         
  315.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  316.         
  317.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  318.         yield from [];
  319.     }
  320.     // line 81
  321.     /**
  322.      * @return iterable<null|scalar|\Stringable>
  323.      */
  324.     public function block_bodyAttributes(array $context, array $blocks = []): iterable
  325.     {
  326.         $macros $this->macros;
  327.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  328.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyAttributes"));
  329.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  330.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyAttributes"));
  331.         yield $this->env->getFunction('layout_html_attribute_render')->getCallable()("body");
  332.         
  333.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  334.         
  335.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  336.         yield from [];
  337.     }
  338.     // line 103
  339.     /**
  340.      * @return iterable<null|scalar|\Stringable>
  341.      */
  342.     public function block_scripts(array $context, array $blocks = []): iterable
  343.     {
  344.         $macros $this->macros;
  345.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  346.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  347.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  348.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  349.         // line 104
  350.         yield $this->env->getFunction('pimcore_head_script')->getCallable()();
  351.         
  352.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  353.         
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  355.         yield from [];
  356.     }
  357.     /**
  358.      * @codeCoverageIgnore
  359.      */
  360.     public function getTemplateName(): string
  361.     {
  362.         return "lef-career/layout.html.twig";
  363.     }
  364.     /**
  365.      * @codeCoverageIgnore
  366.      */
  367.     public function isTraitable(): bool
  368.     {
  369.         return false;
  370.     }
  371.     /**
  372.      * @codeCoverageIgnore
  373.      */
  374.     public function getDebugInfo(): array
  375.     {
  376.         return array (  399 => 104,  386 => 103,  363 => 81,  352 => 63,  339 => 62,  317 => 59,  306 => 37,  293 => 36,  282 => 33,  269 => 32,  246 => 11,  224 => 3,  212 => 119,  209 => 117,  207 => 116,  204 => 114,  202 => 113,  199 => 110,  197 => 109,  195 => 108,  193 => 107,  191 => 103,  187 => 99,  185 => 98,  183 => 97,  181 => 96,  179 => 94,  175 => 91,  173 => 90,  171 => 89,  169 => 88,  167 => 86,  165 => 85,  163 => 83,  161 => 82,  157 => 81,  153 => 77,  151 => 76,  149 => 75,  147 => 74,  144 => 71,  142 => 70,  140 => 68,  138 => 67,  136 => 66,  134 => 62,  132 => 59,  130 => 57,  128 => 56,  126 => 54,  124 => 40,  119 => 50,  117 => 49,  114 => 46,  112 => 45,  109 => 42,  107 => 41,  105 => 40,  103 => 36,  101 => 32,  99 => 30,  97 => 29,  95 => 28,  93 => 26,  91 => 25,  89 => 15,  85 => 22,  82 => 19,  79 => 17,  77 => 16,  75 => 15,  73 => 13,  68 => 11,  66 => 9,  64 => 8,  62 => 6,  60 => 3,  58 => 1,);
  377.     }
  378.     public function getSourceContext(): Source
  379.     {
  380.         return new Source("<!doctype html>
  381. {%- block layoutCommonAttribute -%}
  382. {%- endblock -%}
  383. {%- set isDocument = document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') -%}
  384. {%- do layout_html_attribute_add('html', 'lang', app.request.locale) -%}
  385. {%- do layout_html_attribute_add_class('html', 'no-js') -%}
  386. <html {% block htmlAttributes -%}{{ layout_html_attribute_render('html')|raw }}{%- endblock -%}>
  387.     <head>
  388.         {{- include('lef-career/partials/head/meta.html.twig') -}}
  389.         {%- apply spaceless -%}
  390.             {%- if isDocument and document.title is not empty -%}
  391.                 {%- do pimcore_head_title().set(document.title) -%}
  392.             {%- else -%}
  393.                 {%- do pimcore_head_title().set('LEF Karriere') -%}
  394.             {%- endif -%}
  395.             {{- pimcore_head_title() -}}
  396.         {%- endapply -%}
  397.         {{- include('lef-career/partials/head/preloadLinks.html.twig') -}}
  398.         {{- include('lef-career/partials/head/asynchronousFontLoading.html.twig') -}}
  399.         <style>
  400.             {{- aw_web_file_include('/css/career-critical.css')|raw -}}
  401.         </style>
  402.         {%- block head_inline_stylesheets -%}
  403.             {{- pimcore_head_style() -}}
  404.         {%- endblock -%}
  405.         {%- block head_links -%}
  406.             {{- pimcore_head_link() -}}
  407.         {%- endblock -%}
  408.         {%- apply spaceless -%}
  409.             {%- if not document is defined or not document -%}
  410.                 {%- set document = pimcore_document(1) -%}
  411.             {%- endif -%}
  412.             {%- if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') -%}
  413.                 {%- set document = document.getObject() -%}
  414.             {%- endif -%}
  415.             {%- if isDocument and document.description is not empty -%}
  416.                 {%- do pimcore_head_meta().setDescription(document.description) -%}
  417.             {%- endif -%}
  418.         {%- endapply -%}
  419.         {{- include('lef-career/partials/head/asynchronousStylesheetLoading.html.twig') -}}
  420.         {{- hreflang_init(document) -}}
  421.         {{- canonical_init(document) -}}
  422.         {%- block layout_head_meta_init -%}
  423.         {%- endblock -%}
  424.         {%- block layout_head_meta -%}
  425.             {{- pimcore_head_meta() -}}
  426.         {%- endblock -%}
  427.         {{- include('lef-career/partials/head/jsFeatureDetection.html.twig') -}}
  428.         {{- include('lef-career/partials/head/favicons.html.twig') -}}
  429.     </head>
  430.     {%- if editmode -%}
  431.         {{- layout_html_attribute_add_class('body', 'editmode') -}}
  432.     {%- endif -%}
  433.     {%- if not editmode -%}
  434.         {%- set navigation_root = document.getProperty('navigation_root') -%}
  435.         {%- if navigation_root.id == document.id -%}
  436.             {{- layout_html_attribute_add_class('body', 'home') -}}
  437.         {%- endif -%}
  438.     {%- endif -%}
  439.     <body {% block bodyAttributes -%}{{ layout_html_attribute_render('body')|raw }}{%- endblock -%}>
  440.         {{- include('lef-career/partials/svg-sprite.html.twig') -}}
  441.         {{- include('lef-career/partials/header.html.twig') -}}
  442.         <main id=\"main-content\">
  443.             {{- block('content') -}}
  444.             {%- if not editmode and navigation_root.id == document.id -%}
  445.                 {%- set footer_snippet = document.getProperty('footer_snippet') -%}
  446.                 {%- if footer_snippet -%}
  447.                     {{- pimcore_inc(footer_snippet) -}}
  448.                 {%- endif -%}
  449.             {%- endif -%}
  450.         </main>
  451.         {%- if not editmode and navigation_root.id != document.id -%}
  452.             {%- set footer_snippet = document.getProperty('footer_snippet') -%}
  453.             {%- if footer_snippet -%}
  454.                 {{- pimcore_inc(footer_snippet) -}}
  455.             {%- endif -%}
  456.         {%- endif -%}
  457.         {%- block scripts -%}
  458.             {{ pimcore_head_script() }}
  459.         {%- endblock -%}
  460.         
  461.         {%- if not editmode -%}
  462.             <script id=\"accessible-toggle\">
  463.                 {{- aw_web_file_include('/lef-career/js/accessible-toggle.js')|raw -}}
  464.             </script>
  465.         {%- endif -%}
  466.         {%- if not editmode and navigation_root.id == document.id -%}
  467.             <script src=\"/vendor/headroom.js/dist/headroom.min.js\"></script>
  468.             <script id=\"header-toggle\">
  469.                 {{- aw_web_file_include('/lef-career/js/toggle-header-visibility.js')|raw -}}
  470.             </script>
  471.         {%- endif -%}
  472.     </body>
  473. </html>""lef-career/layout.html.twig""/var/www/pimcore/templates/lef-career/layout.html.twig");
  474.     }
  475.     
  476.     public function checkSecurity()
  477.     {
  478.         static $tags = ["block" => 3"set" => 6"do" => 8"apply" => 15"if" => 16];
  479.         static $filters = ["spaceless" => 15"raw" => 29"escape" => 56];
  480.         static $functions = ["layout_html_attribute_add" => 8"layout_html_attribute_add_class" => 9"include" => 13"pimcore_head_title" => 17"aw_web_file_include" => 29"pimcore_document" => 42"pimcore_head_meta" => 50"hreflang_init" => 56"canonical_init" => 57"pimcore_inc" => 91"layout_html_attribute_render" => 11"pimcore_head_style" => 33"pimcore_head_link" => 37"pimcore_head_script" => 104];
  481.         try {
  482.             $this->sandbox->checkSecurity(
  483.                 ['block''set''do''apply''if'],
  484.                 ['spaceless''raw''escape'],
  485.                 ['layout_html_attribute_add''layout_html_attribute_add_class''include''pimcore_head_title''aw_web_file_include''pimcore_document''pimcore_head_meta''hreflang_init''canonical_init''pimcore_inc''layout_html_attribute_render''pimcore_head_style''pimcore_head_link''pimcore_head_script'],
  486.                 $this->source
  487.             );
  488.         } catch (SecurityError $e) {
  489.             $e->setSourceContext($this->source);
  490.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  491.                 $e->setTemplateLine($tags[$e->getTagName()]);
  492.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  493.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  494.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  495.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  496.             }
  497.             throw $e;
  498.         }
  499.     }
  500. }