<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;

/* catalog/view/theme/journal3/template/common/header.twig */
class __TwigTemplate_271fe655b2708c6530570022c4ce3e25 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        if ( !array_key_exists("journal3", $context)) {
            // line 2
            yield "<style>body { display: none !important; }</style>
<script>window.location = 'index.php?route=journal3/startup/error_not_installed';</script>
";
        }
        // line 5
        yield "<!DOCTYPE html>
<html dir=\"";
        // line 6
        yield ($context["direction"] ?? null);
        yield "\" lang=\"";
        yield ($context["lang"] ?? null);
        yield "\" class=\"";
        yield Twig\Extension\CoreExtension::join(($context["journal3_classes"] ?? null), " ");
        yield "\" data-ov=\"";
        yield ($context["journal3_oc_version"] ?? null);
        yield "\" data-jv=\"";
        yield ($context["journal3_version"] ?? null);
        yield "\">
<head>
<meta charset=\"UTF-8\" />
<meta name=\"theme-color\" content=\"";
        // line 9
        yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["theme_color"], "method", false, false, false, 9);
        yield "\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<title>";
        // line 12
        yield ($context["title"] ?? null);
        yield "</title>
<base href=\"";
        // line 13
        yield ($context["base"] ?? null);
        yield "\" />
";
        // line 14
        if (($context["description"] ?? null)) {
            // line 15
            yield "<meta name=\"description\" content=\"";
            yield ($context["description"] ?? null);
            yield "\" />
";
        }
        // line 17
        if (($context["keywords"] ?? null)) {
            // line 18
            yield "<meta name=\"keywords\" content=\"";
            yield ($context["keywords"] ?? null);
            yield "\" />
";
        }
        // line 20
        if ( !CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "is_popup", [], "any", false, false, false, 20)) {
            // line 21
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["journal3_metas"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["meta"]) {
                // line 22
                yield "<meta ";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["meta"], "attr", [], "any", false, false, false, 22);
                yield "=\"";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["meta"], "name", [], "any", false, false, false, 22);
                yield "\" content=\"";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["meta"], "content", [], "any", false, false, false, 22);
                yield "\"/>
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['meta'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 24
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["journal3_meta_tags"] ?? null));
            foreach ($context['_seq'] as $context["key"] => $context["tag"]) {
                // line 25
                yield "<meta ";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["tag"], "type", [], "any", false, false, false, 25);
                yield "=\"";
                yield $context["key"];
                yield "\" content=\"";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["tag"], "content", [], "any", false, false, false, 25);
                yield "\"/>
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['key'], $context['tag'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
        // line 28
        if (($context["icon"] ?? null)) {
            // line 29
            yield "  <link rel=\"icon\" href=\"";
            yield ($context["icon"] ?? null);
            yield "\" type=\"image/png\">
";
        }
        // line 31
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["journal3_links"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
            // line 32
            yield "<link href=\"";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "href", [], "any", false, false, false, 32);
            yield "\" rel=\"";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "rel", [], "any", false, false, false, 32);
            yield "\" ";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "attrs", [], "any", false, false, false, 32);
            yield "/>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['link'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 34
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["links"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
            // line 35
            yield "<link href=\"";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "href", [], "any", false, false, false, 35);
            yield "\" rel=\"";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "rel", [], "any", false, false, false, 35);
            yield "\" />
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['link'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 37
        if (($context["journal3_sentry_dsn_loader"] ?? null)) {
            // line 38
            if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "js_defer", [], "any", false, false, false, 38)) {
                // line 39
                yield "<script src=\"";
                yield ($context["journal3_sentry_dsn_loader"] ?? null);
                yield "\" crossorigin=\"anonymous\" defer></script>
";
            } else {
                // line 41
                yield "<script src=\"";
                yield ($context["journal3_sentry_dsn_loader"] ?? null);
                yield "\" crossorigin=\"anonymous\"></script>
";
            }
        }
        // line 44
        yield "<script>window['Journal'] = ";
        yield ($context["journal3_js"] ?? null);
        yield ";</script>
";
        // line 45
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["journal3_inline_scripts"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
            // line 46
            yield "<script>";
            yield ((CoreExtension::getAttribute($this->env, $this->source, $context["script"], "href", [], "any", false, false, false, 46)) ? (CoreExtension::getAttribute($this->env, $this->source, $context["script"], "href", [], "any", false, false, false, 46)) : ($context["script"]));
            yield "</script>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['script'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 48
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["styles"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["style"]) {
            // line 49
            if (CoreExtension::getAttribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 49)) {
                // line 50
                yield "<link href=\"";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 50);
                yield "\" type=\"text/css\" rel=\"";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 50);
                yield "\" media=\"";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 50);
                yield "\" />
";
            } else {
                // line 52
                yield "<style>";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "content", [], "any", false, false, false, 52);
                yield "</style>
";
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['style'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 55
        yield "<script>performance.mark('css');</script>
";
        // line 56
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["journal3_css"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["css"]) {
            // line 57
            yield "<style ";
            if (CoreExtension::getAttribute($this->env, $this->source, $context["css"], "id", [], "any", false, false, false, 57)) {
                yield "data-id=\"";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["css"], "id", [], "any", false, false, false, 57);
                yield "\"";
            }
            yield ">";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["css"], "css", [], "any", false, false, false, 57);
            yield "</style>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['css'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 59
        yield "<script>performance.measure('css', 'css');</script>
";
        // line 60
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["customCSS"], "method", false, false, false, 60)) {
            // line 61
            yield "<style>";
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["customCSS"], "method", false, false, false, 61);
            yield "</style>
";
        }
        // line 63
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["scripts"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
            // line 64
            if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "js_defer", [], "any", false, false, false, 64)) {
                // line 65
                yield "<script src=\"";
                yield ((CoreExtension::getAttribute($this->env, $this->source, $context["script"], "href", [], "any", false, false, false, 65)) ? (CoreExtension::getAttribute($this->env, $this->source, $context["script"], "href", [], "any", false, false, false, 65)) : ($context["script"]));
                yield "\" defer></script>
";
            } else {
                // line 67
                yield "<script src=\"";
                yield ((CoreExtension::getAttribute($this->env, $this->source, $context["script"], "href", [], "any", false, false, false, 67)) ? (CoreExtension::getAttribute($this->env, $this->source, $context["script"], "href", [], "any", false, false, false, 67)) : ($context["script"]));
                yield "\"></script>
";
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['script'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 70
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["scripts_defer"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
            // line 71
            yield "<script src=\"";
            yield ((CoreExtension::getAttribute($this->env, $this->source, $context["script"], "href", [], "any", false, false, false, 71)) ? (CoreExtension::getAttribute($this->env, $this->source, $context["script"], "href", [], "any", false, false, false, 71)) : ($context["script"]));
            yield "\" defer></script>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['script'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 73
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["customCodeHeader"], "method", false, false, false, 73)) {
            // line 74
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["customCodeHeader"], "method", false, false, false, 74);
            yield "
";
        }
        // line 76
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["analytics"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["analytic"]) {
            // line 77
            yield $context["analytic"];
            yield "
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['analytic'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 79
        yield "</head>
<body>
";
        // line 81
        if (($context["journal3_is_oc4"] ?? null)) {
            // line 82
            yield "<div id=\"alert\" class=\"toast-container position-fixed top-0 end-0 p-3\" style=\"position: fixed; right: 0; top: 0; padding: 1rem; z-index: 999999;\"></div>
";
        }
        // line 84
        yield "
";
        // line 85
        yield ($context["journal3_background_slider"] ?? null);
        yield "

";
        // line 87
        if (($context["journal3_home_h1"] ?? null)) {
            // line 88
            yield "<h1 style=\"position: absolute; height: 1px; width: 1px; clip: rect(0,0,0,0);\">";
            yield ($context["journal3_home_h1"] ?? null);
            yield "</h1>
";
        }
        // line 90
        yield "
";
        // line 91
        if (($context["journal_admin_bar_links"] ?? null)) {
            // line 92
            yield "<div class=\"admin-bar\">
  <div class=\"j-logo\">
    <svg width=\"512px\" height=\"512px\" viewBox=\"0 0 512 512\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">
      <title>J3</title>
      <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
        <g id=\"J3\" fill-rule=\"nonzero\">
          <path d=\"M256.000557,512 C397.384748,512 512,397.384698 512,256.000446 C512,114.615079 397.384748,0 256.000557,0 C114.615252,0 0,114.615079 0,256.000446 C0,397.384698 114.615252,512 256.000557,512 Z\" id=\"BG-Outer\" fill=\"#6790DA\"></path>
          <path d=\"M256.000457,466 C371.979676,466 466,371.979636 466,256.000366 C466,140.020182 371.979676,46 256.000457,46 C140.020324,46 46,140.020182 46,256.000366 C46,371.979636 140.020324,466 256.000457,466 Z\" id=\"BG-Inner\" fill=\"#0D52D6\"></path>
          <path d=\"M216.194955,386.412646 C206.303796,386.617232 195.797885,386.734277 189.951036,386.084719 L189.951036,329.987416 C209.71318,330.020662 221.727013,330.037284 225.992535,330.037284 C245.252334,330.037284 261.013567,323.420558 261.013567,293.719683 L261.013567,164.986102 L322,164.986102 L322,289.480887 C322,365.707612 280.634337,385.683028 235.507407,386.078742 L232.645402,386.090602 C231.087699,386.102109 229.342494,386.129703 227.465826,386.166355 L216.194955,386.412646 Z\" id=\"Path\" fill=\"#FFFFFF\"></path>
          <polygon id=\"Path\" fill=\"#FFFFFF\" points=\"322 144.006222 322 124.030762 261.041677 124.030762 261.041677 144.006222\"></polygon>
          <polygon id=\"Path\" fill=\"#FFFFFF\" points=\"261.029977 104.007695 322 104.007695 322 84.0271859 261.029977 84.0271859\"></polygon>
          <path d=\"M261.001362,0.0478691985 C282.06378,0.451418555 302.50341,3.39872913 322.025809,8.5953623 L322.023739,64.0029947 L261.008707,64.0029947 L261.001362,0.0478691985 Z\" id=\"Path\" fill=\"#FFFFFF\"></path>
        </g>
      </g>
    </svg>
    <span>Editor</span>
  </div>
  <div class=\"admin-bar-buttons\">
    ";
            // line 110
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["journal_admin_bar_links"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
                // line 111
                yield "      <button data-edit=\"";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "edit", [], "any", false, false, false, 111);
                yield "\">";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "name", [], "any", false, false, false, 111);
                yield "</button>
    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['link'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 113
            yield "  </div>
  <button class=\"admin-close-bar\" type=\"button\" title=\"Toggle Editor\"><span>&times;</span></button>
</div>
";
        }
        // line 117
        yield "
";
        // line 118
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["oldBrowserStatus"], "method", false, false, false, 118)) {
            // line 119
            yield "<div class=\"old-browser\">
  <div class=\"ob-content\">
    <h2 class=\"ob-title\">";
            // line 121
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["oldBrowserTitle"], "method", false, false, false, 121);
            yield "</h2>
    <span class=\"ob-text\">";
            // line 122
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["oldBrowserText"], "method", false, false, false, 122);
            yield "</span>
    <div class=\"ob-links\">
      <a href=\"https://www.google.com/chrome/\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"";
            // line 125
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["oldBrowserChrome"], "method", false, false, false, 125);
            yield "\" alt=\"Chrome\" />
        <span class=\"ob-name\">Chrome</span>
      </a>
      <a href=\"https://www.mozilla.org/firefox/new/\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"";
            // line 129
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["oldBrowserFirefox"], "method", false, false, false, 129);
            yield "\" alt=\"Firefox\" />
        <span class=\"ob-name\">Firefox</span>
      </a>
      <a href=\"https://www.microsoft.com/en-us/windows/microsoft-edge\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"";
            // line 133
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["oldBrowserEdge"], "method", false, false, false, 133);
            yield "\" alt=\"edge\" />
        <span class=\"ob-name\">Microsoft Edge</span>
      </a>
      <a href=\"https://www.opera.com/\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"";
            // line 137
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["oldBrowserOpera"], "method", false, false, false, 137);
            yield "\" alt=\"opera\" />
        <span class=\"ob-name\">Opera</span>
      </a>
      <a href=\"https://www.apple.com/lae/safari/\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"";
            // line 141
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["oldBrowserSafari"], "method", false, false, false, 141);
            yield "\" alt=\"safari\" />
        <span class=\"ob-name\">Safari on Mac</span>
      </a>
    </div>
  </div>
</div>
";
        }
        // line 148
        yield "
";
        // line 149
        if ( !CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "is_popup", [], "any", false, false, false, 149)) {
            // line 150
            yield "<div class=\"mobile-container mobile-main-menu-container\">
  ";
            // line 151
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobile_bottom_menu"], "method", false, false, false, 151);
            yield "
  <div class=\"mobile-wrapper-header\">
    <span>";
            // line 153
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["headerMobileMenuTitle"], "method", false, false, false, 153);
            yield "</span>
    <div class=\"mobile-wrapper-top-menu\">";
            // line 154
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobile_top_menu_2"], "method", false, false, false, 154);
            yield "</div>
    ";
            // line 155
            if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobileLangPosition"], "method", false, false, false, 155) == "menu")) {
                // line 156
                yield "      <div class=\"language-currency top-menu\">
        <div class=\"mobile-language-wrapper\">
            ";
                // line 158
                yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobile_header_active"], "method", false, false, false, 158)) ? (($context["language"] ?? null)) : (""));
                yield "
        </div>
        <div class=\"mobile-currency-wrapper\">
          ";
                // line 161
                yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobile_header_active"], "method", false, false, false, 161)) ? (($context["currency"] ?? null)) : (""));
                yield "
        </div>
      </div>
    ";
            }
            // line 165
            yield "    <a class=\"x\" href=\"javascript:;\" title=\"Close\"></a>
  </div>
  <template class=\"mobile-main-menu-wrapper\">";
            // line 167
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobile_main_menu"], "method", false, false, false, 167);
            yield "</template>
  ";
            // line 168
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["headerMobileMenuAccordion"], "method", false, false, false, 168);
            yield "
  ";
            // line 169
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["headerMobileMenuBuilder"], "method", false, false, false, 169);
            yield "
</div>

<div class=\"mobile-container desktop-mobile-main-menu-container\">
  <div class=\"mobile-wrapper-header\">
    <span>";
            // line 174
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["headerMobileMenuTitle"], "method", false, false, false, 174);
            yield "</span>
    <a class=\"x\" href=\"javascript:;\" title=\"Close\"></a>
  </div>
  <div class=\"desktop-mobile-main-menu-wrapper\">";
            // line 177
            if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobileMenu1"], "method", false, false, false, 177)) {
                yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["desktop_main_menu"], "method", false, false, false, 177);
            }
            if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobileMenu2"], "method", false, false, false, 177)) {
                yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["desktop_main_menu_2"], "method", false, false, false, 177);
            }
            yield "</div>
  ";
            // line 178
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["headerDesktopMobileMenuAccordion"], "method", false, false, false, 178);
            yield "
  ";
            // line 179
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["headerDesktopMobileMenuBuilder"], "method", false, false, false, 179);
            yield "
</div>

<div class=\"mobile-container mobile-filter-container\">
  <div class=\"mobile-wrapper-header\">
    <span>";
            // line 184
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobileFilterTitle"], "method", false, false, false, 184);
            yield "</span>
    <button aria-label=\"Reset\" class=\"reset-filter btn\">";
            // line 185
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["mobileFilterReset"], "method", false, false, false, 185);
            yield "</button>
    <a class=\"x\" href=\"javascript:;\" title=\"Close\"></a>
  </div>
  <div class=\"mobile-filter-wrapper\"></div>
</div>

<div class=\"mobile-container mobile-cart-content-container\">
  <div class=\"mobile-wrapper-header\">
    <span>";
            // line 193
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["headerMobileCartTitle"], "method", false, false, false, 193);
            yield "</span>
    <a class=\"x\" href=\"javascript:;\" title=\"Close\"></a>
  </div>
  <div class=\"mobile-cart-content-wrapper cart-content\"></div>
</div>
";
        }
        // line 199
        yield "
";
        // line 200
        yield ($context["journal3_popup"] ?? null);
        yield "

";
        // line 202
        yield ($context["journal3_bottom_menu"] ?? null);
        yield "

";
        // line 204
        yield ($context["journal3_side_menu"] ?? null);
        yield "

";
        // line 206
        yield ($context["journal3_notification"] ?? null);
        yield "

";
        // line 208
        yield ($context["journal3_header_notice"] ?? null);
        yield "

";
        // line 210
        yield "<div class=\"global-wrapper\">";
        yield "

";
        // line 212
        if ((($context["journal3_header_desktop"] ?? null) || ($context["journal3_header_mobile"] ?? null))) {
            // line 213
            yield "  <header class=\"header-";
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["headerType"], "method", false, false, false, 213);
            yield "\">
    ";
            // line 214
            yield ($context["journal3_header_desktop"] ?? null);
            yield "
    ";
            // line 215
            yield ($context["journal3_header_mobile"] ?? null);
            yield "
    <div class=\"site-overlay\"></div>
  </header>
";
        }
        // line 219
        yield "
";
        // line 220
        yield "<div class=\"site-wrapper\">";
        yield "
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "catalog/view/theme/journal3/template/common/header.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  615 => 220,  612 => 219,  605 => 215,  601 => 214,  596 => 213,  594 => 212,  589 => 210,  584 => 208,  579 => 206,  574 => 204,  569 => 202,  564 => 200,  561 => 199,  552 => 193,  541 => 185,  537 => 184,  529 => 179,  525 => 178,  516 => 177,  510 => 174,  502 => 169,  498 => 168,  494 => 167,  490 => 165,  483 => 161,  477 => 158,  473 => 156,  471 => 155,  467 => 154,  463 => 153,  458 => 151,  455 => 150,  453 => 149,  450 => 148,  440 => 141,  433 => 137,  426 => 133,  419 => 129,  412 => 125,  406 => 122,  402 => 121,  398 => 119,  396 => 118,  393 => 117,  387 => 113,  376 => 111,  372 => 110,  352 => 92,  350 => 91,  347 => 90,  341 => 88,  339 => 87,  334 => 85,  331 => 84,  327 => 82,  325 => 81,  321 => 79,  313 => 77,  309 => 76,  304 => 74,  302 => 73,  293 => 71,  289 => 70,  279 => 67,  273 => 65,  271 => 64,  267 => 63,  261 => 61,  259 => 60,  256 => 59,  241 => 57,  237 => 56,  234 => 55,  224 => 52,  214 => 50,  212 => 49,  208 => 48,  199 => 46,  195 => 45,  190 => 44,  183 => 41,  177 => 39,  175 => 38,  173 => 37,  162 => 35,  158 => 34,  145 => 32,  141 => 31,  135 => 29,  133 => 28,  119 => 25,  115 => 24,  102 => 22,  98 => 21,  96 => 20,  90 => 18,  88 => 17,  82 => 15,  80 => 14,  76 => 13,  72 => 12,  66 => 9,  52 => 6,  49 => 5,  44 => 2,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% if journal3 is not defined %}
<style>body { display: none !important; }</style>
<script>window.location = 'index.php?route=journal3/startup/error_not_installed';</script>
{% endif %}
<!DOCTYPE html>
<html dir=\"{{ direction }}\" lang=\"{{ lang }}\" class=\"{{ journal3_classes | join(' ') }}\" data-ov=\"{{ journal3_oc_version }}\" data-jv=\"{{ journal3_version }}\">
<head>
<meta charset=\"UTF-8\" />
<meta name=\"theme-color\" content=\"{{ journal3.get('theme_color') }}\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<title>{{ title }}</title>
<base href=\"{{ base }}\" />
{% if description %}
<meta name=\"description\" content=\"{{ description }}\" />
{% endif %}
{% if keywords %}
<meta name=\"keywords\" content=\"{{ keywords }}\" />
{% endif %}
{% if not journal3.is_popup %}
{% for meta in journal3_metas %}
<meta {{ meta.attr }}=\"{{ meta.name }}\" content=\"{{ meta.content }}\"/>
{% endfor %}
{% for key, tag in journal3_meta_tags %}
<meta {{ tag.type }}=\"{{ key }}\" content=\"{{ tag.content }}\"/>
{% endfor %}
{% endif %}
{% if icon %}
  <link rel=\"icon\" href=\"{{ icon }}\" type=\"image/png\">
{% endif %}
{% for link in journal3_links %}
<link href=\"{{ link.href }}\" rel=\"{{ link.rel }}\" {{ link.attrs }}/>
{% endfor %}
{% for link in links %}
<link href=\"{{ link.href }}\" rel=\"{{ link.rel }}\" />
{% endfor %}
{% if journal3_sentry_dsn_loader %}
{% if journal3.js_defer %}
<script src=\"{{ journal3_sentry_dsn_loader }}\" crossorigin=\"anonymous\" defer></script>
{% else %}
<script src=\"{{ journal3_sentry_dsn_loader }}\" crossorigin=\"anonymous\"></script>
{% endif %}
{% endif %}
<script>window['Journal'] = {{ journal3_js }};</script>
{% for script in journal3_inline_scripts %}
<script>{{ script.href ?: script }}</script>
{% endfor %}
{% for style in styles %}
{% if style.href %}
<link href=\"{{ style.href }}\" type=\"text/css\" rel=\"{{ style.rel }}\" media=\"{{ style.media }}\" />
{% else %}
<style>{{ style.content }}</style>
{% endif %}
{% endfor %}
<script>performance.mark('css');</script>
{% for css in journal3_css %}
<style {% if css.id %}data-id=\"{{ css.id }}\"{% endif %}>{{ css.css }}</style>
{% endfor %}
<script>performance.measure('css', 'css');</script>
{% if journal3.get('customCSS') %}
<style>{{ journal3.get('customCSS') }}</style>
{% endif %}
{% for script in scripts %}
{% if journal3.js_defer %}
<script src=\"{{ script.href ?: script }}\" defer></script>
{% else %}
<script src=\"{{ script.href ?: script }}\"></script>
{% endif %}
{% endfor %}
{% for script in scripts_defer %}
<script src=\"{{ script.href ?: script }}\" defer></script>
{% endfor %}
{% if journal3.get('customCodeHeader') %}
{{ journal3.get('customCodeHeader') }}
{% endif %}
{% for analytic in analytics %}
{{ analytic }}
{% endfor %}
</head>
<body>
{% if journal3_is_oc4 %}
<div id=\"alert\" class=\"toast-container position-fixed top-0 end-0 p-3\" style=\"position: fixed; right: 0; top: 0; padding: 1rem; z-index: 999999;\"></div>
{% endif %}

{{ journal3_background_slider }}

{% if journal3_home_h1 %}
<h1 style=\"position: absolute; height: 1px; width: 1px; clip: rect(0,0,0,0);\">{{ journal3_home_h1 }}</h1>
{% endif %}

{% if journal_admin_bar_links %}
<div class=\"admin-bar\">
  <div class=\"j-logo\">
    <svg width=\"512px\" height=\"512px\" viewBox=\"0 0 512 512\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">
      <title>J3</title>
      <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
        <g id=\"J3\" fill-rule=\"nonzero\">
          <path d=\"M256.000557,512 C397.384748,512 512,397.384698 512,256.000446 C512,114.615079 397.384748,0 256.000557,0 C114.615252,0 0,114.615079 0,256.000446 C0,397.384698 114.615252,512 256.000557,512 Z\" id=\"BG-Outer\" fill=\"#6790DA\"></path>
          <path d=\"M256.000457,466 C371.979676,466 466,371.979636 466,256.000366 C466,140.020182 371.979676,46 256.000457,46 C140.020324,46 46,140.020182 46,256.000366 C46,371.979636 140.020324,466 256.000457,466 Z\" id=\"BG-Inner\" fill=\"#0D52D6\"></path>
          <path d=\"M216.194955,386.412646 C206.303796,386.617232 195.797885,386.734277 189.951036,386.084719 L189.951036,329.987416 C209.71318,330.020662 221.727013,330.037284 225.992535,330.037284 C245.252334,330.037284 261.013567,323.420558 261.013567,293.719683 L261.013567,164.986102 L322,164.986102 L322,289.480887 C322,365.707612 280.634337,385.683028 235.507407,386.078742 L232.645402,386.090602 C231.087699,386.102109 229.342494,386.129703 227.465826,386.166355 L216.194955,386.412646 Z\" id=\"Path\" fill=\"#FFFFFF\"></path>
          <polygon id=\"Path\" fill=\"#FFFFFF\" points=\"322 144.006222 322 124.030762 261.041677 124.030762 261.041677 144.006222\"></polygon>
          <polygon id=\"Path\" fill=\"#FFFFFF\" points=\"261.029977 104.007695 322 104.007695 322 84.0271859 261.029977 84.0271859\"></polygon>
          <path d=\"M261.001362,0.0478691985 C282.06378,0.451418555 302.50341,3.39872913 322.025809,8.5953623 L322.023739,64.0029947 L261.008707,64.0029947 L261.001362,0.0478691985 Z\" id=\"Path\" fill=\"#FFFFFF\"></path>
        </g>
      </g>
    </svg>
    <span>Editor</span>
  </div>
  <div class=\"admin-bar-buttons\">
    {% for link in journal_admin_bar_links %}
      <button data-edit=\"{{ link.edit }}\">{{ link.name }}</button>
    {% endfor %}
  </div>
  <button class=\"admin-close-bar\" type=\"button\" title=\"Toggle Editor\"><span>&times;</span></button>
</div>
{% endif %}

{% if journal3.get('oldBrowserStatus') %}
<div class=\"old-browser\">
  <div class=\"ob-content\">
    <h2 class=\"ob-title\">{{ journal3.get('oldBrowserTitle') }}</h2>
    <span class=\"ob-text\">{{ journal3.get('oldBrowserText') }}</span>
    <div class=\"ob-links\">
      <a href=\"https://www.google.com/chrome/\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"{{ journal3.get('oldBrowserChrome') }}\" alt=\"Chrome\" />
        <span class=\"ob-name\">Chrome</span>
      </a>
      <a href=\"https://www.mozilla.org/firefox/new/\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"{{ journal3.get('oldBrowserFirefox') }}\" alt=\"Firefox\" />
        <span class=\"ob-name\">Firefox</span>
      </a>
      <a href=\"https://www.microsoft.com/en-us/windows/microsoft-edge\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"{{ journal3.get('oldBrowserEdge') }}\" alt=\"edge\" />
        <span class=\"ob-name\">Microsoft Edge</span>
      </a>
      <a href=\"https://www.opera.com/\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"{{ journal3.get('oldBrowserOpera') }}\" alt=\"opera\" />
        <span class=\"ob-name\">Opera</span>
      </a>
      <a href=\"https://www.apple.com/lae/safari/\" target=\"_blank\" rel=\"nofollow\">
        <img src=\"{{ journal3.get('oldBrowserSafari') }}\" alt=\"safari\" />
        <span class=\"ob-name\">Safari on Mac</span>
      </a>
    </div>
  </div>
</div>
{% endif %}

{% if not journal3.is_popup %}
<div class=\"mobile-container mobile-main-menu-container\">
  {{ journal3.get('mobile_bottom_menu') }}
  <div class=\"mobile-wrapper-header\">
    <span>{{ journal3.get('headerMobileMenuTitle') }}</span>
    <div class=\"mobile-wrapper-top-menu\">{{ journal3.get('mobile_top_menu_2') }}</div>
    {% if journal3.get('mobileLangPosition') == 'menu' %}
      <div class=\"language-currency top-menu\">
        <div class=\"mobile-language-wrapper\">
            {{ journal3.get('mobile_header_active') ? language : '' }}
        </div>
        <div class=\"mobile-currency-wrapper\">
          {{ journal3.get('mobile_header_active') ? currency : '' }}
        </div>
      </div>
    {% endif %}
    <a class=\"x\" href=\"javascript:;\" title=\"Close\"></a>
  </div>
  <template class=\"mobile-main-menu-wrapper\">{{ journal3.get('mobile_main_menu') }}</template>
  {{ journal3.get('headerMobileMenuAccordion') }}
  {{ journal3.get('headerMobileMenuBuilder') }}
</div>

<div class=\"mobile-container desktop-mobile-main-menu-container\">
  <div class=\"mobile-wrapper-header\">
    <span>{{ journal3.get('headerMobileMenuTitle') }}</span>
    <a class=\"x\" href=\"javascript:;\" title=\"Close\"></a>
  </div>
  <div class=\"desktop-mobile-main-menu-wrapper\">{% if journal3.get('mobileMenu1') %}{{ journal3.get('desktop_main_menu') }}{% endif %}{% if journal3.get('mobileMenu2') %}{{ journal3.get('desktop_main_menu_2') }}{% endif %}</div>
  {{ journal3.get('headerDesktopMobileMenuAccordion') }}
  {{ journal3.get('headerDesktopMobileMenuBuilder') }}
</div>

<div class=\"mobile-container mobile-filter-container\">
  <div class=\"mobile-wrapper-header\">
    <span>{{ journal3.get('mobileFilterTitle') }}</span>
    <button aria-label=\"Reset\" class=\"reset-filter btn\">{{ journal3.get('mobileFilterReset') }}</button>
    <a class=\"x\" href=\"javascript:;\" title=\"Close\"></a>
  </div>
  <div class=\"mobile-filter-wrapper\"></div>
</div>

<div class=\"mobile-container mobile-cart-content-container\">
  <div class=\"mobile-wrapper-header\">
    <span>{{ journal3.get('headerMobileCartTitle') }}</span>
    <a class=\"x\" href=\"javascript:;\" title=\"Close\"></a>
  </div>
  <div class=\"mobile-cart-content-wrapper cart-content\"></div>
</div>
{% endif %}

{{ journal3_popup }}

{{ journal3_bottom_menu }}

{{ journal3_side_menu }}

{{ journal3_notification }}

{{ journal3_header_notice }}

{{ '<div class=\"global-wrapper\">' }}

{% if journal3_header_desktop or journal3_header_mobile %}
  <header class=\"header-{{ journal3.get('headerType') }}\">
    {{ journal3_header_desktop }}
    {{ journal3_header_mobile }}
    <div class=\"site-overlay\"></div>
  </header>
{% endif %}

{{ '<div class=\"site-wrapper\">' }}
", "catalog/view/theme/journal3/template/common/header.twig", "/home/isatuzun/public_html/opencart.my-multiplanet.ch/catalog/view/theme/journal3/template/common/header.twig");
    }
}
