var/cache/dev/twig/18/187574081a742a21f27fd08a1681ce703226891daba4ccff431aeaa0c055e88f.php line 80

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* areas/product-category-cards-brick/partials/category-card.html.twig */
  16. class __TwigTemplate_60ef8e8715afdde8fa7af3003aa9d1329966c2d9ea0a70aa40539ca4771b91f5 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.         ];
  30.         $this->sandbox $this->extensions[SandboxExtension::class];
  31.         $this->checkSecurity();
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = []): iterable
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-category-cards-brick/partials/category-card.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-category-cards-brick/partials/category-card.html.twig"));
  40.         // line 1
  41.         yield "<a
  42.     ";
  43.         // line 2
  44.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["productCategory"]) || array_key_exists("productCategory"$context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.'2$this->source); })()), "page", [], "method"falsefalsetrue2)) {
  45.             // line 3
  46.             yield "        href=\"";
  47.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\UrlExtension']->trimUrl($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["productCategory"]) || array_key_exists("productCategory"$context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.'3$this->source); })()), "page", [], "method"falsefalsetrue3), "url", [], "any"falsefalsetrue3), 3$this->source)), "html"nulltrue);
  48.             yield "\"
  49.     ";
  50.         }
  51.         // line 5
  52.         yield "    class=\"flex flex-col bg-white overflow-hidden rounded-md group
  53.                             \"
  54. >
  55.     ";
  56.         // line 8
  57.         if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'8$this->source); })()) &&  !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["productCategory"] ?? null), "page", [], "method"falsetruetrue8), "url", [], "any"truetruetrue8))) {
  58.             // line 9
  59.             yield "        ";
  60.             yield from $this->loadTemplate("areas/product-category-cards-brick/partials/category-card.html.twig""areas/product-category-cards-brick/partials/category-card.html.twig"9"188387334")->unwrap()->yield($context);
  61.             // line 12
  62.             yield "    ";
  63.         }
  64.         // line 13
  65.         yield "    <div class=\"relative text-center\">
  66.         ";
  67.         // line 14
  68.         if (CoreExtension::getAttribute($this->env$this->source, ($context["productCategory"] ?? null), "renderThumbnail", [], "any"truetruetrue14)) {
  69.             // line 15
  70.             yield "            ";
  71.             yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["productCategory"]) || array_key_exists("productCategory"$context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.'15$this->source); })()), "renderThumbnail", ["product-category-thumbnail", ["pictureAttributes" => ["class" => "block lg:w-full aspect-[16/9]"], "imgAttributes" => ["class" => "object-cov    er object-center w-full h-full"]]], "method"falsefalsetrue15), 15$this->source);
  72.             // line 23
  73.             yield "
  74.         ";
  75.         }
  76.         // line 25
  77.         yield "    </div>
  78.     <div class=\"flex flex-col h-full justify-between px-6 py-4 w-full\">
  79.         <h3 class=\"mb-0 text-lg font-bold group-hover:text-blue\">
  80.             ";
  81.         // line 28
  82.         yield ((CoreExtension::getAttribute($this->env$this->source, (isset($context["productCategory"]) || array_key_exists("productCategory"$context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.'28$this->source); })()), "name", [], "any"falsefalsetrue28)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["productCategory"]) || array_key_exists("productCategory"$context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.'28$this->source); })()), "name", [], "any"falsefalsetrue28), 28$this->source), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["productCategory"]) || array_key_exists("productCategory"$context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.'28$this->source); })()), "key", [], "any"falsefalsetrue28), 28$this->source), "html"nulltrue)));
  83.         yield "
  84.         </h3>
  85.         ";
  86.         // line 30
  87.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), ((CoreExtension::getAttribute($this->env$this->source, ($context["productCategory"] ?? null), "getUsps", [], "method"truetruetrue30)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["productCategory"] ?? null), "getUsps", [], "method"falsefalsetrue30), [])) : ([]))) > 0)) {
  88.             // line 31
  89.             yield "            <ul class=\"my-8 h-full\">
  90.                 ";
  91.             // line 32
  92.             $context['_parent'] = $context;
  93.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["productCategory"]) || array_key_exists("productCategory"$context) ? $context["productCategory"] : (function () { throw new RuntimeError('Variable "productCategory" does not exist.'32$this->source); })()), "getUsps", [], "method"falsefalsetrue32));
  94.             foreach ($context['_seq'] as $context["_key"] => $context["usp"]) {
  95.                 // line 33
  96.                 yield "                    <li class=\"mb-4 flex flex-row gap-2\">
  97.                         <svg class=\"mt-2 min-w-[16px]\" xmlns=\"http://www.w3.org/2000/svg\"
  98.                              xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16px\"
  99.                              height=\"11.4288571px\" viewBox=\"0 0 16 11.4288571\"
  100.                              version=\"1.1\">
  101.                             <g id=\"post-detail\" stroke=\"none\" stroke-width=\"1\"
  102.                                fill=\"none\" fill-rule=\"evenodd\">
  103.                                 <g id=\"coolworld-post-detail-vd-1504-v03\"
  104.                                    transform=\"translate(-339.999886, -3485.999977)\"
  105.                                    fill=\"#01B902\">
  106.                                     <g id=\"toegepaste-producten\"
  107.                                        transform=\"translate(0.000000, 3083.000000)\">
  108.                                         <g id=\"Group-6\"
  109.                                            transform=\"translate(316.000000, 60.000000)\">
  110.                                             <g id=\"Group-4\"
  111.                                                transform=\"translate(0.000000, 85.000000)\">
  112.                                                 <g id=\"icons/ui/check-circle\"
  113.                                                    transform=\"translate(23.999886, 257.999977)\">
  114.                                                     <path
  115.                                                         d=\"M14.384,0 L16,1.616 L11.6251429,5.99085714 L6.52228571,11.0937143 C6.07657143,11.5405714 5.35314286,11.5405714 4.90742857,11.0937143 L4.90628571,11.0937143 L0,6.18742857 L1.616,4.57142857 L5.71428571,8.66971429 L14.384,0 Z\"
  116.                                                         id=\"Fill-1\"/>
  117.                                                 </g>
  118.                                             </g>
  119.                                         </g>
  120.                                     </g>
  121.                                 </g>
  122.                             </g>
  123.                         </svg>
  124.                         ";
  125.                 // line 61
  126.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["usp"], "usp_title", [], "any"falsefalsetrue61), "getData", [], "method"falsefalsetrue61), 61$this->source), "html"nulltrue);
  127.                 yield "
  128.                     </li>
  129.                 ";
  130.             }
  131.             $_parent $context['_parent'];
  132.             unset($context['_seq'], $context['_key'], $context['usp'], $context['_parent']);
  133.             $context array_intersect_key($context$_parent) + $_parent;
  134.             // line 64
  135.             yield "            </ul>
  136.         ";
  137.         }
  138.         // line 66
  139.         yield "        <button class=\"button button__primary button--block button--no-padding\">
  140.             ";
  141.         // line 67
  142.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("view.product"), "html"nulltrue);
  143.         yield "
  144.         </button>
  145.     </div>
  146. </a>";
  147.         
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  149.         
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  151.         yield from [];
  152.     }
  153.     /**
  154.      * @codeCoverageIgnore
  155.      */
  156.     public function getTemplateName(): string
  157.     {
  158.         return "areas/product-category-cards-brick/partials/category-card.html.twig";
  159.     }
  160.     /**
  161.      * @codeCoverageIgnore
  162.      */
  163.     public function isTraitable(): bool
  164.     {
  165.         return false;
  166.     }
  167.     /**
  168.      * @codeCoverageIgnore
  169.      */
  170.     public function getDebugInfo(): array
  171.     {
  172.         return array (  151 => 67,  148 => 66,  144 => 64,  135 => 61,  105 => 33,  101 => 32,  98 => 31,  96 => 30,  91 => 28,  86 => 25,  82 => 23,  79 => 15,  77 => 14,  74 => 13,  71 => 12,  68 => 9,  66 => 8,  61 => 5,  55 => 3,  53 => 2,  50 => 1,);
  173.     }
  174.     public function getSourceContext(): Source
  175.     {
  176.         return new Source("<a
  177.     {% if productCategory.page() %}
  178.         href=\"{{ productCategory.page().url | trimUrl }}\"
  179.     {% endif %}
  180.     class=\"flex flex-col bg-white overflow-hidden rounded-md group
  181.                             \"
  182. >
  183.     {% if editmode and productCategory.page().url is not defined %}
  184.         {% embed 'app/editmodenotice.html.twig' %}
  185.             {% block title %} Er is nog geen pagina ingesteld voor dit product. {% endblock %}
  186.         {% endembed %}
  187.     {% endif %}
  188.     <div class=\"relative text-center\">
  189.         {% if productCategory.renderThumbnail is defined %}
  190.             {{ productCategory.renderThumbnail('product-category-thumbnail', {
  191.                 'pictureAttributes': {
  192.                     'class': 'block lg:w-full aspect-[16/9]'
  193.                 },
  194.                 'imgAttributes': {
  195.                     'class': 'object-cov    er object-center w-full h-full',
  196.                 },
  197.             })|raw }}
  198.         {% endif %}
  199.     </div>
  200.     <div class=\"flex flex-col h-full justify-between px-6 py-4 w-full\">
  201.         <h3 class=\"mb-0 text-lg font-bold group-hover:text-blue\">
  202.             {{ productCategory.name ?: productCategory.key }}
  203.         </h3>
  204.         {% if productCategory.getUsps() | default([]) | length > 0 %}
  205.             <ul class=\"my-8 h-full\">
  206.                 {% for usp in productCategory.getUsps() %}
  207.                     <li class=\"mb-4 flex flex-row gap-2\">
  208.                         <svg class=\"mt-2 min-w-[16px]\" xmlns=\"http://www.w3.org/2000/svg\"
  209.                              xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16px\"
  210.                              height=\"11.4288571px\" viewBox=\"0 0 16 11.4288571\"
  211.                              version=\"1.1\">
  212.                             <g id=\"post-detail\" stroke=\"none\" stroke-width=\"1\"
  213.                                fill=\"none\" fill-rule=\"evenodd\">
  214.                                 <g id=\"coolworld-post-detail-vd-1504-v03\"
  215.                                    transform=\"translate(-339.999886, -3485.999977)\"
  216.                                    fill=\"#01B902\">
  217.                                     <g id=\"toegepaste-producten\"
  218.                                        transform=\"translate(0.000000, 3083.000000)\">
  219.                                         <g id=\"Group-6\"
  220.                                            transform=\"translate(316.000000, 60.000000)\">
  221.                                             <g id=\"Group-4\"
  222.                                                transform=\"translate(0.000000, 85.000000)\">
  223.                                                 <g id=\"icons/ui/check-circle\"
  224.                                                    transform=\"translate(23.999886, 257.999977)\">
  225.                                                     <path
  226.                                                         d=\"M14.384,0 L16,1.616 L11.6251429,5.99085714 L6.52228571,11.0937143 C6.07657143,11.5405714 5.35314286,11.5405714 4.90742857,11.0937143 L4.90628571,11.0937143 L0,6.18742857 L1.616,4.57142857 L5.71428571,8.66971429 L14.384,0 Z\"
  227.                                                         id=\"Fill-1\"/>
  228.                                                 </g>
  229.                                             </g>
  230.                                         </g>
  231.                                     </g>
  232.                                 </g>
  233.                             </g>
  234.                         </svg>
  235.                         {{ usp.usp_title.getData() }}
  236.                     </li>
  237.                 {% endfor %}
  238.             </ul>
  239.         {% endif %}
  240.         <button class=\"button button__primary button--block button--no-padding\">
  241.             {{ 'view.product' | trans }}
  242.         </button>
  243.     </div>
  244. </a>""areas/product-category-cards-brick/partials/category-card.html.twig""/home/forge/testing.coolworld.ptchr.dev/templates/areas/product-category-cards-brick/partials/category-card.html.twig");
  245.     }
  246.     
  247.     public function checkSecurity()
  248.     {
  249.         static $tags = ["if" => 2"embed" => 9"for" => 32];
  250.         static $filters = ["escape" => 3"trimUrl" => 3"raw" => 23"length" => 30"default" => 30"trans" => 67];
  251.         static $functions = [];
  252.         try {
  253.             $this->sandbox->checkSecurity(
  254.                 ['if''embed''for'],
  255.                 ['escape''trimUrl''raw''length''default''trans'],
  256.                 [],
  257.                 $this->source
  258.             );
  259.         } catch (SecurityError $e) {
  260.             $e->setSourceContext($this->source);
  261.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  262.                 $e->setTemplateLine($tags[$e->getTagName()]);
  263.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  264.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  265.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  266.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  267.             }
  268.             throw $e;
  269.         }
  270.     }
  271. }
  272. /* areas/product-category-cards-brick/partials/category-card.html.twig */
  273. class __TwigTemplate_60ef8e8715afdde8fa7af3003aa9d1329966c2d9ea0a70aa40539ca4771b91f5___188387334 extends Template
  274. {
  275.     private Source $source;
  276.     /**
  277.      * @var array<string, Template>
  278.      */
  279.     private array $macros = [];
  280.     public function __construct(Environment $env)
  281.     {
  282.         parent::__construct($env);
  283.         $this->source $this->getSourceContext();
  284.         $this->blocks = [
  285.             'title' => [$this'block_title'],
  286.         ];
  287.         $this->sandbox $this->extensions[SandboxExtension::class];
  288.         $this->checkSecurity();
  289.     }
  290.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  291.     {
  292.         // line 9
  293.         return "app/editmodenotice.html.twig";
  294.     }
  295.     protected function doDisplay(array $context, array $blocks = []): iterable
  296.     {
  297.         $macros $this->macros;
  298.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  299.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-category-cards-brick/partials/category-card.html.twig"));
  300.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-category-cards-brick/partials/category-card.html.twig"));
  302.         $this->parent $this->loadTemplate("app/editmodenotice.html.twig""areas/product-category-cards-brick/partials/category-card.html.twig"9);
  303.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  304.         
  305.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  306.         
  307.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  308.     }
  309.     // line 10
  310.     /**
  311.      * @return iterable<null|scalar|\Stringable>
  312.      */
  313.     public function block_title(array $context, array $blocks = []): iterable
  314.     {
  315.         $macros $this->macros;
  316.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  317.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  318.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  319.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  320.         yield " Er is nog geen pagina ingesteld voor dit product. ";
  321.         
  322.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  323.         
  324.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  325.         yield from [];
  326.     }
  327.     /**
  328.      * @codeCoverageIgnore
  329.      */
  330.     public function getTemplateName(): string
  331.     {
  332.         return "areas/product-category-cards-brick/partials/category-card.html.twig";
  333.     }
  334.     /**
  335.      * @codeCoverageIgnore
  336.      */
  337.     public function isTraitable(): bool
  338.     {
  339.         return false;
  340.     }
  341.     /**
  342.      * @codeCoverageIgnore
  343.      */
  344.     public function getDebugInfo(): array
  345.     {
  346.         return array (  342 => 10,  319 => 9,  151 => 67,  148 => 66,  144 => 64,  135 => 61,  105 => 33,  101 => 32,  98 => 31,  96 => 30,  91 => 28,  86 => 25,  82 => 23,  79 => 15,  77 => 14,  74 => 13,  71 => 12,  68 => 9,  66 => 8,  61 => 5,  55 => 3,  53 => 2,  50 => 1,);
  347.     }
  348.     public function getSourceContext(): Source
  349.     {
  350.         return new Source("<a
  351.     {% if productCategory.page() %}
  352.         href=\"{{ productCategory.page().url | trimUrl }}\"
  353.     {% endif %}
  354.     class=\"flex flex-col bg-white overflow-hidden rounded-md group
  355.                             \"
  356. >
  357.     {% if editmode and productCategory.page().url is not defined %}
  358.         {% embed 'app/editmodenotice.html.twig' %}
  359.             {% block title %} Er is nog geen pagina ingesteld voor dit product. {% endblock %}
  360.         {% endembed %}
  361.     {% endif %}
  362.     <div class=\"relative text-center\">
  363.         {% if productCategory.renderThumbnail is defined %}
  364.             {{ productCategory.renderThumbnail('product-category-thumbnail', {
  365.                 'pictureAttributes': {
  366.                     'class': 'block lg:w-full aspect-[16/9]'
  367.                 },
  368.                 'imgAttributes': {
  369.                     'class': 'object-cov    er object-center w-full h-full',
  370.                 },
  371.             })|raw }}
  372.         {% endif %}
  373.     </div>
  374.     <div class=\"flex flex-col h-full justify-between px-6 py-4 w-full\">
  375.         <h3 class=\"mb-0 text-lg font-bold group-hover:text-blue\">
  376.             {{ productCategory.name ?: productCategory.key }}
  377.         </h3>
  378.         {% if productCategory.getUsps() | default([]) | length > 0 %}
  379.             <ul class=\"my-8 h-full\">
  380.                 {% for usp in productCategory.getUsps() %}
  381.                     <li class=\"mb-4 flex flex-row gap-2\">
  382.                         <svg class=\"mt-2 min-w-[16px]\" xmlns=\"http://www.w3.org/2000/svg\"
  383.                              xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16px\"
  384.                              height=\"11.4288571px\" viewBox=\"0 0 16 11.4288571\"
  385.                              version=\"1.1\">
  386.                             <g id=\"post-detail\" stroke=\"none\" stroke-width=\"1\"
  387.                                fill=\"none\" fill-rule=\"evenodd\">
  388.                                 <g id=\"coolworld-post-detail-vd-1504-v03\"
  389.                                    transform=\"translate(-339.999886, -3485.999977)\"
  390.                                    fill=\"#01B902\">
  391.                                     <g id=\"toegepaste-producten\"
  392.                                        transform=\"translate(0.000000, 3083.000000)\">
  393.                                         <g id=\"Group-6\"
  394.                                            transform=\"translate(316.000000, 60.000000)\">
  395.                                             <g id=\"Group-4\"
  396.                                                transform=\"translate(0.000000, 85.000000)\">
  397.                                                 <g id=\"icons/ui/check-circle\"
  398.                                                    transform=\"translate(23.999886, 257.999977)\">
  399.                                                     <path
  400.                                                         d=\"M14.384,0 L16,1.616 L11.6251429,5.99085714 L6.52228571,11.0937143 C6.07657143,11.5405714 5.35314286,11.5405714 4.90742857,11.0937143 L4.90628571,11.0937143 L0,6.18742857 L1.616,4.57142857 L5.71428571,8.66971429 L14.384,0 Z\"
  401.                                                         id=\"Fill-1\"/>
  402.                                                 </g>
  403.                                             </g>
  404.                                         </g>
  405.                                     </g>
  406.                                 </g>
  407.                             </g>
  408.                         </svg>
  409.                         {{ usp.usp_title.getData() }}
  410.                     </li>
  411.                 {% endfor %}
  412.             </ul>
  413.         {% endif %}
  414.         <button class=\"button button__primary button--block button--no-padding\">
  415.             {{ 'view.product' | trans }}
  416.         </button>
  417.     </div>
  418. </a>""areas/product-category-cards-brick/partials/category-card.html.twig""/home/forge/testing.coolworld.ptchr.dev/templates/areas/product-category-cards-brick/partials/category-card.html.twig");
  419.     }
  420.     
  421.     public function checkSecurity()
  422.     {
  423.         static $tags = ["extends" => 9];
  424.         static $filters = [];
  425.         static $functions = [];
  426.         try {
  427.             $this->sandbox->checkSecurity(
  428.                 ['extends'],
  429.                 [],
  430.                 [],
  431.                 $this->source
  432.             );
  433.         } catch (SecurityError $e) {
  434.             $e->setSourceContext($this->source);
  435.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  436.                 $e->setTemplateLine($tags[$e->getTagName()]);
  437.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  438.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  439.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  440.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  441.             }
  442.             throw $e;
  443.         }
  444.     }
  445. }