var/cache/dev/twig/9a/9aa38bb25f8e8ecbc0d20761d5ec2bb4c3a47d85198124a5f4104454d322c4ce.php line 447

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