var/cache/website/dev/twig/f0/f06243b8daa534d5dc1dc6cc71bbd10f.php line 46

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\Sandbox\SecurityNotAllowedTestError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. use Twig\TemplateWrapper;
  16. /* pages/default.html.twig */
  17. class __TwigTemplate_ba7bb44f02cb5db358d511e2b5a2e50f extends Template
  18. {
  19. private Source $source;
  20. /**
  21. * @var array<string, Template>
  22. */
  23. private array $macros = [];
  24. public function __construct(Environment $env)
  25. {
  26. parent::__construct($env);
  27. $this->source = $this->getSourceContext();
  28. $this->blocks = [
  29. 'page_class' => [$this, 'block_page_class'],
  30. 'content' => [$this, 'block_content'],
  31. 'javascripts' => [$this, 'block_javascripts'],
  32. ];
  33. }
  34. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35. {
  36. // line 1
  37. return "base.html.twig";
  38. }
  39. protected function doDisplay(array $context, array $blocks = []): iterable
  40. {
  41. $macros = $this->macros;
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/default.html.twig"));
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/default.html.twig"));
  46. $this->parent = $this->load("base.html.twig", 1);
  47. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50. }
  51. // line 4
  52. /**
  53. * @return iterable<null|scalar|\Stringable>
  54. */
  55. public function block_page_class(array $context, array $blocks = []): iterable
  56. {
  57. $macros = $this->macros;
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_class"));
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_class"));
  62. // line 5
  63. yield "\tpage
  64. ";
  65. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67. yield from [];
  68. }
  69. // line 8
  70. /**
  71. * @return iterable<null|scalar|\Stringable>
  72. */
  73. public function block_content(array $context, array $blocks = []): iterable
  74. {
  75. $macros = $this->macros;
  76. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  78. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  80. // line 9
  81. yield "
  82. \t";
  83. // line 10
  84. $context['_parent'] = $context;
  85. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 10, $this->source); })()), "rows", [], "any", false, false, false, 10));
  86. $context['loop'] = [
  87. 'parent' => $context['_parent'],
  88. 'index0' => 0,
  89. 'index' => 1,
  90. 'first' => true,
  91. ];
  92. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  93. $length = count($context['_seq']);
  94. $context['loop']['revindex0'] = $length - 1;
  95. $context['loop']['revindex'] = $length;
  96. $context['loop']['length'] = $length;
  97. $context['loop']['last'] = 1 === $length;
  98. }
  99. foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
  100. // line 11
  101. yield "\t\t";
  102. $context["rowStyles"] = Twig\Extension\CoreExtension::filter($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), ["margin-top" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 12
  103. $context["row"], "marginTop", [], "any", false, false, false, 12))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginTop", [], "any", false, false, false, 12) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginUnit", [], "any", false, false, false, 12))) : (null)), "margin-bottom" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 13
  104. $context["row"], "marginBottom", [], "any", false, false, false, 13))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginBottom", [], "any", false, false, false, 13) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginUnit", [], "any", false, false, false, 13))) : (null)), "margin-left" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 14
  105. $context["row"], "marginLeft", [], "any", false, false, false, 14))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginLeft", [], "any", false, false, false, 14) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginUnit", [], "any", false, false, false, 14))) : (null)), "margin-right" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 15
  106. $context["row"], "marginRight", [], "any", false, false, false, 15))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginRight", [], "any", false, false, false, 15) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginUnit", [], "any", false, false, false, 15))) : (null)), "padding-top" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 16
  107. $context["row"], "paddingTop", [], "any", false, false, false, 16))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingTop", [], "any", false, false, false, 16) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingUnit", [], "any", false, false, false, 16))) : (null)), "padding-bottom" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 17
  108. $context["row"], "paddingBottom", [], "any", false, false, false, 17))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingBottom", [], "any", false, false, false, 17) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingUnit", [], "any", false, false, false, 17))) : (null)), "padding-left" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 18
  109. $context["row"], "paddingLeft", [], "any", false, false, false, 18))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingLeft", [], "any", false, false, false, 18) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingUnit", [], "any", false, false, false, 18))) : (null)), "padding-right" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 19
  110. $context["row"], "paddingRight", [], "any", false, false, false, 19))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingRight", [], "any", false, false, false, 19) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingUnit", [], "any", false, false, false, 19))) : (null))], // line 20
  111. function ($__value__) use ($context, $macros) { $context["value"] = $__value__; return !(null === (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 20, $this->source); })())); });
  112. // line 21
  113. yield "
  114. \t\t<div class=\"";
  115. // line 22
  116. yield (string) (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["row"], "isFullWidth", [], "any", false, false, false, 22)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("container-fluid") : ("container"));
  117. yield "\" style=\"";
  118. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(Twig\Extension\CoreExtension::map($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), (isset($context["rowStyles"]) || array_key_exists("rowStyles", $context) ? $context["rowStyles"] : (function () { throw new RuntimeError('Variable "rowStyles" does not exist.', 22, $this->source); })()), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return (((isset($context["k"]) || array_key_exists("k", $context) ? $context["k"] : (function () { throw new RuntimeError('Variable "k" does not exist.', 22, $this->source); })()) . ":") . (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 22, $this->source); })())); }), "; "), "html", null, true);
  119. yield "\">
  120. \t\t\t<div class=\"row\">
  121. \t\t\t\t";
  122. // line 24
  123. $context["rowView"] = (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["view"] ?? null), "rows", [], "any", false, true, false, 24), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 24), [], "array", true, true, false, 24) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 24, $this->source); })()), "rows", [], "any", false, false, false, 24), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 24), [], "array", false, false, false, 24)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 24, $this->source); })()), "rows", [], "any", false, false, false, 24), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 24), [], "array", false, false, false, 24)) : ([]));
  124. // line 25
  125. yield "
  126. \t\t\t\t";
  127. // line 26
  128. $context['_parent'] = $context;
  129. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "columns", [], "any", false, false, false, 26));
  130. $context['loop'] = [
  131. 'parent' => $context['_parent'],
  132. 'index0' => 0,
  133. 'index' => 1,
  134. 'first' => true,
  135. ];
  136. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  137. $length = count($context['_seq']);
  138. $context['loop']['revindex0'] = $length - 1;
  139. $context['loop']['revindex'] = $length;
  140. $context['loop']['length'] = $length;
  141. $context['loop']['last'] = 1 === $length;
  142. }
  143. foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
  144. // line 27
  145. yield "\t\t\t\t\t";
  146. $context["columnView"] = (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["rowView"] ?? null), "columns", [], "any", false, true, false, 27), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 27), [], "array", true, true, false, 27) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["rowView"]) || array_key_exists("rowView", $context) ? $context["rowView"] : (function () { throw new RuntimeError('Variable "rowView" does not exist.', 27, $this->source); })()), "columns", [], "any", false, false, false, 27), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 27), [], "array", false, false, false, 27)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["rowView"]) || array_key_exists("rowView", $context) ? $context["rowView"] : (function () { throw new RuntimeError('Variable "rowView" does not exist.', 27, $this->source); })()), "columns", [], "any", false, false, false, 27), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 27), [], "array", false, false, false, 27)) : ([]));
  147. // line 28
  148. yield "\t\t\t\t\t";
  149. $context["colSizeLarge"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeLarge", [], "any", true, true, false, 28)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeLarge", [], "any", false, false, false, 28), 12)) : (12));
  150. // line 29
  151. yield "\t\t\t\t\t";
  152. $context["colSizeMedium"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeMedium", [], "any", true, true, false, 29)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeMedium", [], "any", false, false, false, 29), 12)) : (12));
  153. // line 30
  154. yield "\t\t\t\t\t";
  155. $context["colSizeSmall"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeSmall", [], "any", true, true, false, 30)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeSmall", [], "any", false, false, false, 30), 12)) : (12));
  156. // line 31
  157. yield "\t\t\t\t\t";
  158. $context["colSizeVerySmall"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeVerySmall", [], "any", true, true, false, 31)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeVerySmall", [], "any", false, false, false, 31), 12)) : (12));
  159. // line 32
  160. yield "
  161. \t\t\t\t\t";
  162. // line 33
  163. $context["columnStyles"] = Twig\Extension\CoreExtension::filter($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), ["margin-top" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 34
  164. $context["column"], "marginTop", [], "any", false, false, false, 34))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginTop", [], "any", false, false, false, 34) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginUnit", [], "any", false, false, false, 34))) : (null)), "margin-bottom" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 35
  165. $context["column"], "marginBottom", [], "any", false, false, false, 35))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginBottom", [], "any", false, false, false, 35) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginUnit", [], "any", false, false, false, 35))) : (null)), "margin-left" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 36
  166. $context["column"], "marginLeft", [], "any", false, false, false, 36))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginLeft", [], "any", false, false, false, 36) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginUnit", [], "any", false, false, false, 36))) : (null)), "margin-right" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 37
  167. $context["column"], "marginRight", [], "any", false, false, false, 37))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginRight", [], "any", false, false, false, 37) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginUnit", [], "any", false, false, false, 37))) : (null)), "padding-top" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 38
  168. $context["column"], "paddingTop", [], "any", false, false, false, 38))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingTop", [], "any", false, false, false, 38) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingUnit", [], "any", false, false, false, 38))) : (null)), "padding-bottom" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 39
  169. $context["column"], "paddingBottom", [], "any", false, false, false, 39))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingBottom", [], "any", false, false, false, 39) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingUnit", [], "any", false, false, false, 39))) : (null)), "padding-left" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 40
  170. $context["column"], "paddingLeft", [], "any", false, false, false, 40))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingLeft", [], "any", false, false, false, 40) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingUnit", [], "any", false, false, false, 40))) : (null)), "padding-right" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 41
  171. $context["column"], "paddingRight", [], "any", false, false, false, 41))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingRight", [], "any", false, false, false, 41) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingUnit", [], "any", false, false, false, 41))) : (null)), "background-color" => ((( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 42
  172. $context["column"], "backgroundColorColumn", [], "any", false, false, false, 42)) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "backgroundColorColumn", [], "any", false, false, false, 42)))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["column"], "backgroundColorColumn", [], "any", false, false, false, 42)) : ("initial")), "border-radius" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 43
  173. $context["column"], "borderRadiusColumn", [], "any", false, false, false, 43))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "borderRadiusColumn", [], "any", false, false, false, 43) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "borderRadiusColumnUnit", [], "any", false, false, false, 43))) : (null))], // line 44
  174. function ($__value__) use ($context, $macros) { $context["value"] = $__value__; return !(null === (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 44, $this->source); })())); });
  175. // line 45
  176. yield "
  177. \t\t\t\t\t";
  178. // line 46
  179. $context["isLayoutGutter"] = (((isset($context["colSizeLarge"]) || array_key_exists("colSizeLarge", $context) ? $context["colSizeLarge"] : (function () { throw new RuntimeError('Variable "colSizeLarge" does not exist.', 46, $this->source); })()) == 1) && ( !CoreExtension::getAttribute($this->env, $this->source, $context["column"], "contentBlocks", [], "any", true, true, false, 46) || Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "contentBlocks", [], "any", false, false, false, 46))));
  180. // line 47
  181. yield "\t\t\t\t\t<div class=\"col-lg-";
  182. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["colSizeLarge"]) || array_key_exists("colSizeLarge", $context) ? $context["colSizeLarge"] : (function () { throw new RuntimeError('Variable "colSizeLarge" does not exist.', 47, $this->source); })()), "html", null, true);
  183. yield " col-md-";
  184. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["colSizeMedium"]) || array_key_exists("colSizeMedium", $context) ? $context["colSizeMedium"] : (function () { throw new RuntimeError('Variable "colSizeMedium" does not exist.', 47, $this->source); })()), "html", null, true);
  185. yield " col-sm-";
  186. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["colSizeSmall"]) || array_key_exists("colSizeSmall", $context) ? $context["colSizeSmall"] : (function () { throw new RuntimeError('Variable "colSizeSmall" does not exist.', 47, $this->source); })()), "html", null, true);
  187. yield " col-xs-";
  188. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["colSizeVerySmall"]) || array_key_exists("colSizeVerySmall", $context) ? $context["colSizeVerySmall"] : (function () { throw new RuntimeError('Variable "colSizeVerySmall" does not exist.', 47, $this->source); })()), "html", null, true);
  189. if ((($tmp = (isset($context["isLayoutGutter"]) || array_key_exists("isLayoutGutter", $context) ? $context["isLayoutGutter"] : (function () { throw new RuntimeError('Variable "isLayoutGutter" does not exist.', 47, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  190. yield " layout-gutter";
  191. }
  192. yield " column-animated";
  193. if ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", true, true, false, 47) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", false, false, false, 47)))) {
  194. yield " animate-";
  195. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", false, false, false, 47), "html", null, true);
  196. }
  197. yield "\" data-animation=\"";
  198. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", true, true, false, 47)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", false, false, false, 47), "")) : ("")), "html", null, true);
  199. yield "\" style=\"";
  200. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(Twig\Extension\CoreExtension::map($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), (isset($context["columnStyles"]) || array_key_exists("columnStyles", $context) ? $context["columnStyles"] : (function () { throw new RuntimeError('Variable "columnStyles" does not exist.', 47, $this->source); })()), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return (((isset($context["k"]) || array_key_exists("k", $context) ? $context["k"] : (function () { throw new RuntimeError('Variable "k" does not exist.', 47, $this->source); })()) . ":") . (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 47, $this->source); })())); }), "; "), "html", null, true);
  201. yield "\"";
  202. if ((($tmp = (isset($context["isLayoutGutter"]) || array_key_exists("isLayoutGutter", $context) ? $context["isLayoutGutter"] : (function () { throw new RuntimeError('Variable "isLayoutGutter" does not exist.', 47, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  203. yield " aria-hidden=\"true\"";
  204. }
  205. if ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "idColumn", [], "any", true, true, false, 47) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "idColumn", [], "any", false, false, false, 47)))) {
  206. yield " id=\"";
  207. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "idColumn", [], "any", false, false, false, 47), "html", null, true);
  208. yield "\"";
  209. }
  210. yield ">
  211. \t\t\t\t\t\t";
  212. // line 48
  213. $context['_parent'] = $context;
  214. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "contentBlocks", [], "any", false, false, false, 48));
  215. $context['loop'] = [
  216. 'parent' => $context['_parent'],
  217. 'index0' => 0,
  218. 'index' => 1,
  219. 'first' => true,
  220. ];
  221. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  222. $length = count($context['_seq']);
  223. $context['loop']['revindex0'] = $length - 1;
  224. $context['loop']['revindex'] = $length;
  225. $context['loop']['length'] = $length;
  226. $context['loop']['last'] = 1 === $length;
  227. }
  228. foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  229. // line 49
  230. yield "\t\t\t\t\t\t\t";
  231. $context["blockView"] = (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["columnView"] ?? null), "contentBlocks", [], "any", false, true, false, 49), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 49), [], "array", true, true, false, 49) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["columnView"]) || array_key_exists("columnView", $context) ? $context["columnView"] : (function () { throw new RuntimeError('Variable "columnView" does not exist.', 49, $this->source); })()), "contentBlocks", [], "any", false, false, false, 49), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 49), [], "array", false, false, false, 49)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["columnView"]) || array_key_exists("columnView", $context) ? $context["columnView"] : (function () { throw new RuntimeError('Variable "columnView" does not exist.', 49, $this->source); })()), "contentBlocks", [], "any", false, false, false, 49), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 49), [], "array", false, false, false, 49)) : ([]));
  232. // line 50
  233. yield "\t\t\t\t\t\t\t";
  234. yield from $this->load((("pages/_blocks/" . CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 50)) . ".html.twig"), 50)->unwrap()->yield(CoreExtension::merge($context, ["content" => // line 51
  235. $context["block"], "view" => // line 52
  236. (isset($context["blockView"]) || array_key_exists("blockView", $context) ? $context["blockView"] : (function () { throw new RuntimeError('Variable "blockView" does not exist.', 52, $this->source); })()), "blocksData" => // line 53
  237. (isset($context["blocksData"]) || array_key_exists("blocksData", $context) ? $context["blocksData"] : (function () { throw new RuntimeError('Variable "blocksData" does not exist.', 53, $this->source); })()), "blockIndex" => CoreExtension::getAttribute($this->env, $this->source, // line 54
  238. $context["loop"], "index0", [], "any", false, false, false, 54), "marginTopBlock" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 55
  239. $context["block"], "snippetMarginTop", [], "any", false, false, false, 55))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["block"], "snippetMarginTop", [], "any", false, false, false, 55) . CoreExtension::getAttribute($this->env, $this->source, $context["block"], "snippetMarginTopUnit", [], "any", false, false, false, 55))) : ("0px"))]));
  240. // line 57
  241. yield "\t\t\t\t\t\t";
  242. ++$context['loop']['index0'];
  243. ++$context['loop']['index'];
  244. $context['loop']['first'] = false;
  245. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  246. --$context['loop']['revindex0'];
  247. --$context['loop']['revindex'];
  248. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  249. }
  250. }
  251. $_parent = $context['_parent'];
  252. unset($context['_seq'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  253. $context = array_intersect_key($context, $_parent);
  254. $context += $_parent;
  255. // line 58
  256. yield "\t\t\t\t\t</div>
  257. \t\t\t\t";
  258. ++$context['loop']['index0'];
  259. ++$context['loop']['index'];
  260. $context['loop']['first'] = false;
  261. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  262. --$context['loop']['revindex0'];
  263. --$context['loop']['revindex'];
  264. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  265. }
  266. }
  267. $_parent = $context['_parent'];
  268. unset($context['_seq'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
  269. $context = array_intersect_key($context, $_parent);
  270. $context += $_parent;
  271. // line 60
  272. yield "\t\t\t</div>
  273. \t\t</div>
  274. \t";
  275. ++$context['loop']['index0'];
  276. ++$context['loop']['index'];
  277. $context['loop']['first'] = false;
  278. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  279. --$context['loop']['revindex0'];
  280. --$context['loop']['revindex'];
  281. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  282. }
  283. }
  284. $_parent = $context['_parent'];
  285. unset($context['_seq'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
  286. $context = array_intersect_key($context, $_parent);
  287. $context += $_parent;
  288. // line 63
  289. yield "
  290. \t";
  291. // line 65
  292. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["view"] ?? null), "snippet", [], "any", true, true, false, 65) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 65, $this->source); })()), "snippet", [], "any", false, false, false, 65)))) {
  293. // line 66
  294. yield "\t\t";
  295. $context["loadedSnippet"] = $this->extensions['App\Twig\TranslateVariablesExtension']->replaceVariables(CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('sulu_snippet_load')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 66, $this->source); })()), "snippet", [], "any", false, false, false, 66), "uuid", [], "any", false, false, false, 66)), "content", [], "any", false, false, false, 66));
  296. // line 67
  297. yield "\t\t";
  298. $context["snippetTemplate"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 67, $this->source); })()), "snippet", [], "any", false, false, false, 67), "template", [], "any", false, false, false, 67);
  299. // line 68
  300. yield "\t";
  301. }
  302. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  303. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  304. yield from [];
  305. }
  306. // line 71
  307. /**
  308. * @return iterable<null|scalar|\Stringable>
  309. */
  310. public function block_javascripts(array $context, array $blocks = []): iterable
  311. {
  312. $macros = $this->macros;
  313. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  314. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  315. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  316. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  317. // line 72
  318. yield "\t";
  319. yield from $this->yieldParentBlock("javascripts", $context, $blocks);
  320. yield "
  321. ";
  322. // line 74
  323. yield "\t";
  324. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  325. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  326. yield from [];
  327. }
  328. /**
  329. * @codeCoverageIgnore
  330. */
  331. public function getTemplateName(): string
  332. {
  333. return "pages/default.html.twig";
  334. }
  335. /**
  336. * @codeCoverageIgnore
  337. */
  338. public function isTraitable(): bool
  339. {
  340. return false;
  341. }
  342. /**
  343. * @codeCoverageIgnore
  344. */
  345. public function getDebugInfo(): array
  346. {
  347. return array ( 354 => 74, 349 => 72, 336 => 71, 324 => 68, 321 => 67, 318 => 66, 316 => 65, 312 => 63, 295 => 60, 279 => 58, 264 => 57, 262 => 55, 261 => 54, 260 => 53, 259 => 52, 258 => 51, 256 => 50, 253 => 49, 236 => 48, 204 => 47, 202 => 46, 199 => 45, 197 => 44, 196 => 43, 195 => 42, 194 => 41, 193 => 40, 192 => 39, 191 => 38, 190 => 37, 189 => 36, 188 => 35, 187 => 34, 186 => 33, 183 => 32, 180 => 31, 177 => 30, 174 => 29, 171 => 28, 168 => 27, 151 => 26, 148 => 25, 146 => 24, 139 => 22, 136 => 21, 134 => 20, 133 => 19, 132 => 18, 131 => 17, 130 => 16, 129 => 15, 128 => 14, 127 => 13, 126 => 12, 124 => 11, 107 => 10, 104 => 9, 91 => 8, 79 => 5, 66 => 4, 43 => 1,);
  348. }
  349. public function getSourceContext(): Source
  350. {
  351. return new Source("{% extends \x27base.html.twig\x27 %}
  352. {% block page_class %}
  353. \tpage
  354. {% endblock %}
  355. {% block content %}
  356. \t{% for row in content.rows %}
  357. \t\t{% set rowStyles = {
  358. \x27margin-top\x27: row.marginTop is not null ? row.marginTop ~ row.marginUnit : null,
  359. \x27margin-bottom\x27: row.marginBottom is not null ? row.marginBottom ~ row.marginUnit : null,
  360. \x27margin-left\x27: row.marginLeft is not null ? row.marginLeft ~ row.marginUnit : null,
  361. \x27margin-right\x27: row.marginRight is not null ? row.marginRight ~ row.marginUnit : null,
  362. \x27padding-top\x27: row.paddingTop is not null ? row.paddingTop ~ row.paddingUnit : null,
  363. \x27padding-bottom\x27: row.paddingBottom is not null ? row.paddingBottom ~ row.paddingUnit : null,
  364. \x27padding-left\x27: row.paddingLeft is not null ? row.paddingLeft ~ row.paddingUnit : null,
  365. \x27padding-right\x27: row.paddingRight is not null ? row.paddingRight ~ row.paddingUnit : null
  366. }|filter((value) => value is not null) %}
  367. \t\t<div class=\"{{ row.isFullWidth ? \x27container-fluid\x27 : \x27container\x27 }}\" style=\"{{ rowStyles|map((v, k) => k ~ \x27:\x27 ~ v)|join(\x27; \x27) }}\">
  368. \t\t\t<div class=\"row\">
  369. \t\t\t\t{% set rowView = view.rows[loop.index0] ?? {} %}
  370. \t\t\t\t{% for column in row.columns %}
  371. \t\t\t\t\t{% set columnView = rowView.columns[loop.index0] ?? {} %}
  372. \t\t\t\t\t{% set colSizeLarge = column.colSizeLarge|default(12) %}
  373. \t\t\t\t\t{% set colSizeMedium = column.colSizeMedium|default(12) %}
  374. \t\t\t\t\t{% set colSizeSmall = column.colSizeSmall|default(12) %}
  375. \t\t\t\t\t{% set colSizeVerySmall = column.colSizeVerySmall|default(12) %}
  376. \t\t\t\t\t{% set columnStyles = {
  377. \x27margin-top\x27: column.marginTop is not null ? column.marginTop ~ column.marginUnit : null,
  378. \x27margin-bottom\x27: column.marginBottom is not null ? column.marginBottom ~ column.marginUnit : null,
  379. \x27margin-left\x27: column.marginLeft is not null ? column.marginLeft ~ column.marginUnit : null,
  380. \x27margin-right\x27: column.marginRight is not null ? column.marginRight ~ column.marginUnit : null,
  381. \x27padding-top\x27: column.paddingTop is not null ? column.paddingTop ~ column.paddingUnit : null,
  382. \x27padding-bottom\x27: column.paddingBottom is not null ? column.paddingBottom ~ column.paddingUnit : null,
  383. \x27padding-left\x27: column.paddingLeft is not null ? column.paddingLeft ~ column.paddingUnit : null,
  384. \x27padding-right\x27: column.paddingRight is not null ? column.paddingRight ~ column.paddingUnit : null,
  385. \x27background-color\x27: column.backgroundColorColumn is not null and column.backgroundColorColumn is not empty ? column.backgroundColorColumn : \x27initial\x27,
  386. \x27border-radius\x27: column.borderRadiusColumn is not null ? column.borderRadiusColumn ~ column.borderRadiusColumnUnit : null
  387. }|filter((value) => value is not null) %}
  388. \t\t\t\t\t{% set isLayoutGutter = colSizeLarge == 1 and (column.contentBlocks is not defined or column.contentBlocks is empty) %}
  389. \t\t\t\t\t<div class=\"col-lg-{{ colSizeLarge }} col-md-{{ colSizeMedium }} col-sm-{{ colSizeSmall }} col-xs-{{ colSizeVerySmall }}{% if isLayoutGutter %} layout-gutter{% endif %} column-animated{% if column.entranceAnimation is defined and column.entranceAnimation is not empty %} animate-{{ column.entranceAnimation }}{% endif %}\" data-animation=\"{{ column.entranceAnimation|default(\x27\x27) }}\" style=\"{{ columnStyles|map((v, k) => k ~ \x27:\x27 ~ v)|join(\x27; \x27) }}\"{% if isLayoutGutter %} aria-hidden=\"true\"{% endif %}{% if column.idColumn is defined and column.idColumn is not empty %} id=\"{{ column.idColumn }}\"{% endif %}>
  390. \t\t\t\t\t\t{% for block in column.contentBlocks %}
  391. \t\t\t\t\t\t\t{% set blockView = columnView.contentBlocks[loop.index0] ?? {} %}
  392. \t\t\t\t\t\t\t{% include \x27pages/_blocks/\x27 ~ block.type ~ \x27.html.twig\x27 with {
  393. content: block,
  394. view: blockView,
  395. blocksData: blocksData,
  396. blockIndex: loop.index0,
  397. marginTopBlock: block.snippetMarginTop is not null ? block.snippetMarginTop ~ block.snippetMarginTopUnit : \"0px\"
  398. } %}
  399. \t\t\t\t\t\t{% endfor %}
  400. \t\t\t\t\t</div>
  401. \t\t\t\t{% endfor %}
  402. \t\t\t</div>
  403. \t\t</div>
  404. \t{% endfor %}
  405. \t{% if view.snippet is defined and view.snippet is not empty %}
  406. \t\t{% set loadedSnippet = sulu_snippet_load(view.snippet.uuid).content|replace_translate_variables %}
  407. \t\t{% set snippetTemplate = view.snippet.template %}
  408. \t{% endif %}
  409. {% endblock %}
  410. {% block javascripts %}
  411. \t{{ parent() }}
  412. {# {{ encore_entry_script_tags(\x27home\x27) }}#}
  413. \t{# Les animations de colonnes sont gérées dans assets/website/js/common/column-animations.js #}
  414. {% endblock %}
  415. ", "pages/default.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/default.html.twig");
  416. }
  417. }