var/cache/dev_h5b02c48344407d68d61eb74a0cdcd8b0/twig/70/70b95d5bbbe9fda1176261c8abf778686ab048622dcb19a5d4e931397eae9016.php line 50

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. /* @EightworksCookieConsentPlus6/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_737409099151da7480318e73e26a5860 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_javascript_tracking' => [$this'block_layout_head_javascript_tracking'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@Storefront/storefront/layout/meta.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EightworksCookieConsentPlus6/storefront/layout/meta.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EightworksCookieConsentPlus6/storefront/layout/meta.html.twig"));
  40.         $this->parent $this->loadTemplate("@Storefront/storefront/layout/meta.html.twig""@EightworksCookieConsentPlus6/storefront/layout/meta.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 4
  48.     public function block_layout_head_javascript_tracking($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_javascript_tracking"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_javascript_tracking"));
  55.         // line 5
  56.         echo "    ";
  57.         $this->displayParentBlock("layout_head_javascript_tracking"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 6
  61.         $context["eightworksCookieConsentPlusConfig"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"EightworksCookieConsentPlus6.config");
  62.         // line 7
  63.         echo "
  64.     ";
  65.         // line 8
  66.         if (sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "active", [], "any"falsefalsefalse8)) {
  67.             // line 9
  68.             echo "        ";
  69.             if (sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntry", [], "any"falsefalsefalse9)) {
  70.                 // line 10
  71.                 echo "            <script>
  72.                 var cookieConsentPlusE1 = function() {
  73.                     ";
  74.                 // line 12
  75.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript1", [], "any"falsefalsefalse12) != "")) {
  76.                     // line 13
  77.                     echo "                        var cookieConsentPlusE1Script = document.createElement(\"script\");
  78.                         ";
  79.                     // line 14
  80.                     if ((twig_in_filter("<script"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript1", [], "any"falsefalsefalse14)) || twig_in_filter("<link"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript1", [], "any"falsefalsefalse14)))) {
  81.                         // line 15
  82.                         echo "                            cookieConsentPlusE1Script.innerHTML = `";
  83.                         echo twig_replace_filter(sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript1", [], "any"falsefalsefalse15), ["<script>" => """</script>" => ""]);
  84.                         echo "`;
  85.                         ";
  86.                     } else {
  87.                         // line 17
  88.                         echo "                            cookieConsentPlusE1Script.innerHTML = `";
  89.                         echo sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript1", [], "any"falsefalsefalse17);
  90.                         echo "`;
  91.                         ";
  92.                     }
  93.                     // line 19
  94.                     echo "                        document.head.appendChild(cookieConsentPlusE1Script);
  95.                     ";
  96.                 }
  97.                 // line 21
  98.                 echo "                    ";
  99.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc1", [], "any"falsefalsefalse21) != "")) {
  100.                     // line 22
  101.                     echo "                        var cookieConsentPlusE1Src = document.createElement(\"script\");
  102.                         cookieConsentPlusE1Src.src = \"";
  103.                     // line 23
  104.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc1", [], "any"falsefalsefalse23), "html"nulltrue);
  105.                     echo "\";
  106.                         document.head.appendChild(cookieConsentPlusE1Src);
  107.                     ";
  108.                 }
  109.                 // line 26
  110.                 echo "                }
  111.                 if (document.cookie.indexOf('cookie-consent-plus-e1') !== -1) {
  112.                     cookieConsentPlusE1();
  113.                 }
  114.                 var cookieConsentPlusE2 = function() {
  115.                     ";
  116.                 // line 32
  117.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript2", [], "any"falsefalsefalse32) != "")) {
  118.                     // line 33
  119.                     echo "                        var cookieConsentPlusE2Script = document.createElement(\"script\");
  120.                         ";
  121.                     // line 34
  122.                     if ((twig_in_filter("<script"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript2", [], "any"falsefalsefalse34)) || twig_in_filter("<link"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript2", [], "any"falsefalsefalse34)))) {
  123.                         // line 35
  124.                         echo "                            cookieConsentPlusE2Script.innerHTML = `";
  125.                         echo twig_replace_filter(sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript2", [], "any"falsefalsefalse35), ["<script>" => """</script>" => ""]);
  126.                         echo "`;
  127.                         ";
  128.                     } else {
  129.                         // line 37
  130.                         echo "                            cookieConsentPlusE2Script.innerHTML = `";
  131.                         echo sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript2", [], "any"falsefalsefalse37);
  132.                         echo "`;
  133.                         ";
  134.                     }
  135.                     // line 39
  136.                     echo "                        document.head.appendChild(cookieConsentPlusE2Script);
  137.                     ";
  138.                 }
  139.                 // line 41
  140.                 echo "                    ";
  141.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc2", [], "any"falsefalsefalse41) != "")) {
  142.                     // line 42
  143.                     echo "                        var cookieConsentPlusE2Src = document.createElement(\"script\");
  144.                         cookieConsentPlusE2Src.src = \"";
  145.                     // line 43
  146.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc2", [], "any"falsefalsefalse43), "html"nulltrue);
  147.                     echo "\";
  148.                         document.head.appendChild(cookieConsentPlusE2Src);
  149.                     ";
  150.                 }
  151.                 // line 46
  152.                 echo "                }
  153.                 if (document.cookie.indexOf('cookie-consent-plus-e2') !== -1) {
  154.                     cookieConsentPlusE2();
  155.                 }
  156.                 var cookieConsentPlusE3 = function() {
  157.                     ";
  158.                 // line 52
  159.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript3", [], "any"falsefalsefalse52) != "")) {
  160.                     // line 53
  161.                     echo "                        var cookieConsentPlusE3Script = document.createElement(\"script\");
  162.                         ";
  163.                     // line 54
  164.                     if ((twig_in_filter("<script"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript3", [], "any"falsefalsefalse54)) || twig_in_filter("<link"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript3", [], "any"falsefalsefalse54)))) {
  165.                         // line 55
  166.                         echo "                            cookieConsentPlusE3Script.innerHTML = `";
  167.                         echo twig_replace_filter(sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript3", [], "any"falsefalsefalse55), ["<script>" => """</script>" => ""]);
  168.                         echo "`;
  169.                         ";
  170.                     } else {
  171.                         // line 57
  172.                         echo "                            cookieConsentPlusE3Script.innerHTML = `";
  173.                         echo sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript3", [], "any"falsefalsefalse57);
  174.                         echo "`;
  175.                         ";
  176.                     }
  177.                     // line 59
  178.                     echo "                        document.head.appendChild(cookieConsentPlusE3Script);
  179.                     ";
  180.                 }
  181.                 // line 61
  182.                 echo "                    ";
  183.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc3", [], "any"falsefalsefalse61) != "")) {
  184.                     // line 62
  185.                     echo "                        var cookieConsentPlusE3Src = document.createElement(\"script\");
  186.                         cookieConsentPlusE3Src.src = \"";
  187.                     // line 63
  188.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc3", [], "any"falsefalsefalse63), "html"nulltrue);
  189.                     echo "\";
  190.                         document.head.appendChild(cookieConsentPlusE3Src);
  191.                     ";
  192.                 }
  193.                 // line 66
  194.                 echo "                }
  195.                 if (document.cookie.indexOf('cookie-consent-plus-e3') !== -1) {
  196.                     cookieConsentPlusE3();
  197.                 }
  198.                 var cookieConsentPlusE4 = function() {
  199.                     ";
  200.                 // line 72
  201.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript4", [], "any"falsefalsefalse72) != "")) {
  202.                     // line 73
  203.                     echo "                        var cookieConsentPlusE4Script = document.createElement(\"script\");
  204.                         ";
  205.                     // line 74
  206.                     if ((twig_in_filter("<script"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript4", [], "any"falsefalsefalse74)) || twig_in_filter("<link"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript4", [], "any"falsefalsefalse74)))) {
  207.                         // line 75
  208.                         echo "                            cookieConsentPlusE4Script.innerHTML = `";
  209.                         echo twig_replace_filter(sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript4", [], "any"falsefalsefalse75), ["<script>" => """</script>" => ""]);
  210.                         echo "`;
  211.                         ";
  212.                     } else {
  213.                         // line 77
  214.                         echo "                            cookieConsentPlusE4Script.innerHTML = `";
  215.                         echo sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript4", [], "any"falsefalsefalse77);
  216.                         echo "`;
  217.                         ";
  218.                     }
  219.                     // line 79
  220.                     echo "                        document.head.appendChild(cookieConsentPlusE4Script);
  221.                     ";
  222.                 }
  223.                 // line 81
  224.                 echo "                    ";
  225.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc4", [], "any"falsefalsefalse81) != "")) {
  226.                     // line 82
  227.                     echo "                        var cookieConsentPlusE4Src = document.createElement(\"script\");
  228.                         cookieConsentPlusE4Src.src = \"";
  229.                     // line 83
  230.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc4", [], "any"falsefalsefalse83), "html"nulltrue);
  231.                     echo "\";
  232.                         document.head.appendChild(cookieConsentPlusE4Src);
  233.                     ";
  234.                 }
  235.                 // line 86
  236.                 echo "                }
  237.                 if (document.cookie.indexOf('cookie-consent-plus-e4') !== -1) {
  238.                     cookieConsentPlusE4();
  239.                 }
  240.                 var cookieConsentPlusE5 = function() {
  241.                     ";
  242.                 // line 92
  243.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript5", [], "any"falsefalsefalse92) != "")) {
  244.                     // line 93
  245.                     echo "                        var cookieConsentPlusE5Script = document.createElement(\"script\");
  246.                         ";
  247.                     // line 94
  248.                     if ((twig_in_filter("<script"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript5", [], "any"falsefalsefalse94)) || twig_in_filter("<link"sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript5", [], "any"falsefalsefalse94)))) {
  249.                         // line 95
  250.                         echo "                            cookieConsentPlusE5Script.innerHTML = `";
  251.                         echo twig_replace_filter(sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript5", [], "any"falsefalsefalse95), ["<script>" => """</script>" => ""]);
  252.                         echo "`;
  253.                         ";
  254.                     } else {
  255.                         // line 97
  256.                         echo "                            cookieConsentPlusE5Script.innerHTML = `";
  257.                         echo sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntryScript5", [], "any"falsefalsefalse97);
  258.                         echo "`;
  259.                         ";
  260.                     }
  261.                     // line 99
  262.                     echo "                        document.head.appendChild(cookieConsentPlusE5Script);
  263.                     ";
  264.                 }
  265.                 // line 101
  266.                 echo "                    ";
  267.                 if ((sw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc5", [], "any"falsefalsefalse101) != "")) {
  268.                     // line 102
  269.                     echo "                        var cookieConsentPlusE5Src = document.createElement(\"script\");
  270.                         cookieConsentPlusE5Src.src = \"";
  271.                     // line 103
  272.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["eightworksCookieConsentPlusConfig"] ?? null), "extraCookieEntrySrc5", [], "any"falsefalsefalse103), "html"nulltrue);
  273.                     echo "\";
  274.                         document.head.appendChild(cookieConsentPlusE5Src);
  275.                     ";
  276.                 }
  277.                 // line 106
  278.                 echo "                }
  279.                 if (document.cookie.indexOf('cookie-consent-plus-e5') !== -1) {
  280.                     cookieConsentPlusE5();
  281.                 }
  282.             </script>
  283.         ";
  284.             }
  285.             // line 112
  286.             echo "    ";
  287.         }
  288.         
  289.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  290.         
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  292.     }
  293.     public function getTemplateName()
  294.     {
  295.         return "@EightworksCookieConsentPlus6/storefront/layout/meta.html.twig";
  296.     }
  297.     public function isTraitable()
  298.     {
  299.         return false;
  300.     }
  301.     public function getDebugInfo()
  302.     {
  303.         return array (  302 => 112,  294 => 106,  288 => 103,  285 => 102,  282 => 101,  278 => 99,  272 => 97,  266 => 95,  264 => 94,  261 => 93,  259 => 92,  251 => 86,  245 => 83,  242 => 82,  239 => 81,  235 => 79,  229 => 77,  223 => 75,  221 => 74,  218 => 73,  216 => 72,  208 => 66,  202 => 63,  199 => 62,  196 => 61,  192 => 59,  186 => 57,  180 => 55,  178 => 54,  175 => 53,  173 => 52,  165 => 46,  159 => 43,  156 => 42,  153 => 41,  149 => 39,  143 => 37,  137 => 35,  135 => 34,  132 => 33,  130 => 32,  122 => 26,  116 => 23,  113 => 22,  110 => 21,  106 => 19,  100 => 17,  94 => 15,  92 => 14,  89 => 13,  87 => 12,  83 => 10,  80 => 9,  78 => 8,  75 => 7,  73 => 6,  68 => 5,  58 => 4,  35 => 2,);
  304.     }
  305.     public function getSourceContext()
  306.     {
  307.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  308. {% block layout_head_javascript_tracking %}
  309.     {{ parent() }}
  310.     {% set eightworksCookieConsentPlusConfig = config('EightworksCookieConsentPlus6.config') %}
  311.     {% if eightworksCookieConsentPlusConfig.active %}
  312.         {% if eightworksCookieConsentPlusConfig.extraCookieEntry %}
  313.             <script>
  314.                 var cookieConsentPlusE1 = function() {
  315.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntryScript1 != '' %}
  316.                         var cookieConsentPlusE1Script = document.createElement(\"script\");
  317.                         {% if (('<script' in eightworksCookieConsentPlusConfig.extraCookieEntryScript1|raw) or ('<link' in eightworksCookieConsentPlusConfig.extraCookieEntryScript1|raw)) %}
  318.                             cookieConsentPlusE1Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript1|raw|replace({\"<script>\":\"\",\"</script>\":\"\"})|raw }}`;
  319.                         {% else %}
  320.                             cookieConsentPlusE1Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript1|raw }}`;
  321.                         {% endif %}
  322.                         document.head.appendChild(cookieConsentPlusE1Script);
  323.                     {% endif %}
  324.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntrySrc1 != '' %}
  325.                         var cookieConsentPlusE1Src = document.createElement(\"script\");
  326.                         cookieConsentPlusE1Src.src = \"{{ eightworksCookieConsentPlusConfig.extraCookieEntrySrc1 }}\";
  327.                         document.head.appendChild(cookieConsentPlusE1Src);
  328.                     {% endif %}
  329.                 }
  330.                 if (document.cookie.indexOf('cookie-consent-plus-e1') !== -1) {
  331.                     cookieConsentPlusE1();
  332.                 }
  333.                 var cookieConsentPlusE2 = function() {
  334.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntryScript2 != '' %}
  335.                         var cookieConsentPlusE2Script = document.createElement(\"script\");
  336.                         {% if (('<script' in eightworksCookieConsentPlusConfig.extraCookieEntryScript2|raw) or ('<link' in eightworksCookieConsentPlusConfig.extraCookieEntryScript2|raw)) %}
  337.                             cookieConsentPlusE2Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript2|raw|replace({\"<script>\":\"\",\"</script>\":\"\"})|raw }}`;
  338.                         {% else %}
  339.                             cookieConsentPlusE2Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript2|raw }}`;
  340.                         {% endif %}
  341.                         document.head.appendChild(cookieConsentPlusE2Script);
  342.                     {% endif %}
  343.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntrySrc2 != '' %}
  344.                         var cookieConsentPlusE2Src = document.createElement(\"script\");
  345.                         cookieConsentPlusE2Src.src = \"{{ eightworksCookieConsentPlusConfig.extraCookieEntrySrc2 }}\";
  346.                         document.head.appendChild(cookieConsentPlusE2Src);
  347.                     {% endif %}
  348.                 }
  349.                 if (document.cookie.indexOf('cookie-consent-plus-e2') !== -1) {
  350.                     cookieConsentPlusE2();
  351.                 }
  352.                 var cookieConsentPlusE3 = function() {
  353.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntryScript3 != '' %}
  354.                         var cookieConsentPlusE3Script = document.createElement(\"script\");
  355.                         {% if (('<script' in eightworksCookieConsentPlusConfig.extraCookieEntryScript3|raw) or ('<link' in eightworksCookieConsentPlusConfig.extraCookieEntryScript3|raw)) %}
  356.                             cookieConsentPlusE3Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript3|raw|replace({\"<script>\":\"\",\"</script>\":\"\"})|raw }}`;
  357.                         {% else %}
  358.                             cookieConsentPlusE3Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript3|raw }}`;
  359.                         {% endif %}
  360.                         document.head.appendChild(cookieConsentPlusE3Script);
  361.                     {% endif %}
  362.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntrySrc3 != '' %}
  363.                         var cookieConsentPlusE3Src = document.createElement(\"script\");
  364.                         cookieConsentPlusE3Src.src = \"{{ eightworksCookieConsentPlusConfig.extraCookieEntrySrc3 }}\";
  365.                         document.head.appendChild(cookieConsentPlusE3Src);
  366.                     {% endif %}
  367.                 }
  368.                 if (document.cookie.indexOf('cookie-consent-plus-e3') !== -1) {
  369.                     cookieConsentPlusE3();
  370.                 }
  371.                 var cookieConsentPlusE4 = function() {
  372.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntryScript4 != '' %}
  373.                         var cookieConsentPlusE4Script = document.createElement(\"script\");
  374.                         {% if (('<script' in eightworksCookieConsentPlusConfig.extraCookieEntryScript4|raw) or ('<link' in eightworksCookieConsentPlusConfig.extraCookieEntryScript4|raw)) %}
  375.                             cookieConsentPlusE4Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript4|raw|replace({\"<script>\":\"\",\"</script>\":\"\"})|raw }}`;
  376.                         {% else %}
  377.                             cookieConsentPlusE4Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript4|raw }}`;
  378.                         {% endif %}
  379.                         document.head.appendChild(cookieConsentPlusE4Script);
  380.                     {% endif %}
  381.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntrySrc4 != '' %}
  382.                         var cookieConsentPlusE4Src = document.createElement(\"script\");
  383.                         cookieConsentPlusE4Src.src = \"{{ eightworksCookieConsentPlusConfig.extraCookieEntrySrc4 }}\";
  384.                         document.head.appendChild(cookieConsentPlusE4Src);
  385.                     {% endif %}
  386.                 }
  387.                 if (document.cookie.indexOf('cookie-consent-plus-e4') !== -1) {
  388.                     cookieConsentPlusE4();
  389.                 }
  390.                 var cookieConsentPlusE5 = function() {
  391.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntryScript5 != '' %}
  392.                         var cookieConsentPlusE5Script = document.createElement(\"script\");
  393.                         {% if (('<script' in eightworksCookieConsentPlusConfig.extraCookieEntryScript5|raw) or ('<link' in eightworksCookieConsentPlusConfig.extraCookieEntryScript5|raw)) %}
  394.                             cookieConsentPlusE5Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript5|raw|replace({\"<script>\":\"\",\"</script>\":\"\"})|raw }}`;
  395.                         {% else %}
  396.                             cookieConsentPlusE5Script.innerHTML = `{{ eightworksCookieConsentPlusConfig.extraCookieEntryScript5|raw }}`;
  397.                         {% endif %}
  398.                         document.head.appendChild(cookieConsentPlusE5Script);
  399.                     {% endif %}
  400.                     {% if eightworksCookieConsentPlusConfig.extraCookieEntrySrc5 != '' %}
  401.                         var cookieConsentPlusE5Src = document.createElement(\"script\");
  402.                         cookieConsentPlusE5Src.src = \"{{ eightworksCookieConsentPlusConfig.extraCookieEntrySrc5 }}\";
  403.                         document.head.appendChild(cookieConsentPlusE5Src);
  404.                     {% endif %}
  405.                 }
  406.                 if (document.cookie.indexOf('cookie-consent-plus-e5') !== -1) {
  407.                     cookieConsentPlusE5();
  408.                 }
  409.             </script>
  410.         {% endif %}
  411.     {% endif %}
  412. {% endblock %}
  413. ""@EightworksCookieConsentPlus6/storefront/layout/meta.html.twig""/var/www/staging1.grimm-gastrobedarf.de/custom/plugins/EightworksCookieConsentPlus6/src/Resources/views/storefront/layout/meta.html.twig");
  414.     }
  415. }