var/cache/website/dev/twig/ff/ffead60593d173e43d7243862f231a0cb20d61d3da5fa99e8237192f4f6ac548.php line 287

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. /* base.html.twig */
  14. class __TwigTemplate_003c74ebed269e340d99d74f0837b592027599c4fce656938dc42ca891fdc309 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.             'style' => [$this'block_style'],
  25.             'meta' => [$this'block_meta'],
  26.             'header' => [$this'block_header'],
  27.             'content' => [$this'block_content'],
  28.             'footer' => [$this'block_footer'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html lang=\"";
  42.         // line 2
  43.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_split_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), "_"), 0, [], "array"falsefalsefalse2), "html"nulltrue);
  44.         echo "\">
  45. \t<head>
  46. \t\t<meta charset=\"utf-8\">
  47. \t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  48. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  49. \t\t";
  50.         // line 8
  51.         $this->displayBlock('style'$context$blocks);
  52.         // line 24
  53.         echo "
  54. \t\t";
  55.         // line 25
  56.         $this->displayBlock('meta'$context$blocks);
  57.         // line 33
  58.         echo "
  59. \t</head>
  60. \t<body>
  61. \t\t<header>
  62. \t\t\t";
  63.         // line 39
  64.         $this->displayBlock('header'$context$blocks);
  65.         // line 42
  66.         echo "\t\t</header>
  67. \t\t";
  68.         // line 44
  69.         if (array_key_exists("uuid"$context)) {
  70.             // line 45
  71.             echo "\t\t\t<breadcrumb>
  72. \t\t\t\t<div class=\"container\">
  73. \t\t\t\t\t<div class=\"row\">
  74. \t\t\t\t\t\t<div class=\"col\">
  75. \t\t\t\t\t\t\t<div class=\"breadcrumbs\">
  76. \t\t\t\t\t\t\t
  77. \t\t\t\t\t\t\t\t";
  78.             // line 51
  79.             $context['_parent'] = $context;
  80.             $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_breadcrumb')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'51$this->source); })())));
  81.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  82.                 // line 52
  83.                 echo "\t\t\t\t\t\t\t\t\t";
  84.                 if ((twig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse52) == "Homepage")) {
  85.                     // line 53
  86.                     echo "\t\t\t\t\t\t\t\t\t
  87. \t\t\t\t\t\t\t\t\t";
  88.                 } else {
  89.                     // line 55
  90.                     echo "\t\t\t\t\t\t\t\t\t<a href=\"/\">Strona główna</a>
  91. \t\t\t\t\t\t\t\t\t<a href=\"";
  92.                     // line 56
  93.                     echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse56)), "html"nulltrue);
  94.                     echo "\">";
  95.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse56), "html"nulltrue);
  96.                     echo "</a>
  97. \t\t\t\t\t\t\t\t\t";
  98.                 }
  99.                 // line 58
  100.                 echo "\t\t\t\t\t\t\t\t
  101. \t\t\t\t\t\t\t\t";
  102.             }
  103.             $_parent $context['_parent'];
  104.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  105.             $context array_intersect_key($context$_parent) + $_parent;
  106.             // line 60
  107.             echo "\t\t\t\t\t\t\t</div>
  108. \t\t\t\t\t\t</div>
  109. \t\t\t\t\t</div>
  110. \t\t\t\t</div>
  111. \t\t\t</breadcrumb>
  112. \t\t";
  113.         } else {
  114.             // line 68
  115.             echo "
  116. \t\t\t<breadcrumb>
  117. \t\t\t\t<div class=\"container\">
  118. \t\t\t\t\t<div class=\"row\">
  119. \t\t\t\t\t\t<div class=\"col\">
  120. \t\t\t\t\t\t\t<div class=\"breadcrumbs\">
  121. \t\t\t\t\t\t\t";
  122.             // line 76
  123.             if (array_key_exists("request"$context)) {
  124.                 // line 77
  125.                 echo "
  126. \t\t\t\t\t\t\t\t";
  127.                 // line 78
  128.                 $context["item"] = twig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'78$this->source); })()), "resourceLocator", [], "any"falsefalsefalse78), "/");
  129.                 // line 79
  130.                 echo "
  131. \t\t\t\t\t\t\t\t";
  132.                 // line 80
  133.                 $context["count"] = 0;
  134.                 // line 81
  135.                 echo "\t\t\t\t\t\t\t\t";
  136.                 $context['_parent'] = $context;
  137.                 $context['_seq'] = twig_ensure_traversable((isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'81$this->source); })()));
  138.                 foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
  139.                     // line 82
  140.                     echo "\t\t\t\t\t\t\t\t\t";
  141.                     $context["count"] = ((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'82$this->source); })()) + 1);
  142.                     // line 83
  143.                     echo "\t\t\t\t\t\t\t\t";
  144.                 }
  145.                 $_parent $context['_parent'];
  146.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);
  147.                 $context array_intersect_key($context$_parent) + $_parent;
  148.                 // line 84
  149.                 echo "
  150. \t\t\t\t\t\t\t\t";
  151.                 // line 85
  152.                 $context["home"] = twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'85$this->source); })()), 0, [], "array"falsefalsefalse85);
  153.                 // line 86
  154.                 echo "\t\t\t\t\t\t\t\t";
  155.                 $context["kats"] = twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'86$this->source); })()), 1, [], "array"falsefalsefalse86);
  156.                 // line 87
  157.                 echo "
  158. \t\t\t\t\t\t\t\t<a href=\"/";
  159.                 // line 88
  160.                 echo twig_escape_filter($this->env, (isset($context["home"]) || array_key_exists("home"$context) ? $context["home"] : (function () { throw new RuntimeError('Variable "home" does not exist.'88$this->source); })()), "html"nulltrue);
  161.                 echo "\">Strona główna</a>
  162. \t\t\t\t\t\t\t\t<a href=\"/";
  163.                 // line 89
  164.                 echo twig_escape_filter($this->env, (isset($context["kats"]) || array_key_exists("kats"$context) ? $context["kats"] : (function () { throw new RuntimeError('Variable "kats" does not exist.'89$this->source); })()), "html"nulltrue);
  165.                 echo "\">Produkty</a>
  166. \t\t\t\t\t\t\t\t";
  167.                 // line 91
  168.                 if (((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'91$this->source); })()) > 3)) {
  169.                     // line 92
  170.                     echo "\t\t\t\t\t\t\t\t\t";
  171.                     $context["kat"] = twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'92$this->source); })()), 2, [], "array"falsefalsefalse92);
  172.                     // line 93
  173.                     echo "\t\t\t\t\t\t\t\t\t";
  174.                     if (((isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'93$this->source); })()) == 1)) {
  175.                         // line 94
  176.                         echo "\t\t\t\t\t\t\t\t\t<a href=\"/";
  177.                         echo twig_escape_filter($this->env, (isset($context["kats"]) || array_key_exists("kats"$context) ? $context["kats"] : (function () { throw new RuntimeError('Variable "kats" does not exist.'94$this->source); })()), "html"nulltrue);
  178.                         echo "/";
  179.                         echo twig_escape_filter($this->env, (isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'94$this->source); })()), "html"nulltrue);
  180.                         echo "/produkty\">Reflektory</a>
  181. \t\t\t\t\t\t\t\t\t";
  182.                     } else {
  183.                         // line 95
  184.                         echo 
  185. \t\t\t\t\t\t\t\t\t\t";
  186.                         // line 96
  187.                         if (((isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'96$this->source); })()) == 2)) {
  188.                             // line 97
  189.                             echo "\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  190.                             echo twig_escape_filter($this->env, (isset($context["kats"]) || array_key_exists("kats"$context) ? $context["kats"] : (function () { throw new RuntimeError('Variable "kats" does not exist.'97$this->source); })()), "html"nulltrue);
  191.                             echo "/";
  192.                             echo twig_escape_filter($this->env, (isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'97$this->source); })()), "html"nulltrue);
  193.                             echo "/produkty\">Downlight</a>
  194. \t\t\t\t\t\t\t\t\t\t";
  195.                         } else {
  196.                             // line 98
  197.                             echo 
  198. \t\t\t\t\t\t\t\t\t\t\t";
  199.                             // line 99
  200.                             if (((isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'99$this->source); })()) == 9)) {
  201.                                 // line 100
  202.                                 echo "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  203.                                 echo twig_escape_filter($this->env, (isset($context["kats"]) || array_key_exists("kats"$context) ? $context["kats"] : (function () { throw new RuntimeError('Variable "kats" does not exist.'100$this->source); })()), "html"nulltrue);
  204.                                 echo "/";
  205.                                 echo twig_escape_filter($this->env, (isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'100$this->source); })()), "html"nulltrue);
  206.                                 echo "/produkty\">Led line</a>
  207. \t\t\t\t\t\t\t\t\t\t\t";
  208.                             } else {
  209.                                 // line 102
  210.                                 echo "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  211.                                 echo twig_escape_filter($this->env, (isset($context["kats"]) || array_key_exists("kats"$context) ? $context["kats"] : (function () { throw new RuntimeError('Variable "kats" does not exist.'102$this->source); })()), "html"nulltrue);
  212.                                 echo "/";
  213.                                 echo twig_escape_filter($this->env, (isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'102$this->source); })()), "html"nulltrue);
  214.                                 echo "/produkty\">";
  215.                                 echo twig_escape_filter($this->env, (isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'102$this->source); })()), "html"nulltrue);
  216.                                 echo "</a>
  217. \t\t\t\t\t\t\t\t\t\t\t";
  218.                             }
  219.                             // line 104
  220.                             echo "\t\t\t\t\t\t\t\t\t\t";
  221.                         }
  222.                         // line 105
  223.                         echo "\t\t\t\t\t\t\t\t\t";
  224.                     }
  225.                     // line 106
  226.                     echo "\t\t\t\t\t\t\t\t\t";
  227.                     if (((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'106$this->source); })()) > 4)) {
  228.                         // line 107
  229.                         echo "\t\t\t\t\t\t\t\t\t\t";
  230.                         $context["prod"] = twig_get_attribute($this->env$this->source, (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'107$this->source); })()), 4, [], "array"falsefalsefalse107);
  231.                         // line 108
  232.                         echo "\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  233.                         echo twig_escape_filter($this->env, (isset($context["kats"]) || array_key_exists("kats"$context) ? $context["kats"] : (function () { throw new RuntimeError('Variable "kats" does not exist.'108$this->source); })()), "html"nulltrue);
  234.                         echo "/";
  235.                         echo twig_escape_filter($this->env, (isset($context["kat"]) || array_key_exists("kat"$context) ? $context["kat"] : (function () { throw new RuntimeError('Variable "kat" does not exist.'108$this->source); })()), "html"nulltrue);
  236.                         echo "/produkty/";
  237.                         echo twig_escape_filter($this->env, (isset($context["prod"]) || array_key_exists("prod"$context) ? $context["prod"] : (function () { throw new RuntimeError('Variable "prod" does not exist.'108$this->source); })()), "html"nulltrue);
  238.                         echo "\">";
  239.                         echo twig_escape_filter($this->env, (isset($context["prod"]) || array_key_exists("prod"$context) ? $context["prod"] : (function () { throw new RuntimeError('Variable "prod" does not exist.'108$this->source); })()), "html"nulltrue);
  240.                         echo "</a>
  241. \t\t\t\t\t\t\t\t\t";
  242.                     }
  243.                     // line 110
  244.                     echo "\t\t\t\t\t\t\t\t";
  245.                 }
  246.                 // line 111
  247.                 echo "
  248. \t\t\t\t\t\t\t";
  249.             }
  250.             // line 113
  251.             echo "
  252. \t\t\t\t\t\t\t</div>
  253. \t\t\t\t\t\t</div>
  254. \t\t\t\t\t</div>
  255. \t\t\t\t</div>
  256. \t\t\t</breadcrumb>
  257. \t\t";
  258.         }
  259.         // line 124
  260.         echo "
  261. \t\t<main>
  262. \t\t\t";
  263.         // line 127
  264.         $this->displayBlock('content'$context$blocks);
  265.         // line 128
  266.         echo "\t\t</main>
  267. \t\t<footer>
  268. \t\t\t";
  269.         // line 131
  270.         $this->displayBlock('footer'$context$blocks);
  271.         // line 136
  272.         echo "\t\t</footer>
  273. \t\t";
  274.         // line 138
  275.         $this->displayBlock('javascripts'$context$blocks);
  276.         // line 139
  277.         echo "
  278. \t</body>
  279. </html>
  280. ";
  281.         
  282.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  283.         
  284.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  285.     }
  286.     // line 8
  287.     public function block_style($context, array $blocks = [])
  288.     {
  289.         $macros $this->macros;
  290.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  291.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  292.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  293.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  294.         // line 9
  295.         echo "
  296. \t\t\t<link rel=\"stylesheet\" href=\"";
  297.         // line 10
  298.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/build/website/css/main.css"), "html"nulltrue);
  299.         echo "\">
  300. \t\t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  301. \t\t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  302. \t\t\t<link
  303. \t\t\thref=\"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,400;1,700;1,900&display=swap\" rel=\"stylesheet\">
  304. \t\t\t";
  305.         // line 16
  306.         echo "
  307. \t\t\t<link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC\" crossorigin=\"anonymous\">
  308. \t\t\t<script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM\" crossorigin=\"anonymous\"></script>
  309. \t\t\t<script src=\"";
  310.         // line 19
  311.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/build/website/js/main.js"), "html"nulltrue);
  312.         echo "\" async></script>
  313. \t\t\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js\"></script>
  314. \t\t";
  315.         
  316.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  317.         
  318.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  319.     }
  320.     // line 25
  321.     public function block_meta($context, array $blocks = [])
  322.     {
  323.         $macros $this->macros;
  324.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  325.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  326.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  327.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  328.         // line 26
  329.         echo "\t\t\t";
  330.         $this->loadTemplate("@SuluWebsite/Extension/seo.html.twig""base.html.twig"26)->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env$this->source,         // line 27
  331. ($context["extension"] ?? null), "seo", [], "any"truetruefalse27)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsefalsefalse27), [])) : ([])), "content" => ((        // line 28
  332. array_key_exists("content"$context)) ? (_twig_default_filter((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'28$this->source); })()), [])) : ([])), "localizations" => ((        // line 29
  333. array_key_exists("localizations"$context)) ? (_twig_default_filter((isset($context["localizations"]) || array_key_exists("localizations"$context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.'29$this->source); })()), [])) : ([])), "shadowBaseLocale" => ((        // line 30
  334. array_key_exists("shadowBaseLocale"$context)) ? (_twig_default_filter((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale"$context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.'30$this->source); })()))) : (""))]));
  335.         // line 32
  336.         echo "\t\t";
  337.         
  338.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  339.         
  340.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  341.     }
  342.     // line 39
  343.     public function block_header($context, array $blocks = [])
  344.     {
  345.         $macros $this->macros;
  346.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  347.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  348.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  349.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  350.         // line 40
  351.         echo "\t\t\t\t";
  352.         $this->loadTemplate("includes/nav.html.twig""base.html.twig"40)->display($context);
  353.         // line 41
  354.         echo "\t\t\t";
  355.         
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  357.         
  358.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  359.     }
  360.     // line 127
  361.     public function block_content($context, array $blocks = [])
  362.     {
  363.         $macros $this->macros;
  364.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  365.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  366.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  367.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  368.         
  369.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  370.         
  371.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  372.     }
  373.     // line 131
  374.     public function block_footer($context, array $blocks = [])
  375.     {
  376.         $macros $this->macros;
  377.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  378.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  379.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  380.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  381.         // line 132
  382.         echo "\t\t\t\t";
  383.         // line 133
  384.         echo "\t\t\t\t";
  385.         $this->loadTemplate("includes/footer.html.twig""base.html.twig"133)->display($context);
  386.         // line 134
  387.         echo "
  388. \t\t\t";
  389.         
  390.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  391.         
  392.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  393.     }
  394.     // line 138
  395.     public function block_javascripts($context, array $blocks = [])
  396.     {
  397.         $macros $this->macros;
  398.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  399.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  400.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  401.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  402.         
  403.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  404.         
  405.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  406.     }
  407.     public function getTemplateName()
  408.     {
  409.         return "base.html.twig";
  410.     }
  411.     public function isTraitable()
  412.     {
  413.         return false;
  414.     }
  415.     public function getDebugInfo()
  416.     {
  417.         return array (  451 => 138,  440 => 134,  437 => 133,  435 => 132,  425 => 131,  407 => 127,  397 => 41,  394 => 40,  384 => 39,  374 => 32,  372 => 30,  371 => 29,  370 => 28,  369 => 27,  367 => 26,  357 => 25,  342 => 19,  337 => 16,  329 => 10,  326 => 9,  316 => 8,  302 => 139,  300 => 138,  296 => 136,  294 => 131,  289 => 128,  287 => 127,  282 => 124,  269 => 113,  265 => 111,  262 => 110,  250 => 108,  247 => 107,  244 => 106,  241 => 105,  238 => 104,  228 => 102,  220 => 100,  218 => 99,  215 => 98,  207 => 97,  205 => 96,  202 => 95,  194 => 94,  191 => 93,  188 => 92,  186 => 91,  181 => 89,  177 => 88,  174 => 87,  171 => 86,  169 => 85,  166 => 84,  160 => 83,  157 => 82,  152 => 81,  150 => 80,  147 => 79,  145 => 78,  142 => 77,  140 => 76,  130 => 68,  120 => 60,  113 => 58,  106 => 56,  103 => 55,  99 => 53,  96 => 52,  92 => 51,  84 => 45,  82 => 44,  78 => 42,  76 => 39,  68 => 33,  66 => 25,  63 => 24,  61 => 8,  52 => 2,  49 => 1,);
  418.     }
  419.     public function getSourceContext()
  420.     {
  421.         return new Source("<!DOCTYPE html>
  422. <html lang=\"{{ app.request.locale|split('_')[0] }}\">
  423. \t<head>
  424. \t\t<meta charset=\"utf-8\">
  425. \t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  426. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  427. \t\t{% block style %}
  428. \t\t\t<link rel=\"stylesheet\" href=\"{{ asset('/build/website/css/main.css') }}\">
  429. \t\t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  430. \t\t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  431. \t\t\t<link
  432. \t\t\thref=\"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,400;1,700;1,900&display=swap\" rel=\"stylesheet\">
  433. \t\t\t{# <link rel=\"stylesheet\" href=\"{{ asset('/build/website/css/custom.css') }}\"> #}
  434. \t\t\t<link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC\" crossorigin=\"anonymous\">
  435. \t\t\t<script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM\" crossorigin=\"anonymous\"></script>
  436. \t\t\t<script src=\"{{ asset('/build/website/js/main.js') }}\" async></script>
  437. \t\t\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js\"></script>
  438. \t\t{% endblock %}
  439. \t\t{% block meta %}
  440. \t\t\t{% include \"@SuluWebsite/Extension/seo.html.twig\" with {
  441.             \"seo\": extension.seo|default([]),
  442.             \"content\": content|default([]),
  443.             \"localizations\": localizations|default([]),
  444.             \"shadowBaseLocale\": shadowBaseLocale|default(),
  445.         } %}
  446. \t\t{% endblock %}
  447. \t</head>
  448. \t<body>
  449. \t\t<header>
  450. \t\t\t{% block header %}
  451. \t\t\t\t{% include 'includes/nav.html.twig' %}
  452. \t\t\t{% endblock %}
  453. \t\t</header>
  454. \t\t{% if uuid is  defined %}
  455. \t\t\t<breadcrumb>
  456. \t\t\t\t<div class=\"container\">
  457. \t\t\t\t\t<div class=\"row\">
  458. \t\t\t\t\t\t<div class=\"col\">
  459. \t\t\t\t\t\t\t<div class=\"breadcrumbs\">
  460. \t\t\t\t\t\t\t
  461. \t\t\t\t\t\t\t\t{% for item in sulu_breadcrumb(uuid) %}
  462. \t\t\t\t\t\t\t\t\t{% if item.title == \"Homepage\"%}
  463. \t\t\t\t\t\t\t\t\t
  464. \t\t\t\t\t\t\t\t\t{% else %}
  465. \t\t\t\t\t\t\t\t\t<a href=\"/\">Strona główna</a>
  466. \t\t\t\t\t\t\t\t\t<a href=\"{{ sulu_content_path(item.url) }}\">{{ item.title }}</a>
  467. \t\t\t\t\t\t\t\t\t{% endif %}
  468. \t\t\t\t\t\t\t\t
  469. \t\t\t\t\t\t\t\t{% endfor %}
  470. \t\t\t\t\t\t\t</div>
  471. \t\t\t\t\t\t</div>
  472. \t\t\t\t\t</div>
  473. \t\t\t\t</div>
  474. \t\t\t</breadcrumb>
  475. \t\t{% else %}
  476. \t\t\t<breadcrumb>
  477. \t\t\t\t<div class=\"container\">
  478. \t\t\t\t\t<div class=\"row\">
  479. \t\t\t\t\t\t<div class=\"col\">
  480. \t\t\t\t\t\t\t<div class=\"breadcrumbs\">
  481. \t\t\t\t\t\t\t{% if request is defined %}
  482. \t\t\t\t\t\t\t\t{% set item = request.resourceLocator | split('/') %}
  483. \t\t\t\t\t\t\t\t{% set count = 0  %}
  484. \t\t\t\t\t\t\t\t{% for t in item %}
  485. \t\t\t\t\t\t\t\t\t{% set count = count + 1 %}
  486. \t\t\t\t\t\t\t\t{% endfor %}
  487. \t\t\t\t\t\t\t\t{% set home = item[0]%}
  488. \t\t\t\t\t\t\t\t{% set kats = item[1]%}
  489. \t\t\t\t\t\t\t\t<a href=\"/{{home}}\">Strona główna</a>
  490. \t\t\t\t\t\t\t\t<a href=\"/{{kats}}\">Produkty</a>
  491. \t\t\t\t\t\t\t\t{% if count > 3 %}
  492. \t\t\t\t\t\t\t\t\t{% set kat = item[2] %}
  493. \t\t\t\t\t\t\t\t\t{% if kat == 1%}
  494. \t\t\t\t\t\t\t\t\t<a href=\"/{{kats}}/{{kat}}/produkty\">Reflektory</a>
  495. \t\t\t\t\t\t\t\t\t{% else %} 
  496. \t\t\t\t\t\t\t\t\t\t{% if kat == 2 %}
  497. \t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{kats}}/{{kat}}/produkty\">Downlight</a>
  498. \t\t\t\t\t\t\t\t\t\t{% else %} 
  499. \t\t\t\t\t\t\t\t\t\t\t{% if kat == 9 %}
  500. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{kats}}/{{kat}}/produkty\">Led line</a>
  501. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  502. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{kats}}/{{kat}}/produkty\">{{kat}}</a>
  503. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  504. \t\t\t\t\t\t\t\t\t\t{% endif %}
  505. \t\t\t\t\t\t\t\t\t{% endif %}
  506. \t\t\t\t\t\t\t\t\t{% if count > 4 %}
  507. \t\t\t\t\t\t\t\t\t\t{% set prod = item[4] %}
  508. \t\t\t\t\t\t\t\t\t\t<a href=\"/{{kats}}/{{kat}}/produkty/{{prod}}\">{{prod}}</a>
  509. \t\t\t\t\t\t\t\t\t{% endif %}
  510. \t\t\t\t\t\t\t\t{% endif %}
  511. \t\t\t\t\t\t\t{% endif %}
  512. \t\t\t\t\t\t\t</div>
  513. \t\t\t\t\t\t</div>
  514. \t\t\t\t\t</div>
  515. \t\t\t\t</div>
  516. \t\t\t</breadcrumb>
  517. \t\t{% endif %}
  518. \t\t<main>
  519. \t\t\t{% block content %}{% endblock %}
  520. \t\t</main>
  521. \t\t<footer>
  522. \t\t\t{% block footer %}
  523. \t\t\t\t{# <p>Copyright {{ 'now'|date('Y') }} SULU</p> #}
  524. \t\t\t\t{% include 'includes/footer.html.twig' %}
  525. \t\t\t{% endblock %}
  526. \t\t</footer>
  527. \t\t{% block javascripts %}{% endblock %}
  528. \t</body>
  529. </html>
  530. ""base.html.twig""/home/cra/domains/cora.pl/public_html/templates/base.html.twig");
  531.     }
  532. }