var/cache/dev_h00a6008ac8d83daed65bb1b250bc45b1/twig/2a/2abe8b92049e768bf752e13879b44c167f18083f4a85a0c6b2f993fc66a9b26e.php line 59

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @zenitPlatformStratus/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_60f372c176d11c1649b67cdd0dce3bb2 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'layout_head_stylesheet' => [$this'block_layout_head_stylesheet'],
  26.             'zen_layout_head_styles' => [$this'block_zen_layout_head_styles'],
  27.             'zen_layout_head_custom_css_files' => [$this'block_zen_layout_head_custom_css_files'],
  28.             'zen_layout_head_custom_css_styles' => [$this'block_zen_layout_head_custom_css_styles'],
  29.             'layout_head_javascript_tracking' => [$this'block_layout_head_javascript_tracking'],
  30.             'zen_layout_head_theme_js_files' => [$this'block_zen_layout_head_theme_js_files'],
  31.             'zen_layout_head_theme_js_custom' => [$this'block_zen_layout_head_theme_js_custom'],
  32.             'zen_base_webfont' => [$this'block_zen_base_webfont'],
  33.             'zen_base_webfont_loader' => [$this'block_zen_base_webfont_loader'],
  34.             'layout_head_apple' => [$this'block_layout_head_apple'],
  35.         ];
  36.     }
  37.     protected function doGetParent(array $context)
  38.     {
  39.         // line 2
  40.         return "@Storefront/storefront/layout/meta.html.twig";
  41.     }
  42.     protected function doDisplay(array $context, array $blocks = [])
  43.     {
  44.         $macros $this->macros;
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitPlatformStratus/storefront/layout/meta.html.twig"));
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitPlatformStratus/storefront/layout/meta.html.twig"));
  49.         $this->parent $this->loadTemplate("@Storefront/storefront/layout/meta.html.twig""@zenitPlatformStratus/storefront/layout/meta.html.twig"2);
  50.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     // line 3
  57.     public function block_layout_head_stylesheet($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_stylesheet"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_stylesheet"));
  64.         // line 4
  65.         echo "    ";
  66.         $this->displayParentBlock("layout_head_stylesheet"$context$blocks);
  67.         echo "
  68.     ";
  69.         // line 6
  70.         $this->displayBlock('zen_layout_head_styles'$context$blocks);
  71.         // line 15
  72.         echo "
  73.     ";
  74.         // line 16
  75.         $this->displayBlock('zen_layout_head_custom_css_files'$context$blocks);
  76.         // line 21
  77.         echo "
  78.     ";
  79.         // line 22
  80.         $this->displayBlock('zen_layout_head_custom_css_styles'$context$blocks);
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 6
  87.     public function block_zen_layout_head_styles($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_styles"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_styles"));
  94.         // line 7
  95.         echo "        ";
  96.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-layout-bg-img")) {
  97.             // line 8
  98.             echo "            <style data-plugin=\"zenitStratus\">";
  99.             ob_start();
  100.             // line 9
  101.             echo "                body {
  102.                     background-image: url(\"";
  103.             // line 10
  104.             echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-layout-bg-img"), "html"nulltrue);
  105.             echo "\");
  106.                 }
  107.             ";
  108.             $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  109.             // line 8
  110.             echo twig_spaceless($___internal_parse_0_);
  111.             // line 12
  112.             echo "</style>
  113.         ";
  114.         }
  115.         // line 14
  116.         echo "    ";
  117.         
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  119.         
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  121.     }
  122.     // line 16
  123.     public function block_zen_layout_head_custom_css_files($context, array $blocks = [])
  124.     {
  125.         $macros $this->macros;
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_custom_css_files"));
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_custom_css_files"));
  130.         // line 17
  131.         echo "        ";
  132.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.customCssFilesActive")) {
  133.             // line 18
  134.             echo "            ";
  135.             echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.customCssFiles");
  136.             echo "
  137.         ";
  138.         }
  139.         // line 20
  140.         echo "    ";
  141.         
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  143.         
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  145.     }
  146.     // line 22
  147.     public function block_zen_layout_head_custom_css_styles($context, array $blocks = [])
  148.     {
  149.         $macros $this->macros;
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_custom_css_styles"));
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  153.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_custom_css_styles"));
  154.         // line 23
  155.         echo "        ";
  156.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.customCssActive")) {
  157.             // line 24
  158.             echo "            <style data-plugin=\"zenitStratusCustomCss\">";
  159.             ob_start();
  160.             // line 25
  161.             echo "                ";
  162.             echo twig_replace_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.customCss"), ["<style>" => """</style>" => ""]);
  163.             echo "
  164.                 ";
  165.             $___internal_parse_1_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  166.             // line 24
  167.             echo twig_spaceless($___internal_parse_1_);
  168.             // line 26
  169.             echo "</style>
  170.         ";
  171.         }
  172.         // line 28
  173.         echo "    ";
  174.         
  175.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  176.         
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  178.     }
  179.     // line 31
  180.     public function block_layout_head_javascript_tracking($context, array $blocks = [])
  181.     {
  182.         $macros $this->macros;
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_javascript_tracking"));
  185.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_javascript_tracking"));
  187.         // line 32
  188.         echo "    ";
  189.         $this->displayParentBlock("layout_head_javascript_tracking"$context$blocks);
  190.         echo "
  191.     ";
  192.         // line 34
  193.         $this->displayBlock('zen_layout_head_theme_js_files'$context$blocks);
  194.         // line 39
  195.         echo "
  196.     ";
  197.         // line 40
  198.         $this->displayBlock('zen_layout_head_theme_js_custom'$context$blocks);
  199.         // line 47
  200.         echo "
  201.     ";
  202.         // line 48
  203.         $this->displayBlock('zen_base_webfont'$context$blocks);
  204.         // line 129
  205.         echo "
  206. ";
  207.         
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  209.         
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  211.     }
  212.     // line 34
  213.     public function block_zen_layout_head_theme_js_files($context, array $blocks = [])
  214.     {
  215.         $macros $this->macros;
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_theme_js_files"));
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_theme_js_files"));
  220.         // line 35
  221.         echo "        ";
  222.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.customHeadJsFilesActive")) {
  223.             // line 36
  224.             echo "            ";
  225.             echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.customHeadJsFiles");
  226.             echo "
  227.         ";
  228.         }
  229.         // line 38
  230.         echo "    ";
  231.         
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  233.         
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235.     }
  236.     // line 40
  237.     public function block_zen_layout_head_theme_js_custom($context, array $blocks = [])
  238.     {
  239.         $macros $this->macros;
  240.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  241.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_theme_js_custom"));
  242.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  243.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_layout_head_theme_js_custom"));
  244.         // line 41
  245.         echo "        ";
  246.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.customHeadJsActive")) {
  247.             // line 42
  248.             echo "            <script data-plugin=\"zenitStratusCustomHeadJs\">
  249.                 ";
  250.             // line 43
  251.             echo twig_replace_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.customHeadJs"), ["<script>" => """</script>" => ""]);
  252.             echo "
  253.             </script>
  254.         ";
  255.         }
  256.         // line 46
  257.         echo "    ";
  258.         
  259.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  260.         
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  262.     }
  263.     // line 48
  264.     public function block_zen_base_webfont($context, array $blocks = [])
  265.     {
  266.         $macros $this->macros;
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  268.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_base_webfont"));
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  270.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_base_webfont"));
  271.         // line 49
  272.         echo "        ";
  273.         // line 50
  274.         echo "        ";
  275.         $context["hasCustomBaseFont"] = ((null === $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-base-default")) || ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-base-default") === "custom"));
  276.         // line 51
  277.         echo "        ";
  278.         $context["hasCustomHeadlineFont"] = ((null === $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-headline-default")) || ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-headline-default") === "custom"));
  279.         // line 52
  280.         echo "
  281.         ";
  282.         // line 53
  283.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-font-family-base") && ($context["hasCustomBaseFont"] ?? null))) {
  284.             // line 54
  285.             echo "            ";
  286.             $context["fontFamilyBase"] = (((($__internal_compile_0 twig_split_filter($this->envtwig_replace_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-font-family-base"), ["'" => """ " => "+"]), ",")) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null) . ":") . twig_join_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-base-weight"), ","));
  287.             // line 55
  288.             echo "        ";
  289.         }
  290.         // line 56
  291.         echo "
  292.         ";
  293.         // line 57
  294.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-font-family-headline") && ($context["hasCustomHeadlineFont"] ?? null))) {
  295.             // line 58
  296.             echo "            ";
  297.             $context["fontFamilyHeadline"] = (((($__internal_compile_1 twig_split_filter($this->envtwig_replace_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-font-family-headline"), ["'" => """ " => "+"]), ",")) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[0] ?? null) : null) . ":") . twig_join_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-headline-weight"), ","));
  298.             // line 59
  299.             echo "        ";
  300.         }
  301.         // line 60
  302.         echo "
  303.         ";
  304.         // line 62
  305.         echo "        ";
  306.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-font-family-base") === $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-font-family-headline"))) {
  307.             // line 63
  308.             echo "            ";
  309.             if (($context["hasCustomBaseFont"] ?? null)) {
  310.                 // line 64
  311.                 echo "                ";
  312.                 $context["fontFamilyHeadline"] = "";
  313.                 // line 65
  314.                 echo "            ";
  315.             } elseif (($context["hasCustomHeadlineFont"] ?? null)) {
  316.                 // line 66
  317.                 echo "                ";
  318.                 $context["fontFamilyBase"] = "";
  319.                 // line 67
  320.                 echo "            ";
  321.             }
  322.             // line 68
  323.             echo "
  324.             ";
  325.             // line 69
  326.             $context['_parent'] = $context;
  327.             $context['_seq'] = twig_ensure_traversable($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-headline-weight"));
  328.             foreach ($context['_seq'] as $context["_key"] => $context["weight"]) {
  329.                 // line 70
  330.                 echo "                ";
  331.                 if (!twig_in_filter($context["weight"], $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-base-weight"))) {
  332.                     // line 71
  333.                     echo "                    ";
  334.                     $context["fontFamilyBase"] = ((($context["fontFamilyBase"] ?? null) . ",") . $context["weight"]);
  335.                     // line 72
  336.                     echo "                ";
  337.                 }
  338.                 // line 73
  339.                 echo "            ";
  340.             }
  341.             $_parent $context['_parent'];
  342.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['weight'], $context['_parent'], $context['loop']);
  343.             $context array_intersect_key($context$_parent) + $_parent;
  344.             // line 74
  345.             echo "        ";
  346.         }
  347.         // line 75
  348.         echo "
  349.         ";
  350.         // line 77
  351.         echo "        ";
  352.         $this->displayBlock('zen_base_webfont_loader'$context$blocks);
  353.         // line 128
  354.         echo "    ";
  355.         
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  357.         
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  359.     }
  360.     // line 77
  361.     public function block_zen_base_webfont_loader($context, array $blocks = [])
  362.     {
  363.         $macros $this->macros;
  364.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  365.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_base_webfont_loader"));
  366.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zen_base_webfont_loader"));
  368.         // line 78
  369.         echo "            ";
  370.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-font-family-import") && (($context["hasCustomBaseFont"] ?? null) || ($context["hasCustomHeadlineFont"] ?? null)))) {
  371.             // line 79
  372.             echo "                ";
  373.             // line 80
  374.             echo "                ";
  375.             if ( !sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsetruefalse80), "extensions", [], "any"falsetruefalse80), "zenitPlatformStratus", [], "array"falsetruefalse80), "system", [], "any"truetruefalse80)) {
  376.                 // line 81
  377.                 echo "                    ";
  378.                 $context["loader"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/zenitplatformstratus/assets/font/webfont.js");
  379.                 // line 82
  380.                 echo "                ";
  381.             } else {
  382.                 // line 83
  383.                 echo "                    ";
  384.                 $context["loader"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/zenitplatformstratus/storefront/assets/font/webfont.js");
  385.                 // line 84
  386.                 echo "                ";
  387.             }
  388.             // line 85
  389.             echo "
  390.                 ";
  391.             // line 87
  392.             echo "                ";
  393.             $context["zenGoogleFontsOptions"] = ["checkCookie" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.googleFontsCookie"), "webfontLoaderUrl" =>             // line 89
  394. ($context["loader"] ?? null), "zenthemeFontFamilyBase" =>             // line 90
  395. ($context["fontFamilyBase"] ?? null), "zenthemeFontFamilyHeadline" =>             // line 91
  396. ($context["fontFamilyHeadline"] ?? null)];
  397.             // line 93
  398.             echo "
  399.                 ";
  400.             // line 94
  401.             if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitPlatformStratus.config.googleFontsCookie")) {
  402.                 // line 95
  403.                 echo "                    <template data-google-fonts=\"true\" data-zen-google-fonts-options=\"";
  404.                 echo sw_escape_filter($this->env$this->env->getFilter('json_encode')->getCallable()(($context["zenGoogleFontsOptions"] ?? null)), "html"nulltrue);
  405.                 echo "\"></template>
  406.                 ";
  407.             } else {
  408.                 // line 97
  409.                 echo "                    <script data-plugin=\"zenitStratusFonts\">
  410.                         var zenthemeFonts = [],
  411.                             zenthemeFontFamilyBase = '";
  412.                 // line 99
  413.                 echo sw_escape_filter($this->env, ($context["fontFamilyBase"] ?? null), "html"nulltrue);
  414.                 echo "',
  415.                             zenthemeFontFamilyHeadline = '";
  416.                 // line 100
  417.                 echo sw_escape_filter($this->env, ($context["fontFamilyHeadline"] ?? null), "html"nulltrue);
  418.                 echo "';
  419.                         fontDisplay = '&display=swap';
  420.                         zenthemeFontFamilyBase ? zenthemeFonts.push( zenthemeFontFamilyBase.replace('&amp;','&') ) : '';
  421.                         zenthemeFontFamilyHeadline ? zenthemeFonts.push( zenthemeFontFamilyHeadline.replace('&amp;','&') ) : '';
  422.                         zenthemeFonts.push( fontDisplay.replace('&amp;','&') );
  423.                         WebFontConfig = {
  424.                             google: {
  425.                                 families: zenthemeFonts,
  426.                                 timeout: 2000,
  427.                             },
  428.                             active: function () {
  429.                                 let event = new Event('webfontsloaded');
  430.                                 document.dispatchEvent(event);
  431.                             },
  432.                         };
  433.                         (function(d) {
  434.                             const wf = d.createElement('script'), s = d.scripts[0];
  435.                             wf.src = '";
  436.                 // line 120
  437.                 echo sw_escape_filter($this->env, ($context["loader"] ?? null), "html"nulltrue);
  438.                 echo "';
  439.                             wf.async = true;
  440.                             s.parentNode.insertBefore(wf, s);
  441.                         })(document);
  442.                     </script>
  443.                 ";
  444.             }
  445.             // line 126
  446.             echo "            ";
  447.         }
  448.         // line 127
  449.         echo "        ";
  450.         
  451.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  452.         
  453.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  454.     }
  455.     // line 132
  456.     public function block_layout_head_apple($context, array $blocks = [])
  457.     {
  458.         $macros $this->macros;
  459.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  460.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_apple"));
  461.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  462.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_apple"));
  463.         // line 133
  464.         echo "    ";
  465.         $this->displayParentBlock("layout_head_apple"$context$blocks);
  466.         echo "
  467.     <meta name=\"theme-color\" content=\"";
  468.         // line 135
  469.         echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"zen-meta-theme-color"), "html"nulltrue);
  470.         echo "\"/>
  471. ";
  472.         
  473.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  474.         
  475.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  476.     }
  477.     public function getTemplateName()
  478.     {
  479.         return "@zenitPlatformStratus/storefront/layout/meta.html.twig";
  480.     }
  481.     public function isTraitable()
  482.     {
  483.         return false;
  484.     }
  485.     public function getDebugInfo()
  486.     {
  487.         return array (  532 => 135,  526 => 133,  516 => 132,  506 => 127,  503 => 126,  494 => 120,  471 => 100,  467 => 99,  463 => 97,  457 => 95,  455 => 94,  452 => 93,  450 => 91,  449 => 90,  448 => 89,  446 => 87,  443 => 85,  440 => 84,  437 => 83,  434 => 82,  431 => 81,  428 => 80,  426 => 79,  423 => 78,  413 => 77,  403 => 128,  400 => 77,  397 => 75,  394 => 74,  388 => 73,  385 => 72,  382 => 71,  379 => 70,  375 => 69,  372 => 68,  369 => 67,  366 => 66,  363 => 65,  360 => 64,  357 => 63,  354 => 62,  351 => 60,  348 => 59,  345 => 58,  343 => 57,  340 => 56,  337 => 55,  334 => 54,  332 => 53,  329 => 52,  326 => 51,  323 => 50,  321 => 49,  311 => 48,  301 => 46,  295 => 43,  292 => 42,  289 => 41,  279 => 40,  269 => 38,  263 => 36,  260 => 35,  250 => 34,  239 => 129,  237 => 48,  234 => 47,  232 => 40,  229 => 39,  227 => 34,  221 => 32,  211 => 31,  201 => 28,  197 => 26,  195 => 24,  189 => 25,  186 => 24,  183 => 23,  173 => 22,  163 => 20,  157 => 18,  154 => 17,  144 => 16,  134 => 14,  130 => 12,  128 => 8,  122 => 10,  119 => 9,  116 => 8,  113 => 7,  103 => 6,  93 => 22,  90 => 21,  88 => 16,  85 => 15,  83 => 6,  77 => 4,  67 => 3,  44 => 2,);
  488.     }
  489.     public function getSourceContext()
  490.     {
  491.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  492. {% block layout_head_stylesheet %}
  493.     {{ parent() }}
  494.     {% block zen_layout_head_styles %}
  495.         {% if theme_config('zen-layout-bg-img') %}
  496.             <style data-plugin=\"zenitStratus\">{% apply spaceless %}
  497.                 body {
  498.                     background-image: url(\"{{ theme_config('zen-layout-bg-img') }}\");
  499.                 }
  500.             {% endapply %}</style>
  501.         {% endif %}
  502.     {% endblock %}
  503.     {% block zen_layout_head_custom_css_files %}
  504.         {% if config('zenitPlatformStratus.config.customCssFilesActive') %}
  505.             {{ config('zenitPlatformStratus.config.customCssFiles')|raw }}
  506.         {% endif %}
  507.     {% endblock %}
  508.     {% block zen_layout_head_custom_css_styles %}
  509.         {% if config('zenitPlatformStratus.config.customCssActive') %}
  510.             <style data-plugin=\"zenitStratusCustomCss\">{% apply spaceless %}
  511.                 {{ config('zenitPlatformStratus.config.customCss')|replace({'<style>': '','</style>': ''})|raw }}
  512.                 {% endapply %}</style>
  513.         {% endif %}
  514.     {% endblock %}
  515. {% endblock %}
  516. {% block layout_head_javascript_tracking %}
  517.     {{ parent() }}
  518.     {% block zen_layout_head_theme_js_files %}
  519.         {% if config('zenitPlatformStratus.config.customHeadJsFilesActive') %}
  520.             {{ config('zenitPlatformStratus.config.customHeadJsFiles')|raw }}
  521.         {% endif %}
  522.     {% endblock %}
  523.     {% block zen_layout_head_theme_js_custom %}
  524.         {% if config('zenitPlatformStratus.config.customHeadJsActive') %}
  525.             <script data-plugin=\"zenitStratusCustomHeadJs\">
  526.                 {{ config('zenitPlatformStratus.config.customHeadJs')|replace({'<script>': '','</script>': ''})|raw }}
  527.             </script>
  528.         {% endif %}
  529.     {% endblock %}
  530.     {% block zen_base_webfont %}
  531.         {# Fonts implementation checks if has custom fonts to load #}
  532.         {% set hasCustomBaseFont = theme_config('zen-font-family-base-default') is null or theme_config('zen-font-family-base-default') is same as ('custom') %}
  533.         {% set hasCustomHeadlineFont = theme_config('zen-font-family-headline-default') is null or theme_config('zen-font-family-headline-default') is same as ('custom') %}
  534.         {% if theme_config('sw-font-family-base') and hasCustomBaseFont %}
  535.             {% set fontFamilyBase = theme_config('sw-font-family-base')|replace({'\\'':'', ' ':'+'})|split(',')[0] ~ ':' ~ theme_config('zen-font-family-base-weight')|join(',') %}
  536.         {% endif %}
  537.         {% if theme_config('sw-font-family-headline') and hasCustomHeadlineFont %}
  538.             {% set fontFamilyHeadline = theme_config('sw-font-family-headline')|replace({'\\'':'', ' ':'+'})|split(',')[0] ~ ':' ~ theme_config('zen-font-family-headline-weight')|join(',') %}
  539.         {% endif %}
  540.         {# Avoid double implementation when base and headline fonts are the same #}
  541.         {% if theme_config('sw-font-family-base') is same as (theme_config('sw-font-family-headline')) %}
  542.             {% if hasCustomBaseFont %}
  543.                 {% set fontFamilyHeadline = '' %}
  544.             {% elseif hasCustomHeadlineFont %}
  545.                 {% set fontFamilyBase = '' %}
  546.             {% endif %}
  547.             {% for weight in theme_config('zen-font-family-headline-weight') %}
  548.                 {% if weight not in theme_config('zen-font-family-base-weight') %}
  549.                     {% set fontFamilyBase = fontFamilyBase ~ ',' ~ weight %}
  550.                 {% endif %}
  551.             {% endfor %}
  552.         {% endif %}
  553.         {# Google Webfont Loader #}
  554.         {% block zen_base_webfont_loader %}
  555.             {% if theme_config('zen-font-family-import') and (hasCustomBaseFont or hasCustomHeadlineFont) %}
  556.                 {# ... check if it is app environment or not #}
  557.                 {% if context.context.extensions['zenitPlatformStratus'].system is not defined %}
  558.                     {% set loader = asset('bundles/zenitplatformstratus/assets/font/webfont.js') %}
  559.                 {% else %}
  560.                     {% set loader = asset('bundles/zenitplatformstratus/storefront/assets/font/webfont.js') %}
  561.                 {% endif %}
  562.                 {# ... theme script options #}
  563.                 {% set zenGoogleFontsOptions = {
  564.                     checkCookie: config('zenitPlatformStratus.config.googleFontsCookie'),
  565.                     webfontLoaderUrl: loader,
  566.                     zenthemeFontFamilyBase: fontFamilyBase,
  567.                     zenthemeFontFamilyHeadline: fontFamilyHeadline
  568.                 } %}
  569.                 {% if config('zenitPlatformStratus.config.googleFontsCookie') %}
  570.                     <template data-google-fonts=\"true\" data-zen-google-fonts-options=\"{{ zenGoogleFontsOptions|json_encode }}\"></template>
  571.                 {% else %}
  572.                     <script data-plugin=\"zenitStratusFonts\">
  573.                         var zenthemeFonts = [],
  574.                             zenthemeFontFamilyBase = '{{ fontFamilyBase }}',
  575.                             zenthemeFontFamilyHeadline = '{{ fontFamilyHeadline }}';
  576.                         fontDisplay = '&display=swap';
  577.                         zenthemeFontFamilyBase ? zenthemeFonts.push( zenthemeFontFamilyBase.replace('&amp;','&') ) : '';
  578.                         zenthemeFontFamilyHeadline ? zenthemeFonts.push( zenthemeFontFamilyHeadline.replace('&amp;','&') ) : '';
  579.                         zenthemeFonts.push( fontDisplay.replace('&amp;','&') );
  580.                         WebFontConfig = {
  581.                             google: {
  582.                                 families: zenthemeFonts,
  583.                                 timeout: 2000,
  584.                             },
  585.                             active: function () {
  586.                                 let event = new Event('webfontsloaded');
  587.                                 document.dispatchEvent(event);
  588.                             },
  589.                         };
  590.                         (function(d) {
  591.                             const wf = d.createElement('script'), s = d.scripts[0];
  592.                             wf.src = '{{ loader }}';
  593.                             wf.async = true;
  594.                             s.parentNode.insertBefore(wf, s);
  595.                         })(document);
  596.                     </script>
  597.                 {% endif %}
  598.             {% endif %}
  599.         {% endblock %}
  600.     {% endblock %}
  601. {% endblock %}
  602. {% block layout_head_apple %}
  603.     {{ parent() }}
  604.     <meta name=\"theme-color\" content=\"{{ theme_config('zen-meta-theme-color') }}\"/>
  605. {% endblock %}
  606. ""@zenitPlatformStratus/storefront/layout/meta.html.twig""/var/www/dev.artecon.426.agency/custom/plugins/zenitPlatformStratus/src/Resources/views/storefront/layout/meta.html.twig");
  607.     }
  608. }