var/cache/dev/twig/ac/aca3e7aa485105491bc9368d26b2091f.php line 35

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @AleaAreabricks/areas/content-box-with-side-background-image-and-side-text/view.html.twig */
  14. class __TwigTemplate_e55bf22cc8cc7919ca99c5164d3a3283 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AleaAreabricks/areas/content-box-with-side-background-image-and-side-text/view.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AleaAreabricks/areas/content-box-with-side-background-image-and-side-text/view.html.twig"));
  35.         // line 1
  36.         $context["widthFirstColumn"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""widthFirstColumn"), "getData", [], "method"falsefalsetrue1);
  37.         // line 2
  38.         $context["widthSecondColumn"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""widthSecondColumn"), "getData", [], "method"falsefalsetrue2);
  39.         // line 3
  40.         $context["maxWidth"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"numeric""maxWidth"), "getData", [], "method"falsefalsetrue3);
  41.         // line 4
  42.         $context["titleTextColor"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""titleTextColor"), "getData", [], "method"falsefalsetrue4);
  43.         // line 5
  44.         $context["titleFontSize"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""titleFontSize"), "getData", [], "method"falsefalsetrue5);
  45.         // line 6
  46.         $context["titleSemantic"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""titleSemantic"), "getData", [], "method"falsefalsetrue6);
  47.         // line 7
  48.         $context["descriptionTextColor"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""descriptionTextColor"), "getData", [], "method"falsefalsetrue7);
  49.         // line 8
  50.         $context["descriptionFontSize"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""descriptionFontSize"), "getData", [], "method"falsefalsetrue8);
  51.         // line 9
  52.         $context["linkTextColor"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""linkTextColor"), "getData", [], "method"falsefalsetrue9);
  53.         // line 10
  54.         $context["linkFontSize"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""linkFontSize"), "getData", [], "method"falsefalsetrue10);
  55.         // line 11
  56.         $context["backgroundColor"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""backgroundColor"), "getData", [], "method"falsefalsetrue11);
  57.         // line 12
  58.         $context["disposition"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""disposition"), "getData", [], "method"falsefalsetrue12);
  59.         // line 13
  60.         $context["offset"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""offset"), "getData", [], "method"falsefalsetrue13);
  61.         // line 14
  62.         $context["imageType"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""imageType"), "getData", [], "method"falsefalsetrue14);
  63.         // line 15
  64.         $context["imageAlignment"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""imageAlignment"), "getData", [], "method"falsefalsetrue15);
  65.         // line 16
  66.         $context["imageDisposition"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""imageDisposition"), "getData", [], "method"falsefalsetrue16);
  67.         // line 17
  68.         $context["textAlignment"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""textAlignment"), "getData", [], "method"falsefalsetrue17);
  69.         // line 18
  70.         $context["textPosition"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""textPosition"), "getData", [], "method"falsefalsetrue18);
  71.         // line 19
  72.         $context["fullWidthImage"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""fullWidthImage"), "getData", [], "method"falsefalsetrue19);
  73.         // line 20
  74.         $context["showNavigation"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"checkbox""showNavigation"), "getData", [], "method"falsefalsetrue20);
  75.         // line 21
  76.         echo "
  77. ";
  78.         // line 24
  79.         $context["pm"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""pm"), "getData", [], "method"falsefalsetrue24);
  80.         echo "       ";
  81.         // line 25
  82.         $context["psm"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""psm"), "getData", [], "method"falsefalsetrue25);
  83.         echo "     ";
  84.         // line 26
  85.         $context["ptm"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""ptm"), "getData", [], "method"falsefalsetrue26);
  86.         echo "     ";
  87.         // line 27
  88.         $context["pem"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""pem"), "getData", [], "method"falsefalsetrue27);
  89.         echo "     ";
  90.         // line 28
  91.         $context["pbm"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""pbm"), "getData", [], "method"falsefalsetrue28);
  92.         echo "     ";
  93.         // line 30
  94.         $context["pd"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""pd"), "getData", [], "method"falsefalsetrue30);
  95.         // line 31
  96.         $context["psd"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""psd"), "getData", [], "method"falsefalsetrue31);
  97.         // line 32
  98.         $context["ptd"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""ptd"), "getData", [], "method"falsefalsetrue32);
  99.         // line 33
  100.         $context["ped"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""ped"), "getData", [], "method"falsefalsetrue33);
  101.         // line 34
  102.         $context["pbd"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""pbd"), "getData", [], "method"falsefalsetrue34);
  103.         // line 35
  104.         echo "
  105. <style>
  106. @media (max-width:768px){
  107.     .textcontent { max-width:none; }    
  108. }
  109. </style>
  110. <div class=\"block-side-image-text ";
  111.         // line 42
  112.         if (((isset($context["offset"]) || array_key_exists("offset"$context) ? $context["offset"] : (function () { throw new RuntimeError('Variable "offset" does not exist.'42$this->source); })()) != 0)) {
  113.             echo " offset-md-";
  114.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["offset"]) || array_key_exists("offset"$context) ? $context["offset"] : (function () { throw new RuntimeError('Variable "offset" does not exist.'42$this->source); })()), 42$this->source), "html"nulltrue);
  115.             echo " ";
  116.         }
  117.         echo "\">
  118.     <div class=\"d-block d-md-flex ";
  119.         // line 43
  120.         if ((isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'43$this->source); })())) {
  121.             echo " bg-";
  122.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'43$this->source); })()), 43$this->source), "html"nulltrue);
  123.             echo " ";
  124.         }
  125.         echo " inner ";
  126.         if (((isset($context["disposition"]) || array_key_exists("disposition"$context) ? $context["disposition"] : (function () { throw new RuntimeError('Variable "disposition" does not exist.'43$this->source); })()) == "textImage")) {
  127.             echo " flex-row-reverse ";
  128.         }
  129.         echo "\">
  130.             <div class=\"";
  131.         // line 44
  132.         if ((((array_key_exists("imageDisposition"$context)) ? (_twig_default_filter((isset($context["imageDisposition"]) || array_key_exists("imageDisposition"$context) ? $context["imageDisposition"] : (function () { throw new RuntimeError('Variable "imageDisposition" does not exist.'44$this->source); })()), "row")) : ("row")) == "carousel")) {
  133.             echo " swiper swiper-slider ";
  134.         } elseif ((((array_key_exists("imageDisposition"$context)) ? (_twig_default_filter((isset($context["imageDisposition"]) || array_key_exists("imageDisposition"$context) ? $context["imageDisposition"] : (function () { throw new RuntimeError('Variable "imageDisposition" does not exist.'44$this->source); })()), "row")) : ("row")) == "column")) {
  135.             echo " swiper vertical-swiper ";
  136.         } else {
  137.         }
  138.         echo " p-0 m-0 ";
  139.         if (((isset($context["imageType"]) || array_key_exists("imageType"$context) ? $context["imageType"] : (function () { throw new RuntimeError('Variable "imageType" does not exist.'44$this->source); })()) == "background")) {
  140.             echo " col-md-";
  141.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["widthFirstColumn"]) || array_key_exists("widthFirstColumn"$context) ? $context["widthFirstColumn"] : (function () { throw new RuntimeError('Variable "widthFirstColumn" does not exist.'44$this->source); })()), 44$this->source), "html"nulltrue);
  142.             echo "  ";
  143.         } else {
  144.             echo " col-12 ";
  145.             if (((isset($context["widthFirstColumn"]) || array_key_exists("widthFirstColumn"$context) ? $context["widthFirstColumn"] : (function () { throw new RuntimeError('Variable "widthFirstColumn" does not exist.'44$this->source); })()) != 0)) {
  146.                 echo " col-lg-";
  147.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["widthFirstColumn"]) || array_key_exists("widthFirstColumn"$context) ? $context["widthFirstColumn"] : (function () { throw new RuntimeError('Variable "widthFirstColumn" does not exist.'44$this->source); })()), 44$this->source), "html"nulltrue);
  148.                 echo " ";
  149.             }
  150.             echo " p-0 m-0 ";
  151.             if (((isset($context["imageAlignment"]) || array_key_exists("imageAlignment"$context) ? $context["imageAlignment"] : (function () { throw new RuntimeError('Variable "imageAlignment" does not exist.'44$this->source); })()) == "right")) {
  152.                 echo " text-end pe-40 ";
  153.             }
  154.             echo " ";
  155.             if (((isset($context["imageAlignment"]) || array_key_exists("imageAlignment"$context) ? $context["imageAlignment"] : (function () { throw new RuntimeError('Variable "imageAlignment" does not exist.'44$this->source); })()) == "left")) {
  156.                 echo " text-start ";
  157.             }
  158.             echo " ";
  159.             if (((isset($context["imageAlignment"]) || array_key_exists("imageAlignment"$context) ? $context["imageAlignment"] : (function () { throw new RuntimeError('Variable "imageAlignment" does not exist.'44$this->source); })()) == "center")) {
  160.                 echo " text-center ";
  161.             }
  162.             echo " ";
  163.         }
  164.         echo "\">
  165.                 ";
  166.         // line 45
  167.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'45$this->source); })())) {
  168.             // line 46
  169.             echo "                    ";
  170.             $context['_parent'] = $context;
  171.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""imageBlock"), "iterator", [], "any"falsefalsetrue46));
  172.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  173.                 // line 47
  174.                 echo "                        <div class=\"col-md-";
  175.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["widthFirstColumn"]) || array_key_exists("widthFirstColumn"$context) ? $context["widthFirstColumn"] : (function () { throw new RuntimeError('Variable "widthFirstColumn" does not exist.'47$this->source); })()), 47$this->source), "html"nulltrue);
  176.                 echo "\">
  177.                             ";
  178.                 // line 48
  179.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image");
  180.                 echo "
  181.                         </div>
  182.                     ";
  183.             }
  184.             $_parent $context['_parent'];
  185.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  186.             $context array_intersect_key($context$_parent) + $_parent;
  187.             // line 51
  188.             echo "                ";
  189.         } else {
  190.             // line 52
  191.             echo "                <div class=\"swiper-wrapper\">
  192.                     ";
  193.             // line 53
  194.             $context['_parent'] = $context;
  195.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""imageBlock"), "iterator", [], "any"falsefalsetrue53));
  196.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  197.                 // line 54
  198.                 echo "                        ";
  199.                 if (((isset($context["imageType"]) || array_key_exists("imageType"$context) ? $context["imageType"] : (function () { throw new RuntimeError('Variable "imageType" does not exist.'54$this->source); })()) == "background")) {
  200.                     // line 55
  201.                     echo "                            <div class=\"swiper-slide image background position-relative\" >
  202.                                 ";
  203.                     // line 56
  204.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image"), "thumbnail", [=> "content_box_side_image"], "method"falsefalsetrue56), "html", [=> ["pictureAttributes" => ["class" => "w-100 h-100 d-block"], "imgAttributes" => ["class" => "w-100 h-100 object-fit-cover"]]], "method"falsefalsetrue56), 56$this->source);
  205.                     // line 63
  206.                     echo "
  207.                             </div>
  208.                         ";
  209.                 } else {
  210.                     // line 66
  211.                     echo "                            <div class=\"swiper-slide image\">
  212.                                 ";
  213.                     // line 68
  214.                     echo "                                 ";
  215.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""image"), "thumbnail", [=> "content_box_side_image"], "method"falsefalsetrue68), "html", [=> ["pictureAttributes" => ["class" => ""], "imgAttributes" => ["class" => ((                    // line 73
  216. (isset($context["fullWidthImage"]) || array_key_exists("fullWidthImage"$context) ? $context["fullWidthImage"] : (function () { throw new RuntimeError('Variable "fullWidthImage" does not exist.'73$this->source); })())) ? ("w-100 h-auto") : (" w-100 w-lg-auto h-auto"))]]], "method"falsefalsetrue68), 68$this->source);
  217.                     // line 75
  218.                     echo "
  219.                                 
  220.                             </div>
  221.                         ";
  222.                 }
  223.                 // line 79
  224.                 echo "                    ";
  225.             }
  226.             $_parent $context['_parent'];
  227.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  228.             $context array_intersect_key($context$_parent) + $_parent;
  229.             // line 80
  230.             echo "                </div>
  231.                 ";
  232.             // line 81
  233.             if ((isset($context["showNavigation"]) || array_key_exists("showNavigation"$context) ? $context["showNavigation"] : (function () { throw new RuntimeError('Variable "showNavigation" does not exist.'81$this->source); })())) {
  234.                 // line 82
  235.                 echo "                    <div class=\"swiper-pagination\"></div>
  236.                 ";
  237.             }
  238.             // line 84
  239.             echo "            </div>
  240.         ";
  241.         }
  242.         // line 86
  243.         echo "        <div class=\"content col-12 col-md-";
  244.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["widthSecondColumn"]) || array_key_exists("widthSecondColumn"$context) ? $context["widthSecondColumn"] : (function () { throw new RuntimeError('Variable "widthSecondColumn" does not exist.'86$this->source); })()), 86$this->source), "html"nulltrue);
  245.         echo " d-flex flex-column text-";
  246.         echo twig_escape_filter($this->env, ((array_key_exists("textAlignment"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["textAlignment"]) || array_key_exists("textAlignment"$context) ? $context["textAlignment"] : (function () { throw new RuntimeError('Variable "textAlignment" does not exist.'86$this->source); })()), 86$this->source), "left")) : ("left")), "html"nulltrue);
  247.         echo " ";
  248.         echo twig_escape_filter($this->env, ((array_key_exists("textPosition"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["textPosition"]) || array_key_exists("textPosition"$context) ? $context["textPosition"] : (function () { throw new RuntimeError('Variable "textPosition" does not exist.'86$this->source); })()), 86$this->source), "align-items-start justify-content-center")) : ("align-items-start justify-content-center")), "html"nulltrue);
  249.         echo "\">
  250.             <div class=\"pb-30 pb-lg-0 pt-20 py-lg-30 px-0 p-lg-50 ";
  251.         // line 87
  252.         echo ((((((array_key_exists("imageDisposition"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["imageDisposition"]) || array_key_exists("imageDisposition"$context) ? $context["imageDisposition"] : (function () { throw new RuntimeError('Variable "imageDisposition" does not exist.'87$this->source); })()), 87$this->source), "row")) : ("row")) == "carousel") || (((array_key_exists("imageDisposition"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["imageDisposition"]) || array_key_exists("imageDisposition"$context) ? $context["imageDisposition"] : (function () { throw new RuntimeError('Variable "imageDisposition" does not exist.'87$this->source); })()), 87$this->source), "row")) : ("row")) == "row"))) ? ("") : ("position-sticky sticky-top"));
  253.         echo "\">
  254.                 ";
  255.         // line 88
  256.         $context['_parent'] = $context;
  257.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""cardBlock", ["limit" => 6]), "iterator", [], "any"falsefalsetrue88));
  258.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  259.             // line 89
  260.             echo "                    <div class=\"textcontent 
  261.                     ";
  262.             // line 90
  263.             if (((isset($context["pm"]) || array_key_exists("pm"$context) ? $context["pm"] : (function () { throw new RuntimeError('Variable "pm" does not exist.'90$this->source); })()) && ((isset($context["pm"]) || array_key_exists("pm"$context) ? $context["pm"] : (function () { throw new RuntimeError('Variable "pm" does not exist.'90$this->source); })()) != ""))) {
  264.                 echo " p-";
  265.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["pm"]) || array_key_exists("pm"$context) ? $context["pm"] : (function () { throw new RuntimeError('Variable "pm" does not exist.'90$this->source); })()), 90$this->source), "html"nulltrue);
  266.                 echo " ";
  267.             }
  268.             // line 91
  269.             echo "                    ";
  270.             if (((isset($context["pd"]) || array_key_exists("pd"$context) ? $context["pd"] : (function () { throw new RuntimeError('Variable "pd" does not exist.'91$this->source); })()) && ((isset($context["pd"]) || array_key_exists("pd"$context) ? $context["pd"] : (function () { throw new RuntimeError('Variable "pd" does not exist.'91$this->source); })()) != ""))) {
  271.                 echo " p-";
  272.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["pd"]) || array_key_exists("pd"$context) ? $context["pd"] : (function () { throw new RuntimeError('Variable "pd" does not exist.'91$this->source); })()), 91$this->source), "html"nulltrue);
  273.                 echo " ";
  274.             }
  275.             // line 92
  276.             echo "                    ";
  277.             if (((isset($context["psm"]) || array_key_exists("psm"$context) ? $context["psm"] : (function () { throw new RuntimeError('Variable "psm" does not exist.'92$this->source); })()) && ((isset($context["psm"]) || array_key_exists("psm"$context) ? $context["psm"] : (function () { throw new RuntimeError('Variable "psm" does not exist.'92$this->source); })()) != ""))) {
  278.                 echo " ps-";
  279.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["psm"]) || array_key_exists("psm"$context) ? $context["psm"] : (function () { throw new RuntimeError('Variable "psm" does not exist.'92$this->source); })()), 92$this->source), "html"nulltrue);
  280.                 echo " ";
  281.             }
  282.             // line 93
  283.             echo "                    ";
  284.             if (((isset($context["psd"]) || array_key_exists("psd"$context) ? $context["psd"] : (function () { throw new RuntimeError('Variable "psd" does not exist.'93$this->source); })()) && ((isset($context["psd"]) || array_key_exists("psd"$context) ? $context["psd"] : (function () { throw new RuntimeError('Variable "psd" does not exist.'93$this->source); })()) != ""))) {
  285.                 echo " ps-lg-";
  286.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["psd"]) || array_key_exists("psd"$context) ? $context["psd"] : (function () { throw new RuntimeError('Variable "psd" does not exist.'93$this->source); })()), 93$this->source), "html"nulltrue);
  287.                 echo " ";
  288.             }
  289.             // line 94
  290.             echo "                    ";
  291.             if (((isset($context["ptm"]) || array_key_exists("ptm"$context) ? $context["ptm"] : (function () { throw new RuntimeError('Variable "ptm" does not exist.'94$this->source); })()) && ((isset($context["ptm"]) || array_key_exists("ptm"$context) ? $context["ptm"] : (function () { throw new RuntimeError('Variable "ptm" does not exist.'94$this->source); })()) != ""))) {
  292.                 echo " pt-";
  293.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["ptm"]) || array_key_exists("ptm"$context) ? $context["ptm"] : (function () { throw new RuntimeError('Variable "ptm" does not exist.'94$this->source); })()), 94$this->source), "html"nulltrue);
  294.                 echo " ";
  295.             }
  296.             // line 95
  297.             echo "                    ";
  298.             if (((isset($context["ptd"]) || array_key_exists("ptd"$context) ? $context["ptd"] : (function () { throw new RuntimeError('Variable "ptd" does not exist.'95$this->source); })()) && ((isset($context["ptd"]) || array_key_exists("ptd"$context) ? $context["ptd"] : (function () { throw new RuntimeError('Variable "ptd" does not exist.'95$this->source); })()) != ""))) {
  299.                 echo " pt-lg-";
  300.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["ptd"]) || array_key_exists("ptd"$context) ? $context["ptd"] : (function () { throw new RuntimeError('Variable "ptd" does not exist.'95$this->source); })()), 95$this->source), "html"nulltrue);
  301.                 echo " ";
  302.             }
  303.             // line 96
  304.             echo "                    ";
  305.             if (((isset($context["pem"]) || array_key_exists("pem"$context) ? $context["pem"] : (function () { throw new RuntimeError('Variable "pem" does not exist.'96$this->source); })()) && ((isset($context["pem"]) || array_key_exists("pem"$context) ? $context["pem"] : (function () { throw new RuntimeError('Variable "pem" does not exist.'96$this->source); })()) != ""))) {
  306.                 echo " pe-";
  307.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["pem"]) || array_key_exists("pem"$context) ? $context["pem"] : (function () { throw new RuntimeError('Variable "pem" does not exist.'96$this->source); })()), 96$this->source), "html"nulltrue);
  308.                 echo " ";
  309.             }
  310.             // line 97
  311.             echo "                    ";
  312.             if (((isset($context["ped"]) || array_key_exists("ped"$context) ? $context["ped"] : (function () { throw new RuntimeError('Variable "ped" does not exist.'97$this->source); })()) && ((isset($context["ped"]) || array_key_exists("ped"$context) ? $context["ped"] : (function () { throw new RuntimeError('Variable "ped" does not exist.'97$this->source); })()) != ""))) {
  313.                 echo " pe-lg-";
  314.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["ped"]) || array_key_exists("ped"$context) ? $context["ped"] : (function () { throw new RuntimeError('Variable "ped" does not exist.'97$this->source); })()), 97$this->source), "html"nulltrue);
  315.                 echo " ";
  316.             }
  317.             // line 98
  318.             echo "                    ";
  319.             if (((isset($context["pbm"]) || array_key_exists("pbm"$context) ? $context["pbm"] : (function () { throw new RuntimeError('Variable "pbm" does not exist.'98$this->source); })()) && ((isset($context["pbm"]) || array_key_exists("pbm"$context) ? $context["pbm"] : (function () { throw new RuntimeError('Variable "pbm" does not exist.'98$this->source); })()) != ""))) {
  320.                 echo " pb-";
  321.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["pbm"]) || array_key_exists("pbm"$context) ? $context["pbm"] : (function () { throw new RuntimeError('Variable "pbm" does not exist.'98$this->source); })()), 98$this->source), "html"nulltrue);
  322.                 echo " ";
  323.             }
  324.             // line 99
  325.             echo "                    ";
  326.             if (((isset($context["pbd"]) || array_key_exists("pbd"$context) ? $context["pbd"] : (function () { throw new RuntimeError('Variable "pbd" does not exist.'99$this->source); })()) && ((isset($context["pbd"]) || array_key_exists("pbd"$context) ? $context["pbd"] : (function () { throw new RuntimeError('Variable "pbd" does not exist.'99$this->source); })()) != ""))) {
  327.                 echo " pb-lg-";
  328.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["pbd"]) || array_key_exists("pbd"$context) ? $context["pbd"] : (function () { throw new RuntimeError('Variable "pbd" does not exist.'99$this->source); })()), 99$this->source), "html"nulltrue);
  329.             }
  330.             // line 100
  331.             echo "                    \" ";
  332.             if ((isset($context["maxWidth"]) || array_key_exists("maxWidth"$context) ? $context["maxWidth"] : (function () { throw new RuntimeError('Variable "maxWidth" does not exist.'100$this->source); })())) {
  333.                 echo " style=\"with:100%; max-width:";
  334.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["maxWidth"]) || array_key_exists("maxWidth"$context) ? $context["maxWidth"] : (function () { throw new RuntimeError('Variable "maxWidth" does not exist.'100$this->source); })()), 100$this->source), "html"nulltrue);
  335.                 echo "px;\"";
  336.             }
  337.             echo ">
  338.                         <";
  339.             // line 101
  340.             echo twig_escape_filter($this->env, ((array_key_exists("titleSemantic"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["titleSemantic"]) || array_key_exists("titleSemantic"$context) ? $context["titleSemantic"] : (function () { throw new RuntimeError('Variable "titleSemantic" does not exist.'101$this->source); })()), 101$this->source), "h2")) : ("h2")), "html"nulltrue);
  341.             echo " class=\"text-";
  342.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["titleTextColor"]) || array_key_exists("titleTextColor"$context) ? $context["titleTextColor"] : (function () { throw new RuntimeError('Variable "titleTextColor" does not exist.'101$this->source); })()), 101$this->source), "html"nulltrue);
  343.             echo " ";
  344.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["titleFontSize"]) || array_key_exists("titleFontSize"$context) ? $context["titleFontSize"] : (function () { throw new RuntimeError('Variable "titleFontSize" does not exist.'101$this->source); })()), 101$this->source), "html"nulltrue);
  345.             echo " \">
  346.                             ";
  347.             // line 102
  348.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""title", ["width" => "100%""placeholder" => "Titolo"]);
  349.             // line 105
  350.             echo "
  351.                         </";
  352.             // line 106
  353.             echo twig_escape_filter($this->env, ((array_key_exists("titleSemantic"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["titleSemantic"]) || array_key_exists("titleSemantic"$context) ? $context["titleSemantic"] : (function () { throw new RuntimeError('Variable "titleSemantic" does not exist.'106$this->source); })()), 106$this->source), "h2")) : ("h2")), "html"nulltrue);
  354.             echo ">
  355.                         <div class=\"text-";
  356.             // line 107
  357.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["descriptionTextColor"]) || array_key_exists("descriptionTextColor"$context) ? $context["descriptionTextColor"] : (function () { throw new RuntimeError('Variable "descriptionTextColor" does not exist.'107$this->source); })()), 107$this->source), "html"nulltrue);
  358.             echo " ";
  359.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["descriptionFontSize"]) || array_key_exists("descriptionFontSize"$context) ? $context["descriptionFontSize"] : (function () { throw new RuntimeError('Variable "descriptionFontSize" does not exist.'107$this->source); })()), 107$this->source), "html"nulltrue);
  360.             echo "\">
  361.                             ";
  362.             // line 108
  363.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""description", ["width" => "100%""placeholder" => "Descrizione"]);
  364.             // line 111
  365.             echo "
  366.                         </div>
  367.                     ";
  368.             // line 113
  369.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'113$this->source); })())) {
  370.                 // line 114
  371.                 echo "                        ";
  372.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link");
  373.                 echo "
  374.                     ";
  375.             } else {
  376.                 // line 116
  377.                 echo "                        ";
  378.                 $context["link"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link");
  379.                 // line 117
  380.                 echo "                        <a href=\"";
  381.                 ((twig_get_attribute($this->env$this->source, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'117$this->source); })()), "getHref", [], "method"falsefalsetrue117)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'117$this->source); })()), "getHref", [], "method"falsefalsetrue117), "html"nulltrue))) : (print ("#")));
  382.                 echo "\" class=\"link text-";
  383.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["linkTextColor"]) || array_key_exists("linkTextColor"$context) ? $context["linkTextColor"] : (function () { throw new RuntimeError('Variable "linkTextColor" does not exist.'117$this->source); })()), 117$this->source), "html"nulltrue);
  384.                 echo " ";
  385.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["linkFontSize"]) || array_key_exists("linkFontSize"$context) ? $context["linkFontSize"] : (function () { throw new RuntimeError('Variable "linkFontSize" does not exist.'117$this->source); })()), 117$this->source), "html"nulltrue);
  386.                 echo "\">";
  387.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'117$this->source); })()), "getText", [], "method"falsefalsetrue117), 117$this->source), "html"nulltrue);
  388.                 echo "</a>
  389.                     ";
  390.             }
  391.             // line 119
  392.             echo "                    </div>
  393.                 ";
  394.         }
  395.         $_parent $context['_parent'];
  396.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  397.         $context array_intersect_key($context$_parent) + $_parent;
  398.         // line 121
  399.         echo "            </div>
  400.         </div>
  401.     </div>
  402. </div>
  403. ";
  404.         // line 127
  405.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> (isset($context["swiper_js"]) || array_key_exists("swiper_js"$context) ? $context["swiper_js"] : (function () { throw new RuntimeError('Variable "swiper_js" does not exist.'127$this->source); })())], "method"falsefalsetrue127);
  406.         echo "\t
  407. <script>
  408.     document.addEventListener(\"DOMContentLoaded\", (event) => {
  409.         var thumbsSwiper = new Swiper('.block-side-image-text .swiper-slider', {
  410.             slidesPerView: '1',
  411.             spaceBetween: 10,
  412.             pagination: {
  413.                 el: '.swiper-pagination',
  414.                 type: 'bullets',
  415.                 clickable: true,
  416.             },
  417.         });
  418.         var thumbsSwiperVert = new Swiper('.block-side-image-text .vertical-swiper', {
  419.             slidesPerView: '1',
  420.             spaceBetween: 0,
  421.             direction: 'horizontal',
  422.             pagination: {
  423.                 el: '.swiper-pagination',
  424.                 type: 'bullets',
  425.                 clickable: true,
  426.             },
  427.             breakpoints: {
  428.                 768: {
  429.                 slidesPerView: '40',
  430.                 spaceBetween: 40,
  431.                 direction: 'vertical',
  432.                 }
  433.             }
  434.         });
  435.     });
  436. </script>";
  437.         
  438.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  439.         
  440.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  441.     }
  442.     public function getTemplateName()
  443.     {
  444.         return "@AleaAreabricks/areas/content-box-with-side-background-image-and-side-text/view.html.twig";
  445.     }
  446.     public function isTraitable()
  447.     {
  448.         return false;
  449.     }
  450.     public function getDebugInfo()
  451.     {
  452.         return array (  417 => 127,  410 => 121,  403 => 119,  391 => 117,  388 => 116,  382 => 114,  380 => 113,  376 => 111,  374 => 108,  368 => 107,  364 => 106,  361 => 105,  359 => 102,  351 => 101,  342 => 100,  336 => 99,  329 => 98,  322 => 97,  315 => 96,  308 => 95,  301 => 94,  294 => 93,  287 => 92,  280 => 91,  274 => 90,  271 => 89,  267 => 88,  263 => 87,  254 => 86,  250 => 84,  246 => 82,  244 => 81,  241 => 80,  235 => 79,  229 => 75,  227 => 73,  225 => 68,  222 => 66,  217 => 63,  215 => 56,  212 => 55,  209 => 54,  205 => 53,  202 => 52,  199 => 51,  190 => 48,  185 => 47,  180 => 46,  178 => 45,  143 => 44,  131 => 43,  123 => 42,  114 => 35,  112 => 34,  110 => 33,  108 => 32,  106 => 31,  104 => 30,  101 => 28,  98 => 27,  95 => 26,  92 => 25,  89 => 24,  85 => 21,  83 => 20,  81 => 19,  79 => 18,  77 => 17,  75 => 16,  73 => 15,  71 => 14,  69 => 13,  67 => 12,  65 => 11,  63 => 10,  61 => 9,  59 => 8,  57 => 7,  55 => 6,  53 => 5,  51 => 4,  49 => 3,  47 => 2,  45 => 1,);
  453.     }
  454.     public function getSourceContext()
  455.     {
  456.         return new Source("{% set widthFirstColumn = pimcore_select('widthFirstColumn').getData() %}
  457. {% set widthSecondColumn = pimcore_select('widthSecondColumn').getData() %}
  458. {% set maxWidth = pimcore_numeric('maxWidth').getData() %}
  459. {% set titleTextColor = pimcore_select('titleTextColor').getData() %}
  460. {% set titleFontSize = pimcore_select('titleFontSize').getData() %}
  461. {% set titleSemantic = pimcore_select('titleSemantic').getData() %}
  462. {% set descriptionTextColor = pimcore_select('descriptionTextColor').getData() %}
  463. {% set descriptionFontSize = pimcore_select('descriptionFontSize').getData() %}
  464. {% set linkTextColor = pimcore_select('linkTextColor').getData() %}
  465. {% set linkFontSize = pimcore_select('linkFontSize').getData() %}
  466. {% set backgroundColor = pimcore_select('backgroundColor').getData() %}
  467. {% set disposition = pimcore_select('disposition').getData() %}
  468. {% set offset = pimcore_select('offset').getData() %}
  469. {% set imageType = pimcore_select('imageType').getData() %}
  470. {% set imageAlignment = pimcore_select('imageAlignment').getData() %}
  471. {% set imageDisposition = pimcore_select('imageDisposition').getData() %}
  472. {% set textAlignment = pimcore_select('textAlignment').getData() %}
  473. {% set textPosition = pimcore_select('textPosition').getData() %}
  474. {% set fullWidthImage = pimcore_checkbox('fullWidthImage').getData() %}
  475. {% set showNavigation = pimcore_checkbox('showNavigation').getData() %}
  476. {# mobile - padding #}
  477. {% set pm = pimcore_select('pm').getData() %}       {# all 4 sides #}
  478. {% set psm = pimcore_select('psm').getData() %}     {# left #}
  479. {% set ptm = pimcore_select('ptm').getData() %}     {# top #}
  480. {% set pem = pimcore_select('pem').getData() %}     {# right #}
  481. {% set pbm = pimcore_select('pbm').getData() %}     {# bottom #}
  482. {# desktop - padding #}
  483. {% set pd = pimcore_select('pd').getData() %}
  484. {% set psd = pimcore_select('psd').getData() %}
  485. {% set ptd = pimcore_select('ptd').getData() %}
  486. {% set ped = pimcore_select('ped').getData() %}
  487. {% set pbd = pimcore_select('pbd').getData() %}
  488. <style>
  489. @media (max-width:768px){
  490.     .textcontent { max-width:none; }    
  491. }
  492. </style>
  493. <div class=\"block-side-image-text {% if offset != 0 %} offset-md-{{ offset }} {% endif %}\">
  494.     <div class=\"d-block d-md-flex {% if backgroundColor %} bg-{{ backgroundColor }} {% endif %} inner {% if disposition == 'textImage' %} flex-row-reverse {% endif %}\">
  495.             <div class=\"{% if imageDisposition|default('row') == 'carousel' %} swiper swiper-slider {% elseif imageDisposition|default('row') == 'column'  %} swiper vertical-swiper {% else %}{% endif %} p-0 m-0 {% if imageType == 'background' %} col-md-{{ widthFirstColumn }}  {% else %} col-12 {% if widthFirstColumn != 0 %} col-lg-{{ widthFirstColumn }} {% endif %} p-0 m-0 {% if imageAlignment == 'right' %} text-end pe-40 {% endif %} {% if imageAlignment == 'left' %} text-start {% endif %} {% if imageAlignment == 'center' %} text-center {% endif %} {% endif %}\">
  496.                 {% if editmode %}
  497.                     {% for i in pimcore_block('imageBlock').iterator %}
  498.                         <div class=\"col-md-{{ widthFirstColumn }}\">
  499.                             {{ pimcore_image(\"image\") }}
  500.                         </div>
  501.                     {% endfor %}
  502.                 {% else %}
  503.                 <div class=\"swiper-wrapper\">
  504.                     {% for i in pimcore_block('imageBlock').iterator %}
  505.                         {% if imageType == 'background' %}
  506.                             <div class=\"swiper-slide image background position-relative\" >
  507.                                 {{ pimcore_image(\"image\").thumbnail('content_box_side_image').html({
  508.                                     'pictureAttributes': {
  509.                                         'class': 'w-100 h-100 d-block'
  510.                                     },
  511.                                     'imgAttributes': {
  512.                                         'class': 'w-100 h-100 object-fit-cover'
  513.                                     }
  514.                                 }) | raw  }}
  515.                             </div>
  516.                         {% else %}
  517.                             <div class=\"swiper-slide image\">
  518.                                 {#<img src=\"{{ pimcore_image(\"image\").getSrc() }}\" alt=\"\" {% if fullWidthImage %} class=\"w-100\" {% endif %} />#}
  519.                                  {{ pimcore_image(\"image\").thumbnail('content_box_side_image').html({
  520.                                     'pictureAttributes': {
  521.                                         'class': ''
  522.                                     },
  523.                                     'imgAttributes': {
  524.                                         'class': fullWidthImage? 'w-100 h-auto' : ' w-100 w-lg-auto h-auto'
  525.                                     }
  526.                                 }) | raw  }}
  527.                                 
  528.                             </div>
  529.                         {% endif %}
  530.                     {% endfor %}
  531.                 </div>
  532.                 {% if showNavigation %}
  533.                     <div class=\"swiper-pagination\"></div>
  534.                 {% endif %}
  535.             </div>
  536.         {% endif %}
  537.         <div class=\"content col-12 col-md-{{ widthSecondColumn }} d-flex flex-column text-{{textAlignment|default('left')}} {{textPosition|default('align-items-start justify-content-center')}}\">
  538.             <div class=\"pb-30 pb-lg-0 pt-20 py-lg-30 px-0 p-lg-50 {{ imageDisposition|default('row') == 'carousel' or imageDisposition|default('row') == 'row' ? '' : 'position-sticky sticky-top' }}\">
  539.                 {% for i in pimcore_block('cardBlock', {'limit': 6}).iterator %}
  540.                     <div class=\"textcontent 
  541.                     {% if pm and pm != '' %} p-{{pm}} {% endif %}
  542.                     {% if pd and pd != '' %} p-{{pd}} {% endif %}
  543.                     {% if psm and psm != '' %} ps-{{psm}} {% endif %}
  544.                     {% if psd and psd != '' %} ps-lg-{{psd}} {% endif %}
  545.                     {% if ptm and ptm != '' %} pt-{{ptm}} {% endif %}
  546.                     {% if ptd and ptd != '' %} pt-lg-{{ptd}} {% endif %}
  547.                     {% if pem and pem != '' %} pe-{{pem}} {% endif %}
  548.                     {% if ped and ped != '' %} pe-lg-{{ped}} {% endif %}
  549.                     {% if pbm and pbm != '' %} pb-{{pbm}} {% endif %}
  550.                     {% if pbd and pbd != '' %} pb-lg-{{pbd}}{% endif %}
  551.                     \" {% if maxWidth %} style=\"with:100%; max-width:{{maxWidth}}px;\"{% endif %}>
  552.                         <{{ titleSemantic|default('h2') }} class=\"text-{{ titleTextColor }} {{ titleFontSize }} \">
  553.                             {{ pimcore_input(\"title\",{
  554.                                 \"width\": '100%',
  555.                                 \"placeholder\": \"Titolo\"
  556.                             }) }}
  557.                         </{{ titleSemantic|default('h2') }}>
  558.                         <div class=\"text-{{ descriptionTextColor }} {{ descriptionFontSize }}\">
  559.                             {{ pimcore_wysiwyg(\"description\",{
  560.                                 \"width\": '100%',
  561.                                 \"placeholder\": \"Descrizione\"
  562.                             }) }}
  563.                         </div>
  564.                     {% if editmode %}
  565.                         {{ pimcore_link('link') }}
  566.                     {% else %}
  567.                         {%  set link = pimcore_link('link') %}
  568.                         <a href=\"{{ link.getHref() ?: '#' }}\" class=\"link text-{{ linkTextColor }} {{ linkFontSize }}\">{{ link.getText() }}</a>
  569.                     {% endif %}
  570.                     </div>
  571.                 {% endfor %}
  572.             </div>
  573.         </div>
  574.     </div>
  575. </div>
  576. {# swiper slider js #}
  577. {% do pimcore_head_script().appendFile(swiper_js) %}\t
  578. <script>
  579.     document.addEventListener(\"DOMContentLoaded\", (event) => {
  580.         var thumbsSwiper = new Swiper('.block-side-image-text .swiper-slider', {
  581.             slidesPerView: '1',
  582.             spaceBetween: 10,
  583.             pagination: {
  584.                 el: '.swiper-pagination',
  585.                 type: 'bullets',
  586.                 clickable: true,
  587.             },
  588.         });
  589.         var thumbsSwiperVert = new Swiper('.block-side-image-text .vertical-swiper', {
  590.             slidesPerView: '1',
  591.             spaceBetween: 0,
  592.             direction: 'horizontal',
  593.             pagination: {
  594.                 el: '.swiper-pagination',
  595.                 type: 'bullets',
  596.                 clickable: true,
  597.             },
  598.             breakpoints: {
  599.                 768: {
  600.                 slidesPerView: '40',
  601.                 spaceBetween: 40,
  602.                 direction: 'vertical',
  603.                 }
  604.             }
  605.         });
  606.     });
  607. </script>""@AleaAreabricks/areas/content-box-with-side-background-image-and-side-text/view.html.twig""/var/www/html/bundles/Alea/AreabricksBundle/Resources/views/areas/content-box-with-side-background-image-and-side-text/view.html.twig");
  608.     }
  609.     
  610.     public function checkSecurity()
  611.     {
  612.         static $tags = array("set" => 1"if" => 42"for" => 46"do" => 127);
  613.         static $filters = array("escape" => 42"default" => 44"raw" => 63);
  614.         static $functions = array("pimcore_select" => 1"pimcore_numeric" => 3"pimcore_checkbox" => 19"pimcore_block" => 46"pimcore_image" => 48"pimcore_input" => 102"pimcore_wysiwyg" => 108"pimcore_link" => 114"pimcore_head_script" => 127);
  615.         try {
  616.             $this->sandbox->checkSecurity(
  617.                 ['set''if''for''do'],
  618.                 ['escape''default''raw'],
  619.                 ['pimcore_select''pimcore_numeric''pimcore_checkbox''pimcore_block''pimcore_image''pimcore_input''pimcore_wysiwyg''pimcore_link''pimcore_head_script']
  620.             );
  621.         } catch (SecurityError $e) {
  622.             $e->setSourceContext($this->source);
  623.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  624.                 $e->setTemplateLine($tags[$e->getTagName()]);
  625.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  626.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  627.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  628.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  629.             }
  630.             throw $e;
  631.         }
  632.     }
  633. }