var/cache/dev/twig/ba/bae8557d99ef858c22fd0104f73dabe88df35f282228f82f730d152058776aa0.php line 45

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. /* project/single.html.twig */
  16. class __TwigTemplate_24ef839f65f1dd47de2c0037fe4c5c8897d0bbda4e6c008451fc9c0bab67e8bb 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->blocks = [
  28.             'content' => [$this'block_content'],
  29.         ];
  30.         $this->sandbox $this->extensions[SandboxExtension::class];
  31.         $this->checkSecurity();
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "app/layout.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""project/single.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""project/single.html.twig"));
  45.         $this->parent $this->loadTemplate("app/layout.html.twig""project/single.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     /**
  54.      * @return iterable<null|scalar|\Stringable>
  55.      */
  56.     public function block_content(array $context, array $blocks = []): iterable
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  63.         // line 4
  64.         yield "
  65.     ";
  66.         // line 5
  67.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'5$this->source); })())) {
  68.             // line 6
  69.             yield "        Selecteer hieronder een project.
  70.         ";
  71.             // line 7
  72.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relation""project", ["classes" => ["Sector"], "reload" => true]);
  73.             // line 10
  74.             yield "
  75.     ";
  76.         }
  77.         // line 12
  78.         yield "
  79.     ";
  80.         // line 13
  81.         yield from $this->loadTemplate("app/partials/navigation/_breadcrumbs.html.twig""project/single.html.twig"13)->unwrap()->yield($context);
  82.         // line 14
  83.         yield "
  84.     ";
  85.         // line 15
  86.         $context["project"] = (((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relation""project"), "getElement", [], "method"truetruetrue15) &&  !(null === CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relation""project"), "getElement", [], "method"falsefalsetrue15)))) ? (CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relation""project"), "getElement", [], "method"falsefalsetrue15)) : (null));
  87.         // line 16
  88.         yield "
  89.     ";
  90.         // line 17
  91.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""hero", ["type" => "hero-project-brick""params" => ["hero-project-brick" => ["headLineEnabled" => true"titleDefault" => (((((CoreExtension::getAttribute($this->env$this->source,         // line 22
  92. ($context["project"] ?? null), "title", [], "any"truetruetrue22) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "title", [], "any"falsefalsetrue22)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "title", [], "any"falsefalsetrue22)) : (null))) ? ((((CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "title", [], "any"truetruetrue22) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "title", [], "any"falsefalsetrue22)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "title", [], "any"falsefalsetrue22)) : (null))) : (null)), "descriptionDefault" => (((((CoreExtension::getAttribute($this->env$this->source,         // line 23
  93. ($context["project"] ?? null), "meta_description", [], "any"truetruetrue23) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "meta_description", [], "any"falsefalsetrue23)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "meta_description", [], "any"falsefalsetrue23)) : (null))) ? ((((CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "meta_description", [], "any"truetruetrue23) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "meta_description", [], "any"falsefalsetrue23)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "meta_description", [], "any"falsefalsetrue23)) : (null))) : (null)), "defaultHeroBackgroundImage" => (((CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::first($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source,         // line 24
  94. (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'24$this->source); })()), "visuals", [], "any"falsefalsetrue24), 24$this->source)), "getThumbnail", ["header-large-gradient"], "method"truetruetrue24) &&  !(null === CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::first($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'24$this->source); })()), "visuals", [], "any"falsefalsetrue24), 24$this->source)), "getThumbnail", ["header-large-gradient"], "method"falsefalsetrue24)))) ? (CoreExtension::getAttribute($this->env$this->sourceTwig\Extension\CoreExtension::first($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'24$this->source); })()), "visuals", [], "any"falsefalsetrue24), 24$this->source)), "getThumbnail", ["header-large-gradient"], "method"falsefalsetrue24)) : (null)), "categories" => (((CoreExtension::getAttribute($this->env$this->source,         // line 25
  95. ($context["project"] ?? null), "groups", [], "any"truetruetrue25) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "groups", [], "any"falsefalsetrue25)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "groups", [], "any"falsefalsetrue25)) : (null)), "sectors" => (((CoreExtension::getAttribute($this->env$this->source,         // line 26
  96. ($context["project"] ?? null), "sectors", [], "any"truetruetrue26) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "sectors", [], "any"falsefalsetrue26)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "sectors", [], "any"falsefalsetrue26)) : (null))]]]);
  97.         // line 29
  98.         yield "
  99.     ";
  100.         // line 31
  101.         if (array_key_exists("project"$context)) {
  102.             // line 32
  103.             yield "        <div class=\"container pb-10 container-s\">
  104.             <div class=\"gap-8 md:gap-24\">
  105.                 <div class=\"project-content\">
  106.                     ";
  107.             // line 35
  108.             yield (((CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "webdesq_content", [], "any"truetruetrue35) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "webdesq_content", [], "any"falsefalsetrue35)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "webdesq_content", [], "any"falsefalsetrue35)) : (null));
  109.             yield "
  110.                     ";
  111.             // line 37
  112.             if ((CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "content_video", [], "any"truetruetrue37) && CoreExtension::getAttribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'37$this->source); })()), "content_video", [], "any"falsefalsetrue37))) {
  113.                 // line 38
  114.                 yield "                        <div class=\"my-10\">
  115.                             ";
  116.                 // line 39
  117.                 yield from $this->loadTemplate("areas/video-brick/partials/_video.html.twig""project/single.html.twig"39)->unwrap()->yield(CoreExtension::merge($context, ["video" => CoreExtension::getAttribute($this->env$this->source,                 // line 40
  118. (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'40$this->source); })()), "content_video", [], "any"falsefalsetrue40)]));
  119.                 // line 43
  120.                 yield "                        </div>
  121.                     ";
  122.             }
  123.             // line 45
  124.             yield "
  125.                     ";
  126.             // line 46
  127.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""case-usp");
  128.             yield "
  129.                     <ul class=\"mt-8 md:mt-8 md:my-8 text-md\">
  130.                     ";
  131.             // line 49
  132.             $context['_parent'] = $context;
  133.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""case-ups"), "iterator", [], "any"falsefalsetrue49));
  134.             foreach ($context['_seq'] as $context["_key"] => $context["usp"]) {
  135.                 // line 50
  136.                 yield "                        <li class=\"flex mb-3 text-blue\">
  137.                             <svg class=\"w-[24px] h-[18px] mr-3 shrink-0 mt-1.5 \" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 18\">
  138.                                 <path fill=\"#0072BB\" fill-rule=\"evenodd\" d=\"M21.576 0 24 2.424l-6.562 6.562-7.655 7.655a1.71 1.71 0 0 1-2.422 0h-.002L0 9.28l2.425-2.424 6.147 6.148L21.576 0Z\"></path>
  139.                             </svg>
  140.                             <span>";
  141.                 // line 54
  142.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""usp");
  143.                 yield "</span>
  144.                         </li>
  145.                     ";
  146.             }
  147.             $_parent $context['_parent'];
  148.             unset($context['_seq'], $context['_key'], $context['usp'], $context['_parent']);
  149.             $context array_intersect_key($context$_parent) + $_parent;
  150.             // line 57
  151.             yield "                    </ul>
  152.                 </div>
  153.                 <div class=\"mt-4\">
  154.                     ";
  155.             // line 61
  156.             if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'61$this->source); })()) ||  !CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""download-title"), "isEmpty", [], "method"falsefalsetrue61))) {
  157.                 // line 62
  158.                 yield "                        <b>";
  159.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""download-title");
  160.                 yield "</b>
  161.                     ";
  162.             }
  163.             // line 64
  164.             yield "
  165.                     <div class=\"flex-row\">
  166.                         ";
  167.             // line 66
  168.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'66$this->source); })())) {
  169.                 // line 67
  170.                 yield "                            ";
  171.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""download-case");
  172.                 yield "
  173.                         ";
  174.             } elseif (((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""download-case"), "getHref", [], "method"truetruetrue68)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""download-case"), "getHref", [], "method"falsefalsetrue68))) : (""))) {
  175.                 // line 69
  176.                 yield "                            <a href=\"";
  177.                 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""download-case"), "getHref", [], "method"falsefalsetrue69), 69$this->source), "html"nulltrue);
  178.                 yield "\" class=\"relative group button !pl-12 button__primary mt-6\">
  179.                                 <svg class=\"absolute left-5 top-4\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\">
  180.                                     <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  181.                                         <g transform=\"translate(-554.000000, -1195.000000)\" class=\"transition fill-blue group-hover:fill-white\">
  182.                                             <g transform=\"translate(0.000000, 860.000000)\">
  183.                                                 <g transform=\"translate(536.000000, 20.000000)\">
  184.                                                     <g transform=\"translate(0.000000, 244.000000)\">
  185.                                                         <g transform=\"translate(0.000000, 52.000000)\">
  186.                                                             <g transform=\"translate(18.000000, 19.000000)\">
  187.                                                                 <path d=\"M16,12 L16,15.2 C16,15.6418278 15.6418278,16 15.2,16 L0.8,16 C0.3581722,16 0,15.6418278 0,15.2 L0,12 L1.6,12 L1.6,14.4 L14.4,14.4 L14.4,12 L16,12 Z M8,12 C8.21221371,12.0002458 8.41577082,11.9158862 8.5656,11.7656 L11.7656,8.5656 L10.6344,7.4344 L8.8,9.26872 L8.8,0 L7.2,0 L7.2,9.26872 L5.3656,7.4344 L4.2344,8.5656 L7.4344,11.7656 C7.58422918,11.9158862 7.78778629,12.0002458 8,12 Z\" id=\"Shape\"/>
  188.                                                             </g>
  189.                                                         </g>
  190.                                                     </g>
  191.                                                 </g>
  192.                                             </g>
  193.                                         </g>
  194.                                     </g>
  195.                                 </svg>
  196.                                 ";
  197.                 // line 87
  198.                 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""download-case"), "getText", [], "method"falsefalsetrue87), 87$this->source), "html"nulltrue);
  199.                 yield "
  200.                             </a>
  201.                         ";
  202.             }
  203.             // line 90
  204.             yield "
  205.                         ";
  206.             // line 91
  207.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'91$this->source); })())) {
  208.                 // line 92
  209.                 yield "                            ";
  210.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-for-information");
  211.                 yield "
  212.                         ";
  213.             } elseif (((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-for-information"), "getHref", [], "method"truetruetrue93)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""contact-for-information"), "getHref", [], "method"falsefalsetrue93))) : (""))) {
  214.                 // line 94
  215.                 yield "                            <a href=\"";
  216.                 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-for-information"), "getHref", [], "method"falsefalsetrue94), 94$this->source), "html"nulltrue);
  217.                 yield "\" class=\"button button__secondary group ";
  218.                 if (CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""download-case"), "isEmpty", [], "method"falsefalsetrue94)) {
  219.                     yield " !px-0 ";
  220.                 }
  221.                 yield "\">
  222.                                 ";
  223.                 // line 95
  224.                 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-for-information"), "getText", [], "method"falsefalsetrue95), 95$this->source), "html"nulltrue);
  225.                 yield "
  226.                                 <span
  227.                                     class=\"flex items-center justify-center w-6 h-6 ml-3 transition-all bg-white rounded-full shadow-md text-blue group-hover:bg-blue group-hover:text-white\"><svg
  228.                                         class=\"h-3.5 w-3.5\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path
  229.                                             fill=\"currentColor\" fill-rule=\"currentColor\"
  230.                                             d=\"m6.406 15.656 6.963-6.731c.249-.24.389-.575.389-.925 0-.35-.14-.685-.389-.925L6.406.343A1.206 1.206 0 0 0 4.657.41l-.09.113a1.297 1.297 0 0 0 .154 1.67L10.731 8l-6.008 5.806a1.295 1.295 0 0 0-.065 1.783c.463.52 1.248.55 1.748.066Z\"></path></svg></span>
  231.                             </a>
  232.                         ";
  233.             }
  234.             // line 103
  235.             yield "                    </div>
  236.                 </div>
  237.             </div>
  238.         </div>
  239.         ";
  240.             // line 108
  241.             if (((CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "visuals", [], "any"truetruetrue108)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "visuals", [], "any"falsefalsetrue108), [])) : ([]))) {
  242.                 // line 109
  243.                 yield "            ";
  244.                 yield from $this->loadTemplate("project/partials/media-brick.html.twig""project/single.html.twig"109)->unwrap()->yield(CoreExtension::merge($context, ["media" => CoreExtension::getAttribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'109$this->source); })()), "visuals", [], "any"falsefalsetrue109)]));
  245.                 // line 110
  246.                 yield "        ";
  247.             }
  248.             // line 111
  249.             yield "
  250.         ";
  251.             // line 112
  252.             if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'112$this->source); })()) || (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'112$this->source); })()), "getProject_facts", [], "method"falsefalsetrue112)) > 0))) {
  253.                 // line 113
  254.                 yield "        ";
  255.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""project-facts", ["type" => "project-usp-grid-brick""params" => ["project-usp-grid-brick" => ["items" => $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source,                 // line 117
  256. (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'117$this->source); })()), "getProject_facts", [], "method"falsefalsetrue117), 117$this->source), "backgroundColor" => "bg-blue-200"]]]);
  257.                 // line 121
  258.                 yield "
  259.         ";
  260.             }
  261.             // line 123
  262.             yield "
  263.         ";
  264.             // line 124
  265.             yield from $this->loadTemplate("project/partials/contact.html.twig""project/single.html.twig"124)->unwrap()->yield($context);
  266.             // line 125
  267.             yield "
  268.         ";
  269.             // line 126
  270.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""testimonials", ["type" => "testimonial-brick"]);
  271.             // line 128
  272.             yield "
  273.         ";
  274.             // line 130
  275.             if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'130$this->source); })()) || (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'130$this->source); })()), "getClient_facts", [], "method"falsefalsetrue130)) > 0))) {
  276.                 // line 131
  277.                 yield "        ";
  278.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""client-facts", ["type" => "project-usp-grid-brick""params" => ["project-usp-grid-brick" => ["items" => $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source,                 // line 135
  279. (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'135$this->source); })()), "getClient_facts", [], "method"falsefalsetrue135), 135$this->source), "backgroundColor" => "bg-white"]]]);
  280.                 // line 139
  281.                 yield "
  282.         ";
  283.             }
  284.             // line 141
  285.             yield "
  286.         ";
  287.             // line 142
  288.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""added-value", ["type" => "content-brick""params" => ["content-brick" => ["layout" => "text-image"]]]);
  289.             // line 149
  290.             yield "
  291.         ";
  292.             // line 151
  293.             if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'151$this->source); })()) || ((CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "groups", [], "any"truetruetrue151)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "groups", [], "any"falsefalsetrue151), [])) : ([])))) {
  294.                 // line 152
  295.                 yield "        ";
  296.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""applied-products", ["type" => "product-category-cards-brick""params" => ["product-category-cards-brick" => ["productCategories" => (((CoreExtension::getAttribute($this->env$this->source,                 // line 156
  297. ($context["project"] ?? null), "groups", [], "any"truetruetrue156) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "groups", [], "any"falsefalsetrue156)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "groups", [], "any"falsefalsetrue156)) : (null)), "defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Toegepaste producten"), "brickBackgroundColor" => "bg-blue-200"]]]);
  298.                 // line 161
  299.                 yield "
  300.         ";
  301.             }
  302.             // line 163
  303.             yield "
  304.         ";
  305.             // line 164
  306.             if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'164$this->source); })()) || ((CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "related_projects", [], "any"truetruetrue164)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "related_projects", [], "any"falsefalsetrue164), [])) : ([])))) {
  307.                 // line 165
  308.                 yield "        ";
  309.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""related-projects", ["type" => "projects-card-slider-brick""params" => ["projects-card-slider-brick" => ["defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Gerelateerde projecten en onderwerpen"), "projects" => (((CoreExtension::getAttribute($this->env$this->source,                 // line 170
  310. ($context["project"] ?? null), "related_projects", [], "any"truetruetrue170) &&  !(null === CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "related_projects", [], "any"falsefalsetrue170)))) ? (CoreExtension::getAttribute($this->env$this->source, ($context["project"] ?? null), "related_projects", [], "any"falsefalsetrue170)) : ([])), "brickBackgroundColor" => "bg-gray-200""labelOverride" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Project")]]]);
  311.                 // line 175
  312.                 yield "
  313.         ";
  314.             }
  315.             // line 177
  316.             yield "
  317.         ";
  318.             // line 178
  319.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""project-faq", ["type" => "faq-brick""params" => ["faq-brick" => ["showContact" => "false""containerSize" => "md:max-w-[1100px] container""containerClass" => "mx-auto"]]]);
  320.             // line 187
  321.             yield "
  322.     ";
  323.         }
  324.         // line 190
  325.         yield "
  326.     ";
  327.         // line 191
  328.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""contact-side-widget", ["type" => "contact-side-widget-brick"]);
  329.         // line 193
  330.         yield "
  331. ";
  332.         
  333.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  334.         
  335.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  336.         yield from [];
  337.     }
  338.     /**
  339.      * @codeCoverageIgnore
  340.      */
  341.     public function getTemplateName(): string
  342.     {
  343.         return "project/single.html.twig";
  344.     }
  345.     /**
  346.      * @codeCoverageIgnore
  347.      */
  348.     public function isTraitable(): bool
  349.     {
  350.         return false;
  351.     }
  352.     /**
  353.      * @codeCoverageIgnore
  354.      */
  355.     public function getDebugInfo(): array
  356.     {
  357.         return array (  352 => 193,  350 => 191,  347 => 190,  342 => 187,  340 => 178,  337 => 177,  333 => 175,  331 => 170,  329 => 165,  327 => 164,  324 => 163,  320 => 161,  318 => 156,  316 => 152,  314 => 151,  310 => 149,  308 => 142,  305 => 141,  301 => 139,  299 => 135,  297 => 131,  295 => 130,  291 => 128,  289 => 126,  286 => 125,  284 => 124,  281 => 123,  277 => 121,  275 => 117,  273 => 113,  271 => 112,  268 => 111,  265 => 110,  262 => 109,  260 => 108,  253 => 103,  242 => 95,  233 => 94,  227 => 92,  225 => 91,  222 => 90,  216 => 87,  194 => 69,  188 => 67,  186 => 66,  182 => 64,  176 => 62,  174 => 61,  168 => 57,  159 => 54,  153 => 50,  149 => 49,  143 => 46,  140 => 45,  136 => 43,  134 => 40,  133 => 39,  130 => 38,  128 => 37,  123 => 35,  118 => 32,  116 => 31,  112 => 29,  110 => 26,  109 => 25,  108 => 24,  107 => 23,  106 => 22,  105 => 17,  102 => 16,  100 => 15,  97 => 14,  95 => 13,  92 => 12,  88 => 10,  86 => 7,  83 => 6,  81 => 5,  78 => 4,  65 => 3,  42 => 1,);
  358.     }
  359.     public function getSourceContext(): Source
  360.     {
  361.         return new Source("{% extends 'app/layout.html.twig' %}
  362. {% block content %}
  363.     {% if editmode %}
  364.         Selecteer hieronder een project.
  365.         {{ pimcore_relation(\"project\", {
  366.             classes: [\"Sector\"],
  367.             reload: true,
  368.         }) }}
  369.     {% endif %}
  370.     {% include \"app/partials/navigation/_breadcrumbs.html.twig\" %}
  371.     {% set project = pimcore_relation(\"project\").getElement() ?? null %}
  372.     {{ pimcore_area('hero', {
  373.         type: 'hero-project-brick',
  374.         params: {
  375.             'hero-project-brick' : {
  376.                 headLineEnabled: true,
  377.                 titleDefault: (project.title ?? null) ?: null,
  378.                 descriptionDefault: (project.meta_description ?? null) ?: null,
  379.                 defaultHeroBackgroundImage: (project.visuals|first.getThumbnail('header-large-gradient')) ?? null,
  380.                 categories: project.groups ?? null,
  381.                 sectors: project.sectors ?? null
  382.             }
  383.         }
  384.     }) }}
  385.     {% if project is defined %}
  386.         <div class=\"container pb-10 container-s\">
  387.             <div class=\"gap-8 md:gap-24\">
  388.                 <div class=\"project-content\">
  389.                     {{ (project.webdesq_content ?? null) | raw }}
  390.                     {% if project.content_video is defined and project.content_video %}
  391.                         <div class=\"my-10\">
  392.                             {% include 'areas/video-brick/partials/_video.html.twig' with {
  393.                                     'video': project.content_video,
  394.                                 }
  395.                             %}
  396.                         </div>
  397.                     {% endif %}
  398.                     {{ pimcore_block('case-usp') }}
  399.                     <ul class=\"mt-8 md:mt-8 md:my-8 text-md\">
  400.                     {% for usp in pimcore_block('case-ups').iterator %}
  401.                         <li class=\"flex mb-3 text-blue\">
  402.                             <svg class=\"w-[24px] h-[18px] mr-3 shrink-0 mt-1.5 \" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 18\">
  403.                                 <path fill=\"#0072BB\" fill-rule=\"evenodd\" d=\"M21.576 0 24 2.424l-6.562 6.562-7.655 7.655a1.71 1.71 0 0 1-2.422 0h-.002L0 9.28l2.425-2.424 6.147 6.148L21.576 0Z\"></path>
  404.                             </svg>
  405.                             <span>{{ pimcore_input('usp') }}</span>
  406.                         </li>
  407.                     {% endfor %}
  408.                     </ul>
  409.                 </div>
  410.                 <div class=\"mt-4\">
  411.                     {% if editmode or not pimcore_input('download-title').isEmpty() %}
  412.                         <b>{{ pimcore_input('download-title') }}</b>
  413.                     {% endif %}
  414.                     <div class=\"flex-row\">
  415.                         {% if editmode %}
  416.                             {{ pimcore_link('download-case') }}
  417.                         {% elseif pimcore_link('download-case').getHref() | default() %}
  418.                             <a href=\"{{ pimcore_link('download-case').getHref() }}\" class=\"relative group button !pl-12 button__primary mt-6\">
  419.                                 <svg class=\"absolute left-5 top-4\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\">
  420.                                     <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  421.                                         <g transform=\"translate(-554.000000, -1195.000000)\" class=\"transition fill-blue group-hover:fill-white\">
  422.                                             <g transform=\"translate(0.000000, 860.000000)\">
  423.                                                 <g transform=\"translate(536.000000, 20.000000)\">
  424.                                                     <g transform=\"translate(0.000000, 244.000000)\">
  425.                                                         <g transform=\"translate(0.000000, 52.000000)\">
  426.                                                             <g transform=\"translate(18.000000, 19.000000)\">
  427.                                                                 <path d=\"M16,12 L16,15.2 C16,15.6418278 15.6418278,16 15.2,16 L0.8,16 C0.3581722,16 0,15.6418278 0,15.2 L0,12 L1.6,12 L1.6,14.4 L14.4,14.4 L14.4,12 L16,12 Z M8,12 C8.21221371,12.0002458 8.41577082,11.9158862 8.5656,11.7656 L11.7656,8.5656 L10.6344,7.4344 L8.8,9.26872 L8.8,0 L7.2,0 L7.2,9.26872 L5.3656,7.4344 L4.2344,8.5656 L7.4344,11.7656 C7.58422918,11.9158862 7.78778629,12.0002458 8,12 Z\" id=\"Shape\"/>
  428.                                                             </g>
  429.                                                         </g>
  430.                                                     </g>
  431.                                                 </g>
  432.                                             </g>
  433.                                         </g>
  434.                                     </g>
  435.                                 </svg>
  436.                                 {{ pimcore_link('download-case').getText() }}
  437.                             </a>
  438.                         {% endif %}
  439.                         {% if editmode %}
  440.                             {{ pimcore_link('contact-for-information') }}
  441.                         {% elseif pimcore_link('contact-for-information').getHref() | default() %}
  442.                             <a href=\"{{ pimcore_link('contact-for-information').getHref() }}\" class=\"button button__secondary group {% if pimcore_link('download-case').isEmpty() %} !px-0 {% endif %}\">
  443.                                 {{ pimcore_link('contact-for-information').getText() }}
  444.                                 <span
  445.                                     class=\"flex items-center justify-center w-6 h-6 ml-3 transition-all bg-white rounded-full shadow-md text-blue group-hover:bg-blue group-hover:text-white\"><svg
  446.                                         class=\"h-3.5 w-3.5\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path
  447.                                             fill=\"currentColor\" fill-rule=\"currentColor\"
  448.                                             d=\"m6.406 15.656 6.963-6.731c.249-.24.389-.575.389-.925 0-.35-.14-.685-.389-.925L6.406.343A1.206 1.206 0 0 0 4.657.41l-.09.113a1.297 1.297 0 0 0 .154 1.67L10.731 8l-6.008 5.806a1.295 1.295 0 0 0-.065 1.783c.463.52 1.248.55 1.748.066Z\"></path></svg></span>
  449.                             </a>
  450.                         {% endif %}
  451.                     </div>
  452.                 </div>
  453.             </div>
  454.         </div>
  455.         {% if project.visuals | default([]) %}
  456.             {% include \"project/partials/media-brick.html.twig\" with {'media': project.visuals} %}
  457.         {% endif %}
  458.         {% if editmode or project.getProject_facts() | length > 0 %}
  459.         {{ pimcore_area('project-facts', {
  460.             type: 'project-usp-grid-brick',
  461.             params: {
  462.                 'project-usp-grid-brick': {
  463.                     items: project.getProject_facts(),
  464.                     backgroundColor: 'bg-blue-200'
  465.                 }
  466.             }
  467.         }) }}
  468.         {% endif %}
  469.         {% include \"project/partials/contact.html.twig\" %}
  470.         {{ pimcore_area('testimonials', {
  471.             type : 'testimonial-brick',
  472.         }) }}
  473.         {% if editmode or project.getClient_facts() | length > 0 %}
  474.         {{ pimcore_area('client-facts', {
  475.             type: 'project-usp-grid-brick',
  476.             params: {
  477.                 'project-usp-grid-brick': {
  478.                     items: project.getClient_facts(),
  479.                     backgroundColor: 'bg-white'
  480.                 }
  481.             }
  482.         }) }}
  483.         {% endif %}
  484.         {{ pimcore_area('added-value', {
  485.             type: 'content-brick',
  486.             params: {
  487.                 'content-brick': {
  488.                     layout: 'text-image'
  489.                 }
  490.             }
  491.         }) }}
  492.         {% if editmode or project.groups | default([]) %}
  493.         {{ pimcore_area('applied-products', {
  494.             type : 'product-category-cards-brick',
  495.             params: {
  496.                 'product-category-cards-brick': {
  497.                     productCategories: project.groups ?? null,
  498.                     defaultTitle: 'Toegepaste producten'|trans,
  499.                     brickBackgroundColor: 'bg-blue-200'
  500.                 }
  501.             }
  502.         }) }}
  503.         {% endif %}
  504.         {% if editmode or project.related_projects | default([]) %}
  505.         {{ pimcore_area('related-projects', {
  506.             type: 'projects-card-slider-brick',
  507.             params: {
  508.                 'projects-card-slider-brick': {
  509.                     defaultTitle: 'Gerelateerde projecten en onderwerpen' | trans,
  510.                     projects: project.related_projects ?? [],
  511.                     brickBackgroundColor: 'bg-gray-200',
  512.                     labelOverride: 'Project' | trans
  513.                 }
  514.             }
  515.         }) }}
  516.         {% endif %}
  517.         {{ pimcore_area('project-faq', {
  518.             type: 'faq-brick',
  519.             params: {
  520.                 'faq-brick': {
  521.                     showContact: 'false',
  522.                     containerSize: 'md:max-w-[1100px] container',
  523.                     containerClass: 'mx-auto'
  524.                 }
  525.             }
  526.         }) }}
  527.     {% endif %}
  528.     {{ pimcore_area('contact-side-widget', {
  529.         type: 'contact-side-widget-brick'
  530.     }) }}
  531. {% endblock %}
  532. ""project/single.html.twig""/home/forge/staging.coolworld.ptchr.dev/templates/project/single.html.twig");
  533.     }
  534.     
  535.     public function checkSecurity()
  536.     {
  537.         static $tags = ["extends" => 1"if" => 5"include" => 13"set" => 15"for" => 49];
  538.         static $filters = ["first" => 24"raw" => 35"default" => 68"escape" => 69"length" => 112"trans" => 157];
  539.         static $functions = ["pimcore_relation" => 7"pimcore_area" => 17"pimcore_block" => 46"pimcore_input" => 54"pimcore_link" => 67];
  540.         try {
  541.             $this->sandbox->checkSecurity(
  542.                 ['extends''if''include''set''for'],
  543.                 ['first''raw''default''escape''length''trans'],
  544.                 ['pimcore_relation''pimcore_area''pimcore_block''pimcore_input''pimcore_link'],
  545.                 $this->source
  546.             );
  547.         } catch (SecurityError $e) {
  548.             $e->setSourceContext($this->source);
  549.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  550.                 $e->setTemplateLine($tags[$e->getTagName()]);
  551.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  552.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  553.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  554.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  555.             }
  556.             throw $e;
  557.         }
  558.     }
  559. }