var/cache/dev/twig/99/990a6232c6b2eafd5325524e63adb215781b8c4232c8e056b9ec6e621c954533.php line 243

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/content-brick/layouts/text-image.html.twig */
  16. class __TwigTemplate_6a6dc96c2ea8c65cb387b1377f8db9782be9b2ebf986321977d052caf3adfbd4 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/content-brick/layouts/text-image.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/content-brick/layouts/text-image.html.twig"));
  40.         // line 1
  41.         yield "
  42. ";
  43.         // line 2
  44.         $context["hasImage"] = (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'2$this->source); })()) || ($context["overrideImage"] ?? null)) ||  !CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image"), "isEmpty", [], "method"falsefalsetrue2));
  45.         // line 3
  46.         yield "
  47. ";
  48.         // line 4
  49.         $context["showReadmoreMobile"] = CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""showReadmoreMobile"), "getData", [], "method"falsefalsetrue4);
  50.         // line 5
  51.         $context["showReadmore"] = CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""showReadmore"), "getData", [], "method"falsefalsetrue5);
  52.         // line 6
  53.         yield "
  54. ";
  55.         // line 7
  56.         $context["hideMediaOnMobile"] = CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""hideMediaOnMobile"), "getData", [], "method"falsefalsetrue7);
  57.         // line 8
  58.         yield "
  59. ";
  60.         // line 9
  61.         $context["showRentalFormButton"] = CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""showRentalFormButton"), "getData", [], "method"falsefalsetrue9);
  62.         // line 10
  63.         $context["showRentalFormButtonColor"] = CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""showRentalFormButtonColor"), "getData", [], "method"falsefalsetrue10);
  64.         // line 11
  65.         yield "
  66. ";
  67.         // line 12
  68.         $context["showCustomButtonComment"] = CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""showCustomButtonComment"), "getData", [], "method"falsefalsetrue12);
  69.         // line 13
  70.         $context["customButtonComment"] = CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""customButtonComment"), "getData", [], "method"falsefalsetrue13);
  71.         // line 14
  72.         yield "
  73. <div class=\"container grid justify-center grid-cols-1 gap-6 mx-auto text-base md:text-lg md:grid-cols-2\">
  74.     <div class=\"
  75.         md:flex md:items-center
  76.         ";
  77.         // line 18
  78.         if ((isset($context["hasImage"]) || array_key_exists("hasImage"$context) ? $context["hasImage"] : (function () { throw new RuntimeError('Variable "hasImage" does not exist.'18$this->source); })())) {
  79.             // line 19
  80.             yield "            ";
  81.             yield ((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""inverted"), "data", [], "any"falsefalsetrue19)) ? ("md:order-2 lg:pl-16") : ("md:order-1 lg:pr-16"));
  82.             yield "
  83.         ";
  84.         } else {
  85.             // line 21
  86.             yield "            col-span-1 md:col-span-2
  87.         ";
  88.         }
  89.         // line 23
  90.         yield "        ";
  91.         yield (((isset($context["hideMediaOnMobile"]) || array_key_exists("hideMediaOnMobile"$context) ? $context["hideMediaOnMobile"] : (function () { throw new RuntimeError('Variable "hideMediaOnMobile" does not exist.'23$this->source); })())) ? ("pt-4 md:pt-0") : (""));
  92.         yield "
  93.     \"
  94.         x-data=\"{ contentOpen: false }\"
  95.     >       
  96.         <div>
  97.             ";
  98.         // line 28
  99.         yield from $this->loadTemplate("areas/content-brick/partials/_headline.html.twig""areas/content-brick/layouts/text-image.html.twig"28)->unwrap()->yield($context);
  100.         // line 29
  101.         yield "
  102.             ";
  103.         // line 30
  104.         yield from $this->loadTemplate("areas/content-brick/partials/_title.html.twig""areas/content-brick/layouts/text-image.html.twig"30)->unwrap()->yield($context);
  105.         // line 31
  106.         yield "
  107.             <div 
  108.                 class=\"relative overflow-hidden\"
  109.                 ";
  110.         // line 34
  111.         if ((array_key_exists("showReadMore"$context) && (isset($context["showReadMore"]) || array_key_exists("showReadMore"$context) ? $context["showReadMore"] : (function () { throw new RuntimeError('Variable "showReadMore" does not exist.'34$this->source); })()))) {
  112.             // line 35
  113.             yield "                    :class=\"{'max-h-36 ";
  114.             yield (((isset($context["showReadmoreMobile"]) || array_key_exists("showReadmoreMobile"$context) ? $context["showReadmoreMobile"] : (function () { throw new RuntimeError('Variable "showReadmoreMobile" does not exist.'35$this->source); })())) ? ("md:max-h-fit") : (""));
  115.             yield "': !contentOpen }\"
  116.                 ";
  117.         }
  118.         // line 37
  119.         yield "            >
  120.                 ";
  121.         // line 38
  122.         yield from $this->loadTemplate("areas/content-brick/partials/_wysiwyg.html.twig""areas/content-brick/layouts/text-image.html.twig"38)->unwrap()->yield($context);
  123.         // line 39
  124.         yield "
  125.                 ";
  126.         // line 40
  127.         if ((isset($context["showReadmore"]) || array_key_exists("showReadmore"$context) ? $context["showReadmore"] : (function () { throw new RuntimeError('Variable "showReadmore" does not exist.'40$this->source); })())) {
  128.             // line 41
  129.             yield "                    <div 
  130.                         class=\" flex flex-col justify-end bottom-0 w-full  min-h-[100px]
  131.                         ";
  132.             // line 43
  133.             yield (((isset($context["showReadmoreMobile"]) || array_key_exists("showReadmoreMobile"$context) ? $context["showReadmoreMobile"] : (function () { throw new RuntimeError('Variable "showReadmoreMobile" does not exist.'43$this->source); })())) ? ("md:hidden") : (""));
  134.             yield "\"
  135.                         :class=\"!contentOpen ? 'absolute bg-gradient-to-t from-white via-white' : ''\"     
  136.                     >
  137.                         <button 
  138.                             class=\"button button__secondary group\"
  139.                             @click=\"contentOpen = !contentOpen\"
  140.                         >
  141.                             <span x-show=\"!contentOpen\">";
  142.             // line 50
  143.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lees meer"), "html"nulltrue);
  144.             yield "</span>
  145.                             <span x-show=\"contentOpen\">";
  146.             // line 51
  147.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lees minder"), "html"nulltrue);
  148.             yield "</span>
  149.                             <span class=\"flex items-center justify-center w-6 h-6 ml-3 bg-white rounded-full shadow-md text-blue group-hover:bg-blue group-hover:text-white\">
  150.                                 <svg
  151.                                     x-show=\"!contentOpen\"
  152.                                     class=\"w-3.5 shrink-0\"
  153.                                     xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill=\"currentColor\" fill-rule=\"nonzero\" d=\"M6.68 0h.024a.929.929 0 0 1 .916.915l.07 4.994 4.994.07a.93.93 0 0 1 .916.916.878.878 0 0 1-.866.89h-.024l-4.995-.07.07 4.995a.878.878 0 0 1-.89.89.93.93 0 0 1-.915-.916L5.91 7.69.914 7.62A.93.93 0 0 1 0 6.704a.878.878 0 0 1 .89-.89l4.994.07L5.814.89A.878.878 0 0 1 6.68 0Z\"/>
  154.                                 </svg>
  155.                                 <svg
  156.                                     x-show=\"contentOpen\"
  157.                                     class=\"w-3.5 shrink-0\"
  158.                                     xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 3\"><path fill=\"currentColor\" fill-rule=\"nonzero\" d=\"M12.684.979a.929.929 0 0 1 .916.916.878.878 0 0 1-.866.89h-.024L.915 2.62A.929.929 0 0 1 0 1.704a.878.878 0 0 1 .89-.89l11.794.165Z\"/>
  159.                                 </svg>  
  160.                             </span>
  161.                         </button>
  162.                     </div>
  163.                 ";
  164.         }
  165.         // line 67
  166.         yield "            </div>
  167.             ";
  168.         // line 69
  169.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'69$this->source); })())) {
  170.             // line 70
  171.             yield "                <div class=\"mt-8\">
  172.                     <label class=\"block\">
  173.                         ";
  174.             // line 72
  175.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""showReadmore", ["reload" => true]);
  176.             yield "
  177.                         <span>Toon 'Lees meer' button voor bovenstaande tekst.</span>
  178.                     </label>
  179.                     <label class=\"block\">
  180.                         ";
  181.             // line 76
  182.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""showReadmoreMobile", ["reload" => true]);
  183.             yield "
  184.                         <span>Toon 'Lees meer' button alleen op mobiele devices.</span>
  185.                     </label>
  186.                 </div>
  187.             ";
  188.         }
  189.         // line 81
  190.         yield "
  191.             ";
  192.         // line 82
  193.         yield from $this->loadTemplate("areas/content-brick/partials/_usps.html.twig""areas/content-brick/layouts/text-image.html.twig"82)->unwrap()->yield($context);
  194.         // line 83
  195.         yield "
  196.             ";
  197.         // line 84
  198.         yield from $this->loadTemplate("areas/content-brick/partials/_form-builder.html.twig""areas/content-brick/layouts/text-image.html.twig"84)->unwrap()->yield(CoreExtension::merge($context, ["fieldName" => "formbuilder-select_text-image"]));
  199.         // line 87
  200.         yield "
  201.             ";
  202.         // line 88
  203.         yield from $this->loadTemplate("areas/content-brick/partials/_buttons.html.twig""areas/content-brick/layouts/text-image.html.twig"88)->unwrap()->yield(CoreExtension::merge($context, ["product" => (        // line 89
  204. $context["product"] ?? null), "productCategory" => (        // line 90
  205. $context["productCategory"] ?? null), "showRentalFormButton" => (        // line 91
  206. $context["showRentalFormButton"] ?? null), "showRentalFormButtonColor" => (        // line 92
  207. $context["showRentalFormButtonColor"] ?? null), "greenButton" => true"showCustomButtonComment" => (        // line 94
  208. $context["showCustomButtonComment"] ?? null), "buttonComment" => (((        // line 95
  209. (isset($context["customButtonComment"]) || array_key_exists("customButtonComment"$context) ? $context["customButtonComment"] : (function () { throw new RuntimeError('Variable "customButtonComment" does not exist.'95$this->source); })()) !== "")) ? ((isset($context["customButtonComment"]) || array_key_exists("customButtonComment"$context) ? $context["customButtonComment"] : (function () { throw new RuntimeError('Variable "customButtonComment" does not exist.'95$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Binnen één dag vrijblijvend een offerte")))]));
  210.         // line 97
  211.         yield "        </div>
  212.     </div>
  213.     ";
  214.         // line 100
  215.         if ((isset($context["hasImage"]) || array_key_exists("hasImage"$context) ? $context["hasImage"] : (function () { throw new RuntimeError('Variable "hasImage" does not exist.'100$this->source); })())) {
  216.             // line 101
  217.             yield "        <div class=\"md:flex md:items-center 
  218.             ";
  219.             // line 102
  220.             yield ((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""inverted"), "data", [], "any"falsefalsetrue102)) ? ("md:order-1") : ("md:order-2"));
  221.             yield "
  222.             ";
  223.             // line 103
  224.             yield (((isset($context["hideMediaOnMobile"]) || array_key_exists("hideMediaOnMobile"$context) ? $context["hideMediaOnMobile"] : (function () { throw new RuntimeError('Variable "hideMediaOnMobile" does not exist.'103$this->source); })())) ? ("hidden md:block") : (""));
  225.             yield "
  226.         \">
  227.             ";
  228.             // line 105
  229.             if (((array_key_exists("overrideImage"$context) && (isset($context["overrideImage"]) || array_key_exists("overrideImage"$context) ? $context["overrideImage"] : (function () { throw new RuntimeError('Variable "overrideImage" does not exist.'105$this->source); })())) && CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image"), "isEmpty", [], "method"falsefalsetrue105))) {
  230.                 // line 106
  231.                 yield "                ";
  232.                 yield from $this->loadTemplate("areas/content-brick/partials/override-image.html.twig""areas/content-brick/layouts/text-image.html.twig"106)->unwrap()->yield($context);
  233.                 // line 107
  234.                 yield "            ";
  235.             } else {
  236.                 // line 108
  237.                 yield "                ";
  238.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image", ["class" => "block overflow-hidden rounded-md""thumbnail" => "content""pictureAttributes" => ["class" => "block overflow-hidden rounded-md"]]);
  239.                 // line 112
  240.                 yield "
  241.             ";
  242.             }
  243.             // line 114
  244.             yield "        </div>
  245.     ";
  246.         }
  247.         // line 116
  248.         yield "</div>";
  249.         
  250.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  251.         
  252.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  253.         yield from [];
  254.     }
  255.     /**
  256.      * @codeCoverageIgnore
  257.      */
  258.     public function getTemplateName(): string
  259.     {
  260.         return "areas/content-brick/layouts/text-image.html.twig";
  261.     }
  262.     /**
  263.      * @codeCoverageIgnore
  264.      */
  265.     public function isTraitable(): bool
  266.     {
  267.         return false;
  268.     }
  269.     /**
  270.      * @codeCoverageIgnore
  271.      */
  272.     public function getDebugInfo(): array
  273.     {
  274.         return array (  259 => 116,  255 => 114,  251 => 112,  248 => 108,  245 => 107,  242 => 106,  240 => 105,  235 => 103,  231 => 102,  228 => 101,  226 => 100,  221 => 97,  219 => 95,  218 => 94,  217 => 92,  216 => 91,  215 => 90,  214 => 89,  213 => 88,  210 => 87,  208 => 84,  205 => 83,  203 => 82,  200 => 81,  192 => 76,  185 => 72,  181 => 70,  179 => 69,  175 => 67,  156 => 51,  152 => 50,  142 => 43,  138 => 41,  136 => 40,  133 => 39,  131 => 38,  128 => 37,  122 => 35,  120 => 34,  115 => 31,  113 => 30,  110 => 29,  108 => 28,  99 => 23,  95 => 21,  89 => 19,  87 => 18,  81 => 14,  79 => 13,  77 => 12,  74 => 11,  72 => 10,  70 => 9,  67 => 8,  65 => 7,  62 => 6,  60 => 5,  58 => 4,  55 => 3,  53 => 2,  50 => 1,);
  275.     }
  276.     public function getSourceContext(): Source
  277.     {
  278.         return new Source("
  279. {% set hasImage = editmode || (overrideImage ?? null) || not pimcore_image('image').isEmpty() %}
  280. {% set showReadmoreMobile = pimcore_checkbox(\"showReadmoreMobile\").getData() %}
  281. {% set showReadmore = pimcore_checkbox(\"showReadmore\").getData() %}
  282. {% set hideMediaOnMobile = pimcore_checkbox(\"hideMediaOnMobile\").getData() %}
  283. {% set showRentalFormButton = pimcore_checkbox('showRentalFormButton').getData() %}
  284. {% set showRentalFormButtonColor = pimcore_select('showRentalFormButtonColor').getData() %}
  285. {% set showCustomButtonComment = pimcore_checkbox('showCustomButtonComment').getData() %}
  286. {% set customButtonComment = pimcore_input('customButtonComment').getData() %}
  287. <div class=\"container grid justify-center grid-cols-1 gap-6 mx-auto text-base md:text-lg md:grid-cols-2\">
  288.     <div class=\"
  289.         md:flex md:items-center
  290.         {% if hasImage %}
  291.             {{ pimcore_select('inverted').data ? 'md:order-2 lg:pl-16'  : 'md:order-1 lg:pr-16' }}
  292.         {% else %}
  293.             col-span-1 md:col-span-2
  294.         {% endif %}
  295.         {{ hideMediaOnMobile ? 'pt-4 md:pt-0' : '' }}
  296.     \"
  297.         x-data=\"{ contentOpen: false }\"
  298.     >       
  299.         <div>
  300.             {% include 'areas/content-brick/partials/_headline.html.twig' %}
  301.             {% include 'areas/content-brick/partials/_title.html.twig' %}
  302.             <div 
  303.                 class=\"relative overflow-hidden\"
  304.                 {% if showReadMore is defined and showReadMore %}
  305.                     :class=\"{'max-h-36 {{ showReadmoreMobile ? 'md:max-h-fit' : ''}}': !contentOpen }\"
  306.                 {% endif %}
  307.             >
  308.                 {% include 'areas/content-brick/partials/_wysiwyg.html.twig' %}
  309.                 {% if showReadmore %}
  310.                     <div 
  311.                         class=\" flex flex-col justify-end bottom-0 w-full  min-h-[100px]
  312.                         {{ showReadmoreMobile ? 'md:hidden' : ''}}\"
  313.                         :class=\"!contentOpen ? 'absolute bg-gradient-to-t from-white via-white' : ''\"     
  314.                     >
  315.                         <button 
  316.                             class=\"button button__secondary group\"
  317.                             @click=\"contentOpen = !contentOpen\"
  318.                         >
  319.                             <span x-show=\"!contentOpen\">{{ 'Lees meer' | trans }}</span>
  320.                             <span x-show=\"contentOpen\">{{ 'Lees minder' | trans }}</span>
  321.                             <span class=\"flex items-center justify-center w-6 h-6 ml-3 bg-white rounded-full shadow-md text-blue group-hover:bg-blue group-hover:text-white\">
  322.                                 <svg
  323.                                     x-show=\"!contentOpen\"
  324.                                     class=\"w-3.5 shrink-0\"
  325.                                     xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\"><path fill=\"currentColor\" fill-rule=\"nonzero\" d=\"M6.68 0h.024a.929.929 0 0 1 .916.915l.07 4.994 4.994.07a.93.93 0 0 1 .916.916.878.878 0 0 1-.866.89h-.024l-4.995-.07.07 4.995a.878.878 0 0 1-.89.89.93.93 0 0 1-.915-.916L5.91 7.69.914 7.62A.93.93 0 0 1 0 6.704a.878.878 0 0 1 .89-.89l4.994.07L5.814.89A.878.878 0 0 1 6.68 0Z\"/>
  326.                                 </svg>
  327.                                 <svg
  328.                                     x-show=\"contentOpen\"
  329.                                     class=\"w-3.5 shrink-0\"
  330.                                     xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 3\"><path fill=\"currentColor\" fill-rule=\"nonzero\" d=\"M12.684.979a.929.929 0 0 1 .916.916.878.878 0 0 1-.866.89h-.024L.915 2.62A.929.929 0 0 1 0 1.704a.878.878 0 0 1 .89-.89l11.794.165Z\"/>
  331.                                 </svg>  
  332.                             </span>
  333.                         </button>
  334.                     </div>
  335.                 {% endif %}
  336.             </div>
  337.             {% if editmode %}
  338.                 <div class=\"mt-8\">
  339.                     <label class=\"block\">
  340.                         {{ pimcore_checkbox('showReadmore', { reload: true }) }}
  341.                         <span>Toon 'Lees meer' button voor bovenstaande tekst.</span>
  342.                     </label>
  343.                     <label class=\"block\">
  344.                         {{ pimcore_checkbox('showReadmoreMobile', { reload: true }) }}
  345.                         <span>Toon 'Lees meer' button alleen op mobiele devices.</span>
  346.                     </label>
  347.                 </div>
  348.             {% endif %}
  349.             {% include 'areas/content-brick/partials/_usps.html.twig' %}
  350.             {% include 'areas/content-brick/partials/_form-builder.html.twig' with {
  351.                 'fieldName' : 'formbuilder-select_text-image' }
  352.             %}
  353.             {% include 'areas/content-brick/partials/_buttons.html.twig' with {
  354.                 product: product ?? null,
  355.                 productCategory: productCategory ?? null,
  356.                 showRentalFormButton: showRentalFormButton ?? null,
  357.                 showRentalFormButtonColor: showRentalFormButtonColor ?? null,
  358.                 greenButton: true,
  359.                 showCustomButtonComment: showCustomButtonComment ?? null,
  360.                 buttonComment: customButtonComment !== '' ? customButtonComment : 'Binnen één dag vrijblijvend een offerte'|trans
  361.             } %}
  362.         </div>
  363.     </div>
  364.     {% if hasImage %}
  365.         <div class=\"md:flex md:items-center 
  366.             {{ pimcore_select('inverted').data ? 'md:order-1' : 'md:order-2' }}
  367.             {{ hideMediaOnMobile ? 'hidden md:block' : '' }}
  368.         \">
  369.             {% if overrideImage is defined and overrideImage and pimcore_image('image').isEmpty() %}
  370.                 {% include('areas/content-brick/partials/override-image.html.twig') %}
  371.             {% else %}
  372.                 {{ pimcore_image('image', {
  373.                     class: 'block overflow-hidden rounded-md',
  374.                     thumbnail: 'content',
  375.                     pictureAttributes: {class: 'block overflow-hidden rounded-md'}
  376.                 }) | raw }}
  377.             {% endif %}
  378.         </div>
  379.     {% endif %}
  380. </div>""areas/content-brick/layouts/text-image.html.twig""/home/forge/testing.coolworld.ptchr.dev/templates/areas/content-brick/layouts/text-image.html.twig");
  381.     }
  382.     
  383.     public function checkSecurity()
  384.     {
  385.         static $tags = ["set" => 2"if" => 18"include" => 28];
  386.         static $filters = ["escape" => 50"trans" => 50"raw" => 112];
  387.         static $functions = ["pimcore_image" => 2"pimcore_checkbox" => 4"pimcore_select" => 10"pimcore_input" => 13];
  388.         try {
  389.             $this->sandbox->checkSecurity(
  390.                 ['set''if''include'],
  391.                 ['escape''trans''raw'],
  392.                 ['pimcore_image''pimcore_checkbox''pimcore_select''pimcore_input'],
  393.                 $this->source
  394.             );
  395.         } catch (SecurityError $e) {
  396.             $e->setSourceContext($this->source);
  397.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  398.                 $e->setTemplateLine($tags[$e->getTagName()]);
  399.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  400.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  401.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  402.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  403.             }
  404.             throw $e;
  405.         }
  406.     }
  407. }