Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

var/cache/dev/twig/64/6455b75a94387086c02b23a43e4ff24b.php line 51

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. /* @theme/templates/cmspage-light-header.html.twig */
  14. class __TwigTemplate_e1e585d2b7185d7a49faae057e5b5879 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->blocks = [
  23.             'metatitle' => [$this'block_metatitle'],
  24.             'metadescription' => [$this'block_metadescription'],
  25.             'body' => [$this'block_body'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@theme/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-light-header.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-light-header.html.twig"));
  41.         $this->parent $this->loadTemplate("@theme/base.html.twig""@theme/templates/cmspage-light-header.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 2
  49.     public function block_metatitle($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  56.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'2$this->source); })()), "metatitle", [], "any"falsefalsefalse2), "html"nulltrue);
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 3
  63.     public function block_metadescription($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  70.         // line 4
  71.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_striptags(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'4$this->source); })()), "metadescription", [], "any"falsefalsefalse4)), 0160), "html"nulltrue);
  72.         
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74.         
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  76.     }
  77.     // line 7
  78.     public function block_body($context, array $blocks = [])
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  85.         // line 8
  86.         echo "  ";
  87.         $context["pagetitle"] = (($this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'8$this->source); })()), "title")) ? ($this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'8$this->source); })()), "title")) : (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'8$this->source); })()), "title", [], "any"falsefalsefalse8)));
  88.         // line 9
  89.         echo "  ";
  90.         $context["subtitle"] = (($this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'9$this->source); })()), "subtitle")) ? ($this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'9$this->source); })()), "subtitle")) : (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'9$this->source); })()), "subtitle", [], "any"falsefalsefalse9)));
  91.         // line 10
  92.         echo "
  93.   ";
  94.         // line 11
  95.         echo $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("PageHeroThemed", ["page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'11$this->source); })()), "bg" => false"title" => (isset($context["pagetitle"]) || array_key_exists("pagetitle"$context) ? $context["pagetitle"] : (function () { throw new RuntimeError('Variable "pagetitle" does not exist.'11$this->source); })()), "subtitle" => (isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'11$this->source); })())]);
  96.         echo "
  97.   ";
  98.         // line 13
  99.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'13$this->source); })()), "content", [], "any"falsefalsefalse13)) {
  100.             // line 14
  101.             echo "    ";
  102.             $__internal_compile_0 $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
  103.             $preRendered $__internal_compile_0->preRender("PageMainContent"twig_to_array([]));
  104.             if (null !== $preRendered) {
  105.                 echo $preRendered
  106.             } else {
  107.                 $preRenderEvent $__internal_compile_0->startEmbedComponent("PageMainContent"twig_to_array([]), $context"@theme/templates/cmspage-light-header.html.twig"12734047601);
  108.                 $embeddedContext $preRenderEvent->getVariables();
  109.                 $embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
  110.                 $embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
  111.                 $embeddedBlocks $embeddedContext["outerBlocks"]->convert($blocks12734047601);
  112.                 $this->loadTemplate("@theme/templates/cmspage-light-header.html.twig""@theme/templates/cmspage-light-header.html.twig"14"12734047601")->display($embeddedContext$embeddedBlocks);
  113.                 $__internal_compile_0->finishEmbedComponent();
  114.             }
  115.             // line 51
  116.             echo "  ";
  117.         }
  118.         // line 52
  119.         echo "
  120.   ";
  121.         // line 58
  122.         echo "
  123.     ";
  124.         // line 59
  125.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'59$this->source); })()), "content3", [], "any"falsefalsefalse59)) {
  126.             // line 60
  127.             echo "        <section class=\"py-40 container cms-area\">";
  128.             echo $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'60$this->source); })()), "content3");
  129.             echo "</section>
  130.     ";
  131.         }
  132.         // line 62
  133.         echo "
  134.   ";
  135.         // line 63
  136.         $this->loadTemplate("@theme/landing_page_blocks/index.html.twig""@theme/templates/cmspage-light-header.html.twig"63)->display(twig_array_merge($context, ["blocks" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'63$this->source); })()), "landingPageBlocks", [], "any"falsefalsefalse63)]));
  137.         // line 64
  138.         echo "
  139.   ";
  140.         // line 66
  141.         echo "  ";
  142.         echo $this->env->getFunction('renderPcgcComponents')->getCallable()("Before Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'66$this->source); })()));
  143.         echo "
  144.   ";
  145.         // line 67
  146.         echo $this->env->getFunction('renderPcgcComponents')->getCallable()("After Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'67$this->source); })()));
  147.         echo "
  148.   ";
  149.         // line 71
  150.         echo "  ";
  151.         echo $this->env->getFunction('renderPcgcComponents')->getCallable()("Contact Form", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'71$this->source); })()));
  152.         echo "
  153.   ";
  154.         // line 72
  155.         echo $this->env->getFunction('renderPcgcComponents')->getCallable()("Before Footer", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'72$this->source); })()));
  156.         echo "
  157.   ";
  158.         // line 73
  159.         if ((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'73$this->source); })()), "id", [], "any"falsefalsefalse73) == 6)) {
  160.             // line 74
  161.             echo "    ";
  162.             // line 75
  163.             echo "    ";
  164.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\WisdomController::index"));
  165.             echo "
  166.   ";
  167.         }
  168.         
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  170.         
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  172.     }
  173.     // line 79
  174.     public function block_stylesheets($context, array $blocks = [])
  175.     {
  176.         $macros $this->macros;
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  180.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  181.         
  182.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  183.         
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  185.     }
  186.     /**
  187.      * @codeCoverageIgnore
  188.      */
  189.     public function getTemplateName()
  190.     {
  191.         return "@theme/templates/cmspage-light-header.html.twig";
  192.     }
  193.     /**
  194.      * @codeCoverageIgnore
  195.      */
  196.     public function isTraitable()
  197.     {
  198.         return false;
  199.     }
  200.     /**
  201.      * @codeCoverageIgnore
  202.      */
  203.     public function getDebugInfo()
  204.     {
  205.         return array (  202 => 79,  188 => 75,  186 => 74,  184 => 73,  180 => 72,  175 => 71,  171 => 67,  166 => 66,  163 => 64,  161 => 63,  158 => 62,  152 => 60,  150 => 59,  147 => 58,  144 => 52,  141 => 51,  126 => 14,  124 => 13,  119 => 11,  116 => 10,  113 => 9,  110 => 8,  100 => 7,  90 => 4,  80 => 3,  61 => 2,  38 => 1,);
  206.     }
  207.     public function getSourceContext()
  208.     {
  209.         return new Source("{% extends '@theme/base.html.twig' %}
  210. {% block metatitle %}{{ page.metatitle }}{% endblock %}
  211. {% block metadescription -%}
  212.   {{- page.metadescription|striptags|slice(0, 160) -}}
  213. {%- endblock %}
  214. {% block body %}
  215.   {% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
  216.   {% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
  217.   {{ component('PageHeroThemed', { page: page, bg: false, title: pagetitle, subtitle: subtitle }) }}
  218.   {% if page.content %}
  219.     {% component 'PageMainContent' %}
  220.       {% block content %}{{ allowInlineEditor(page, 'content')|raw }}
  221.       {% if page.id == 17 %}
  222.         <script type=\"application/ld+json\">
  223.             {
  224.                 \"@context\": \"https://schema.org\",
  225.                 \"@type\": \"LocalBusiness\",
  226.                 \"name\": \"{{ sitename }}\",
  227.                 \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  228.                 \"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
  229.                 \"contactPoint\": {
  230.                     \"@type\": \"ContactPoint\",
  231.                     \"contactType\": \"Customer Service\",
  232.                     \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  233.                     \"areaServed\": \"GB\"
  234.                 }
  235.             }
  236.         </script>
  237.         <div class=\"contact-items contact-items--dark\">
  238.           {% include '@theme/common/contact-items.html.twig' %}
  239.           {{ forceRenderPcgcHtmlBlockByIdentifier(8)|raw }}
  240.         </div>
  241.       {% endif %}
  242.       {% endblock %}{% block content2 %}
  243.         {% if page.content2 %}
  244.           {{ allowInlineEditor(page, 'content2')|raw }}
  245.         {% endif %}
  246.       {% endblock %}
  247.       {% block buttons %}
  248.         {% if page.ctaText and page.ctaLink %}
  249.           <a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
  250.         {% endif %}
  251.       {% endblock %}
  252.     {% endcomponent %}
  253.   {% endif %}
  254.   {# <div class=\"header-block\">
  255.     <div class=\"contact-details\">
  256.       {{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
  257.     </div>
  258.   </div> #}
  259.     {% if page.content3 %}
  260.         <section class=\"py-40 container cms-area\">{{ allowInlineEditor(page, 'content3')|raw }}</section>
  261.     {% endif %}
  262.   {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  263.   {# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
  264.   {{ renderPcgcComponents('Before Content', pageComponents)|raw }}
  265.   {{ renderPcgcComponents('After Content', pageComponents)|raw }}
  266.   {# {% if page.testimonial %}
  267.     <twig:SingleTestimonial :testimonial=\"page.testimonial\" />
  268.   {% endif %} #}
  269.   {{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
  270.   {{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
  271.   {% if page.id == 6 %}
  272.     {# About page #}
  273.     {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  274.   {% endif %}
  275. {% endblock %}
  276. {% block stylesheets %}{% endblock %}
  277. ""@theme/templates/cmspage-light-header.html.twig""/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-light-header.html.twig");
  278.     }
  279. }
  280. /* @theme/templates/cmspage-light-header.html.twig */
  281. class __TwigTemplate_e1e585d2b7185d7a49faae057e5b5879___12734047601 extends Template
  282. {
  283.     private $source;
  284.     private $macros = [];
  285.     public function __construct(Environment $env)
  286.     {
  287.         parent::__construct($env);
  288.         $this->source $this->getSourceContext();
  289.         $this->blocks = [
  290.             'outer__block_fallback' => [$this'block_outer__block_fallback'],
  291.             'content' => [$this'block_content'],
  292.             'content2' => [$this'block_content2'],
  293.             'buttons' => [$this'block_buttons'],
  294.         ];
  295.     }
  296.     protected function doGetParent(array $context)
  297.     {
  298.         // line 14
  299.         return $this->loadTemplate((isset($context["__parent__"]) || array_key_exists("__parent__"$context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.'14$this->source); })()), "@theme/templates/cmspage-light-header.html.twig"14);
  300.     }
  301.     protected function doDisplay(array $context, array $blocks = [])
  302.     {
  303.         $macros $this->macros;
  304.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  305.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-light-header.html.twig"));
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  307.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-light-header.html.twig"));
  308.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  309.         
  310.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  311.         
  312.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  313.     }
  314.     public function block_outer__block_fallback($context, array $blocks = [])
  315.     {
  316.         $macros $this->macros;
  317.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  318.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""outer__block_fallback"));
  319.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  320.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""outer__block_fallback"));
  321.         
  322.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  323.         
  324.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  325.     }
  326.     // line 15
  327.     public function block_content($context, array $blocks = [])
  328.     {
  329.         $macros $this->macros;
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  331.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  332.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  333.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  334.         echo $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'15$this->source); })()), "content");
  335.         echo "
  336.       ";
  337.         // line 16
  338.         if ((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'16$this->source); })()), "id", [], "any"falsefalsefalse16) == 17)) {
  339.             // line 17
  340.             echo "        <script type=\"application/ld+json\">
  341.             {
  342.                 \"@context\": \"https://schema.org\",
  343.                 \"@type\": \"LocalBusiness\",
  344.                 \"name\": \"";
  345.             // line 21
  346.             echo twig_escape_filter($this->env, (isset($context["sitename"]) || array_key_exists("sitename"$context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.'21$this->source); })()), "html"nulltrue);
  347.             echo "\",
  348.                 \"telephone\": \"";
  349.             // line 22
  350.             echo twig_escape_filter($this->envtwig_striptags($this->env->getFunction('renderSetting')->getCallable()(2"content")), "html"nulltrue);
  351.             echo "\",
  352.                 \"email\": \"";
  353.             // line 23
  354.             echo twig_escape_filter($this->envtwig_striptags($this->env->getFunction('renderSetting')->getCallable()(3"content")), "html"nulltrue);
  355.             echo "\",
  356.                 \"contactPoint\": {
  357.                     \"@type\": \"ContactPoint\",
  358.                     \"contactType\": \"Customer Service\",
  359.                     \"telephone\": \"";
  360.             // line 27
  361.             echo twig_escape_filter($this->envtwig_striptags($this->env->getFunction('renderSetting')->getCallable()(2"content")), "html"nulltrue);
  362.             echo "\",
  363.                     \"areaServed\": \"GB\"
  364.                 }
  365.             }
  366.         </script>
  367.         <div class=\"contact-items contact-items--dark\">
  368.           ";
  369.             // line 34
  370.             $this->loadTemplate("@theme/common/contact-items.html.twig""@theme/templates/cmspage-light-header.html.twig"34)->display($context);
  371.             // line 35
  372.             echo "
  373.           ";
  374.             // line 36
  375.             echo $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(8);
  376.             echo "
  377.         </div>
  378.       ";
  379.         }
  380.         // line 39
  381.         echo "
  382.       ";
  383.         
  384.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  385.         
  386.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  387.     }
  388.     // line 40
  389.     public function block_content2($context, array $blocks = [])
  390.     {
  391.         $macros $this->macros;
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content2"));
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content2"));
  396.         // line 41
  397.         echo "        ";
  398.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'41$this->source); })()), "content2", [], "any"falsefalsefalse41)) {
  399.             // line 42
  400.             echo "          ";
  401.             echo $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'42$this->source); })()), "content2");
  402.             echo "
  403.         ";
  404.         }
  405.         // line 44
  406.         echo "      ";
  407.         
  408.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  409.         
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411.     }
  412.     // line 45
  413.     public function block_buttons($context, array $blocks = [])
  414.     {
  415.         $macros $this->macros;
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""buttons"));
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  419.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""buttons"));
  420.         // line 46
  421.         echo "        ";
  422.         if ((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'46$this->source); })()), "ctaText", [], "any"falsefalsefalse46) && twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'46$this->source); })()), "ctaLink", [], "any"falsefalsefalse46))) {
  423.             // line 47
  424.             echo "          <a href=\"";
  425.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'47$this->source); })()), "ctaLink", [], "any"falsefalsefalse47), "html"nulltrue);
  426.             echo "\" class=\"button\">";
  427.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'47$this->source); })()), "ctaText", [], "any"falsefalsefalse47), "html"nulltrue);
  428.             echo "</a>
  429.         ";
  430.         }
  431.         // line 49
  432.         echo "      ";
  433.         
  434.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  435.         
  436.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  437.     }
  438.     /**
  439.      * @codeCoverageIgnore
  440.      */
  441.     public function getTemplateName()
  442.     {
  443.         return "@theme/templates/cmspage-light-header.html.twig";
  444.     }
  445.     /**
  446.      * @codeCoverageIgnore
  447.      */
  448.     public function isTraitable()
  449.     {
  450.         return false;
  451.     }
  452.     /**
  453.      * @codeCoverageIgnore
  454.      */
  455.     public function getDebugInfo()
  456.     {
  457.         return array (  509 => 49,  501 => 47,  498 => 46,  488 => 45,  478 => 44,  472 => 42,  469 => 41,  459 => 40,  448 => 39,  442 => 36,  439 => 35,  437 => 34,  427 => 27,  420 => 23,  416 => 22,  412 => 21,  406 => 17,  404 => 16,  391 => 15,  352 => 14,  202 => 79,  188 => 75,  186 => 74,  184 => 73,  180 => 72,  175 => 71,  171 => 67,  166 => 66,  163 => 64,  161 => 63,  158 => 62,  152 => 60,  150 => 59,  147 => 58,  144 => 52,  141 => 51,  126 => 14,  124 => 13,  119 => 11,  116 => 10,  113 => 9,  110 => 8,  100 => 7,  90 => 4,  80 => 3,  61 => 2,  38 => 1,);
  458.     }
  459.     public function getSourceContext()
  460.     {
  461.         return new Source("{% extends '@theme/base.html.twig' %}
  462. {% block metatitle %}{{ page.metatitle }}{% endblock %}
  463. {% block metadescription -%}
  464.   {{- page.metadescription|striptags|slice(0, 160) -}}
  465. {%- endblock %}
  466. {% block body %}
  467.   {% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
  468.   {% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
  469.   {{ component('PageHeroThemed', { page: page, bg: false, title: pagetitle, subtitle: subtitle }) }}
  470.   {% if page.content %}
  471.     {% component 'PageMainContent' %}
  472.       {% block content %}{{ allowInlineEditor(page, 'content')|raw }}
  473.       {% if page.id == 17 %}
  474.         <script type=\"application/ld+json\">
  475.             {
  476.                 \"@context\": \"https://schema.org\",
  477.                 \"@type\": \"LocalBusiness\",
  478.                 \"name\": \"{{ sitename }}\",
  479.                 \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  480.                 \"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
  481.                 \"contactPoint\": {
  482.                     \"@type\": \"ContactPoint\",
  483.                     \"contactType\": \"Customer Service\",
  484.                     \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  485.                     \"areaServed\": \"GB\"
  486.                 }
  487.             }
  488.         </script>
  489.         <div class=\"contact-items contact-items--dark\">
  490.           {% include '@theme/common/contact-items.html.twig' %}
  491.           {{ forceRenderPcgcHtmlBlockByIdentifier(8)|raw }}
  492.         </div>
  493.       {% endif %}
  494.       {% endblock %}{% block content2 %}
  495.         {% if page.content2 %}
  496.           {{ allowInlineEditor(page, 'content2')|raw }}
  497.         {% endif %}
  498.       {% endblock %}
  499.       {% block buttons %}
  500.         {% if page.ctaText and page.ctaLink %}
  501.           <a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
  502.         {% endif %}
  503.       {% endblock %}
  504.     {% endcomponent %}
  505.   {% endif %}
  506.   {# <div class=\"header-block\">
  507.     <div class=\"contact-details\">
  508.       {{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
  509.     </div>
  510.   </div> #}
  511.     {% if page.content3 %}
  512.         <section class=\"py-40 container cms-area\">{{ allowInlineEditor(page, 'content3')|raw }}</section>
  513.     {% endif %}
  514.   {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  515.   {# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
  516.   {{ renderPcgcComponents('Before Content', pageComponents)|raw }}
  517.   {{ renderPcgcComponents('After Content', pageComponents)|raw }}
  518.   {# {% if page.testimonial %}
  519.     <twig:SingleTestimonial :testimonial=\"page.testimonial\" />
  520.   {% endif %} #}
  521.   {{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
  522.   {{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
  523.   {% if page.id == 6 %}
  524.     {# About page #}
  525.     {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  526.   {% endif %}
  527. {% endblock %}
  528. {% block stylesheets %}{% endblock %}
  529. ""@theme/templates/cmspage-light-header.html.twig""/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-light-header.html.twig");
  530.     }
  531. }