var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/a4/a4d9ce632b18bb09b7b44711f493e7e5b2964442141eea02d0d043b48e3c1cd8.php line 53

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. /* @econdWebAnalytics/storefront/base.html.twig */
  16. class __TwigTemplate_2b2c107cae33563840cbfe8e220fcc17 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.             'base_header' => [$this'block_base_header'],
  26.             'econda_header' => [$this'block_econda_header'],
  27.             'econda_header_emospro' => [$this'block_econda_header_emospro'],
  28.             'econda_header_content' => [$this'block_econda_header_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@Storefront/storefront/base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@econdWebAnalytics/storefront/base.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@econdWebAnalytics/storefront/base.html.twig"));
  43.         $this->parent $this->loadTemplate("@Storefront/storefront/base.html.twig""@econdWebAnalytics/storefront/base.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     public function block_base_header($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  58.         // line 4
  59.         echo "
  60.     ";
  61.         // line 5
  62.         $this->displayParentBlock("base_header"$context$blocks);
  63.         echo "
  64.     ";
  65.         // line 6
  66.         $this->displayBlock('econda_header'$context$blocks);
  67.         // line 41
  68.         echo "
  69. ";
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 6
  76.     public function block_econda_header($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""econda_header"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""econda_header"));
  83.         // line 7
  84.         echo "        <script type=\"text/javascript\">
  85.             window.emos3 = {
  86.                 defaults : {
  87.                     siteid : \"";
  88.         // line 10
  89.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse10), "server", [], "any"falsefalsefalse10), "get", [=> "SERVER_NAME"], "method"falsefalsefalse10), "html"nulltrue);
  90.         echo "/\",
  91.                     countryid: \"DE\",
  92.                     langid: \"DE\"
  93.                 },
  94.                 stored : [],
  95.                 send : function(p){this.stored.push(p);}
  96.             };
  97.         </script>
  98.         ";
  99.         // line 20
  100.         $this->displayBlock('econda_header_emospro'$context$blocks);
  101.         // line 39
  102.         echo "
  103.     ";
  104.         
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106.         
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  108.     }
  109.     // line 20
  110.     public function block_econda_header_emospro($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""econda_header_emospro"));
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""econda_header_emospro"));
  117.         // line 21
  118.         echo "            <script type=\"text/javascript\">
  119.                 var emospro = {};
  120.                 if(\"";
  121.         // line 25
  122.         echo sw_escape_filter($this->env, (($__internal_compile_0 = ($context["ANA"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["content"] ?? null) : null), "html"nulltrue);
  123.         echo "\" === \"";
  124.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse25), "server", [], "any"falsefalsefalse25), "get", [=> "SERVER_NAME"], "method"falsefalsefalse25), "html"nulltrue);
  125.         echo "/\") {
  126.                     emospro.content = \"Startseite\";
  127.                 }else{
  128.                     emospro.content = \"";
  129.         // line 28
  130.         echo sw_escape_filter($this->env, (($__internal_compile_1 = ($context["ANA"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["content"] ?? null) : null), "html"nulltrue);
  131.         echo "\";
  132.                 }
  133.                 emospro.pageId = \"";
  134.         // line 31
  135.         echo sw_escape_filter($this->env, (($__internal_compile_2 = ($context["ANA"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["pageId"] ?? null) : null), "html"nulltrue);
  136.         echo "\";
  137.                 ";
  138.         // line 33
  139.         $this->displayBlock('econda_header_content'$context$blocks);
  140.         // line 34
  141.         echo "
  142.                 window.emos3.send(emospro);
  143.                 console.log(window)
  144.             </script>
  145.         ";
  146.         
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  148.         
  149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  150.     }
  151.     // line 33
  152.     public function block_econda_header_content($context, array $blocks = [])
  153.     {
  154.         $macros $this->macros;
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""econda_header_content"));
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""econda_header_content"));
  159.         
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  161.         
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  163.     }
  164.     public function getTemplateName()
  165.     {
  166.         return "@econdWebAnalytics/storefront/base.html.twig";
  167.     }
  168.     public function isTraitable()
  169.     {
  170.         return false;
  171.     }
  172.     public function getDebugInfo()
  173.     {
  174.         return array (  183 => 33,  169 => 34,  167 => 33,  162 => 31,  156 => 28,  148 => 25,  142 => 21,  132 => 20,  121 => 39,  119 => 20,  106 => 10,  101 => 7,  91 => 6,  80 => 41,  78 => 6,  74 => 5,  71 => 4,  61 => 3,  38 => 2,);
  175.     }
  176.     public function getSourceContext()
  177.     {
  178.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  179. {% block base_header %}
  180.     {{ parent() }}
  181.     {% block econda_header %}
  182.         <script type=\"text/javascript\">
  183.             window.emos3 = {
  184.                 defaults : {
  185.                     siteid : \"{{ app.request.server.get('SERVER_NAME') }}/\",
  186.                     countryid: \"DE\",
  187.                     langid: \"DE\"
  188.                 },
  189.                 stored : [],
  190.                 send : function(p){this.stored.push(p);}
  191.             };
  192.         </script>
  193.         {% block econda_header_emospro %}
  194.             <script type=\"text/javascript\">
  195.                 var emospro = {};
  196.                 if(\"{{ ANA['content'] }}\" === \"{{ app.request.server.get('SERVER_NAME') }}/\") {
  197.                     emospro.content = \"Startseite\";
  198.                 }else{
  199.                     emospro.content = \"{{ ANA['content'] }}\";
  200.                 }
  201.                 emospro.pageId = \"{{ ANA['pageId'] }}\";
  202.                 {% block econda_header_content %}{% endblock %}
  203.                 window.emos3.send(emospro);
  204.                 console.log(window)
  205.             </script>
  206.         {% endblock %}
  207.     {% endblock %}
  208. {% endblock %}""@econdWebAnalytics/storefront/base.html.twig""/var/www/shopware6/custom/plugins/econdWebAnalytics/src/Resources/views/storefront/base.html.twig");
  209.     }
  210. }