<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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;
/* @CoreShopFrontend/layout.html.twig */
class __TwigTemplate_1b88b355cf1d541e5fe0b1a879356501 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'layout_head_meta' => [$this, 'block_layout_head_meta'],
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'cookie' => [$this, 'block_cookie'],
'scripts' => [$this, 'block_scripts'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
$this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CoreShopFrontend/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CoreShopFrontend/layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"hu\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
<meta name=\"google-site-verification\" content=\"RNO92YDX_Ws3gTMyVr-AkOxVaBMXxKzhvUY8nOI0U6I\"/>
<link rel=\"manifest\" href=\"/site.webmanifest\">
";
// line 13
$this->loadTemplate("@CoreShopFrontend/_css.html.twig", "@CoreShopFrontend/layout.html.twig", 13)->display($context);
// line 14
echo " ";
$this->loadTemplate("@CoreShopFrontend/_js.html.twig", "@CoreShopFrontend/layout.html.twig", 14)->display($context);
// line 15
echo "
";
// line 16
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" | "], "method", false, false, true, 16);
// line 17
echo "
";
// line 18
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 41
echo "
";
// line 42
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 45
echo " ";
if ((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 45, $this->source); })())) {
// line 46
echo " ";
$context["optimonk"] = 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); })()), "getProperty", ["optimonk"], "method", false, false, true, 46);
// line 47
echo " ";
if ((isset($context["optimonk"]) || array_key_exists("optimonk", $context) ? $context["optimonk"] : (function () { throw new RuntimeError('Variable "optimonk" does not exist.', 47, $this->source); })())) {
// line 48
echo " ";
echo $this->sandbox->ensureToStringAllowed((isset($context["optimonk"]) || array_key_exists("optimonk", $context) ? $context["optimonk"] : (function () { throw new RuntimeError('Variable "optimonk" does not exist.', 48, $this->source); })()), 48, $this->source);
echo "
";
}
// line 50
echo " ";
}
// line 51
echo "</head>
<body>
";
// line 53
if ((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 53, $this->source); })())) {
// line 54
echo " ";
$context["fbPixel"] = 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.', 54, $this->source); })()), "getProperty", ["meta_pixel_code"], "method", false, false, true, 54);
// line 55
echo " ";
if ((isset($context["fbPixel"]) || array_key_exists("fbPixel", $context) ? $context["fbPixel"] : (function () { throw new RuntimeError('Variable "fbPixel" does not exist.', 55, $this->source); })())) {
// line 56
echo " <!-- Meta Pixel Code -->
<script>
!function (f, b, e, v, n, t, s) {
if (f.fbq) return;
n = f.fbq = function () {
n.callMethod ?
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (!f._fbq) f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = '2.0';
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, 'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '";
// line 76
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["fbPixel"]) || array_key_exists("fbPixel", $context) ? $context["fbPixel"] : (function () { throw new RuntimeError('Variable "fbPixel" does not exist.', 76, $this->source); })()), 76, $this->source), "html", null, true);
echo "');
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=";
// line 80
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["fbPixel"]) || array_key_exists("fbPixel", $context) ? $context["fbPixel"] : (function () { throw new RuntimeError('Variable "fbPixel" does not exist.', 80, $this->source); })()), 80, $this->source), "html", null, true);
echo "&ev=PageView&noscript=1\"
/></noscript>
<!-- End Meta Pixel Code -->
";
}
}
// line 85
$this->displayBlock('header', $context, $blocks);
// line 94
$this->loadTemplate("@CoreShopFrontend/Common/global_flash_messages.html.twig", "@CoreShopFrontend/layout.html.twig", 94)->display($context);
// line 95
echo "
";
// line 96
$this->displayBlock('content', $context, $blocks);
// line 98
echo "
";
// line 99
$this->displayBlock('footer', $context, $blocks);
// line 108
echo "
";
// line 109
$this->displayBlock('cookie', $context, $blocks);
// line 114
echo "
";
// line 115
$this->displayBlock('scripts', $context, $blocks);
// line 118
echo "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_layout_head_meta($context, array $blocks = [])
{
$this->deferred->defer($this, 'layout_head_meta');
}
// line 18
public function block_layout_head_meta_deferred($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
// line 19
echo " ";
echo $this->env->getFunction('pimcore_head_title')->getCallable()($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_title", "Seiko Boutique"));
echo "
";
// line 20
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:locale", "hu_HU"], "method", false, false, true, 20);
// line 21
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:url", twig_get_attribute($this->env, $this->source, 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.', 21, $this->source); })()), "request", [], "any", false, false, true, 21), "uri", [], "any", false, false, true, 21)], "method", false, false, true, 21);
// line 22
echo " ";
if (( !twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property", "og:description"], "method", false, false, true, 22) && $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_descripton"))) {
// line 23
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:description", $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_descripton")], "method", false, false, true, 23);
// line 24
echo " ";
}
// line 25
echo "
";
// line 26
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", ["description", twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property", "og:description"], "method", false, false, true, 26)], "method", false, false, true, 26);
// line 27
echo " ";
if ( !twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property", "og:site_name"], "method", false, false, true, 27)) {
// line 28
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:site_name", "Seiko Boutique"], "method", false, false, true, 28);
// line 29
echo " ";
}
// line 30
echo " ";
if ( !twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property", "og:type"], "method", false, false, true, 30)) {
// line 31
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:type", "website"], "method", false, false, true, 31);
// line 32
echo " ";
}
// line 33
echo " ";
if (( !twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property", "og:image"], "method", false, false, true, 33) && $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_image"))) {
// line 34
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image", (twig_get_attribute($this->env, $this->source, 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.', 34, $this->source); })()), "request", [], "any", false, false, true, 34), "getSchemeAndHttpHost", [], "method", false, false, true, 34) . $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_image"))], "method", false, false, true, 34);
// line 35
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image:width", twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_image"), "getWidth", [], "method", false, false, true, 35)], "method", false, false, true, 35);
// line 36
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image:height", twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_image"), "getHeight", [], "method", false, false, true, 36)], "method", false, false, true, 36);
// line 37
echo " ";
}
// line 38
echo "
";
// line 39
echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_head_stylesheets($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets');
}
// line 42
public function block_head_stylesheets_deferred($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 43
echo " ";
echo $this->env->getFunction('pimcore_head_link')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
// line 85
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 86
echo " ";
if ((null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 86, $this->source); })()), "request", [], "any", false, false, true, 86), "query", [], "any", false, false, true, 86), "get", ["webview"], "method", false, false, true, 86))) {
// line 87
echo " ";
if (twig_length_filter($this->env, $this->env->getFunction('pimcore_inc')->getCallable()("/shared/header"))) {
// line 88
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()("/shared/header", ["embedded" => "true"]);
echo "
";
} else {
// line 90
echo " ";
$this->loadTemplate("@CoreShopFrontend/_header.html.twig", "@CoreShopFrontend/layout.html.twig", 90)->display($context);
// line 91
echo " ";
}
// line 92
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 96
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 99
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 100
echo " ";
if ((null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 100, $this->source); })()), "request", [], "any", false, false, true, 100), "query", [], "any", false, false, true, 100), "get", ["webview"], "method", false, false, true, 100))) {
// line 101
echo " ";
if (twig_length_filter($this->env, $this->env->getFunction('pimcore_inc')->getCallable()("/shared/footer"))) {
// line 102
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()("/shared/footer", ["embedded" => "true"]);
echo "
";
} else {
// line 104
echo " ";
$this->loadTemplate("@CoreShopFrontend/_footer.html.twig", "@CoreShopFrontend/layout.html.twig", 104)->display($context);
// line 105
echo " ";
}
// line 106
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 109
public function block_cookie($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cookie"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cookie"));
// line 110
echo " ";
if ((null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 110, $this->source); })()), "request", [], "any", false, false, true, 110), "query", [], "any", false, false, true, 110), "get", ["webview"], "method", false, false, true, 110))) {
// line 111
echo " ";
$this->loadTemplate("@CoreShopFrontend/_cookie_banner.html.twig", "@CoreShopFrontend/layout.html.twig", 111)->display($context);
// line 112
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_scripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'scripts');
}
// line 115
public function block_scripts_deferred($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 116
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function getTemplateName()
{
return "@CoreShopFrontend/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 446 => 116, 436 => 115, 420 => 112, 417 => 111, 414 => 110, 404 => 109, 393 => 106, 390 => 105, 387 => 104, 381 => 102, 378 => 101, 375 => 100, 365 => 99, 347 => 96, 336 => 92, 333 => 91, 330 => 90, 324 => 88, 321 => 87, 318 => 86, 308 => 85, 294 => 43, 284 => 42, 266 => 39, 263 => 38, 260 => 37, 257 => 36, 254 => 35, 251 => 34, 248 => 33, 245 => 32, 242 => 31, 239 => 30, 236 => 29, 233 => 28, 230 => 27, 228 => 26, 225 => 25, 222 => 24, 219 => 23, 216 => 22, 213 => 21, 211 => 20, 206 => 19, 196 => 18, 178 => 118, 176 => 115, 173 => 114, 171 => 109, 168 => 108, 166 => 99, 163 => 98, 161 => 96, 158 => 95, 156 => 94, 154 => 85, 146 => 80, 139 => 76, 117 => 56, 114 => 55, 111 => 54, 109 => 53, 105 => 51, 102 => 50, 96 => 48, 93 => 47, 90 => 46, 87 => 45, 85 => 42, 82 => 41, 80 => 18, 77 => 17, 75 => 16, 72 => 15, 69 => 14, 67 => 13, 53 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"hu\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
<meta name=\"google-site-verification\" content=\"RNO92YDX_Ws3gTMyVr-AkOxVaBMXxKzhvUY8nOI0U6I\"/>
<link rel=\"manifest\" href=\"/site.webmanifest\">
{% include '@CoreShopFrontend/_css.html.twig' %}
{% include '@CoreShopFrontend/_js.html.twig' %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% block layout_head_meta deferred %}
{{ pimcore_head_title(pimcore_website_config('default_title', 'Seiko Boutique')) }}
{% do pimcore_head_meta().setProperty('og:locale', 'hu_HU') %}
{% do pimcore_head_meta().setProperty('og:url', app.request.uri) %}
{% if not pimcore_head_meta().getItem('property', 'og:description') and pimcore_website_config('default_descripton') %}
{% do pimcore_head_meta().setProperty('og:description', pimcore_website_config('default_descripton')) %}
{% endif %}
{% do pimcore_head_meta().appendName('description', pimcore_head_meta().getItem('property', 'og:description') ) %}
{% if not pimcore_head_meta().getItem('property', 'og:site_name') %}
{% do pimcore_head_meta().setProperty('og:site_name', 'Seiko Boutique') %}
{% endif %}
{% if not pimcore_head_meta().getItem('property', 'og:type') %}
{% do pimcore_head_meta().setProperty('og:type', 'website') %}
{% endif %}
{% if not pimcore_head_meta().getItem('property', 'og:image') and pimcore_website_config('default_image') %}
{% do pimcore_head_meta().setProperty('og:image', app.request.getSchemeAndHttpHost() ~ pimcore_website_config('default_image')) %}
{% do pimcore_head_meta().setProperty('og:image:width', pimcore_website_config('default_image').getWidth()) %}
{% do pimcore_head_meta().setProperty('og:image:height', pimcore_website_config('default_image').getHeight()) %}
{% endif %}
{{ pimcore_head_meta() }}
{% endblock %}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
{% if document %}
{% set optimonk = document.getProperty('optimonk') %}
{% if optimonk %}
{{ optimonk | raw }}
{% endif %}
{% endif %}
</head>
<body>
{% if document %}
{% set fbPixel = document.getProperty('meta_pixel_code') %}
{% if fbPixel %}
<!-- Meta Pixel Code -->
<script>
!function (f, b, e, v, n, t, s) {
if (f.fbq) return;
n = f.fbq = function () {
n.callMethod ?
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (!f._fbq) f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = '2.0';
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, 'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '{{ fbPixel }}');
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id={{ fbPixel }}&ev=PageView&noscript=1\"
/></noscript>
<!-- End Meta Pixel Code -->
{% endif %}
{% endif %}
{% block header %}
{% if app.request.query.get('webview') is null %}
{% if pimcore_inc('/shared/header')|length %}
{{ pimcore_inc('/shared/header', {'embedded':'true'}) }}
{% else %}
{% include '@CoreShopFrontend/_header.html.twig' %}
{% endif %}
{% endif %}
{% endblock %}
{% include '@CoreShopFrontend/Common/global_flash_messages.html.twig' %}
{% block content %}
{% endblock %}
{% block footer %}
{% if app.request.query.get('webview') is null %}
{% if pimcore_inc('/shared/footer')|length %}
{{ pimcore_inc('/shared/footer', {'embedded':'true'}) }}
{% else %}
{% include '@CoreShopFrontend/_footer.html.twig' %}
{% endif %}
{% endif %}
{% endblock %}
{% block cookie %}
{% if app.request.query.get('webview') is null %}
{% include '@CoreShopFrontend/_cookie_banner.html.twig' %}
{% endif %}
{% endblock %}
{% block scripts deferred %}
{{ pimcore_head_script() }}
{% endblock %}
</body>
</html>
", "@CoreShopFrontend/layout.html.twig", "/home/zoltan/public_html/boutique-v2/templates/seikoboutique/templates/bundles/CoreShopFrontendBundle/layout.html.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 13, "do" => 16, "block" => 18, "if" => 45, "set" => 46);
static $filters = array("raw" => 48, "escape" => 76, "length" => 87);
static $functions = array("pimcore_head_title" => 16, "pimcore_website_config" => 19, "pimcore_head_meta" => 20, "pimcore_head_link" => 43, "pimcore_inc" => 87, "pimcore_head_script" => 116);
try {
$this->sandbox->checkSecurity(
['include', 'do', 'block', 'if', 'set'],
['raw', 'escape', 'length'],
['pimcore_head_title', 'pimcore_website_config', 'pimcore_head_meta', 'pimcore_head_link', 'pimcore_inc', 'pimcore_head_script']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
private $deferred;
}