var/cache/dev/twig/5f/5f9c04df2e55eca9a37d0d166c685dd28b62b37533dfce28d4524497613667e9.php line 64

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. /* app/header.html.twig */
  16. class __TwigTemplate_630313b900922a23db468c3817723b061a4ae4fa73bcf2fbdfe1fab66845d2c5 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.         ];
  30.         $this->sandbox $this->extensions[SandboxExtension::class];
  31.         $this->checkSecurity();
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = []): iterable
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""app/header.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""app/header.html.twig"));
  40.         // line 1
  41.         yield "<header 
  42.     class=\"h-[74px] lg:h-[113px] bg-blue lg:bg-white relative z-40\"
  43.     x-data=\"{ mobileMenuOpen: false }\"
  44. >
  45.         ";
  46.         // line 6
  47.         yield "        <nav class=\"fixed bg-white w-full text-white h-full sm:h-auto hidden lg:block\">
  48.             ";
  49.         // line 7
  50.         yield from $this->loadTemplate("app/partials/header/top.html.twig""app/header.html.twig"7)->unwrap()->yield($context);
  51.         // line 8
  52.         yield "
  53.             ";
  54.         // line 9
  55.         yield from $this->loadTemplate("app/partials/header/bottom.html.twig""app/header.html.twig"9)->unwrap()->yield($context);
  56.         // line 10
  57.         yield "
  58.             ";
  59.         // line 11
  60.         yield $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(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.'11$this->source); })()), "getProperty", ["noticebarSnippet"], "method"falsefalsetrue11), 11$this->source));
  61.         yield "
  62.         </nav>
  63.         ";
  64.         // line 15
  65.         yield "        <nav :class=\"mobileMenuOpen || scrollState ? 'fixed top-0 left-0 right-0 lg:hidden' : 'relative lg:hidden'\">
  66.             ";
  67.         // line 16
  68.         yield from $this->loadTemplate("app/partials/header/mobile.html.twig""app/header.html.twig"16)->unwrap()->yield($context);
  69.         // line 17
  70.         yield "            ";
  71.         yield from $this->loadTemplate("app/partials/mobile/overlay.html.twig""app/header.html.twig"17)->unwrap()->yield($context);
  72.         // line 18
  73.         yield "        </nav>
  74. </header>";
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.         
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.         yield from [];
  80.     }
  81.     /**
  82.      * @codeCoverageIgnore
  83.      */
  84.     public function getTemplateName(): string
  85.     {
  86.         return "app/header.html.twig";
  87.     }
  88.     /**
  89.      * @codeCoverageIgnore
  90.      */
  91.     public function isTraitable(): bool
  92.     {
  93.         return false;
  94.     }
  95.     /**
  96.      * @codeCoverageIgnore
  97.      */
  98.     public function getDebugInfo(): array
  99.     {
  100.         return array (  83 => 18,  80 => 17,  78 => 16,  75 => 15,  69 => 11,  66 => 10,  64 => 9,  61 => 8,  59 => 7,  56 => 6,  50 => 1,);
  101.     }
  102.     public function getSourceContext(): Source
  103.     {
  104.         return new Source("<header 
  105.     class=\"h-[74px] lg:h-[113px] bg-blue lg:bg-white relative z-40\"
  106.     x-data=\"{ mobileMenuOpen: false }\"
  107. >
  108.         {# desktop nav #}
  109.         <nav class=\"fixed bg-white w-full text-white h-full sm:h-auto hidden lg:block\">
  110.             {% include 'app/partials/header/top.html.twig' %}
  111.             {% include 'app/partials/header/bottom.html.twig' %}
  112.             {{ pimcore_inc(document.getProperty('noticebarSnippet')) }}
  113.         </nav>
  114.         {# mobile nav #}
  115.         <nav :class=\"mobileMenuOpen || scrollState ? 'fixed top-0 left-0 right-0 lg:hidden' : 'relative lg:hidden'\">
  116.             {% include 'app/partials/header/mobile.html.twig' %}
  117.             {% include 'app/partials/mobile/overlay.html.twig' %}
  118.         </nav>
  119. </header>""app/header.html.twig""/home/forge/testing.coolworld.ptchr.dev/templates/app/header.html.twig");
  120.     }
  121.     
  122.     public function checkSecurity()
  123.     {
  124.         static $tags = ["include" => 7];
  125.         static $filters = [];
  126.         static $functions = ["pimcore_inc" => 11];
  127.         try {
  128.             $this->sandbox->checkSecurity(
  129.                 ['include'],
  130.                 [],
  131.                 ['pimcore_inc'],
  132.                 $this->source
  133.             );
  134.         } catch (SecurityError $e) {
  135.             $e->setSourceContext($this->source);
  136.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  137.                 $e->setTemplateLine($tags[$e->getTagName()]);
  138.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  139.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  140.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  141.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  142.             }
  143.             throw $e;
  144.         }
  145.     }
  146. }