var/cache/dev/twig/44/44a7120e463b99e80a8a9fe33edee285.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* layouts/layout.html.twig */
  14. class __TwigTemplate_0aecb16ae0f16574fdb18304d88b28b6 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'layout_head_meta' => [$this'block_layout_head_meta'],
  25.             'head_stylesheets' => [$this'block_head_stylesheets'],
  26.             'headscripts' => [$this'block_headscripts'],
  27.             'inlinescripts' => [$this'block_inlinescripts'],
  28.         ];
  29.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout.html.twig"));
  38.         // line 1
  39.         echo "<!doctype html>
  40. <html lang=\"";
  41.         // line 2
  42.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  43.         echo "\">
  44.     <head>
  45.         <!-- Required meta tags -->
  46.         <meta charset=\"utf-8\">
  47.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  48.         ";
  49.         // line 8
  50.         ob_start();
  51.         // line 9
  52.         echo "            ";
  53.         // line 10
  54.         echo "            ";
  55.         // line 11
  56.         echo "            ";
  57.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap"], "method"falsefalsefalse11);
  58.         // line 12
  59.         echo "            ";
  60.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"=> null=> null=> ["integrity" => "sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T""crossorigin" => "anonymous"]], "method"falsefalsefalse12);
  61.         // line 13
  62.         echo "            ";
  63.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://use.fontawesome.com/releases/v5.9.0/css/all.css"], "method"falsefalsefalse13);
  64.         // line 14
  65.         echo "            ";
  66.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.css"), => "screen"], "method"falsefalsefalse14);
  67.         // line 15
  68.         echo "            ";
  69.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/css/autoComplete.css"), => "screen"], "method"falsefalsefalse15);
  70.         // line 16
  71.         echo "            ";
  72.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://use.fontawesome.com/releases/v5.7.0/css/all.css"=> null=> null=> ["integrity" => "sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ""crossorigin" => "anonymous"]], "method"falsefalsefalse16);
  73.         // line 17
  74.         echo "            ";
  75.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/global.css")], "method"falsefalsefalse17);
  76.         // line 18
  77.         echo "            ";
  78.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'18$this->source); })())) {
  79.             // line 19
  80.             echo "                ";
  81.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/editmode.css")], "method"falsefalsefalse19);
  82.             // line 20
  83.             echo "            ";
  84.         }
  85.         // line 21
  86.         echo "            ";
  87.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://code.jquery.com/jquery-3.3.1.slim.min.js"=> null=> null=> ["integrity" => "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo""crossorigin" => "anonymous"]], "method"falsefalsefalse21);
  88.         // line 22
  89.         echo "            ";
  90.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"=> null=> null=> ["integrity" => "sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1""crossorigin" => "anonymous"]], "method"falsefalsefalse22);
  91.         // line 23
  92.         echo "            ";
  93.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"=> null=> null=> ["integrity" => "sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM""crossorigin" => "anonymous"]], "method"falsefalsefalse23);
  94.         // line 24
  95.         echo "            ";
  96.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.js")], "method"falsefalsefalse24);
  97.         // line 25
  98.         echo "            ";
  99.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/js/autoComplete.min.js")], "method"falsefalsefalse25);
  100.         // line 26
  101.         echo "            ";
  102.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/search-autocomplete.js")], "method"falsefalsefalse26);
  103.         // line 27
  104.         echo "            ";
  105.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js")], "method"falsefalsefalse27);
  106.         // line 28
  107.         echo "            ";
  108.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'28$this->source); })())) {
  109.             // line 29
  110.             echo "                    ";
  111.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/frontend.js")], "method"falsefalsefalse29);
  112.             // line 30
  113.             echo "            ";
  114.         }
  115.         // line 31
  116.         echo "
  117.             ";
  118.         // line 32
  119.         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.'32$this->source); })()))) {
  120.             // line 33
  121.             echo "                ";
  122.             $context["document"] = Pimcore\Model\Document::getById(1);
  123.             // line 34
  124.             echo "            ";
  125.         }
  126.         // line 35
  127.         echo "
  128.             ";
  129.         // line 36
  130.         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.'36$this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
  131.             // line 37
  132.             echo "                ";
  133.             // line 38
  134.             echo "                ";
  135.             $context["document"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'38$this->source); })()), "getObject", [], "method"falsefalsefalse38);
  136.             // line 39
  137.             echo "            ";
  138.         }
  139.         // line 40
  140.         echo "
  141.             ";
  142.         // line 41
  143.         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.'41$this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
  144.             // line 42
  145.             echo "                ";
  146.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'42$this->source); })()), "getTitle", [], "method"falsefalsefalse42))) {
  147.                 // line 43
  148.                 echo "                    ";
  149.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [=> twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'43$this->source); })()), "getTitle", [], "method"falsefalsefalse43)], "method"falsefalsefalse43);
  150.                 // line 44
  151.                 echo "                ";
  152.             }
  153.             // line 45
  154.             echo "
  155.                 ";
  156.             // line 46
  157.             if ( !twig_test_empty(twig_get_attribute($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); })()), "getDescription", [], "method"falsefalsefalse46))) {
  158.                 // line 47
  159.                 echo "                    ";
  160.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [=> twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'47$this->source); })()), "getDescription", [], "method"falsefalsefalse47)], "method"falsefalsefalse47);
  161.                 // line 48
  162.                 echo "                ";
  163.             }
  164.             // line 49
  165.             echo "
  166.                 ";
  167.             // line 50
  168.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [=> "Pimcore Demo"], "method"falsefalsefalse50);
  169.             // line 51
  170.             echo "                ";
  171.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [=> " : "], "method"falsefalsefalse51);
  172.             // line 52
  173.             echo "            ";
  174.         }
  175.         // line 53
  176.         echo "
  177.             ";
  178.         // line 54
  179.         $context["isPortal"] = (array_key_exists("isPortal"$context) && (isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'54$this->source); })()));
  180.         // line 55
  181.         echo "        ";
  182.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  183.         // line 8
  184.         echo twig_spaceless($___internal_parse_0_);
  185.         // line 56
  186.         echo "
  187.         ";
  188.         // line 58
  189.         echo "        ";
  190.         $this->displayBlock('layout_head_meta'$context$blocks);
  191.         // line 67
  192.         echo "
  193.         ";
  194.         // line 68
  195.         $this->displayBlock('head_stylesheets'$context$blocks);
  196.         // line 71
  197.         echo "
  198.     </head>
  199.     <body>
  200.         ";
  201.         // line 75
  202.         echo "        ";
  203.         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.'75$this->source); })()))) {
  204.             // line 76
  205.             echo "            ";
  206.             $context["document"] = Pimcore\Model\Document::getById(1);
  207.             // line 77
  208.             echo "        ";
  209.         }
  210.         // line 78
  211.         echo "
  212.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header ";
  213.         // line 79
  214.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'79$this->source); })()), "getProperty", [=> "header_color"], "method"falsefalsefalse79), "html"nulltrue);
  215.         echo "\">
  216.             ";
  217.         // line 82
  218.         echo "            ";
  219.         $context["navStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'82$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsefalse82);
  220.         // line 83
  221.         echo "
  222.             ";
  223.         // line 84
  224.         if ( !$this->env->getTest('instanceof')->getCallable()((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'84$this->source); })()), "\\Pimcore\\Model\\Document")) {
  225.             // line 85
  226.             echo "                ";
  227.             $context["navStartNode"] = Pimcore\Model\Document::getById(1);
  228.             // line 86
  229.             echo "            ";
  230.         }
  231.         // line 87
  232.         echo "
  233.             ";
  234.         // line 88
  235.         $context["mainNavigation"] = $this->extensions['App\Twig\Extension\NavigationExtension']->getDataLinks((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'88$this->source); })()), (isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'88$this->source); })()));
  236.         // line 89
  237.         echo "            <div class=\"container\">
  238.                 ";
  239.         // line 91
  240.         echo "                <a class=\"py-2 mb-2\" href=\"";
  241.         echo twig_escape_filter($this->env, (isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'91$this->source); })()), "html"nulltrue);
  242.         echo "\">
  243.                     <img id=\"logo\" src=\"";
  244.         // line 92
  245.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/images/logo.svg"), "html"nulltrue);
  246.         echo "\" alt=\"Classic Cars - Pimcore Demo\">
  247.                 </a>
  248.                 ";
  249.         // line 95
  250.         echo "                <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  251.                     <span class=\"navbar-toggler-icon\"></span>
  252.                 </button>
  253.                 ";
  254.         // line 100
  255.         echo "                <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  256.                     ";
  257.         // line 102
  258.         echo "
  259.                     ";
  260.         // line 104
  261.         echo $this->env->getFunction('pimcore_render_nav')->getCallable()(        // line 105
  262. (isset($context["mainNavigation"]) || array_key_exists("mainNavigation"$context) ? $context["mainNavigation"] : (function () { throw new RuntimeError('Variable "mainNavigation" does not exist.'105$this->source); })()), "menu""renderMenu", ["maxDepth" => 2"ulClass" => [=> "navbar-nav menu-links ml-4 m-auto"=> "dropdown dropdown-menu""default" => "dropdown-menu dropdown-submenu"]]);
  263.         // line 113
  264.         echo "
  265.                     ";
  266.         // line 117
  267.         echo "                    ";
  268.         echo twig_include($this->env$context"includes/navigation-icons.html.twig");
  269.         echo "
  270.                 </div>
  271.             </div>
  272.         </nav>
  273.         <header></header>
  274.         <main role=\"main\">
  275.             ";
  276.         // line 124
  277.         $context['_parent'] = $context;
  278.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'124$this->source); })()), "flashes", [], "any"falsefalsefalse124));
  279.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  280.             // line 125
  281.             echo "                ";
  282.             $context['_parent'] = $context;
  283.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  284.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  285.                 // line 126
  286.                 echo "                    <div class=\"alert alert-";
  287.                 echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  288.                 echo " alert-dismissable\">
  289.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  290.                         ";
  291.                 // line 128
  292.                 echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  293.                 echo "
  294.                     </div>
  295.                 ";
  296.             }
  297.             $_parent $context['_parent'];
  298.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  299.             $context array_intersect_key($context$_parent) + $_parent;
  300.             // line 131
  301.             echo "            ";
  302.         }
  303.         $_parent $context['_parent'];
  304.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  305.         $context array_intersect_key($context$_parent) + $_parent;
  306.         // line 132
  307.         echo "
  308.             ";
  309.         // line 134
  310.         if ((isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'134$this->source); })())) {
  311.             // line 135
  312.             echo "                ";
  313.             $this->displayBlock("content"$context$blocks);
  314.             echo "
  315.             ";
  316.         } else {
  317.             // line 137
  318.             echo "                <div id=\"content\" class=\"container\">
  319.                     <div class=\"row\">
  320.                         ";
  321.             // line 139
  322.             $context["leftNavShow"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'139$this->source); })()), "getProperty", [=> "left_nav_show"], "method"falsefalsefalse139);
  323.             // line 140
  324.             echo "                        ";
  325.             $context["showBreadcrumbs"] = ((array_key_exists("hideBreadcrumbs"$context)) ? ( !(isset($context["hideBreadcrumbs"]) || array_key_exists("hideBreadcrumbs"$context) ? $context["hideBreadcrumbs"] : (function () { throw new RuntimeError('Variable "hideBreadcrumbs" does not exist.'140$this->source); })())) : (true));
  326.             // line 141
  327.             echo "                        ";
  328.             $context["mainColClass"] = (((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'141$this->source); })())) ? ("col-md-9 pt-3 pt-md-5 order-last") : ("col-md-12 pt-3 pt-md-5"));
  329.             // line 142
  330.             echo "
  331.                         <div class=\"";
  332.             // line 143
  333.             echo twig_escape_filter($this->env, (isset($context["mainColClass"]) || array_key_exists("mainColClass"$context) ? $context["mainColClass"] : (function () { throw new RuntimeError('Variable "mainColClass" does not exist.'143$this->source); })()), "html"nulltrue);
  334.             echo "\">
  335.                             ";
  336.             // line 144
  337.             if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs"$context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.'144$this->source); })())) {
  338.                 // line 145
  339.                 echo "                                ";
  340.                 $context["mainNavStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'145$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsefalse145);
  341.                 // line 146
  342.                 echo "                                ";
  343.                 if (twig_test_empty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'146$this->source); })()))) {
  344.                     // line 147
  345.                     echo "                                    ";
  346.                     $context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
  347.                     // line 148
  348.                     echo "                                ";
  349.                 }
  350.                 // line 149
  351.                 echo "
  352.                                 ";
  353.                 // line 150
  354.                 $context["breadbrumbs"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 151
  355. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'151$this->source); })()), "root" =>                 // line 152
  356. (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'152$this->source); })())]);
  357.                 // line 154
  358.                 echo "                                ";
  359.                 $this->extensions['App\Twig\Extension\NavigationExtension']->enrichBreadcrumbs((isset($context["breadbrumbs"]) || array_key_exists("breadbrumbs"$context) ? $context["breadbrumbs"] : (function () { throw new RuntimeError('Variable "breadbrumbs" does not exist.'154$this->source); })()));
  360.                 // line 155
  361.                 echo "                                ";
  362.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_nav_renderer')->getCallable()("breadcrumbs"), "setMinDepth", [=> null], "method"falsefalsefalse155);
  363.                 // line 156
  364.                 echo "
  365.                                 <div class=\"breadcrumb-header\">
  366.                                     <a href=\"/\">";
  367.                 // line 158
  368.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  369.                 echo "</a> &gt;
  370.                                     ";
  371.                 // line 159
  372.                 echo $this->env->getFunction('pimcore_render_nav')->getCallable()((isset($context["breadbrumbs"]) || array_key_exists("breadbrumbs"$context) ? $context["breadbrumbs"] : (function () { throw new RuntimeError('Variable "breadbrumbs" does not exist.'159$this->source); })()), "breadcrumbs");
  373.                 echo "
  374.                                 </div>
  375.                             ";
  376.             }
  377.             // line 162
  378.             echo "                            ";
  379.             $this->displayBlock("content"$context$blocks);
  380.             echo "
  381.                         </div>
  382.                         ";
  383.             // line 165
  384.             if ((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'165$this->source); })())) {
  385.                 // line 166
  386.                 echo "                            <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  387.                                 <div class=\"sticky\">
  388.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  389.                                         ";
  390.                 // line 169
  391.                 $context["leftStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'169$this->source); })()), "getProperty", [=> "left_nav_start_node"], "method"falsefalsefalse169);
  392.                 // line 170
  393.                 echo "                                        ";
  394.                 if (twig_test_empty((isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'170$this->source); })()))) {
  395.                     // line 171
  396.                     echo "                                            ";
  397.                     $context["leftStartNode"] = (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'171$this->source); })());
  398.                     // line 172
  399.                     echo "                                        ";
  400.                 }
  401.                 // line 173
  402.                 echo "
  403.                                         ";
  404.                 // line 174
  405.                 $context["leftNav"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 175
  406. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'175$this->source); })()), "root" =>                 // line 176
  407. (isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'176$this->source); })())]);
  408.                 // line 178
  409.                 echo "
  410.                                         <h5>";
  411.                 // line 179
  412.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'179$this->source); })()), "getProperty", [=> "navigation_name"], "method"falsefalsefalse179), "html"nulltrue);
  413.                 echo "</h5>
  414.                                         ";
  415.                 // line 181
  416.                 echo $this->env->getFunction('pimcore_render_nav')->getCallable()((isset($context["leftNav"]) || array_key_exists("leftNav"$context) ? $context["leftNav"] : (function () { throw new RuntimeError('Variable "leftNav" does not exist.'181$this->source); })()), "menu""renderMenu", ["ulClass" => "nav bs-sidenav""expandSiblingNodesOfActiveBranch" => true]);
  417.                 // line 184
  418.                 echo "
  419.                                     </div>
  420.                                     ";
  421.                 // line 186
  422.                 echo $this->env->getFunction('pimcore_inc')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'186$this->source); })()), "getProperty", [=> "sidebar"], "method"falsefalsefalse186));
  423.                 echo "
  424.                                 </div>
  425.                             </div>
  426.                         ";
  427.             }
  428.             // line 190
  429.             echo "                    </div>
  430.                 </div>
  431.             ";
  432.         }
  433.         // line 193
  434.         echo "            <a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary btn-lg back-to-top\" role=\"button\" title=\"Click to return on the top\" data-toggle=\"tooltip\" data-placement=\"left\">
  435.                 <span class=\"fa fa-arrow-up\"></span>
  436.             </a>
  437.         </main>
  438.         ";
  439.         // line 200
  440.         echo "        ";
  441.         echo $this->env->getFunction('pimcore_inc')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'200$this->source); })()), "getProperty", [=> "footer"], "method"falsefalsefalse200));
  442.         echo "
  443.         ";
  444.         // line 203
  445.         echo "        ";
  446.         $this->displayBlock('headscripts'$context$blocks);
  447.         // line 206
  448.         echo "
  449.         ";
  450.         // line 208
  451.         $this->displayBlock('inlinescripts'$context$blocks);
  452.         // line 211
  453.         echo "    </body>
  454. </html>";
  455.         $this->deferred->resolve($this$context$blocks);
  456.         
  457.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  458.         
  459.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  460.     }
  461.     public function block_layout_head_meta($context, array $blocks = [])
  462.     {
  463.         $this->deferred->defer($this'layout_head_meta');
  464.     }
  465.     // line 58
  466.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  467.     {
  468.         $macros $this->macros;
  469.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  470.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  471.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  472.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  473.         // line 59
  474.         echo "            ";
  475.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  476.         echo "
  477.             ";
  478.         // line 60
  479.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  480.         echo "
  481.             ";
  482.         // line 62
  483.         if (twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method"falsefalsefalse62)) {
  484.             // line 63
  485.             echo "                <link rel=\"canonical\" href=\"";
  486.             echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
  487.             echo "\"/>
  488.             ";
  489.         }
  490.         // line 65
  491.         echo "
  492.         ";
  493.         
  494.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  495.         
  496.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  497.         $this->deferred->resolve($this$context$blocks);
  498.     }
  499.     public function block_head_stylesheets($context, array $blocks = [])
  500.     {
  501.         $this->deferred->defer($this'head_stylesheets');
  502.     }
  503.     // line 68
  504.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  505.     {
  506.         $macros $this->macros;
  507.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  508.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  509.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  510.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  511.         // line 69
  512.         echo "            ";
  513.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  514.         echo "
  515.         ";
  516.         
  517.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  518.         
  519.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  520.         $this->deferred->resolve($this$context$blocks);
  521.     }
  522.     public function block_headscripts($context, array $blocks = [])
  523.     {
  524.         $this->deferred->defer($this'headscripts');
  525.     }
  526.     // line 203
  527.     public function block_headscripts_deferred($context, array $blocks = [])
  528.     {
  529.         $macros $this->macros;
  530.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  531.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  532.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  533.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  534.         // line 204
  535.         echo "            ";
  536.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  537.         echo "
  538.         ";
  539.         
  540.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  541.         
  542.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  543.         $this->deferred->resolve($this$context$blocks);
  544.     }
  545.     public function block_inlinescripts($context, array $blocks = [])
  546.     {
  547.         $this->deferred->defer($this'inlinescripts');
  548.     }
  549.     // line 208
  550.     public function block_inlinescripts_deferred($context, array $blocks = [])
  551.     {
  552.         $macros $this->macros;
  553.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  554.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  555.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  556.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  557.         // line 209
  558.         echo "            ";
  559.         echo $this->env->getFunction('pimcore_inline_script')->getCallable()();
  560.         echo "
  561.         ";
  562.         
  563.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  564.         
  565.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  566.         $this->deferred->resolve($this$context$blocks);
  567.     }
  568.     public function getTemplateName()
  569.     {
  570.         return "layouts/layout.html.twig";
  571.     }
  572.     public function isTraitable()
  573.     {
  574.         return false;
  575.     }
  576.     public function getDebugInfo()
  577.     {
  578.         return array (  606 => 209,  596 => 208,  577 => 204,  567 => 203,  548 => 69,  538 => 68,  521 => 65,  515 => 63,  513 => 62,  508 => 60,  503 => 59,  493 => 58,  476 => 211,  474 => 208,  470 => 206,  467 => 203,  461 => 200,  453 => 193,  448 => 190,  441 => 186,  437 => 184,  435 => 181,  430 => 179,  427 => 178,  425 => 176,  424 => 175,  423 => 174,  420 => 173,  417 => 172,  414 => 171,  411 => 170,  409 => 169,  404 => 166,  402 => 165,  395 => 162,  389 => 159,  385 => 158,  381 => 156,  378 => 155,  375 => 154,  373 => 152,  372 => 151,  371 => 150,  368 => 149,  365 => 148,  362 => 147,  359 => 146,  356 => 145,  354 => 144,  350 => 143,  347 => 142,  344 => 141,  341 => 140,  339 => 139,  335 => 137,  329 => 135,  327 => 134,  323 => 132,  317 => 131,  308 => 128,  302 => 126,  297 => 125,  293 => 124,  282 => 117,  277 => 113,  275 => 105,  274 => 104,  270 => 102,  267 => 100,  261 => 95,  256 => 92,  251 => 91,  248 => 89,  246 => 88,  243 => 87,  240 => 86,  237 => 85,  235 => 84,  232 => 83,  229 => 82,  224 => 79,  221 => 78,  218 => 77,  215 => 76,  212 => 75,  207 => 71,  205 => 68,  202 => 67,  199 => 58,  196 => 56,  194 => 8,  191 => 55,  189 => 54,  186 => 53,  183 => 52,  180 => 51,  178 => 50,  175 => 49,  172 => 48,  169 => 47,  167 => 46,  164 => 45,  161 => 44,  158 => 43,  155 => 42,  153 => 41,  150 => 40,  147 => 39,  144 => 38,  142 => 37,  140 => 36,  137 => 35,  134 => 34,  131 => 33,  129 => 32,  126 => 31,  123 => 30,  120 => 29,  117 => 28,  114 => 27,  111 => 26,  108 => 25,  105 => 24,  102 => 23,  99 => 22,  96 => 21,  93 => 20,  90 => 19,  87 => 18,  84 => 17,  81 => 16,  78 => 15,  75 => 14,  72 => 13,  69 => 12,  66 => 11,  64 => 10,  62 => 9,  60 => 8,  51 => 2,  48 => 1,);
  579.     }
  580.     public function getSourceContext()
  581.     {
  582.         return new Source("<!doctype html>
  583. <html lang=\"{{ app.request.locale }}\">
  584.     <head>
  585.         <!-- Required meta tags -->
  586.         <meta charset=\"utf-8\">
  587.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  588.         {% apply spaceless %}
  589.             {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  590.             {# we use the view helper to have cache buster functionality #}
  591.             {% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap') %}
  592.             {% do pimcore_head_link().appendStylesheet('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css',null,null,{integrity:\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\",crossorigin:\"anonymous\"}) %}
  593.             {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
  594.             {% do pimcore_head_link().appendStylesheet(asset('static/lib/magnific/magnific.css'), 'screen') %}
  595.             {% do pimcore_head_link().appendStylesheet(asset('static/lib/autocompletejs/css/autoComplete.css'), 'screen') %}
  596.             {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.7.0/css/all.css',null,null,{integrity:'sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ',crossorigin:'anonymous'}) %}
  597.             {% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
  598.             {% if editmode %}
  599.                 {% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
  600.             {% endif %}
  601.             {% do pimcore_head_script().appendFile('https://code.jquery.com/jquery-3.3.1.slim.min.js',null,null,{ integrity:\"sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo\",crossorigin:\"anonymous\"}) %}
  602.             {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js',null,null,{ integrity:\"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1\",crossorigin:\"anonymous\"}) %}
  603.             {% do pimcore_head_script().appendFile('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js',null,null,{ integrity:\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\",crossorigin:\"anonymous\"}) %}
  604.             {% do pimcore_head_script().appendFile(asset('static/lib/magnific/magnific.js')) %}
  605.             {% do pimcore_head_script().appendFile(asset('static/lib/autocompletejs/js/autoComplete.min.js')) %}
  606.             {% do pimcore_head_script().appendFile(asset('static/js/search-autocomplete.js')) %}
  607.             {% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
  608.             {% if not editmode %}
  609.                     {% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
  610.             {% endif %}
  611.             {% if not document is defined or not document %}
  612.                 {% set document = pimcore_document(1) %}
  613.             {% endif %}
  614.             {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  615.                 {# @var document \\Pimcore\\Model\\Document\\Link #}
  616.                 {% set document = document.getObject() %}
  617.             {% endif %}
  618.             {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
  619.                 {% if document.getTitle() is not empty %}
  620.                     {% do pimcore_head_title().set(document.getTitle()) %}
  621.                 {% endif %}
  622.                 {% if document.getDescription() is not empty %}
  623.                     {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  624.                 {% endif %}
  625.                 {% do pimcore_head_title().append('Pimcore Demo') %}
  626.                 {% do pimcore_head_title().setSeparator(' : ') %}
  627.             {% endif %}
  628.             {% set isPortal = ((isPortal is defined) and isPortal) %}
  629.         {% endapply %}
  630.         {# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  631.         {% block layout_head_meta deferred %}
  632.             {{ pimcore_head_title() }}
  633.             {{ pimcore_head_meta() }}
  634.             {% if pimcore_placeholder('canonical').count() %}
  635.                 <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  636.             {% endif %}
  637.         {% endblock %}
  638.         {% block head_stylesheets deferred %}
  639.             {{ pimcore_head_link() }}
  640.         {% endblock %}
  641.     </head>
  642.     <body>
  643.         {# get root node if there is no document defined (for pages which are routed directly through static route) #}
  644.         {% if not document is defined or not document %}
  645.             {% set document = pimcore_document(1) %}
  646.         {% endif %}
  647.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header {{ document.getProperty('header_color') }}\">
  648.             {# get the document which should be used to start in navigation | default home #}
  649.             {% set navStartNode = document.getProperty('navigation_root') %}
  650.             {% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
  651.                 {% set navStartNode = pimcore_document(1) %}
  652.             {% endif %}
  653.             {% set mainNavigation =  app_navigation_data_links(document, navStartNode) %}
  654.             <div class=\"container\">
  655.                 {#Logo Image#}
  656.                 <a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
  657.                     <img id=\"logo\" src=\"{{ asset('/static/images/logo.svg') }}\" alt=\"Classic Cars - Pimcore Demo\">
  658.                 </a>
  659.                 {#responsive burger menu icon#}
  660.                 <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  661.                     <span class=\"navbar-toggler-icon\"></span>
  662.                 </button>
  663.                 {#main header#}
  664.                 <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  665.                     {#header - generate pimcore navigation #}
  666.                     {{
  667.                         pimcore_render_nav(mainNavigation, 'menu', 'renderMenu', {
  668.                             maxDepth: 2,
  669.                             ulClass: {
  670.                                 0: 'navbar-nav menu-links ml-4 m-auto',
  671.                                 1: 'dropdown dropdown-menu',
  672.                                 'default': 'dropdown-menu dropdown-submenu'
  673.                             }
  674.                         })
  675.                     }}
  676.                     {#header - navigation icons#}
  677.                     {{ include('includes/navigation-icons.html.twig') }}
  678.                 </div>
  679.             </div>
  680.         </nav>
  681.         <header></header>
  682.         <main role=\"main\">
  683.             {% for label, messages in app.flashes %}
  684.                 {% for message in messages %}
  685.                     <div class=\"alert alert-{{ label }} alert-dismissable\">
  686.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  687.                         {{ message }}
  688.                     </div>
  689.                 {% endfor %}
  690.             {% endfor %}
  691.             {% if isPortal %}
  692.                 {{ block('content') }}
  693.             {% else %}
  694.                 <div id=\"content\" class=\"container\">
  695.                     <div class=\"row\">
  696.                         {% set leftNavShow = document.getProperty('left_nav_show') %}
  697.                         {% set showBreadcrumbs = (hideBreadcrumbs is defined) ? not hideBreadcrumbs : true %}
  698.                         {% set mainColClass = leftNavShow ? 'col-md-9 pt-3 pt-md-5 order-last' : 'col-md-12 pt-3 pt-md-5' %}
  699.                         <div class=\"{{ mainColClass }}\">
  700.                             {% if showBreadcrumbs %}
  701.                                 {% set mainNavStartNode = document.getProperty('navigation_root') %}
  702.                                 {% if mainNavStartNode is empty %}
  703.                                     {% set mainNavStartNode = pimcore_document(1) %}
  704.                                 {% endif %}
  705.                                 {% set breadbrumbs = pimcore_build_nav({
  706.                                     active: document,
  707.                                     root: mainNavStartNode
  708.                                 }) %}
  709.                                 {% do app_navigation_enrich_breadcrumbs(breadbrumbs) %}
  710.                                 {% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
  711.                                 <div class=\"breadcrumb-header\">
  712.                                     <a href=\"/\">{{ \"Home\"|trans }}</a> &gt;
  713.                                     {{ pimcore_render_nav(breadbrumbs, 'breadcrumbs') }}
  714.                                 </div>
  715.                             {% endif %}
  716.                             {{ block('content') }}
  717.                         </div>
  718.                         {% if leftNavShow %}
  719.                             <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  720.                                 <div class=\"sticky\">
  721.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  722.                                         {% set leftStartNode = document.getProperty('left_nav_start_node') %}
  723.                                         {% if leftStartNode is empty %}
  724.                                             {% set leftStartNode = mainNavStartNode %}
  725.                                         {% endif %}
  726.                                         {% set leftNav = pimcore_build_nav({
  727.                                             active: document,
  728.                                             root: leftStartNode
  729.                                         }) %}
  730.                                         <h5>{{ leftStartNode.getProperty('navigation_name') }}</h5>
  731.                                         {{ pimcore_render_nav(leftNav, 'menu', 'renderMenu', {
  732.                                             ulClass: 'nav bs-sidenav',
  733.                                             expandSiblingNodesOfActiveBranch: true,
  734.                                         }) }}
  735.                                     </div>
  736.                                     {{ pimcore_inc(document.getProperty('sidebar')) }}
  737.                                 </div>
  738.                             </div>
  739.                         {% endif %}
  740.                     </div>
  741.                 </div>
  742.             {% endif %}
  743.             <a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary btn-lg back-to-top\" role=\"button\" title=\"Click to return on the top\" data-toggle=\"tooltip\" data-placement=\"left\">
  744.                 <span class=\"fa fa-arrow-up\"></span>
  745.             </a>
  746.         </main>
  747.         {# include a document-snippet - in this case the footer document #}
  748.         {{ pimcore_inc(document.getProperty('footer')) }}
  749.         {# output scripts added before #}
  750.         {% block headscripts deferred %}
  751.             {{ pimcore_head_script() }}
  752.         {% endblock %}
  753.         {% block inlinescripts deferred %}
  754.             {{ pimcore_inline_script() }}
  755.         {% endblock %}
  756.     </body>
  757. </html>""layouts/layout.html.twig""/usr/local/www/apache24/data/pimcore.3.uniquos.digital/pimcore/templates/layouts/layout.html.twig");
  758.     }
  759. }