var/cache/dev/twig/88/88495f1389cceff5c796a0d05faf7fda9e041b39eb6b8f50c971bfa5f9fb6e74.php line 353

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/view.html.twig */
  16. class __TwigTemplate_171fb87bc3b2c19478f77234b50feb8fd4b37c92d8045549a77a801f58bd7063 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/view.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/view.html.twig"));
  40.         // line 1
  41.         $context["contactEmpty"] = CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""contacts"), "isEmpty", [], "method"falsefalsetrue1);
  42.         // line 2
  43.         yield "
  44. ";
  45.         // line 3
  46.         if ((array_key_exists("sliderClass"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["sliderClass"]) || array_key_exists("sliderClass"$context) ? $context["sliderClass"] : (function () { throw new RuntimeError('Variable "sliderClass" does not exist.'3$this->source); })())))) {
  47.             // line 4
  48.             yield "    ";
  49.             $context["sliderClassName"] = (isset($context["sliderClass"]) || array_key_exists("sliderClass"$context) ? $context["sliderClass"] : (function () { throw new RuntimeError('Variable "sliderClass" does not exist.'4$this->source); })());
  50.         } else {
  51.             // line 6
  52.             yield "    ";
  53.             $context["sliderClassName"] = "related-products-swiper";
  54.         }
  55.         // line 8
  56.         yield "
  57. ";
  58.         // line 9
  59.         yield from $this->loadTemplate("areas/product-category-cards-brick/view.html.twig""areas/product-category-cards-brick/view.html.twig"9"964642200")->unwrap()->yield($context);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         yield from [];
  65.     }
  66.     /**
  67.      * @codeCoverageIgnore
  68.      */
  69.     public function getTemplateName(): string
  70.     {
  71.         return "areas/product-category-cards-brick/view.html.twig";
  72.     }
  73.     /**
  74.      * @codeCoverageIgnore
  75.      */
  76.     public function isTraitable(): bool
  77.     {
  78.         return false;
  79.     }
  80.     /**
  81.      * @codeCoverageIgnore
  82.      */
  83.     public function getDebugInfo(): array
  84.     {
  85.         return array (  68 => 9,  65 => 8,  61 => 6,  57 => 4,  55 => 3,  52 => 2,  50 => 1,);
  86.     }
  87.     public function getSourceContext(): Source
  88.     {
  89.         return new Source("{% set contactEmpty = pimcore_block('contacts').isEmpty() %}
  90. {% if sliderClass is defined and sliderClass is not empty() %}
  91.     {% set sliderClassName = sliderClass %}
  92. {% else %}
  93.     {% set sliderClassName = 'related-products-swiper' %}
  94. {% endif %}
  95. {% embed 'app/area-brick-layout.html.twig' %}
  96.     {% block content %}
  97.         {% set productCategories = productCategories ?? pimcore_relations('productCategories').getElements() %}
  98.         <section class=\"{{ sectionClasses ?? '' }}\">
  99.             <div class=\"{{ containerClasses ?? 'container py-10 md:py-20' }} overflow-hidden\">
  100.                 {% if editmode and productCategories is empty %}
  101.                     {{ info(\"Nog geen product categorieen geselecteerd.\")|raw }}
  102.                 {% endif %}
  103.                 {% if showTitle ?? true %}
  104.                     {% include 'includes/partials/text/_inline-icon-and-title.html.twig' with {
  105.                         'defaultTitle': defaultTitle ?? \"\"
  106.                     } %}
  107.                 {% endif %}
  108.                 <div class=\"{% if not contactEmpty %} flex {% endif %}\">
  109.                     <div class=\"swiper {{ sliderClassName }} swiper-enable {% if not contactEmpty %} w-1/2 {% endif %}\">
  110.                         <div class=\"swiper-wrapper pb-10\">
  111.                             {% for productCategory in productCategories %}
  112.                                 <div class=\"swiper-slide\">
  113.                                     {% include 'areas/product-category-cards-brick/partials/category-card.html.twig' %}
  114.                                 </div>
  115.                             {% endfor %}
  116.                         </div>
  117.                         <div class=\"w-full md:w-auto absolute bottom-0 right-0 z-10\">
  118.                             <div class=\"grid justify-between md:justify-end grid-cols-2 items-center\">
  119.                                 <div class=\"!w-auto related-product-swiper-pagination\"></div>
  120.                                 <div class=\"flex justify-end\">
  121.                                     <div class=\"gap-4 grid grid-cols-2\">
  122.                                         <div
  123.                                                 class=\"related-product-swiper-button-prev\">
  124.                                             <svg class=\"rotate-180\" xmlns=\"http://www.w3.org/2000/svg\"
  125.                                                  xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
  126.                                                  height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
  127.                                                  version=\"1.1\">
  128.                                                 <g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
  129.                                                    fill-rule=\"evenodd\">
  130.                                                     <g id=\"coolworld-project-case-study-vd-1504-v02\"
  131.                                                        transform=\"translate(-1580.000000, -1967.550069)\"
  132.                                                        fill=\"#0072BB\">
  133.                                                         <g id=\"media\"
  134.                                                            transform=\"translate(0.000000, 1270.000000)\">
  135.                                                             <g id=\"Group-2\"
  136.                                                                transform=\"translate(426.000000, 449.000000)\">
  137.                                                                 <g id=\"components/navigation/mobile/carousel\"
  138.                                                                    transform=\"translate(1014.000000, 245.000000)\">
  139.                                                                     <g id=\"icons/ui/arrow-line-right\"
  140.                                                                        transform=\"translate(140.000000, 3.000000)\">
  141.                                                                         <path
  142.                                                                                 d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
  143.                                                                                 id=\"arrow-line-right\"
  144.                                                                                 transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
  145.                                                                     </g>
  146.                                                                 </g>
  147.                                                             </g>
  148.                                                         </g>
  149.                                                     </g>
  150.                                                 </g>
  151.                                             </svg>
  152.                                         </div>
  153.                                         <div class=\"related-product-swiper-button-next\">
  154.                                             <svg xmlns=\"http://www.w3.org/2000/svg\"
  155.                                                  xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
  156.                                                  height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
  157.                                                  version=\"1.1\">
  158.                                                 <g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
  159.                                                    fill-rule=\"evenodd\">
  160.                                                     <g id=\"coolworld-project-case-study-vd-1504-v02\"
  161.                                                        transform=\"translate(-1580.000000, -1967.550069)\"
  162.                                                        fill=\"#0072BB\">
  163.                                                         <g id=\"media\"
  164.                                                            transform=\"translate(0.000000, 1270.000000)\">
  165.                                                             <g id=\"Group-2\"
  166.                                                                transform=\"translate(426.000000, 449.000000)\">
  167.                                                                 <g id=\"components/navigation/mobile/carousel\"
  168.                                                                    transform=\"translate(1014.000000, 245.000000)\">
  169.                                                                     <g id=\"icons/ui/arrow-line-right\"
  170.                                                                        transform=\"translate(140.000000, 3.000000)\">
  171.                                                                         <path
  172.                                                                                 d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
  173.                                                                                 id=\"arrow-line-right\"
  174.                                                                                 transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
  175.                                                                     </g>
  176.                                                                 </g>
  177.                                                             </g>
  178.                                                         </g>
  179.                                                     </g>
  180.                                                 </g>
  181.                                             </svg>
  182.                                         </div>
  183.                                     </div>
  184.                                 </div>
  185.                             </div>
  186.                         </div>
  187.                     </div>
  188.                     {% if editmode or not contactEmpty %}
  189.                         {# contact #}
  190.                         <div class=\"md:ml-20 bg-blue-300 rounded text-white p-8 h-max w-1/2\">
  191.                             <b class=\"text-[24px] mb-4\">{{ pimcore_input('contact-title') }}</b>
  192.                             <div class=\"flex flex-col gap-6 mt-4\">
  193.                                 {% for i in pimcore_block('contacts').iterator %}
  194.                                     {% if editmode %}
  195.                                         {{ pimcore_image('contact-image') }}
  196.                                         {{ pimcore_input('contact-name') }}
  197.                                         {{ pimcore_input('contact-function') }}
  198.                                         {{ pimcore_link('contact-number') }}
  199.                                         {{ pimcore_link('contact-mail') }}
  200.                                     {% else %}
  201.                                         <div
  202.                                                 class=\"flex flex-col gap-4 md:gap-0 md:flex-row md:items-center justify-between\">
  203.                                             <div class=\"flex flex-row gap-4 items-center\">
  204.                                                 {% if not pimcore_image('contact-image').isEmpty() %}
  205.                                                     {{ pimcore_image('contact-image').thumbnail('contact-icon').html({
  206.                                                         imgAttributes: {width: '52', height: '52', class: 'w-full h-full'},
  207.                                                         pictureAttributes: {class: 'rounded-full overflow-hidden w-[52px] h-[52px]'}
  208.                                                     }) | raw }}
  209.                                                 {% endif %}
  210.                                                 <div class=\"flex flex-col\">
  211.                                                     <b class=\"text-[20px]\">{{ pimcore_input('contact-name').getData() | default('') }}</b>
  212.                                                     {{ pimcore_input('contact-function').getData() | default('') }}
  213.                                                 </div>
  214.                                             </div>
  215.                                             <div class=\"flex flex-row gap-4\">
  216.                                                 {% if pimcore_link('contact-mail').getHref() | default() %}
  217.                                                     <a href=\"{{ pimcore_link('contact-mail').getHref() }}\"
  218.                                                        target=\"_blank\"
  219.                                                        class=\"flex font-bold text-blue hover:underline\">
  220.                                                 <span
  221.                                                         class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
  222.                                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"12\"><path
  223.                                                                 fill=\"currentColor\" fill-rule=\"evenodd\"
  224.                                                                 d=\"M1.4 9.8V3.877l5.316 2.362a.7.7 0 0 0 .568 0L12.6 3.877V9.8H1.4Zm11.2-8.4v.945L7 4.834 1.4 2.345V1.4h11.2ZM14 2.786V.7a.7.7 0 0 0-.7-.7H.7a.7.7 0 0 0-.7.7v9.8a.7.7 0 0 0 .7.7h12.6a.7.7 0 0 0 .7-.7V2.786Z\"></path></svg>
  225.                                                 </span>
  226.                                                     </a>
  227.                                                 {% endif %}
  228.                                                 {% if pimcore_link('contact-number').getHref() | default() %}
  229.                                                     <a href=\"{{ pimcore_link('contact-number').getHref() }}\"
  230.                                                        class=\"flex font-bold text-blue hover:underline\">
  231.                                                 <span
  232.                                                         class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
  233.                                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\"><path
  234.                                                                 fill=\"currentColor\" fill-rule=\"evenodd\"
  235.                                                                 d=\"m13.47 9.12-2.8-.7a.703.703 0 0 0-.752.292L8.126 11.4A11.959 11.959 0 0 1 2.6 5.874l2.688-1.792a.7.7 0 0 0 .291-.752l-.7-2.8A.7.7 0 0 0 4.2 0H.7a.7.7 0 0 0-.7.7C.01 8.042 5.958 13.99 13.3 14a.7.7 0 0 0 .7-.7V9.8a.7.7 0 0 0-.53-.68Z\"></path></svg>
  236.                                                 </span>
  237.                                                     </a>
  238.                                                 {% endif %}
  239.                                             </div>
  240.                                         </div>
  241.                                     {% endif %}
  242.                                     {% if loop.index == pimcore_block('contacts').getCount() - 1 %}
  243.                                         <hr class=\"bg-blue-200 opacity-50\">
  244.                                     {% endif %}
  245.                                 {% endfor %}
  246.                             </div>
  247.                         </div>
  248.                     {% endif %}
  249.                 </div>
  250.             </div>
  251.         </section>
  252.     {% endblock %}
  253. {% endembed %}
  254. ""areas/product-category-cards-brick/view.html.twig""/home/forge/testing.coolworld.ptchr.dev/templates/areas/product-category-cards-brick/view.html.twig");
  255.     }
  256.     
  257.     public function checkSecurity()
  258.     {
  259.         static $tags = ["set" => 1"if" => 3"embed" => 9];
  260.         static $filters = [];
  261.         static $functions = ["pimcore_block" => 1];
  262.         try {
  263.             $this->sandbox->checkSecurity(
  264.                 ['set''if''embed'],
  265.                 [],
  266.                 ['pimcore_block'],
  267.                 $this->source
  268.             );
  269.         } catch (SecurityError $e) {
  270.             $e->setSourceContext($this->source);
  271.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  272.                 $e->setTemplateLine($tags[$e->getTagName()]);
  273.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  274.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  275.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  276.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  277.             }
  278.             throw $e;
  279.         }
  280.     }
  281. }
  282. /* areas/product-category-cards-brick/view.html.twig */
  283. class __TwigTemplate_171fb87bc3b2c19478f77234b50feb8fd4b37c92d8045549a77a801f58bd7063___964642200 extends Template
  284. {
  285.     private Source $source;
  286.     /**
  287.      * @var array<string, Template>
  288.      */
  289.     private array $macros = [];
  290.     public function __construct(Environment $env)
  291.     {
  292.         parent::__construct($env);
  293.         $this->source $this->getSourceContext();
  294.         $this->blocks = [
  295.             'content' => [$this'block_content'],
  296.         ];
  297.         $this->sandbox $this->extensions[SandboxExtension::class];
  298.         $this->checkSecurity();
  299.     }
  300.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  301.     {
  302.         return "app/area-brick-layout.html.twig";
  303.     }
  304.     protected function doDisplay(array $context, array $blocks = []): iterable
  305.     {
  306.         $macros $this->macros;
  307.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  308.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-category-cards-brick/view.html.twig"));
  309.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  310.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/product-category-cards-brick/view.html.twig"));
  311.         $this->parent $this->loadTemplate("app/area-brick-layout.html.twig""areas/product-category-cards-brick/view.html.twig"9);
  312.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  313.         
  314.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  315.         
  316.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  317.     }
  318.     // line 10
  319.     /**
  320.      * @return iterable<null|scalar|\Stringable>
  321.      */
  322.     public function block_content(array $context, array $blocks = []): iterable
  323.     {
  324.         $macros $this->macros;
  325.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  326.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  327.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  328.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  329.         // line 11
  330.         yield "        ";
  331.         $context["productCategories"] = ($context["productCategories"] ?? CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relations""productCategories"), "getElements", [], "method"falsefalsetrue11));
  332.         // line 12
  333.         yield "
  334.         <section class=\"";
  335.         // line 13
  336.         yield ($context["sectionClasses"] ?? "");
  337.         yield "\">
  338.             <div class=\"";
  339.         // line 14
  340.         yield ($context["containerClasses"] ?? "container py-10 md:py-20");
  341.         yield " overflow-hidden\">
  342.                 ";
  343.         // line 16
  344.         if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'16$this->source); })()) && Twig\Extension\CoreExtension::testEmpty((isset($context["productCategories"]) || array_key_exists("productCategories"$context) ? $context["productCategories"] : (function () { throw new RuntimeError('Variable "productCategories" does not exist.'16$this->source); })())))) {
  345.             // line 17
  346.             yield "                    ";
  347.             yield $this->extensions['App\Twig\AlertExtension']->info("Nog geen product categorieen geselecteerd.");
  348.             yield "
  349.                 ";
  350.         }
  351.         // line 19
  352.         yield "
  353.                 ";
  354.         // line 20
  355.         if (($context["showTitle"] ?? true)) {
  356.             // line 21
  357.             yield "                    ";
  358.             yield from $this->loadTemplate("includes/partials/text/_inline-icon-and-title.html.twig""areas/product-category-cards-brick/view.html.twig"21)->unwrap()->yield(CoreExtension::merge($context, ["defaultTitle" => (            // line 22
  359. $context["defaultTitle"] ?? "")]));
  360.             // line 24
  361.             yield "                ";
  362.         }
  363.         // line 25
  364.         yield "
  365.                 <div class=\"";
  366.         // line 26
  367.         if ( !(isset($context["contactEmpty"]) || array_key_exists("contactEmpty"$context) ? $context["contactEmpty"] : (function () { throw new RuntimeError('Variable "contactEmpty" does not exist.'26$this->source); })())) {
  368.             yield " flex ";
  369.         }
  370.         yield "\">
  371.                     <div class=\"swiper ";
  372.         // line 27
  373.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["sliderClassName"]) || array_key_exists("sliderClassName"$context) ? $context["sliderClassName"] : (function () { throw new RuntimeError('Variable "sliderClassName" does not exist.'27$this->source); })()), 27$this->source), "html"nulltrue);
  374.         yield " swiper-enable ";
  375.         if ( !(isset($context["contactEmpty"]) || array_key_exists("contactEmpty"$context) ? $context["contactEmpty"] : (function () { throw new RuntimeError('Variable "contactEmpty" does not exist.'27$this->source); })())) {
  376.             yield " w-1/2 ";
  377.         }
  378.         yield "\">
  379.                         <div class=\"swiper-wrapper pb-10\">
  380.                             ";
  381.         // line 29
  382.         $context['_parent'] = $context;
  383.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productCategories"]) || array_key_exists("productCategories"$context) ? $context["productCategories"] : (function () { throw new RuntimeError('Variable "productCategories" does not exist.'29$this->source); })()));
  384.         $context['loop'] = [
  385.           'parent' => $context['_parent'],
  386.           'index0' => 0,
  387.           'index'  => 1,
  388.           'first'  => true,
  389.         ];
  390.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  391.             $length count($context['_seq']);
  392.             $context['loop']['revindex0'] = $length 1;
  393.             $context['loop']['revindex'] = $length;
  394.             $context['loop']['length'] = $length;
  395.             $context['loop']['last'] = === $length;
  396.         }
  397.         foreach ($context['_seq'] as $context["_key"] => $context["productCategory"]) {
  398.             // line 30
  399.             yield "                                <div class=\"swiper-slide\">
  400.                                     ";
  401.             // line 31
  402.             yield from $this->loadTemplate("areas/product-category-cards-brick/partials/category-card.html.twig""areas/product-category-cards-brick/view.html.twig"31)->unwrap()->yield($context);
  403.             // line 32
  404.             yield "                                </div>
  405.                             ";
  406.             ++$context['loop']['index0'];
  407.             ++$context['loop']['index'];
  408.             $context['loop']['first'] = false;
  409.             if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  410.                 --$context['loop']['revindex0'];
  411.                 --$context['loop']['revindex'];
  412.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  413.             }
  414.         }
  415.         $_parent $context['_parent'];
  416.         unset($context['_seq'], $context['_key'], $context['productCategory'], $context['_parent'], $context['loop']);
  417.         $context array_intersect_key($context$_parent) + $_parent;
  418.         // line 34
  419.         yield "                        </div>
  420.                         <div class=\"w-full md:w-auto absolute bottom-0 right-0 z-10\">
  421.                             <div class=\"grid justify-between md:justify-end grid-cols-2 items-center\">
  422.                                 <div class=\"!w-auto related-product-swiper-pagination\"></div>
  423.                                 <div class=\"flex justify-end\">
  424.                                     <div class=\"gap-4 grid grid-cols-2\">
  425.                                         <div
  426.                                                 class=\"related-product-swiper-button-prev\">
  427.                                             <svg class=\"rotate-180\" xmlns=\"http://www.w3.org/2000/svg\"
  428.                                                  xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
  429.                                                  height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
  430.                                                  version=\"1.1\">
  431.                                                 <g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
  432.                                                    fill-rule=\"evenodd\">
  433.                                                     <g id=\"coolworld-project-case-study-vd-1504-v02\"
  434.                                                        transform=\"translate(-1580.000000, -1967.550069)\"
  435.                                                        fill=\"#0072BB\">
  436.                                                         <g id=\"media\"
  437.                                                            transform=\"translate(0.000000, 1270.000000)\">
  438.                                                             <g id=\"Group-2\"
  439.                                                                transform=\"translate(426.000000, 449.000000)\">
  440.                                                                 <g id=\"components/navigation/mobile/carousel\"
  441.                                                                    transform=\"translate(1014.000000, 245.000000)\">
  442.                                                                     <g id=\"icons/ui/arrow-line-right\"
  443.                                                                        transform=\"translate(140.000000, 3.000000)\">
  444.                                                                         <path
  445.                                                                                 d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
  446.                                                                                 id=\"arrow-line-right\"
  447.                                                                                 transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
  448.                                                                     </g>
  449.                                                                 </g>
  450.                                                             </g>
  451.                                                         </g>
  452.                                                     </g>
  453.                                                 </g>
  454.                                             </svg>
  455.                                         </div>
  456.                                         <div class=\"related-product-swiper-button-next\">
  457.                                             <svg xmlns=\"http://www.w3.org/2000/svg\"
  458.                                                  xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
  459.                                                  height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
  460.                                                  version=\"1.1\">
  461.                                                 <g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
  462.                                                    fill-rule=\"evenodd\">
  463.                                                     <g id=\"coolworld-project-case-study-vd-1504-v02\"
  464.                                                        transform=\"translate(-1580.000000, -1967.550069)\"
  465.                                                        fill=\"#0072BB\">
  466.                                                         <g id=\"media\"
  467.                                                            transform=\"translate(0.000000, 1270.000000)\">
  468.                                                             <g id=\"Group-2\"
  469.                                                                transform=\"translate(426.000000, 449.000000)\">
  470.                                                                 <g id=\"components/navigation/mobile/carousel\"
  471.                                                                    transform=\"translate(1014.000000, 245.000000)\">
  472.                                                                     <g id=\"icons/ui/arrow-line-right\"
  473.                                                                        transform=\"translate(140.000000, 3.000000)\">
  474.                                                                         <path
  475.                                                                                 d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
  476.                                                                                 id=\"arrow-line-right\"
  477.                                                                                 transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
  478.                                                                     </g>
  479.                                                                 </g>
  480.                                                             </g>
  481.                                                         </g>
  482.                                                     </g>
  483.                                                 </g>
  484.                                             </svg>
  485.                                         </div>
  486.                                     </div>
  487.                                 </div>
  488.                             </div>
  489.                         </div>
  490.                     </div>
  491.                     ";
  492.         // line 107
  493.         if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'107$this->source); })()) ||  !(isset($context["contactEmpty"]) || array_key_exists("contactEmpty"$context) ? $context["contactEmpty"] : (function () { throw new RuntimeError('Variable "contactEmpty" does not exist.'107$this->source); })()))) {
  494.             // line 108
  495.             yield "                        ";
  496.             // line 109
  497.             yield "                        <div class=\"md:ml-20 bg-blue-300 rounded text-white p-8 h-max w-1/2\">
  498.                             <b class=\"text-[24px] mb-4\">";
  499.             // line 110
  500.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""contact-title");
  501.             yield "</b>
  502.                             <div class=\"flex flex-col gap-6 mt-4\">
  503.                                 ";
  504.             // line 113
  505.             $context['_parent'] = $context;
  506.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""contacts"), "iterator", [], "any"falsefalsetrue113));
  507.             $context['loop'] = [
  508.               'parent' => $context['_parent'],
  509.               'index0' => 0,
  510.               'index'  => 1,
  511.               'first'  => true,
  512.             ];
  513.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  514.                 $length count($context['_seq']);
  515.                 $context['loop']['revindex0'] = $length 1;
  516.                 $context['loop']['revindex'] = $length;
  517.                 $context['loop']['length'] = $length;
  518.                 $context['loop']['last'] = === $length;
  519.             }
  520.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  521.                 // line 114
  522.                 yield "                                    ";
  523.                 if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'114$this->source); })())) {
  524.                     // line 115
  525.                     yield "                                        ";
  526.                     yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""contact-image");
  527.                     yield "
  528.                                         ";
  529.                     // line 116
  530.                     yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""contact-name");
  531.                     yield "
  532.                                         ";
  533.                     // line 117
  534.                     yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""contact-function");
  535.                     yield "
  536.                                         ";
  537.                     // line 119
  538.                     yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-number");
  539.                     yield "
  540.                                         ";
  541.                     // line 120
  542.                     yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-mail");
  543.                     yield "
  544.                                     ";
  545.                 } else {
  546.                     // line 122
  547.                     yield "                                        <div
  548.                                                 class=\"flex flex-col gap-4 md:gap-0 md:flex-row md:items-center justify-between\">
  549.                                             <div class=\"flex flex-row gap-4 items-center\">
  550.                                                 ";
  551.                     // line 125
  552.                     if ( !CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""contact-image"), "isEmpty", [], "method"falsefalsetrue125)) {
  553.                         // line 126
  554.                         yield "                                                    ";
  555.                         yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""contact-image"), "thumbnail", ["contact-icon"], "method"falsefalsetrue126), "html", [["imgAttributes" => ["width" => "52""height" => "52""class" => "w-full h-full"], "pictureAttributes" => ["class" => "rounded-full overflow-hidden w-[52px] h-[52px]"]]], "method"falsefalsetrue126), 126$this->source);
  556.                         // line 129
  557.                         yield "
  558.                                                 ";
  559.                     }
  560.                     // line 131
  561.                     yield "                                                <div class=\"flex flex-col\">
  562.                                                     <b class=\"text-[20px]\">";
  563.                     // line 132
  564.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""contact-name"), "getData", [], "method"truetruetrue132)) ? (Twig\Extension\CoreExtension::default($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""contact-name"), "getData", [], "method"falsefalsetrue132), 132$this->source), "")) : ("")), "html"nulltrue);
  565.                     yield "</b>
  566.                                                     ";
  567.                     // line 134
  568.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""contact-function"), "getData", [], "method"truetruetrue134)) ? (Twig\Extension\CoreExtension::default($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""contact-function"), "getData", [], "method"falsefalsetrue134), 134$this->source), "")) : ("")), "html"nulltrue);
  569.                     yield "
  570.                                                 </div>
  571.                                             </div>
  572.                                             <div class=\"flex flex-row gap-4\">
  573.                                                 ";
  574.                     // line 139
  575.                     if (((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-mail"), "getHref", [], "method"truetruetrue139)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-mail"), "getHref", [], "method"falsefalsetrue139))) : (""))) {
  576.                         // line 140
  577.                         yield "                                                    <a href=\"";
  578.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-mail"), "getHref", [], "method"falsefalsetrue140), 140$this->source), "html"nulltrue);
  579.                         yield "\"
  580.                                                        target=\"_blank\"
  581.                                                        class=\"flex font-bold text-blue hover:underline\">
  582.                                                 <span
  583.                                                         class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
  584.                                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"12\"><path
  585.                                                                 fill=\"currentColor\" fill-rule=\"evenodd\"
  586.                                                                 d=\"M1.4 9.8V3.877l5.316 2.362a.7.7 0 0 0 .568 0L12.6 3.877V9.8H1.4Zm11.2-8.4v.945L7 4.834 1.4 2.345V1.4h11.2ZM14 2.786V.7a.7.7 0 0 0-.7-.7H.7a.7.7 0 0 0-.7.7v9.8a.7.7 0 0 0 .7.7h12.6a.7.7 0 0 0 .7-.7V2.786Z\"></path></svg>
  587.                                                 </span>
  588.                                                     </a>
  589.                                                 ";
  590.                     }
  591.                     // line 151
  592.                     yield "
  593.                                                 ";
  594.                     // line 152
  595.                     if (((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-number"), "getHref", [], "method"truetruetrue152)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-number"), "getHref", [], "method"falsefalsetrue152))) : (""))) {
  596.                         // line 153
  597.                         yield "                                                    <a href=\"";
  598.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-number"), "getHref", [], "method"falsefalsetrue153), 153$this->source), "html"nulltrue);
  599.                         yield "\"
  600.                                                        class=\"flex font-bold text-blue hover:underline\">
  601.                                                 <span
  602.                                                         class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
  603.                                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\"><path
  604.                                                                 fill=\"currentColor\" fill-rule=\"evenodd\"
  605.                                                                 d=\"m13.47 9.12-2.8-.7a.703.703 0 0 0-.752.292L8.126 11.4A11.959 11.959 0 0 1 2.6 5.874l2.688-1.792a.7.7 0 0 0 .291-.752l-.7-2.8A.7.7 0 0 0 4.2 0H.7a.7.7 0 0 0-.7.7C.01 8.042 5.958 13.99 13.3 14a.7.7 0 0 0 .7-.7V9.8a.7.7 0 0 0-.53-.68Z\"></path></svg>
  606.                                                 </span>
  607.                                                     </a>
  608.                                                 ";
  609.                     }
  610.                     // line 163
  611.                     yield "                                            </div>
  612.                                         </div>
  613.                                     ";
  614.                 }
  615.                 // line 166
  616.                 yield "
  617.                                     ";
  618.                 // line 167
  619.                 if ((CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue167) == (CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""contacts"), "getCount", [], "method"falsefalsetrue167) - 1))) {
  620.                     // line 168
  621.                     yield "                                        <hr class=\"bg-blue-200 opacity-50\">
  622.                                     ";
  623.                 }
  624.                 // line 170
  625.                 yield "                                ";
  626.                 ++$context['loop']['index0'];
  627.                 ++$context['loop']['index'];
  628.                 $context['loop']['first'] = false;
  629.                 if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  630.                     --$context['loop']['revindex0'];
  631.                     --$context['loop']['revindex'];
  632.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  633.                 }
  634.             }
  635.             $_parent $context['_parent'];
  636.             unset($context['_seq'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  637.             $context array_intersect_key($context$_parent) + $_parent;
  638.             // line 171
  639.             yield "                            </div>
  640.                         </div>
  641.                     ";
  642.         }
  643.         // line 174
  644.         yield "                </div>
  645.             </div>
  646.         </section>
  647.     ";
  648.         
  649.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  650.         
  651.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  652.         yield from [];
  653.     }
  654.     /**
  655.      * @codeCoverageIgnore
  656.      */
  657.     public function getTemplateName(): string
  658.     {
  659.         return "areas/product-category-cards-brick/view.html.twig";
  660.     }
  661.     /**
  662.      * @codeCoverageIgnore
  663.      */
  664.     public function isTraitable(): bool
  665.     {
  666.         return false;
  667.     }
  668.     /**
  669.      * @codeCoverageIgnore
  670.      */
  671.     public function getDebugInfo(): array
  672.     {
  673.         return array (  696 => 174,  691 => 171,  677 => 170,  673 => 168,  671 => 167,  668 => 166,  663 => 163,  649 => 153,  647 => 152,  644 => 151,  629 => 140,  627 => 139,  619 => 134,  614 => 132,  611 => 131,  607 => 129,  604 => 126,  602 => 125,  597 => 122,  592 => 120,  588 => 119,  583 => 117,  579 => 116,  574 => 115,  571 => 114,  554 => 113,  548 => 110,  545 => 109,  543 => 108,  541 => 107,  466 => 34,  451 => 32,  449 => 31,  446 => 30,  429 => 29,  420 => 27,  414 => 26,  411 => 25,  408 => 24,  406 => 22,  404 => 21,  402 => 20,  399 => 19,  393 => 17,  391 => 16,  386 => 14,  382 => 13,  379 => 12,  376 => 11,  363 => 10,  68 => 9,  65 => 8,  61 => 6,  57 => 4,  55 => 3,  52 => 2,  50 => 1,);
  674.     }
  675.     public function getSourceContext(): Source
  676.     {
  677.         return new Source("{% set contactEmpty = pimcore_block('contacts').isEmpty() %}
  678. {% if sliderClass is defined and sliderClass is not empty() %}
  679.     {% set sliderClassName = sliderClass %}
  680. {% else %}
  681.     {% set sliderClassName = 'related-products-swiper' %}
  682. {% endif %}
  683. {% embed 'app/area-brick-layout.html.twig' %}
  684.     {% block content %}
  685.         {% set productCategories = productCategories ?? pimcore_relations('productCategories').getElements() %}
  686.         <section class=\"{{ sectionClasses ?? '' }}\">
  687.             <div class=\"{{ containerClasses ?? 'container py-10 md:py-20' }} overflow-hidden\">
  688.                 {% if editmode and productCategories is empty %}
  689.                     {{ info(\"Nog geen product categorieen geselecteerd.\")|raw }}
  690.                 {% endif %}
  691.                 {% if showTitle ?? true %}
  692.                     {% include 'includes/partials/text/_inline-icon-and-title.html.twig' with {
  693.                         'defaultTitle': defaultTitle ?? \"\"
  694.                     } %}
  695.                 {% endif %}
  696.                 <div class=\"{% if not contactEmpty %} flex {% endif %}\">
  697.                     <div class=\"swiper {{ sliderClassName }} swiper-enable {% if not contactEmpty %} w-1/2 {% endif %}\">
  698.                         <div class=\"swiper-wrapper pb-10\">
  699.                             {% for productCategory in productCategories %}
  700.                                 <div class=\"swiper-slide\">
  701.                                     {% include 'areas/product-category-cards-brick/partials/category-card.html.twig' %}
  702.                                 </div>
  703.                             {% endfor %}
  704.                         </div>
  705.                         <div class=\"w-full md:w-auto absolute bottom-0 right-0 z-10\">
  706.                             <div class=\"grid justify-between md:justify-end grid-cols-2 items-center\">
  707.                                 <div class=\"!w-auto related-product-swiper-pagination\"></div>
  708.                                 <div class=\"flex justify-end\">
  709.                                     <div class=\"gap-4 grid grid-cols-2\">
  710.                                         <div
  711.                                                 class=\"related-product-swiper-button-prev\">
  712.                                             <svg class=\"rotate-180\" xmlns=\"http://www.w3.org/2000/svg\"
  713.                                                  xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
  714.                                                  height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
  715.                                                  version=\"1.1\">
  716.                                                 <g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
  717.                                                    fill-rule=\"evenodd\">
  718.                                                     <g id=\"coolworld-project-case-study-vd-1504-v02\"
  719.                                                        transform=\"translate(-1580.000000, -1967.550069)\"
  720.                                                        fill=\"#0072BB\">
  721.                                                         <g id=\"media\"
  722.                                                            transform=\"translate(0.000000, 1270.000000)\">
  723.                                                             <g id=\"Group-2\"
  724.                                                                transform=\"translate(426.000000, 449.000000)\">
  725.                                                                 <g id=\"components/navigation/mobile/carousel\"
  726.                                                                    transform=\"translate(1014.000000, 245.000000)\">
  727.                                                                     <g id=\"icons/ui/arrow-line-right\"
  728.                                                                        transform=\"translate(140.000000, 3.000000)\">
  729.                                                                         <path
  730.                                                                                 d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
  731.                                                                                 id=\"arrow-line-right\"
  732.                                                                                 transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
  733.                                                                     </g>
  734.                                                                 </g>
  735.                                                             </g>
  736.                                                         </g>
  737.                                                     </g>
  738.                                                 </g>
  739.                                             </svg>
  740.                                         </div>
  741.                                         <div class=\"related-product-swiper-button-next\">
  742.                                             <svg xmlns=\"http://www.w3.org/2000/svg\"
  743.                                                  xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
  744.                                                  height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
  745.                                                  version=\"1.1\">
  746.                                                 <g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
  747.                                                    fill-rule=\"evenodd\">
  748.                                                     <g id=\"coolworld-project-case-study-vd-1504-v02\"
  749.                                                        transform=\"translate(-1580.000000, -1967.550069)\"
  750.                                                        fill=\"#0072BB\">
  751.                                                         <g id=\"media\"
  752.                                                            transform=\"translate(0.000000, 1270.000000)\">
  753.                                                             <g id=\"Group-2\"
  754.                                                                transform=\"translate(426.000000, 449.000000)\">
  755.                                                                 <g id=\"components/navigation/mobile/carousel\"
  756.                                                                    transform=\"translate(1014.000000, 245.000000)\">
  757.                                                                     <g id=\"icons/ui/arrow-line-right\"
  758.                                                                        transform=\"translate(140.000000, 3.000000)\">
  759.                                                                         <path
  760.                                                                                 d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
  761.                                                                                 id=\"arrow-line-right\"
  762.                                                                                 transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
  763.                                                                     </g>
  764.                                                                 </g>
  765.                                                             </g>
  766.                                                         </g>
  767.                                                     </g>
  768.                                                 </g>
  769.                                             </svg>
  770.                                         </div>
  771.                                     </div>
  772.                                 </div>
  773.                             </div>
  774.                         </div>
  775.                     </div>
  776.                     {% if editmode or not contactEmpty %}
  777.                         {# contact #}
  778.                         <div class=\"md:ml-20 bg-blue-300 rounded text-white p-8 h-max w-1/2\">
  779.                             <b class=\"text-[24px] mb-4\">{{ pimcore_input('contact-title') }}</b>
  780.                             <div class=\"flex flex-col gap-6 mt-4\">
  781.                                 {% for i in pimcore_block('contacts').iterator %}
  782.                                     {% if editmode %}
  783.                                         {{ pimcore_image('contact-image') }}
  784.                                         {{ pimcore_input('contact-name') }}
  785.                                         {{ pimcore_input('contact-function') }}
  786.                                         {{ pimcore_link('contact-number') }}
  787.                                         {{ pimcore_link('contact-mail') }}
  788.                                     {% else %}
  789.                                         <div
  790.                                                 class=\"flex flex-col gap-4 md:gap-0 md:flex-row md:items-center justify-between\">
  791.                                             <div class=\"flex flex-row gap-4 items-center\">
  792.                                                 {% if not pimcore_image('contact-image').isEmpty() %}
  793.                                                     {{ pimcore_image('contact-image').thumbnail('contact-icon').html({
  794.                                                         imgAttributes: {width: '52', height: '52', class: 'w-full h-full'},
  795.                                                         pictureAttributes: {class: 'rounded-full overflow-hidden w-[52px] h-[52px]'}
  796.                                                     }) | raw }}
  797.                                                 {% endif %}
  798.                                                 <div class=\"flex flex-col\">
  799.                                                     <b class=\"text-[20px]\">{{ pimcore_input('contact-name').getData() | default('') }}</b>
  800.                                                     {{ pimcore_input('contact-function').getData() | default('') }}
  801.                                                 </div>
  802.                                             </div>
  803.                                             <div class=\"flex flex-row gap-4\">
  804.                                                 {% if pimcore_link('contact-mail').getHref() | default() %}
  805.                                                     <a href=\"{{ pimcore_link('contact-mail').getHref() }}\"
  806.                                                        target=\"_blank\"
  807.                                                        class=\"flex font-bold text-blue hover:underline\">
  808.                                                 <span
  809.                                                         class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
  810.                                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"12\"><path
  811.                                                                 fill=\"currentColor\" fill-rule=\"evenodd\"
  812.                                                                 d=\"M1.4 9.8V3.877l5.316 2.362a.7.7 0 0 0 .568 0L12.6 3.877V9.8H1.4Zm11.2-8.4v.945L7 4.834 1.4 2.345V1.4h11.2ZM14 2.786V.7a.7.7 0 0 0-.7-.7H.7a.7.7 0 0 0-.7.7v9.8a.7.7 0 0 0 .7.7h12.6a.7.7 0 0 0 .7-.7V2.786Z\"></path></svg>
  813.                                                 </span>
  814.                                                     </a>
  815.                                                 {% endif %}
  816.                                                 {% if pimcore_link('contact-number').getHref() | default() %}
  817.                                                     <a href=\"{{ pimcore_link('contact-number').getHref() }}\"
  818.                                                        class=\"flex font-bold text-blue hover:underline\">
  819.                                                 <span
  820.                                                         class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
  821.                                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\"><path
  822.                                                                 fill=\"currentColor\" fill-rule=\"evenodd\"
  823.                                                                 d=\"m13.47 9.12-2.8-.7a.703.703 0 0 0-.752.292L8.126 11.4A11.959 11.959 0 0 1 2.6 5.874l2.688-1.792a.7.7 0 0 0 .291-.752l-.7-2.8A.7.7 0 0 0 4.2 0H.7a.7.7 0 0 0-.7.7C.01 8.042 5.958 13.99 13.3 14a.7.7 0 0 0 .7-.7V9.8a.7.7 0 0 0-.53-.68Z\"></path></svg>
  824.                                                 </span>
  825.                                                     </a>
  826.                                                 {% endif %}
  827.                                             </div>
  828.                                         </div>
  829.                                     {% endif %}
  830.                                     {% if loop.index == pimcore_block('contacts').getCount() - 1 %}
  831.                                         <hr class=\"bg-blue-200 opacity-50\">
  832.                                     {% endif %}
  833.                                 {% endfor %}
  834.                             </div>
  835.                         </div>
  836.                     {% endif %}
  837.                 </div>
  838.             </div>
  839.         </section>
  840.     {% endblock %}
  841. {% endembed %}
  842. ""areas/product-category-cards-brick/view.html.twig""/home/forge/testing.coolworld.ptchr.dev/templates/areas/product-category-cards-brick/view.html.twig");
  843.     }
  844.     
  845.     public function checkSecurity()
  846.     {
  847.         static $tags = ["extends" => 9"set" => 11"if" => 16"include" => 21"for" => 29];
  848.         static $filters = ["raw" => 17"escape" => 27"default" => 132];
  849.         static $functions = ["pimcore_relations" => 11"info" => 17"pimcore_input" => 110"pimcore_block" => 113"pimcore_image" => 115"pimcore_link" => 119];
  850.         try {
  851.             $this->sandbox->checkSecurity(
  852.                 ['extends''set''if''include''for'],
  853.                 ['raw''escape''default'],
  854.                 ['pimcore_relations''info''pimcore_input''pimcore_block''pimcore_image''pimcore_link'],
  855.                 $this->source
  856.             );
  857.         } catch (SecurityError $e) {
  858.             $e->setSourceContext($this->source);
  859.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  860.                 $e->setTemplateLine($tags[$e->getTagName()]);
  861.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  862.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  863.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  864.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  865.             }
  866.             throw $e;
  867.         }
  868.     }
  869. }