<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* layout/base.html.twig */
class __TwigTemplate_d7ba6b99d3603bff65be1f3e16d9792a9e49f4cc86ca2930c6a6b0b5bd7472d1 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'meta_other' => [$this, 'block_meta_other'],
'stylesheets' => [$this, 'block_stylesheets'],
'inline_js' => [$this, 'block_inline_js'],
'header' => [$this, 'block_header'],
'header_crumbtrail' => [$this, 'block_header_crumbtrail'],
'main' => [$this, 'block_main'],
'footer' => [$this, 'block_footer'],
'translations' => [$this, 'block_translations'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html class=\"";
// line 2
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getHtmlClass", [], "method"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["user_config"]) ? $context["user_config"] : $this->getContext($context, "user_config")), "getLangKey", [], "method"), "html", null, true);
echo " page--";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataController", []), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getHtmlClasses", [], "method"), "html", null, true);
echo "\" data-env=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataEnv", []), "html", null, true);
echo "\" data-controller=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataController", []), "html", null, true);
echo "\" data-action=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataAction", []), "html", null, true);
echo "\" lang=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["hreflangs"]) ? $context["hreflangs"] : $this->getContext($context, "hreflangs")), "hrefLangIso", []), "html", null, true);
echo "\" data-lang=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataLang", []), "html", null, true);
echo "\" data-currency=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataCurrency", []), "html", null, true);
echo "\" data-ajaxroot=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : $this->getContext($context, "app")), "request", []), "getSchemeAndHttpHost", []), "html", null, true);
echo "\" data-gtm-list-type-add-cart=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["google"]) ? $context["google"] : $this->getContext($context, "google")), "htmlTagAttrListType", []), "html", null, true);
echo "\" data-google-recaptcha-footer-copyright=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context, "partner_config")), "getPartnerConnection", []), "isGoogleRecaptchaFooterCopyright", [], "method"), "html", null, true);
echo "\">
<head>
<title>";
// line 5
echo $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getTitle", []);
echo "</title>
<meta charset=\"utf-8\">
<meta name=\"description\" content=\"";
// line 7
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getMetaDescription", [], "method"), "html", null, true);
echo "\">
<meta name=\"keywords\" content=\"";
// line 8
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getMetaKeywords", [], "method"), "html", null, true);
echo "\">
<meta name=\"robots\" content=\"";
// line 9
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "metaRobots", []), "html", null, true);
echo "\">
<meta name=\"author\" content=\"";
// line 10
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "metaAuthor", []), "html", null, true);
echo "\">
<meta name=\"viewport\" content=\"";
// line 11
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "metaViewport", []), "html", null, true);
echo "\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
";
// line 13
if (($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getFavicon", [], "method") != false)) {
// line 14
echo " <link rel=\"shortcut icon\" type=\"image/png\" href=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getFavicon", [], "method"), "html", null, true);
echo "\"/>
<link rel=\"apple-touch-icon\" href=\"";
// line 15
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getFavicon", [], "method"), "html", null, true);
echo "\">
";
}
// line 17
echo " ";
if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "google", []), "searchConsoleId", [])) {
// line 18
echo " <meta name=\"google-site-verification\" content=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "google", []), "searchConsoleId", []), "html", null, true);
echo "\">
";
}
// line 20
echo " ";
if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "google", []), "merchantId", [])) {
// line 21
echo " <meta name=\"google-site-verification\" content=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "google", []), "merchantId", []), "html", null, true);
echo "\">
";
}
// line 23
echo " ";
if ($this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "facebook", []), "verificationId", [])) {
// line 24
echo " <meta name=\"facebook-domain-verification\" content=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "facebook", []), "verificationId", []), "html", null, true);
echo "\">
";
}
// line 26
echo "
<!-- ";
// line 27
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y-m-d H:i:s"), "html", null, true);
echo " -->
";
// line 29
if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "canonicalUrl", [])) {
echo "<link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "canonicalUrl", []), "html", null, true);
echo "\"/>";
}
// line 30
echo "
";
// line 31
if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "prevPageUrl", [])) {
echo "<link rel=\"prev\" href=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "prevPageUrl", []), "html", null, true);
echo "\"/>";
}
// line 32
echo "
";
// line 33
if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "nextPageUrl", [])) {
echo "<link rel=\"next\" href=\"";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "nextPageUrl", []), "html", null, true);
echo "\"/>";
}
// line 34
echo "
";
// line 35
if ($this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "hasOgImage", [])) {
echo "<meta property=\"og:image\" content=\"";
echo twig_escape_filter($this->env, $this->env->getExtension('EshopBundle\Twig\UrlExtension')->homepageUrl(), "html", null, true);
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getOgImage", []), "html", null, true);
echo "\" />";
}
// line 36
echo "
";
// line 38
if (($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : $this->getContext($context, "app")), "request", []), "uri", []) === $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "canonicalUrl", []))) {
// line 39
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["hreflangs"]) ? $context["hreflangs"] : $this->getContext($context, "hreflangs")), "getLinks", [], "method"));
foreach ($context['_seq'] as $context["_key"] => $context["hreflang"]) {
// line 40
echo " ";
echo $context["hreflang"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['hreflang'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
echo " ";
}
// line 43
echo "
";
// line 44
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["metaTagsManager"]) ? $context["metaTagsManager"] : $this->getContext($context, "metaTagsManager")), "getMetaTags", [0 => $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "dataLang", [])], "method"));
foreach ($context['_seq'] as $context["_key"] => $context["metaTag"]) {
// line 45
echo " <meta name=\"";
echo twig_escape_filter($this->env, $this->getAttribute($context["metaTag"], "name", []), "html", null, true);
echo "\" content=\"";
echo twig_escape_filter($this->env, $this->getAttribute($context["metaTag"], "content", []), "html", null, true);
echo "\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['metaTag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 47
echo "
";
// line 49
echo " <!-- Begin Leadhub Pixel Code -->
";
// line 57
echo " <!-- End Leadhub Pixel Code -->
";
// line 59
$this->displayBlock('meta_other', $context, $blocks);
// line 60
echo " ";
$this->displayBlock('stylesheets', $context, $blocks);
// line 65
echo " ";
$this->displayBlock('inline_js', $context, $blocks);
// line 68
echo " ";
echo twig_include($this->env, $context, "component/marketing/marketing-head.html.twig");
echo "
</head>
";
// line 71
$context["bodyClasses"] = $this->getAttribute((isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")), "getBodyClasses", []);
// line 72
echo "<body ";
if ( !twig_test_empty((isset($context["bodyClasses"]) ? $context["bodyClasses"] : $this->getContext($context, "bodyClasses")))) {
echo " class=\"";
echo twig_escape_filter($this->env, (isset($context["bodyClasses"]) ? $context["bodyClasses"] : $this->getContext($context, "bodyClasses")), "html", null, true);
echo "\" ";
}
echo ">
";
// line 74
echo twig_include($this->env, $context, "component/marketing.html.twig");
echo "
<div class=\"siteWrapper\">
";
// line 78
if ($this->env->getExtension('Symfony\Bridge\Twig\Extension\SecurityExtension')->isGranted("ROLE_PREVIOUS_ADMIN")) {
// line 79
echo " <a class=\"btn btn-logout btn-logout-user\" href=\"";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("switch_user", ["_switch_user" => "_exit"]);
echo "\">
<i class=\"fa fa-sign-out\"></i>
";
// line 81
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "SWITCH_USER_EXIT", 1 => "Odhlásit se z uživatele"], "method"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : $this->getContext($context, "app")), "user", []), "username", []), "html", null, true);
echo "
</a>
";
}
// line 84
echo "
";
// line 85
$this->displayBlock('header', $context, $blocks);
// line 88
echo "
";
// line 89
$this->displayBlock('header_crumbtrail', $context, $blocks);
// line 92
echo "
";
// line 93
$this->displayBlock('main', $context, $blocks);
// line 96
echo "
";
// line 97
$this->displayBlock('footer', $context, $blocks);
// line 100
echo "
</div>
";
// line 103
$this->displayBlock('translations', $context, $blocks);
// line 106
echo "
";
// line 108
$this->displayBlock('javascripts', $context, $blocks);
// line 151
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 59
public function block_meta_other($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_other"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_other"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 60
public function block_stylesheets($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 61
echo " ";
echo twig_include($this->env, $context, "fonts/custom-font.html.twig");
echo "
";
// line 62
echo twig_include($this->env, $context, "layout/styles/magnific-popup.css.html.twig");
echo "
";
// line 63
echo twig_include($this->env, $context, "layout/styles/critical-css.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 65
public function block_inline_js($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inline_js"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inline_js"));
// line 66
echo " <script>window.ebrana = {di: null, scriptQueue: null};</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 85
public function block_header($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 86
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("EshopBundle:Shop:header"));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 89
public function block_header_crumbtrail($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_crumbtrail"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_crumbtrail"));
// line 90
echo " ";
echo twig_include($this->env, $context, "component/header/crumbtrail.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 93
public function block_main($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 94
echo " ";
$this->loadTemplate("layout/base.html.twig", "layout/base.html.twig", 94, "1742575792")->display($context);
// line 95
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 97
public function block_footer($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 98
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("EshopBundle:Shop:footer"));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 103
public function block_translations($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "translations"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "translations"));
// line 104
echo " ";
echo twig_include($this->env, $context, "component/footer/translations.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 108
public function block_javascripts($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 109
echo " ";
if (isset($context['assetic']['debug']) && $context['assetic']['debug']) {
// asset "d5a6a11_0"
$context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_0") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_1.js");
// line 117
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_1"
$context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_1") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_2.js");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_2"
$context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_2") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_3.js");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_3"
$context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_3") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_4.js");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_4"
$context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_4") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_5.js");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_5"
$context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_5") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_6.js");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
// asset "d5a6a11_6"
$context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11_6") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11_part_7.js");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
} else {
// asset "d5a6a11"
$context["asset_url"] = isset($context['assetic']['use_controller']) && $context['assetic']['use_controller'] ? $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_assetic_d5a6a11") : $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("_controller/js/d5a6a11.js");
echo " <script src=\"";
echo twig_escape_filter($this->env, (isset($context["asset_url"]) ? $context["asset_url"] : $this->getContext($context, "asset_url")), "html", null, true);
echo "?v=";
echo twig_escape_filter($this->env, (isset($context["release"]) ? $context["release"] : $this->getContext($context, "release")), "html", null, true);
echo "\"></script>
";
}
unset($context["asset_url"]);
// line 119
echo " ";
if (((twig_length_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context, "partner_config")), "getPartnerConnection", []), "getGoogleCustomerReviewsMerchantId", [])) > 0) && ($this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context, "partner_config")), "getPartnerConnection", []), "getGoogleCustomerReviewsWidgetPosition", []) != "DO_NOT_DISPLAY"))) {
// line 120
echo " <!-- BEGIN GCR Badge Code -->
<script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
async defer>
</script>
<script>
window.renderBadge = function() {
var ratingBadgeContainer = document.createElement(\"div\");
document.body.appendChild(ratingBadgeContainer);
window.gapi.load('ratingbadge', function() {
window.gapi.ratingbadge.render(
ratingBadgeContainer, {
// REQUIRED
\"merchant_id\": \"";
// line 133
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context, "partner_config")), "getPartnerConnection", []), "getGoogleCustomerReviewsMerchantId", []), "html", null, true);
echo "\",
// OPTIONAL
\"position\": \"";
// line 135
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context, "partner_config")), "getPartnerConnection", []), "getGoogleCustomerReviewsWidgetPosition", []), "html", null, true);
echo "\"
});
});
}
</script>
<!-- END GCR Badge Code -->
";
}
// line 142
echo " ";
// line 143
echo " <script type=\"text/javascript\">
(function() { var css = document.createElement('link'); css.href = 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })();
</script>
";
// line 147
echo " ";
// line 148
echo " ";
// line 149
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "layout/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 632 => 149, 630 => 148, 628 => 147, 623 => 143, 621 => 142, 611 => 135, 606 => 133, 591 => 120, 588 => 119, 522 => 117, 517 => 109, 508 => 108, 495 => 104, 486 => 103, 473 => 98, 464 => 97, 454 => 95, 451 => 94, 442 => 93, 429 => 90, 420 => 89, 407 => 86, 398 => 85, 387 => 66, 378 => 65, 366 => 63, 362 => 62, 357 => 61, 348 => 60, 331 => 59, 319 => 151, 317 => 108, 313 => 106, 311 => 103, 306 => 100, 304 => 97, 301 => 96, 299 => 93, 296 => 92, 294 => 89, 291 => 88, 289 => 85, 286 => 84, 278 => 81, 272 => 79, 270 => 78, 263 => 74, 253 => 72, 251 => 71, 244 => 68, 241 => 65, 238 => 60, 236 => 59, 232 => 57, 229 => 49, 226 => 47, 215 => 45, 211 => 44, 208 => 43, 205 => 42, 196 => 40, 191 => 39, 189 => 38, 185 => 36, 178 => 35, 175 => 34, 169 => 33, 166 => 32, 160 => 31, 157 => 30, 151 => 29, 146 => 27, 143 => 26, 137 => 24, 134 => 23, 128 => 21, 125 => 20, 119 => 18, 116 => 17, 111 => 15, 106 => 14, 104 => 13, 99 => 11, 95 => 10, 91 => 9, 87 => 8, 83 => 7, 78 => 5, 48 => 2, 45 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html class=\"{{ vars.getHtmlClass() }} {{user_config.getLangKey()}} page--{{ vars.dataController }} {{ vars.getHtmlClasses() }}\" data-env=\"{{ vars.dataEnv }}\" data-controller=\"{{ vars.dataController }}\" data-action=\"{{ vars.dataAction }}\" lang=\"{{ hreflangs.hrefLangIso }}\" data-lang=\"{{ vars.dataLang }}\" data-currency=\"{{ vars.dataCurrency }}\" data-ajaxroot=\"{{ app.request.getSchemeAndHttpHost }}\" data-gtm-list-type-add-cart=\"{{ google.htmlTagAttrListType }}\" data-google-recaptcha-footer-copyright=\"{{ partner_config.getPartnerConnection.isGoogleRecaptchaFooterCopyright() }}\">
<head>
<title>{{ vars.getTitle|raw }}</title>
<meta charset=\"utf-8\">
<meta name=\"description\" content=\"{{ vars.getMetaDescription() }}\">
<meta name=\"keywords\" content=\"{{ vars.getMetaKeywords() }}\">
<meta name=\"robots\" content=\"{{ vars.metaRobots }}\">
<meta name=\"author\" content=\"{{ vars.metaAuthor }}\">
<meta name=\"viewport\" content=\"{{ vars.metaViewport }}\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
{% if vars.getFavicon() != false %}
<link rel=\"shortcut icon\" type=\"image/png\" href=\"{{ vars.getFavicon() }}\"/>
<link rel=\"apple-touch-icon\" href=\"{{ vars.getFavicon() }}\">
{% endif %}
{% if settings.google.searchConsoleId %}
<meta name=\"google-site-verification\" content=\"{{ settings.google.searchConsoleId }}\">
{% endif %}
{% if settings.google.merchantId %}
<meta name=\"google-site-verification\" content=\"{{ settings.google.merchantId }}\">
{% endif %}
{% if settings.facebook.verificationId %}
<meta name=\"facebook-domain-verification\" content=\"{{ settings.facebook.verificationId }}\">
{% endif %}
<!-- {{ \"now\"|date(\"Y-m-d H:i:s\") }} -->
{% if vars.canonicalUrl %}<link rel=\"canonical\" href=\"{{ vars.canonicalUrl }}\"/>{% endif %}
{% if vars.prevPageUrl %}<link rel=\"prev\" href=\"{{ vars.prevPageUrl }}\"/>{% endif %}
{% if vars.nextPageUrl %}<link rel=\"next\" href=\"{{ vars.nextPageUrl }}\"/>{% endif %}
{% if vars.hasOgImage %}<meta property=\"og:image\" content=\"{{ homepage_url() }}{{ vars.getOgImage }}\" />{% endif %}
{% if app.request.uri is same as(vars.canonicalUrl) %}
{% for hreflang in hreflangs.getLinks() %}
{{ hreflang|raw }}
{% endfor %}
{% endif %}
{% for metaTag in metaTagsManager.getMetaTags(vars.dataLang) %}
<meta name=\"{{ metaTag.name }}\" content=\"{{ metaTag.content }}\">
{% endfor %}
{# PM V090713 20.09.2023 #}
<!-- Begin Leadhub Pixel Code -->
{# <script>#}
{# (function(w,d,x,n,u,t,f,s,o){f='LHInsights';w[n]=w[f]=w[f]||function(n,d){#}
{# (w[f].q=w[f].q||[]).push([n,d])};w[f].l=1*new Date();s=d.createElement(x);#}
{# s.async=1;s.src=u+'?t='+t;o=d.getElementsByTagName(x)[0];o.parentNode.insertBefore(s,o)#}
{# })(window,document,'script','lhi','//http://www.lhinsights.com/agent.js [^]','j5EcQwxCTpm7FUd');#}
{# lhi('pageview');#}
{# </script>#}
<!-- End Leadhub Pixel Code -->
{% block meta_other %}{% endblock meta_other %}
{% block stylesheets %}
{{ include('fonts/custom-font.html.twig') }}
{{ include('layout/styles/magnific-popup.css.html.twig') }}
{{ include('layout/styles/critical-css.html.twig') }}
{% endblock stylesheets %}
{% block inline_js %}
<script>window.ebrana = {di: null, scriptQueue: null};</script>
{% endblock inline_js %}
{{ include('component/marketing/marketing-head.html.twig') }}
</head>
{% set bodyClasses = vars.getBodyClasses %}
<body {% if bodyClasses is not empty %} class=\"{{ bodyClasses }}\" {% endif %}>
{{ include('component/marketing.html.twig') }}
<div class=\"siteWrapper\">
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<a class=\"btn btn-logout btn-logout-user\" href=\"{{ path('switch_user', {'_switch_user': '_exit'}) }}\">
<i class=\"fa fa-sign-out\"></i>
{{ translator.getValue('SWITCH_USER_EXIT', 'Odhlásit se z uživatele') }} {{ app.user.username }}
</a>
{% endif %}
{% block header %}
{{ render(controller('EshopBundle:Shop:header')) }}
{% endblock header %}
{% block header_crumbtrail %}
{{ include('component/header/crumbtrail.html.twig') }}
{% endblock header_crumbtrail %}
{% block main %}
{% embed settings.layoutMain %}{% endembed %}
{% endblock main %}
{% block footer %}
{{ render(controller('EshopBundle:Shop:footer')) }}
{% endblock footer %}
</div>
{% block translations %}
{{ include('component/footer/translations.html.twig') }}
{% endblock translations %}
{% block javascripts %}
{% javascripts
'@jquery'
'@jqueryui'
'@bootstrap'
'@vendor'
'@eshop'
'@custom'
'@im' %}
<script src=\"{{ asset_url }}?v={{ release }}\"></script>
{% endjavascripts %}
{% if partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId|length > 0 and partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition != 'DO_NOT_DISPLAY' %}
<!-- BEGIN GCR Badge Code -->
<script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
async defer>
</script>
<script>
window.renderBadge = function() {
var ratingBadgeContainer = document.createElement(\"div\");
document.body.appendChild(ratingBadgeContainer);
window.gapi.load('ratingbadge', function() {
window.gapi.ratingbadge.render(
ratingBadgeContainer, {
// REQUIRED
\"merchant_id\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId }}\",
// OPTIONAL
\"position\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition }}\"
});
});
}
</script>
<!-- END GCR Badge Code -->
{% endif %}
{# Font awesome async loading #}
<script type=\"text/javascript\">
(function() { var css = document.createElement('link'); css.href = 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })();
</script>
{# Intersection observer API - images lazyload #}
{# <script src=\"https://cdn.jsdelivr.net/npm/intersection-observer@0.5.1/intersection-observer.js\"></script> #}
{# Images lazyload #}
{# <script src=\"https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.0.0/dist/lazyload.min.js\"></script> #}
{% endblock javascripts %}
</body>
</html>
", "layout/base.html.twig", "/home/www/vrtaky-vrbovsky-b2c15/custom/src/EshopBundle/Resources/views/layout/base.html.twig");
}
}
/* layout/base.html.twig */
class __TwigTemplate_d7ba6b99d3603bff65be1f3e16d9792a9e49f4cc86ca2930c6a6b0b5bd7472d1___1742575792 extends \Twig\Template
{
protected function doGetParent(array $context)
{
// line 94
return $this->loadTemplate($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "layoutMain", []), "layout/base.html.twig", 94);
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "layout/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 829 => 94, 632 => 149, 630 => 148, 628 => 147, 623 => 143, 621 => 142, 611 => 135, 606 => 133, 591 => 120, 588 => 119, 522 => 117, 517 => 109, 508 => 108, 495 => 104, 486 => 103, 473 => 98, 464 => 97, 454 => 95, 451 => 94, 442 => 93, 429 => 90, 420 => 89, 407 => 86, 398 => 85, 387 => 66, 378 => 65, 366 => 63, 362 => 62, 357 => 61, 348 => 60, 331 => 59, 319 => 151, 317 => 108, 313 => 106, 311 => 103, 306 => 100, 304 => 97, 301 => 96, 299 => 93, 296 => 92, 294 => 89, 291 => 88, 289 => 85, 286 => 84, 278 => 81, 272 => 79, 270 => 78, 263 => 74, 253 => 72, 251 => 71, 244 => 68, 241 => 65, 238 => 60, 236 => 59, 232 => 57, 229 => 49, 226 => 47, 215 => 45, 211 => 44, 208 => 43, 205 => 42, 196 => 40, 191 => 39, 189 => 38, 185 => 36, 178 => 35, 175 => 34, 169 => 33, 166 => 32, 160 => 31, 157 => 30, 151 => 29, 146 => 27, 143 => 26, 137 => 24, 134 => 23, 128 => 21, 125 => 20, 119 => 18, 116 => 17, 111 => 15, 106 => 14, 104 => 13, 99 => 11, 95 => 10, 91 => 9, 87 => 8, 83 => 7, 78 => 5, 48 => 2, 45 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html class=\"{{ vars.getHtmlClass() }} {{user_config.getLangKey()}} page--{{ vars.dataController }} {{ vars.getHtmlClasses() }}\" data-env=\"{{ vars.dataEnv }}\" data-controller=\"{{ vars.dataController }}\" data-action=\"{{ vars.dataAction }}\" lang=\"{{ hreflangs.hrefLangIso }}\" data-lang=\"{{ vars.dataLang }}\" data-currency=\"{{ vars.dataCurrency }}\" data-ajaxroot=\"{{ app.request.getSchemeAndHttpHost }}\" data-gtm-list-type-add-cart=\"{{ google.htmlTagAttrListType }}\" data-google-recaptcha-footer-copyright=\"{{ partner_config.getPartnerConnection.isGoogleRecaptchaFooterCopyright() }}\">
<head>
<title>{{ vars.getTitle|raw }}</title>
<meta charset=\"utf-8\">
<meta name=\"description\" content=\"{{ vars.getMetaDescription() }}\">
<meta name=\"keywords\" content=\"{{ vars.getMetaKeywords() }}\">
<meta name=\"robots\" content=\"{{ vars.metaRobots }}\">
<meta name=\"author\" content=\"{{ vars.metaAuthor }}\">
<meta name=\"viewport\" content=\"{{ vars.metaViewport }}\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
{% if vars.getFavicon() != false %}
<link rel=\"shortcut icon\" type=\"image/png\" href=\"{{ vars.getFavicon() }}\"/>
<link rel=\"apple-touch-icon\" href=\"{{ vars.getFavicon() }}\">
{% endif %}
{% if settings.google.searchConsoleId %}
<meta name=\"google-site-verification\" content=\"{{ settings.google.searchConsoleId }}\">
{% endif %}
{% if settings.google.merchantId %}
<meta name=\"google-site-verification\" content=\"{{ settings.google.merchantId }}\">
{% endif %}
{% if settings.facebook.verificationId %}
<meta name=\"facebook-domain-verification\" content=\"{{ settings.facebook.verificationId }}\">
{% endif %}
<!-- {{ \"now\"|date(\"Y-m-d H:i:s\") }} -->
{% if vars.canonicalUrl %}<link rel=\"canonical\" href=\"{{ vars.canonicalUrl }}\"/>{% endif %}
{% if vars.prevPageUrl %}<link rel=\"prev\" href=\"{{ vars.prevPageUrl }}\"/>{% endif %}
{% if vars.nextPageUrl %}<link rel=\"next\" href=\"{{ vars.nextPageUrl }}\"/>{% endif %}
{% if vars.hasOgImage %}<meta property=\"og:image\" content=\"{{ homepage_url() }}{{ vars.getOgImage }}\" />{% endif %}
{% if app.request.uri is same as(vars.canonicalUrl) %}
{% for hreflang in hreflangs.getLinks() %}
{{ hreflang|raw }}
{% endfor %}
{% endif %}
{% for metaTag in metaTagsManager.getMetaTags(vars.dataLang) %}
<meta name=\"{{ metaTag.name }}\" content=\"{{ metaTag.content }}\">
{% endfor %}
{# PM V090713 20.09.2023 #}
<!-- Begin Leadhub Pixel Code -->
{# <script>#}
{# (function(w,d,x,n,u,t,f,s,o){f='LHInsights';w[n]=w[f]=w[f]||function(n,d){#}
{# (w[f].q=w[f].q||[]).push([n,d])};w[f].l=1*new Date();s=d.createElement(x);#}
{# s.async=1;s.src=u+'?t='+t;o=d.getElementsByTagName(x)[0];o.parentNode.insertBefore(s,o)#}
{# })(window,document,'script','lhi','//http://www.lhinsights.com/agent.js [^]','j5EcQwxCTpm7FUd');#}
{# lhi('pageview');#}
{# </script>#}
<!-- End Leadhub Pixel Code -->
{% block meta_other %}{% endblock meta_other %}
{% block stylesheets %}
{{ include('fonts/custom-font.html.twig') }}
{{ include('layout/styles/magnific-popup.css.html.twig') }}
{{ include('layout/styles/critical-css.html.twig') }}
{% endblock stylesheets %}
{% block inline_js %}
<script>window.ebrana = {di: null, scriptQueue: null};</script>
{% endblock inline_js %}
{{ include('component/marketing/marketing-head.html.twig') }}
</head>
{% set bodyClasses = vars.getBodyClasses %}
<body {% if bodyClasses is not empty %} class=\"{{ bodyClasses }}\" {% endif %}>
{{ include('component/marketing.html.twig') }}
<div class=\"siteWrapper\">
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<a class=\"btn btn-logout btn-logout-user\" href=\"{{ path('switch_user', {'_switch_user': '_exit'}) }}\">
<i class=\"fa fa-sign-out\"></i>
{{ translator.getValue('SWITCH_USER_EXIT', 'Odhlásit se z uživatele') }} {{ app.user.username }}
</a>
{% endif %}
{% block header %}
{{ render(controller('EshopBundle:Shop:header')) }}
{% endblock header %}
{% block header_crumbtrail %}
{{ include('component/header/crumbtrail.html.twig') }}
{% endblock header_crumbtrail %}
{% block main %}
{% embed settings.layoutMain %}{% endembed %}
{% endblock main %}
{% block footer %}
{{ render(controller('EshopBundle:Shop:footer')) }}
{% endblock footer %}
</div>
{% block translations %}
{{ include('component/footer/translations.html.twig') }}
{% endblock translations %}
{% block javascripts %}
{% javascripts
'@jquery'
'@jqueryui'
'@bootstrap'
'@vendor'
'@eshop'
'@custom'
'@im' %}
<script src=\"{{ asset_url }}?v={{ release }}\"></script>
{% endjavascripts %}
{% if partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId|length > 0 and partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition != 'DO_NOT_DISPLAY' %}
<!-- BEGIN GCR Badge Code -->
<script src=\"https://apis.google.com/js/platform.js?onload=renderBadge\"
async defer>
</script>
<script>
window.renderBadge = function() {
var ratingBadgeContainer = document.createElement(\"div\");
document.body.appendChild(ratingBadgeContainer);
window.gapi.load('ratingbadge', function() {
window.gapi.ratingbadge.render(
ratingBadgeContainer, {
// REQUIRED
\"merchant_id\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsMerchantId }}\",
// OPTIONAL
\"position\": \"{{ partner_config.getPartnerConnection.getGoogleCustomerReviewsWidgetPosition }}\"
});
});
}
</script>
<!-- END GCR Badge Code -->
{% endif %}
{# Font awesome async loading #}
<script type=\"text/javascript\">
(function() { var css = document.createElement('link'); css.href = 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })();
</script>
{# Intersection observer API - images lazyload #}
{# <script src=\"https://cdn.jsdelivr.net/npm/intersection-observer@0.5.1/intersection-observer.js\"></script> #}
{# Images lazyload #}
{# <script src=\"https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.0.0/dist/lazyload.min.js\"></script> #}
{% endblock javascripts %}
</body>
</html>
", "layout/base.html.twig", "/home/www/vrtaky-vrbovsky-b2c15/custom/src/EshopBundle/Resources/views/layout/base.html.twig");
}
}