var/cache/dev/twig/fd/fdca4efd796bb5fb99835b835f73b9d0.php line 113

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* themes/theme/sectors/article.html.twig */
  16. class __TwigTemplate_98709a09e214791b72070aa5039f7361 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. ];
  30. }
  31. protected function doDisplay(array $context, array $blocks = []): iterable
  32. {
  33. $macros = $this->macros;
  34. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/sectors/article.html.twig"));
  36. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/sectors/article.html.twig"));
  38. // line 1
  39. yield "<script type=\"application/ld+json\">
  40. {
  41. \"@context\": \"https://schema.org\",
  42. \"@type\": \"Service\",
  43. \"name\": \"";
  44. // line 5
  45. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["sitename"]) || array_key_exists("sitename", $context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.', 5, $this->source); })()), "html", null, true);
  46. yield "\",
  47. \"serviceType\": \"";
  48. // line 6
  49. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 6, $this->source); })()), "title", [], "any", false, false, false, 6), "html", null, true);
  50. yield "\",
  51. \"provider\": {
  52. \"@type\": \"LocalBusiness\",
  53. \"name\": \"";
  54. // line 9
  55. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["sitename"]) || array_key_exists("sitename", $context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.', 9, $this->source); })()), "html", null, true);
  56. yield "\",
  57. \"url\": \"";
  58. // line 10
  59. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["siteurl"]) || array_key_exists("siteurl", $context) ? $context["siteurl"] : (function () { throw new RuntimeError('Variable "siteurl" does not exist.', 10, $this->source); })()), "html", null, true);
  60. yield "\"
  61. },
  62. \"areaServed\": [
  63. {
  64. \"@type\": \"Place\",
  65. \"name\": \"London\"
  66. },
  67. {
  68. \"@type\": \"Place\",
  69. \"name\": \"Esssex\"
  70. },
  71. {
  72. \"@type\": \"Place\",
  73. \"name\": \"Kent\"
  74. },
  75. {
  76. \"@type\": \"Place\",
  77. \"name\": \"Cambridge\"
  78. },
  79. {
  80. \"@type\": \"Place\",
  81. \"name\": \"Oxford\"
  82. }
  83. ],
  84. \"description\": \"";
  85. // line 34
  86. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 34, $this->source); })()), "kicker", [], "any", false, false, false, 34)), "html", null, true);
  87. yield "\",
  88. \"url\": \"";
  89. // line 35
  90. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["siteurl"]) || array_key_exists("siteurl", $context) ? $context["siteurl"] : (function () { throw new RuntimeError('Variable "siteurl" does not exist.', 35, $this->source); })()), "html", null, true);
  91. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('generatePath')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 35, $this->source); })()), "linkedPageId", [], "any", false, false, false, 35), ["sector_slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 35, $this->source); })()), "slug", [], "any", false, false, false, 35)]), "html", null, true);
  92. yield "\"
  93. }
  94. </script>
  95. ";
  96. // line 42
  97. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 42, $this->source); })()), "image", [], "any", false, false, false, 42)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  98. // line 43
  99. yield " <div class=\"banner-image banner-image--gradient\" style=\"background-image:url('";
  100. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 43, $this->source); })()), "getFullImagePath", [], "any", false, false, false, 43)), "zoomCrop", 3200, 1680), "html", null, true);
  101. yield "');\"></div>
  102. ";
  103. }
  104. // line 45
  105. yield "
  106. <section class=\"page-content";
  107. // line 46
  108. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 46, $this->source); })()), "image", [], "any", false, false, false, 46) == null)) {
  109. yield " pt-[148px] md:pt-[163px]";
  110. }
  111. yield "\">
  112. <div class=\"container\">
  113. <div class=\"bg-primary text-center text-white p-10 relative z-20 mb-12 ";
  114. // line 48
  115. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 48, $this->source); })()), "image", [], "any", false, false, false, 48) != null)) {
  116. yield " -mt-12 sm:-mt-24 md:-mt-52";
  117. } else {
  118. yield "mt-12";
  119. }
  120. yield "\">
  121. ";
  122. // line 49
  123. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 49, $this->source); })()), "icon", [], "any", false, false, false, 49)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  124. // line 50
  125. yield " <span class=\"text-5xl mb-6 block\">";
  126. yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 50, $this->source); })()), "icon", [], "any", false, false, false, 50);
  127. yield "</span>
  128. ";
  129. }
  130. // line 52
  131. yield " <h1 class=\"text-white\">";
  132. yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 52, $this->source); })()), "title");
  133. yield "</h1>
  134. ";
  135. // line 53
  136. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 53, $this->source); })()), "subtitle", [], "any", false, false, false, 53)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  137. // line 54
  138. yield " <h3 class=\"text-white\">";
  139. yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 54, $this->source); })()), "subtitle");
  140. yield "</h3>
  141. ";
  142. }
  143. // line 56
  144. yield " ";
  145. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 56, $this->source); })()), "kicker", [], "any", false, false, false, 56)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  146. // line 57
  147. yield " ";
  148. yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 57, $this->source); })()), "kicker");
  149. yield "
  150. ";
  151. }
  152. // line 59
  153. yield " </div>
  154. ";
  155. // line 60
  156. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 60, $this->source); })()), "content", [], "any", false, false, false, 60) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 60, $this->source); })()), "content2", [], "any", false, false, false, 60))) {
  157. // line 61
  158. yield " <div class=\"row cms-area mb-12\">
  159. <div class=\"md:col-6 text-2xl font-bold mb-6 md:mb-0\">
  160. ";
  161. // line 63
  162. yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 63, $this->source); })()), "content");
  163. yield "
  164. </div>
  165. <div class=\"md:col-6\">
  166. ";
  167. // line 66
  168. yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 66, $this->source); })()), "content2");
  169. yield "
  170. </div>
  171. </div>
  172. ";
  173. }
  174. // line 70
  175. yield " ";
  176. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 70, $this->source); })()), "content3", [], "any", false, false, false, 70)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  177. // line 71
  178. yield " <div class=\"row cms-area mb-12\">
  179. <div class=\"md:col-12\">
  180. ";
  181. // line 73
  182. yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 73, $this->source); })()), "content3");
  183. yield "
  184. </div>
  185. </div>
  186. ";
  187. }
  188. // line 77
  189. yield " ";
  190. if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 77, $this->source); })()), "image2", [], "any", false, false, false, 77) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 77, $this->source); })()), "image3", [], "any", false, false, false, 77)) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 77, $this->source); })()), "image4", [], "any", false, false, false, 77))) {
  191. // line 78
  192. yield " <div class=\"row mb-12\">
  193. ";
  194. // line 79
  195. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 79, $this->source); })()), "image2", [], "any", false, false, false, 79)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  196. // line 80
  197. yield " <div class=\"";
  198. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 80, $this->source); })()), "image4", [], "any", false, false, false, 80)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  199. yield "md:col-3";
  200. } else {
  201. yield " md:col-6";
  202. }
  203. yield " sm:col-6 mb-8 md:mb-0\">
  204. <img src=\"";
  205. // line 81
  206. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 81, $this->source); })()), "getFullImage2Path", [], "any", false, false, false, 81)), "zoomCrop", 540, 640), "html", null, true);
  207. yield "\" width=\"370\" height=\"438\" alt=\"";
  208. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 81, $this->source); })()), "title", [], "any", false, false, false, 81), "html", null, true);
  209. yield "\" loading=\"lazy\" />
  210. </div>
  211. ";
  212. }
  213. // line 84
  214. yield " ";
  215. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 84, $this->source); })()), "image3", [], "any", false, false, false, 84)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  216. // line 85
  217. yield " <div class=\"";
  218. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 85, $this->source); })()), "image4", [], "any", false, false, false, 85)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  219. yield "md:col-3";
  220. } else {
  221. yield " md:col-6";
  222. }
  223. yield " sm:col-6 mb-8 md:mb-0\">
  224. <img src=\"";
  225. // line 86
  226. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 86, $this->source); })()), "getFullImage3Path", [], "any", false, false, false, 86)), "zoomCrop", 540, 640), "html", null, true);
  227. yield "\" width=\"370\" height=\"438\" alt=\"";
  228. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 86, $this->source); })()), "title", [], "any", false, false, false, 86), "html", null, true);
  229. yield "\" loading=\"lazy\" />
  230. </div>
  231. ";
  232. }
  233. // line 89
  234. yield " ";
  235. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 89, $this->source); })()), "image4", [], "any", false, false, false, 89)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  236. // line 90
  237. yield " <div class=\"md:col-6\">
  238. <img src=\"";
  239. // line 91
  240. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 91, $this->source); })()), "getFullImage4Path", [], "any", false, false, false, 91)), "zoomCrop", 1130, 640), "html", null, true);
  241. yield "\" width=\"670\" height=\"380\" alt=\"";
  242. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 91, $this->source); })()), "title", [], "any", false, false, false, 91), "html", null, true);
  243. yield "\" loading=\"lazy\" />
  244. </div>
  245. ";
  246. }
  247. // line 94
  248. yield " </div>
  249. ";
  250. }
  251. // line 96
  252. yield " ";
  253. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 96, $this->source); })()), "content4", [], "any", false, false, false, 96)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  254. // line 97
  255. yield " <div class=\"row cms-area mb-12\">
  256. <div class=\"md:col-12\">
  257. ";
  258. // line 99
  259. yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 99, $this->source); })()), "content4");
  260. yield "
  261. </div>
  262. </div>
  263. ";
  264. }
  265. // line 103
  266. yield " </div>
  267. </section>
  268. ";
  269. // line 106
  270. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 106, $this->source); })()), "gallery", [], "any", false, false, false, 106) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 106, $this->source); })()), "gallery", [], "any", false, false, false, 106), "galleryImages", [], "any", false, false, false, 106)) > 0))) {
  271. // line 107
  272. yield " <div class=\"container mb-4\">
  273. <div class=\"row\">
  274. <div class=\"col-12 text-center\">
  275. <h3 class=\"text-green mb-8 mt-0\">Sector Gallery</h3>
  276. ";
  277. // line 111
  278. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 111, $this->source); })()), "gallery", [], "any", false, false, false, 111), "content", [], "any", false, false, false, 111)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  279. // line 112
  280. yield " <div class=\"mb-12\">
  281. ";
  282. // line 113
  283. yield $this->env->getFunction('allowInlineEditor')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 113, $this->source); })()), "gallery", [], "any", false, false, false, 113), "content");
  284. yield "
  285. </div>
  286. ";
  287. }
  288. // line 116
  289. yield " </div>
  290. </div>
  291. <div class=\"row\">
  292. ";
  293. // line 119
  294. $context['_parent'] = $context;
  295. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 119, $this->source); })()), "gallery", [], "any", false, false, false, 119), "galleryImages", [], "any", false, false, false, 119));
  296. foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  297. // line 120
  298. yield " ";
  299. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["image"], "file", [], "any", false, false, false, 120)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  300. // line 121
  301. yield " <div class=\"lg:col-6 mb-8\">
  302. <video class=\"w-full h-auto\" src=\"";
  303. // line 122
  304. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getFileUrl", [], "method", false, false, false, 122), "html", null, true);
  305. yield "\" controls></video>
  306. </div>
  307. ";
  308. } else {
  309. // line 125
  310. yield " <div class=\"lg:col-6 mb-8\">
  311. <img class=\"max-w-full h-auto\" src=\"";
  312. // line 126
  313. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getFullImagePath", [], "any", false, false, false, 126)), "zoomCrop", 1140, 640), "html", null, true);
  314. yield "\" alt=\"";
  315. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "title", [], "any", false, false, false, 126), "html", null, true);
  316. yield "\" loading=\"lazy\" />
  317. </div>
  318. ";
  319. }
  320. // line 129
  321. yield " ";
  322. }
  323. $_parent = $context['_parent'];
  324. unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
  325. $context = array_intersect_key($context, $_parent) + $_parent;
  326. // line 130
  327. yield " </div>
  328. </div>
  329. ";
  330. }
  331. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  332. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  333. yield from [];
  334. }
  335. /**
  336. * @codeCoverageIgnore
  337. */
  338. public function getTemplateName(): string
  339. {
  340. return "themes/theme/sectors/article.html.twig";
  341. }
  342. /**
  343. * @codeCoverageIgnore
  344. */
  345. public function isTraitable(): bool
  346. {
  347. return false;
  348. }
  349. /**
  350. * @codeCoverageIgnore
  351. */
  352. public function getDebugInfo(): array
  353. {
  354. return array ( 341 => 130, 335 => 129, 327 => 126, 324 => 125, 318 => 122, 315 => 121, 312 => 120, 308 => 119, 303 => 116, 297 => 113, 294 => 112, 292 => 111, 286 => 107, 284 => 106, 279 => 103, 272 => 99, 268 => 97, 265 => 96, 261 => 94, 253 => 91, 250 => 90, 247 => 89, 239 => 86, 230 => 85, 227 => 84, 219 => 81, 210 => 80, 208 => 79, 205 => 78, 202 => 77, 195 => 73, 191 => 71, 188 => 70, 181 => 66, 175 => 63, 171 => 61, 169 => 60, 166 => 59, 160 => 57, 157 => 56, 151 => 54, 149 => 53, 144 => 52, 138 => 50, 136 => 49, 128 => 48, 121 => 46, 118 => 45, 112 => 43, 110 => 42, 99 => 35, 95 => 34, 68 => 10, 64 => 9, 58 => 6, 54 => 5, 48 => 1,);
  355. }
  356. public function getSourceContext(): Source
  357. {
  358. return new Source("<script type=\"application/ld+json\">
  359. {
  360. \"@context\": \"https://schema.org\",
  361. \"@type\": \"Service\",
  362. \"name\": \"{{ sitename }}\",
  363. \"serviceType\": \"{{ sector.title }}\",
  364. \"provider\": {
  365. \"@type\": \"LocalBusiness\",
  366. \"name\": \"{{ sitename }}\",
  367. \"url\": \"{{ siteurl }}\"
  368. },
  369. \"areaServed\": [
  370. {
  371. \"@type\": \"Place\",
  372. \"name\": \"London\"
  373. },
  374. {
  375. \"@type\": \"Place\",
  376. \"name\": \"Esssex\"
  377. },
  378. {
  379. \"@type\": \"Place\",
  380. \"name\": \"Kent\"
  381. },
  382. {
  383. \"@type\": \"Place\",
  384. \"name\": \"Cambridge\"
  385. },
  386. {
  387. \"@type\": \"Place\",
  388. \"name\": \"Oxford\"
  389. }
  390. ],
  391. \"description\": \"{{ sector.kicker|raw|striptags }}\",
  392. \"url\": \"{{ siteurl }}{{ generatePath(app.request, sector.linkedPageId, {sector_slug: sector.slug}) }}\"
  393. }
  394. </script>
  395. {% if sector.image %}
  396. <div class=\"banner-image banner-image--gradient\" style=\"background-image:url('{{ imageCache('/'~ sector.getFullImagePath, 'zoomCrop', 3200, 1680) }}');\"></div>
  397. {% endif %}
  398. <section class=\"page-content{% if sector.image == null %} pt-[148px] md:pt-[163px]{% endif %}\">
  399. <div class=\"container\">
  400. <div class=\"bg-primary text-center text-white p-10 relative z-20 mb-12 {% if sector.image != null %} -mt-12 sm:-mt-24 md:-mt-52{% else %}mt-12{% endif %}\">
  401. {% if sector.icon %}
  402. <span class=\"text-5xl mb-6 block\">{{ sector.icon|raw }}</span>
  403. {% endif %}
  404. <h1 class=\"text-white\">{{ allowInlineEditor(sector, 'title')|raw }}</h1>
  405. {% if sector.subtitle %}
  406. <h3 class=\"text-white\">{{ allowInlineEditor(sector, 'subtitle')|raw }}</h3>
  407. {% endif %}
  408. {% if sector.kicker %}
  409. {{ allowInlineEditor(sector, 'kicker')|raw }}
  410. {% endif %}
  411. </div>
  412. {% if sector.content or sector.content2 %}
  413. <div class=\"row cms-area mb-12\">
  414. <div class=\"md:col-6 text-2xl font-bold mb-6 md:mb-0\">
  415. {{ allowInlineEditor(sector, 'content')|raw }}
  416. </div>
  417. <div class=\"md:col-6\">
  418. {{ allowInlineEditor(sector, 'content2')|raw }}
  419. </div>
  420. </div>
  421. {% endif %}
  422. {% if sector.content3 %}
  423. <div class=\"row cms-area mb-12\">
  424. <div class=\"md:col-12\">
  425. {{ allowInlineEditor(sector, 'content3')|raw }}
  426. </div>
  427. </div>
  428. {% endif %}
  429. {% if sector.image2 or sector.image3 or sector.image4 %}
  430. <div class=\"row mb-12\">
  431. {% if sector.image2 %}
  432. <div class=\"{% if sector.image4 %}md:col-3{% else %} md:col-6{% endif %} sm:col-6 mb-8 md:mb-0\">
  433. <img src=\"{{ imageCache('/'~ sector.getFullImage2Path, 'zoomCrop', 540, 640) }}\" width=\"370\" height=\"438\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
  434. </div>
  435. {% endif %}
  436. {% if sector.image3 %}
  437. <div class=\"{% if sector.image4 %}md:col-3{% else %} md:col-6{% endif %} sm:col-6 mb-8 md:mb-0\">
  438. <img src=\"{{ imageCache('/'~ sector.getFullImage3Path, 'zoomCrop', 540, 640) }}\" width=\"370\" height=\"438\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
  439. </div>
  440. {% endif %}
  441. {% if sector.image4 %}
  442. <div class=\"md:col-6\">
  443. <img src=\"{{ imageCache('/'~ sector.getFullImage4Path, 'zoomCrop', 1130, 640) }}\" width=\"670\" height=\"380\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
  444. </div>
  445. {% endif %}
  446. </div>
  447. {% endif %}
  448. {% if sector.content4 %}
  449. <div class=\"row cms-area mb-12\">
  450. <div class=\"md:col-12\">
  451. {{ allowInlineEditor(sector, 'content4')|raw }}
  452. </div>
  453. </div>
  454. {% endif %}
  455. </div>
  456. </section>
  457. {% if sector.gallery and sector.gallery.galleryImages|length > 0 %}
  458. <div class=\"container mb-4\">
  459. <div class=\"row\">
  460. <div class=\"col-12 text-center\">
  461. <h3 class=\"text-green mb-8 mt-0\">Sector Gallery</h3>
  462. {% if sector.gallery.content %}
  463. <div class=\"mb-12\">
  464. {{ allowInlineEditor(sector.gallery, 'content')|raw }}
  465. </div>
  466. {% endif %}
  467. </div>
  468. </div>
  469. <div class=\"row\">
  470. {% for image in sector.gallery.galleryImages %}
  471. {% if image.file %}
  472. <div class=\"lg:col-6 mb-8\">
  473. <video class=\"w-full h-auto\" src=\"{{ image.getFileUrl() }}\" controls></video>
  474. </div>
  475. {% else %}
  476. <div class=\"lg:col-6 mb-8\">
  477. <img class=\"max-w-full h-auto\" src=\"{{ imageCache('/'~ image.getFullImagePath, 'zoomCrop', 1140, 640) }}\" alt=\"{{ image.title }}\" loading=\"lazy\" />
  478. </div>
  479. {% endif %}
  480. {% endfor %}
  481. </div>
  482. </div>
  483. {% endif %}
  484. ", "themes/theme/sectors/article.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/sectors/article.html.twig");
  485. }
  486. }