var/cache/dev_ha6cdf01c8a14124e315e8ec5e6f48dc2/twig/65/652059d9deecbc18945476d9cb3e923d5fc478b8dba62df30af8e944e49e02d9.php line 87

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. /* @DecomTheme/storefront/layout/breadcrumb.html.twig */
  16. class __TwigTemplate_2f76dc82c57a6b3445e1a4a5c3fa25232f6cd3d97886c7b55ddd8ffc653cd7ba 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_breadcrumb_inner' => [$this'block_layout_breadcrumb_inner'],
  26.             'layout_breadcrumb_list' => [$this'block_layout_breadcrumb_list'],
  27.             'layout_breadcrumb_list_item' => [$this'block_layout_breadcrumb_list_item'],
  28.             'layout_breadcrumb_placeholder' => [$this'block_layout_breadcrumb_placeholder'],
  29.             'layout_breadcrumb_list_blog' => [$this'block_layout_breadcrumb_list_blog'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 2
  35.         return "@Storefront/storefront/layout/breadcrumb.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DecomTheme/storefront/layout/breadcrumb.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DecomTheme/storefront/layout/breadcrumb.html.twig"));
  44.         $this->parent $this->loadTemplate("@Storefront/storefront/layout/breadcrumb.html.twig""@DecomTheme/storefront/layout/breadcrumb.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_layout_breadcrumb_inner($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_inner"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_inner"));
  59.         // line 4
  60.         echo "    ";
  61.         if (($context["category"] ?? null)) {
  62.             // line 5
  63.             echo "        ";
  64.             $context["breadcrumbCategories"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\BuildBreadcrumbExtension']->getFullBreadcrumb($context, ($context["category"] ?? null), sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse5));
  65.             // line 6
  66.             echo "        ";
  67.             $context["categoryId"] = sw_get_attribute($this->env$this->source, ($context["category"] ?? null), "id", [], "any"falsefalsefalse6);
  68.             // line 7
  69.             echo "
  70.         ";
  71.             // line 9
  72.             echo "        ";
  73.             $context["breadcrumb"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\BuildBreadcrumbExtension']->buildSeoBreadcrumb($context, ($context["category"] ?? null));
  74.             // line 10
  75.             echo "        ";
  76.             // line 11
  77.             echo "        ";
  78.             $context["breadcrumbKeys"] = twig_get_array_keys_filter(($context["breadcrumb"] ?? null));
  79.             // line 12
  80.             echo "        ";
  81.             // line 13
  82.             echo "        ";
  83.             $context["breadcrumbTypes"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\BuildBreadcrumbExtension']->buildCategoryTypes(($context["breadcrumbCategories"] ?? null));
  84.             // line 14
  85.             echo "
  86.         ";
  87.             // line 15
  88.             if ((=== twig_compare(twig_length_filter($this->env, ($context["breadcrumbCategories"] ?? null)), 0))) {
  89.                 echo "            
  90.             ";
  91.                 // line 16
  92.                 if ((=== twig_compare(($context["controllerName"] ?? null), "Product"))) {
  93.                     echo " <div class=\"container\"> ";
  94.                 }
  95.                 // line 17
  96.                 echo "                <nav aria-label=\"breadcrumb\">
  97.                     ";
  98.                 // line 18
  99.                 $this->displayBlock('layout_breadcrumb_list'$context$blocks);
  100.                 // line 77
  101.                 echo "                </nav>
  102.             ";
  103.                 // line 78
  104.                 if ((=== twig_compare(($context["controllerName"] ?? null), "Product"))) {
  105.                     echo " </div> ";
  106.                 }
  107.                 // line 79
  108.                 echo "        ";
  109.             }
  110.             // line 80
  111.             echo "    ";
  112.         }
  113.         // line 81
  114.         echo "
  115.     ";
  116.         // line 82
  117.         if ((=== twig_compare(($context["controllerName"] ?? null), "Blog"))) {
  118.             // line 83
  119.             echo "        <nav aria-label=\"breadcrumb\">
  120.             ";
  121.             // line 84
  122.             $this->displayBlock('layout_breadcrumb_list_blog'$context$blocks);
  123.             // line 130
  124.             echo "        </nav>
  125.     ";
  126.         }
  127.         
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.     }
  132.     // line 18
  133.     public function block_layout_breadcrumb_list($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_list"));
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_list"));
  140.         // line 19
  141.         echo "                        <ol class=\"breadcrumb\"
  142.                             itemscope
  143.                             itemtype=\"https://schema.org/BreadcrumbList\">
  144.                             <li class=\"breadcrumb-item first-item\">
  145.                                 <a href=\"";
  146.         // line 24
  147.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
  148.         echo "\" itemprop=\"item\" class=\"breadcrumb-link\">
  149.                                     <link itemprop=\"url\"
  150.                                         href=\"";
  151.         // line 26
  152.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
  153.         echo "\"/>
  154.                                     ";
  155.         // line 27
  156.         echo sw_escape_filter($this->envtwig_capitalize_string_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse27), "name", [], "any"falsefalsefalse27)), "html"nulltrue);
  157.         echo "
  158.                                 </a>
  159.                             </li>
  160.                             ";
  161.         // line 31
  162.         $context['_parent'] = $context;
  163.         $context['_seq'] = twig_ensure_traversable(($context["breadcrumbCategories"] ?? null));
  164.         $context['loop'] = [
  165.           'parent' => $context['_parent'],
  166.           'index0' => 0,
  167.           'index'  => 1,
  168.           'first'  => true,
  169.         ];
  170.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  171.             $length count($context['_seq']);
  172.             $context['loop']['revindex0'] = $length 1;
  173.             $context['loop']['revindex'] = $length;
  174.             $context['loop']['length'] = $length;
  175.             $context['loop']['last'] = === $length;
  176.         }
  177.         foreach ($context['_seq'] as $context["_key"] => $context["breadcrumbCategory"]) {
  178.             // line 32
  179.             echo "                                ";
  180.             $context["key"] = sw_get_attribute($this->env$this->source$context["breadcrumbCategory"], "id", [], "any"falsefalsefalse32);
  181.             // line 33
  182.             echo "                                ";
  183.             $context["name"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source$context["breadcrumbCategory"], "translated", [], "any"falsefalsefalse33), "name", [], "any"falsefalsefalse33);
  184.             // line 34
  185.             echo "
  186.                                 ";
  187.             // line 35
  188.             $this->displayBlock('layout_breadcrumb_list_item'$context$blocks);
  189.             // line 57
  190.             echo "
  191.                                 ";
  192.             // line 58
  193.             $this->displayBlock('layout_breadcrumb_placeholder'$context$blocks);
  194.             // line 65
  195.             echo "                            ";
  196.             ++$context['loop']['index0'];
  197.             ++$context['loop']['index'];
  198.             $context['loop']['first'] = false;
  199.             if (isset($context['loop']['length'])) {
  200.                 --$context['loop']['revindex0'];
  201.                 --$context['loop']['revindex'];
  202.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  203.             }
  204.         }
  205.         $_parent $context['_parent'];
  206.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumbCategory'], $context['_parent'], $context['loop']);
  207.         $context array_intersect_key($context$_parent) + $_parent;
  208.         // line 66
  209.         echo "
  210.                             ";
  211.         // line 67
  212.         if ((=== twig_compare(($context["controllerName"] ?? null), "Product"))) {
  213.             // line 68
  214.             echo "                                <li class=\"breadcrumb-item\"
  215.                                     itemprop=\"itemListElement\"
  216.                                     itemscope
  217.                                     itemtype=\"https://schema.org/ListItem\">
  218.                                     <span itemprop=\"name\">";
  219.             // line 72
  220.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["misc"] ?? null), "translated", [], "any"falsefalsefalse72), "name", [], "any"falsefalsefalse72), "html"nulltrue);
  221.             echo "</span>
  222.                                 </li>
  223.                             ";
  224.         }
  225.         // line 75
  226.         echo "                        </ol>
  227.                     ";
  228.         
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  230.         
  231.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  232.     }
  233.     // line 35
  234.     public function block_layout_breadcrumb_list_item($context, array $blocks = [])
  235.     {
  236.         $macros $this->macros;
  237.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  238.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_list_item"));
  239.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  240.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_list_item"));
  241.         // line 36
  242.         echo "                                    <li class=\"breadcrumb-item\"
  243.                                         ";
  244.         // line 37
  245.         if ((($context["key"] ?? null) === ($context["categoryId"] ?? null))) {
  246.             echo "aria-current=\"page\"";
  247.         }
  248.         // line 38
  249.         echo "                                        itemprop=\"itemListElement\"
  250.                                         itemscope
  251.                                         itemtype=\"https://schema.org/ListItem\">
  252.                                         ";
  253.         // line 41
  254.         if ((=== twig_compare(sw_get_attribute($this->env$this->source, ($context["breadcrumbCategory"] ?? null), "type", [], "any"falsefalsefalse41), "folder"))) {
  255.             // line 42
  256.             echo "                                            <div itemprop=\"name\" style=\"display: inline-block;\">";
  257.             echo sw_escape_filter($this->env, ($context["name"] ?? null), "html"nulltrue);
  258.             echo "</div>
  259.                                         ";
  260.         } else {
  261.             // line 44
  262.             echo "                                            <a href=\"";
  263.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\CategoryUrlExtension']->getCategoryUrl($context, ($context["breadcrumbCategory"] ?? null));
  264.             echo "\"
  265.                                             class=\"breadcrumb-link ";
  266.             // line 45
  267.             if ((($context["key"] ?? null) === ($context["categoryId"] ?? null))) {
  268.                 echo " is-active";
  269.             }
  270.             echo "\"
  271.                                             title=\"";
  272.             // line 46
  273.             echo sw_escape_filter($this->env, ($context["name"] ?? null), "html"nulltrue);
  274.             echo "\"
  275.                                             ";
  276.             // line 47
  277.             if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\CategoryUrlExtension']->isLinkNewTab(($context["breadcrumbCategory"] ?? null))) {
  278.                 echo "target=\"_blank\"";
  279.             }
  280.             // line 48
  281.             echo "                                            itemprop=\"item\">
  282.                                                 <link itemprop=\"url\"
  283.                                                     href=\"";
  284.             // line 50
  285.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\CategoryUrlExtension']->getCategoryUrl($context, ($context["breadcrumbCategory"] ?? null));
  286.             echo "\"/>
  287.                                                 <span class=\"breadcrumb-title\" itemprop=\"name\">";
  288.             // line 51
  289.             echo sw_escape_filter($this->env, ($context["name"] ?? null), "html"nulltrue);
  290.             echo "</span>
  291.                                             </a>
  292.                                         ";
  293.         }
  294.         // line 54
  295.         echo "                                        <meta itemprop=\"position\" content=\"";
  296.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["loop"] ?? null), "index", [], "any"falsefalsefalse54), "html"nulltrue);
  297.         echo "\"/>
  298.                                     </li>
  299.                                 ";
  300.         
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  302.         
  303.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  304.     }
  305.     // line 58
  306.     public function block_layout_breadcrumb_placeholder($context, array $blocks = [])
  307.     {
  308.         $macros $this->macros;
  309.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  310.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_placeholder"));
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  312.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_placeholder"));
  313.         // line 59
  314.         echo "                                    ";
  315.         if ((!== twig_compare(($context["key"] ?? null), twig_last($this->env, ($context["breadcrumbKeys"] ?? null))))) {
  316.             // line 60
  317.             echo "                                        <div class=\"breadcrumb-placeholder\">
  318.                                             &gt;
  319.                                         </div>
  320.                                     ";
  321.         }
  322.         // line 64
  323.         echo "                                ";
  324.         
  325.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  326.         
  327.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  328.     }
  329.     // line 84
  330.     public function block_layout_breadcrumb_list_blog($context, array $blocks = [])
  331.     {
  332.         $macros $this->macros;
  333.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_list_blog"));
  335.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  336.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_breadcrumb_list_blog"));
  337.         // line 85
  338.         echo "                <ol class=\"breadcrumb\"
  339.                     itemscope
  340.                     itemtype=\"https://schema.org/BreadcrumbList\">
  341.                     <li class=\"breadcrumb-item first-item\">
  342.                         <a href=\"";
  343.         // line 90
  344.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
  345.         echo "\" itemprop=\"item\" class=\"breadcrumb-link\">
  346.                             <link itemprop=\"url\"
  347.                                 href=\"";
  348.         // line 92
  349.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
  350.         echo "\"/>
  351.                             ";
  352.         // line 93
  353.         echo sw_escape_filter($this->envtwig_capitalize_string_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse93), "name", [], "any"falsefalsefalse93)), "html"nulltrue);
  354.         echo "
  355.                         </a>
  356.                     </li>
  357.                     <li class=\"breadcrumb-item\">
  358.                         <a href=\"/";
  359.         // line 98
  360.         echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html"nulltrue);
  361.         echo "/\" itemprop=\"item\" class=\"breadcrumb-link\">
  362.                             <link itemprop=\"url\"
  363.                                 href=\"/";
  364.         // line 100
  365.         echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html"nulltrue);
  366.         echo "/\"/>
  367.                             ";
  368.         // line 101
  369.         echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html"nulltrue);
  370.         echo "
  371.                         </a>
  372.                     </li>
  373.                     ";
  374.         // line 105
  375.         if (sw_get_attribute($this->env$this->source, ($context["misc"] ?? null), "blogCategories", [], "any"falsefalsefalse105)) {
  376.             // line 106
  377.             echo "                        ";
  378.             if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["misc"] ?? null), "blogCategories", [], "any"falsefalsefalse106), "elements", [], "any"falsefalsefalse106)) {
  379.                 echo "                            
  380.                             ";
  381.                 // line 107
  382.                 if (twig_first($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["misc"] ?? null), "blogCategories", [], "any"falsefalsefalse107), "elements", [], "any"falsefalsefalse107))) {
  383.                     // line 108
  384.                     echo "                                ";
  385.                     $context["categoryElement"] = twig_first($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["misc"] ?? null), "blogCategories", [], "any"falsefalsefalse108), "elements", [], "any"falsefalsefalse108));
  386.                     // line 109
  387.                     echo "                                <li class=\"breadcrumb-item\">
  388.                                     <a href=\"/";
  389.                     // line 110
  390.                     echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html"nulltrue);
  391.                     echo "/";
  392.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["categoryElement"] ?? null), "name", [], "any"falsefalsefalse110), "html"nulltrue);
  393.                     echo "/\" itemprop=\"item\" class=\"breadcrumb-link\">
  394.                                         <link itemprop=\"url\"
  395.                                             href=\"/";
  396.                     // line 112
  397.                     echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html"nulltrue);
  398.                     echo "/";
  399.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["categoryElement"] ?? null), "name", [], "any"falsefalsefalse112), "html"nulltrue);
  400.                     echo "/\"/>
  401.                                         ";
  402.                     // line 113
  403.                     echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["categoryElement"] ?? null), "name", [], "any"falsefalsefalse113), "html"nulltrue);
  404.                     echo "
  405.                                     </a>
  406.                                 </li>                                
  407.                             ";
  408.                 }
  409.                 // line 117
  410.                 echo "                        ";
  411.             }
  412.             // line 118
  413.             echo "                    ";
  414.         }
  415.         // line 119
  416.         echo "
  417.                     <li class=\"breadcrumb-item\">
  418.                         ";
  419.         // line 121
  420.         $context["currentPath"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse121), "attributes", [], "any"falsefalsefalse121), "get", [=> "sw-original-request-uri"], "method"falsefalsefalse121);
  421.         // line 122
  422.         echo "                        <a href=\"";
  423.         echo sw_escape_filter($this->env, ($context["currentPath"] ?? null), "html"nulltrue);
  424.         echo "\" itemprop=\"item\" class=\"breadcrumb-link\">
  425.                             <link itemprop=\"url\"
  426.                                 href=\"";
  427.         // line 124
  428.         echo sw_escape_filter($this->env, ($context["currentPath"] ?? null), "html"nulltrue);
  429.         echo "\"/>
  430.                             ";
  431.         // line 125
  432.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["misc"] ?? null), "title", [], "any"falsefalsefalse125), "html"nulltrue);
  433.         echo "
  434.                         </a>
  435.                     </li>
  436.                 </ol>
  437.             ";
  438.         
  439.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  440.         
  441.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  442.     }
  443.     public function getTemplateName()
  444.     {
  445.         return "@DecomTheme/storefront/layout/breadcrumb.html.twig";
  446.     }
  447.     public function isTraitable()
  448.     {
  449.         return false;
  450.     }
  451.     public function getDebugInfo()
  452.     {
  453.         return array (  469 => 125,  465 => 124,  459 => 122,  457 => 121,  453 => 119,  450 => 118,  447 => 117,  440 => 113,  434 => 112,  427 => 110,  424 => 109,  421 => 108,  419 => 107,  414 => 106,  412 => 105,  405 => 101,  401 => 100,  396 => 98,  388 => 93,  384 => 92,  379 => 90,  372 => 85,  362 => 84,  352 => 64,  346 => 60,  343 => 59,  333 => 58,  319 => 54,  313 => 51,  309 => 50,  305 => 48,  301 => 47,  297 => 46,  291 => 45,  286 => 44,  280 => 42,  278 => 41,  273 => 38,  269 => 37,  266 => 36,  256 => 35,  245 => 75,  239 => 72,  233 => 68,  231 => 67,  228 => 66,  214 => 65,  212 => 58,  209 => 57,  207 => 35,  204 => 34,  201 => 33,  198 => 32,  181 => 31,  174 => 27,  170 => 26,  165 => 24,  158 => 19,  148 => 18,  136 => 130,  134 => 84,  131 => 83,  129 => 82,  126 => 81,  123 => 80,  120 => 79,  116 => 78,  113 => 77,  111 => 18,  108 => 17,  104 => 16,  100 => 15,  97 => 14,  94 => 13,  92 => 12,  89 => 11,  87 => 10,  84 => 9,  81 => 7,  78 => 6,  75 => 5,  72 => 4,  62 => 3,  39 => 2,);
  454.     }
  455.     public function getSourceContext()
  456.     {
  457.         return new Source("{% sw_extends '@Storefront/storefront/layout/breadcrumb.html.twig' %}
  458. {% block layout_breadcrumb_inner %}
  459.     {% if category %}
  460.         {% set breadcrumbCategories = sw_breadcrumb_full(category, context.context) %}
  461.         {% set categoryId = category.id %}
  462.         {# @deprecated tag:v6.5.0 - Use \"sw_breadcrumb_full\" directly. #}
  463.         {% set breadcrumb = sw_breadcrumb(category) %}
  464.         {# @deprecated tag:v6.5.0 - Use \"sw_breadcrumb_full\" directly. #}
  465.         {% set breadcrumbKeys = breadcrumb|keys %}
  466.         {# @deprecated tag:v6.5.0 - Use \"sw_breadcrumb_full\" directly. #}
  467.         {% set breadcrumbTypes = sw_breadcrumb_build_types(breadcrumbCategories) %}
  468.         {% if breadcrumbCategories|length > 0 %}            
  469.             {% if controllerName == 'Product' %} <div class=\"container\"> {% endif %}
  470.                 <nav aria-label=\"breadcrumb\">
  471.                     {% block layout_breadcrumb_list %}
  472.                         <ol class=\"breadcrumb\"
  473.                             itemscope
  474.                             itemtype=\"https://schema.org/BreadcrumbList\">
  475.                             <li class=\"breadcrumb-item first-item\">
  476.                                 <a href=\"{{ path('frontend.home.page') }}\" itemprop=\"item\" class=\"breadcrumb-link\">
  477.                                     <link itemprop=\"url\"
  478.                                         href=\"{{ path('frontend.home.page') }}\"/>
  479.                                     {{ context.salesChannel.name|capitalize }}
  480.                                 </a>
  481.                             </li>
  482.                             {% for breadcrumbCategory in breadcrumbCategories %}
  483.                                 {% set key = breadcrumbCategory.id %}
  484.                                 {% set name = breadcrumbCategory.translated.name %}
  485.                                 {% block layout_breadcrumb_list_item %}
  486.                                     <li class=\"breadcrumb-item\"
  487.                                         {% if key is same as(categoryId) %}aria-current=\"page\"{% endif %}
  488.                                         itemprop=\"itemListElement\"
  489.                                         itemscope
  490.                                         itemtype=\"https://schema.org/ListItem\">
  491.                                         {% if breadcrumbCategory.type == 'folder' %}
  492.                                             <div itemprop=\"name\" style=\"display: inline-block;\">{{ name }}</div>
  493.                                         {% else %}
  494.                                             <a href=\"{{ category_url(breadcrumbCategory) }}\"
  495.                                             class=\"breadcrumb-link {% if key is same as(categoryId) %} is-active{% endif %}\"
  496.                                             title=\"{{ name }}\"
  497.                                             {% if category_linknewtab(breadcrumbCategory) %}target=\"_blank\"{% endif %}
  498.                                             itemprop=\"item\">
  499.                                                 <link itemprop=\"url\"
  500.                                                     href=\"{{ category_url(breadcrumbCategory) }}\"/>
  501.                                                 <span class=\"breadcrumb-title\" itemprop=\"name\">{{ name }}</span>
  502.                                             </a>
  503.                                         {% endif %}
  504.                                         <meta itemprop=\"position\" content=\"{{ loop.index }}\"/>
  505.                                     </li>
  506.                                 {% endblock %}
  507.                                 {% block layout_breadcrumb_placeholder %}
  508.                                     {% if key != breadcrumbKeys|last %}
  509.                                         <div class=\"breadcrumb-placeholder\">
  510.                                             &gt;
  511.                                         </div>
  512.                                     {% endif %}
  513.                                 {% endblock %}
  514.                             {% endfor %}
  515.                             {% if controllerName == 'Product' %}
  516.                                 <li class=\"breadcrumb-item\"
  517.                                     itemprop=\"itemListElement\"
  518.                                     itemscope
  519.                                     itemtype=\"https://schema.org/ListItem\">
  520.                                     <span itemprop=\"name\">{{ misc.translated.name }}</span>
  521.                                 </li>
  522.                             {% endif %}
  523.                         </ol>
  524.                     {% endblock %}
  525.                 </nav>
  526.             {% if controllerName == 'Product' %} </div> {% endif %}
  527.         {% endif %}
  528.     {% endif %}
  529.     {% if controllerName == 'Blog' %}
  530.         <nav aria-label=\"breadcrumb\">
  531.             {% block layout_breadcrumb_list_blog %}
  532.                 <ol class=\"breadcrumb\"
  533.                     itemscope
  534.                     itemtype=\"https://schema.org/BreadcrumbList\">
  535.                     <li class=\"breadcrumb-item first-item\">
  536.                         <a href=\"{{ path('frontend.home.page') }}\" itemprop=\"item\" class=\"breadcrumb-link\">
  537.                             <link itemprop=\"url\"
  538.                                 href=\"{{ path('frontend.home.page') }}\"/>
  539.                             {{ context.salesChannel.name|capitalize }}
  540.                         </a>
  541.                     </li>
  542.                     <li class=\"breadcrumb-item\">
  543.                         <a href=\"/{{ controllerName }}/\" itemprop=\"item\" class=\"breadcrumb-link\">
  544.                             <link itemprop=\"url\"
  545.                                 href=\"/{{ controllerName }}/\"/>
  546.                             {{ controllerName }}
  547.                         </a>
  548.                     </li>
  549.                     {% if misc.blogCategories %}
  550.                         {% if misc.blogCategories.elements %}                            
  551.                             {% if misc.blogCategories.elements|first %}
  552.                                 {% set categoryElement = misc.blogCategories.elements|first %}
  553.                                 <li class=\"breadcrumb-item\">
  554.                                     <a href=\"/{{ controllerName }}/{{ categoryElement.name }}/\" itemprop=\"item\" class=\"breadcrumb-link\">
  555.                                         <link itemprop=\"url\"
  556.                                             href=\"/{{ controllerName }}/{{ categoryElement.name }}/\"/>
  557.                                         {{ categoryElement.name }}
  558.                                     </a>
  559.                                 </li>                                
  560.                             {% endif %}
  561.                         {% endif %}
  562.                     {% endif %}
  563.                     <li class=\"breadcrumb-item\">
  564.                         {% set currentPath = app.request.attributes.get('sw-original-request-uri') %}
  565.                         <a href=\"{{ currentPath }}\" itemprop=\"item\" class=\"breadcrumb-link\">
  566.                             <link itemprop=\"url\"
  567.                                 href=\"{{ currentPath }}\"/>
  568.                             {{ misc.title }}
  569.                         </a>
  570.                     </li>
  571.                 </ol>
  572.             {% endblock %}
  573.         </nav>
  574.     {% endif %}
  575. {% endblock %}
  576. ""@DecomTheme/storefront/layout/breadcrumb.html.twig""/var/customers/webs/youksakka/htdocs/custom/plugins/DecomTheme/src/Resources/views/storefront/layout/breadcrumb.html.twig");
  577.     }
  578. }