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
<?php
use Twig\Environment ;
use Twig\Error\LoaderError ;
use Twig\Error\RuntimeError ;
use Twig\Extension\SandboxExtension ;
use Twig\Markup ;
use Twig\Sandbox\SecurityError ;
use Twig\Sandbox\SecurityNotAllowedTagError ;
use Twig\Sandbox\SecurityNotAllowedFilterError ;
use Twig\Sandbox\SecurityNotAllowedFunctionError ;
use Twig\Source ;
use Twig\Template ;
/* @theme/templates/cmspage-light-header.html.twig */
class __TwigTemplate_e1e585d2b7185d7a49faae057e5b5879 extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> blocks = [
'metatitle' => [ $this , 'block_metatitle' ],
'metadescription' => [ $this , 'block_metadescription' ],
'body' => [ $this , 'block_body' ],
'stylesheets' => [ $this , 'block_stylesheets' ],
];
}
protected function doGetParent (array $context )
{
// line 1
return "@theme/base.html.twig" ;
}
protected function doDisplay (array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@theme/templates/cmspage-light-header.html.twig" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@theme/templates/cmspage-light-header.html.twig" ));
$this -> parent = $this -> loadTemplate ( "@theme/base.html.twig" , "@theme/templates/cmspage-light-header.html.twig" , 1 );
$this -> parent -> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
// line 2
public function block_metatitle ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "metatitle" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "metatitle" ));
echo twig_escape_filter ( $this -> env , 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.' , 2 , $this -> source ); })()), "metatitle" , [], "any" , false , false , false , 2 ), "html" , null , true );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 3
public function block_metadescription ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "metadescription" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "metadescription" ));
// line 4
echo twig_escape_filter ( $this -> env , twig_slice ( $this -> env , twig_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" , false , false , false , 4 )), 0 , 160 ), "html" , null , true );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 7
public function block_body ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "body" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "body" ));
// line 8
echo " " ;
$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" , false , false , false , 8 )));
// line 9
echo " " ;
$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" , false , false , false , 9 )));
// line 10
echo "
";
// line 11
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 ); })())]);
echo "
";
// line 13
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" , false , false , false , 13 )) {
// line 14
echo " " ;
$__internal_compile_0 = $this -> env -> getRuntime ( "Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime" );
$preRendered = $__internal_compile_0 -> preRender ( "PageMainContent" , twig_to_array ([]));
if (null !== $preRendered ) {
echo $preRendered ;
} else {
$preRenderEvent = $__internal_compile_0 -> startEmbedComponent ( "PageMainContent" , twig_to_array ([]), $context , "@theme/templates/cmspage-light-header.html.twig" , 12734047601 );
$embeddedContext = $preRenderEvent -> getVariables ();
$embeddedContext [ "__parent__" ] = $preRenderEvent -> getTemplate ();
$embeddedContext [ "outerBlocks" ] ??= new \Symfony\UX\TwigComponent\BlockStack ();
$embeddedBlocks = $embeddedContext [ "outerBlocks" ]-> convert ( $blocks , 12734047601 );
$this -> loadTemplate ( "@theme/templates/cmspage-light-header.html.twig" , "@theme/templates/cmspage-light-header.html.twig" , 14 , "12734047601" )-> display ( $embeddedContext , $embeddedBlocks );
$__internal_compile_0 -> finishEmbedComponent ();
}
// line 51
echo " " ;
}
// line 52
echo "
";
// line 58
echo "
";
// line 59
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" , false , false , false , 59 )) {
// line 60
echo " <section class=\"py-40 container cms-area\">" ;
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" );
echo "</section>
";
}
// line 62
echo "
";
// line 63
$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" , false , false , false , 63 )]));
// line 64
echo "
";
// line 66
echo " " ;
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 ); })()));
echo "
";
// line 67
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 ); })()));
echo "
";
// line 71
echo " " ;
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 ); })()));
echo "
";
// line 72
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 ); })()));
echo "
";
// line 73
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" , false , false , false , 73 ) == 6 )) {
// line 74
echo " " ;
// line 75
echo " " ;
echo $this -> env -> getRuntime ( 'Symfony\Bridge\Twig\Extension\HttpKernelRuntime' )-> renderFragment ( Symfony\Bridge\Twig\Extension\HttpKernelExtension :: controller ( "App\\Controller\\WisdomController::index" ));
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 79
public function block_stylesheets ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "stylesheets" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "stylesheets" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/templates/cmspage-light-header.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
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 ,);
}
public function getSourceContext ()
{
return new Source ( "{% extends '@theme/base.html.twig' %}
{% block metatitle %}{{ page.metatitle }}{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock %}
{% block body %}
{% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
{% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
{{ component('PageHeroThemed', { page: page, bg: false, title: pagetitle, subtitle: subtitle }) }}
{% if page.content %}
{% component 'PageMainContent' %}
{% block content %}{{ allowInlineEditor(page, 'content')|raw }}
{% if page.id == 17 %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"contactPoint\": {
\"@type\": \"ContactPoint\",
\"contactType\": \"Customer Service\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"areaServed\": \"GB\"
}
}
</script>
<div class=\"contact-items contact-items--dark\">
{% include '@theme/common/contact-items.html.twig' %}
{{ forceRenderPcgcHtmlBlockByIdentifier(8)|raw }}
</div>
{% endif %}
{% endblock %}{% block content2 %}
{% if page.content2 %}
{{ allowInlineEditor(page, 'content2')|raw }}
{% endif %}
{% endblock %}
{% block buttons %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
{% endif %}
{% endblock %}
{% endcomponent %}
{% endif %}
{# <div class=\"header-block\">
<div class=\"contact-details\">
{{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
</div>
</div> #}
{% if page.content3 %}
<section class=\"py-40 container cms-area\">{{ allowInlineEditor(page, 'content3')|raw }}</section>
{% endif %}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
{{ renderPcgcComponents('Before Content', pageComponents)|raw }}
{{ renderPcgcComponents('After Content', pageComponents)|raw }}
{# {% if page.testimonial %}
<twig:SingleTestimonial :testimonial=\"page.testimonial\" />
{% endif %} #}
{{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
{{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
{% if page.id == 6 %}
{# About page #}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% endif %}
{% endblock %}
{% block stylesheets %}{% endblock %}
", "@theme/templates/cmspage-light-header.html.twig" , "/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-light-header.html.twig" );
}
}
/* @theme/templates/cmspage-light-header.html.twig */
class __TwigTemplate_e1e585d2b7185d7a49faae057e5b5879___12734047601 extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> blocks = [
'outer__block_fallback' => [ $this , 'block_outer__block_fallback' ],
'content' => [ $this , 'block_content' ],
'content2' => [ $this , 'block_content2' ],
'buttons' => [ $this , 'block_buttons' ],
];
}
protected function doGetParent (array $context )
{
// line 14
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 );
}
protected function doDisplay (array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@theme/templates/cmspage-light-header.html.twig" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@theme/templates/cmspage-light-header.html.twig" ));
$this -> getParent ( $context )-> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
public function block_outer__block_fallback ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "outer__block_fallback" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "outer__block_fallback" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 15
public function block_content ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "content" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "content" ));
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" );
echo "
";
// line 16
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" , false , false , false , 16 ) == 17 )) {
// line 17
echo " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"";
// line 21
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" , null , true );
echo "\",
\"telephone\": \"";
// line 22
echo twig_escape_filter ( $this -> env , twig_striptags ( $this -> env -> getFunction ( 'renderSetting' )-> getCallable ()( 2 , "content" )), "html" , null , true );
echo "\",
\"email\": \"";
// line 23
echo twig_escape_filter ( $this -> env , twig_striptags ( $this -> env -> getFunction ( 'renderSetting' )-> getCallable ()( 3 , "content" )), "html" , null , true );
echo "\",
\"contactPoint\": {
\"@type\": \"ContactPoint\",
\"contactType\": \"Customer Service\",
\"telephone\": \"";
// line 27
echo twig_escape_filter ( $this -> env , twig_striptags ( $this -> env -> getFunction ( 'renderSetting' )-> getCallable ()( 2 , "content" )), "html" , null , true );
echo "\",
\"areaServed\": \"GB\"
}
}
</script>
<div class=\"contact-items contact-items--dark\">
";
// line 34
$this -> loadTemplate ( "@theme/common/contact-items.html.twig" , "@theme/templates/cmspage-light-header.html.twig" , 34 )-> display ( $context );
// line 35
echo "
";
// line 36
echo $this -> env -> getFunction ( 'forceRenderPcgcHtmlBlockByIdentifier' )-> getCallable ()( 8 );
echo "
</div>
";
}
// line 39
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 40
public function block_content2 ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "content2" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "content2" ));
// line 41
echo " " ;
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" , false , false , false , 41 )) {
// line 42
echo " " ;
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" );
echo "
";
}
// line 44
echo " " ;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 45
public function block_buttons ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "buttons" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "buttons" ));
// line 46
echo " " ;
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" , false , false , false , 46 ) && 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" , false , false , false , 46 ))) {
// line 47
echo " <a href=\"" ;
echo twig_escape_filter ( $this -> env , 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.' , 47 , $this -> source ); })()), "ctaLink" , [], "any" , false , false , false , 47 ), "html" , null , true );
echo "\" class=\"button\">" ;
echo twig_escape_filter ( $this -> env , 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.' , 47 , $this -> source ); })()), "ctaText" , [], "any" , false , false , false , 47 ), "html" , null , true );
echo "</a>
";
}
// line 49
echo " " ;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/templates/cmspage-light-header.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
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 ,);
}
public function getSourceContext ()
{
return new Source ( "{% extends '@theme/base.html.twig' %}
{% block metatitle %}{{ page.metatitle }}{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock %}
{% block body %}
{% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
{% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
{{ component('PageHeroThemed', { page: page, bg: false, title: pagetitle, subtitle: subtitle }) }}
{% if page.content %}
{% component 'PageMainContent' %}
{% block content %}{{ allowInlineEditor(page, 'content')|raw }}
{% if page.id == 17 %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"contactPoint\": {
\"@type\": \"ContactPoint\",
\"contactType\": \"Customer Service\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"areaServed\": \"GB\"
}
}
</script>
<div class=\"contact-items contact-items--dark\">
{% include '@theme/common/contact-items.html.twig' %}
{{ forceRenderPcgcHtmlBlockByIdentifier(8)|raw }}
</div>
{% endif %}
{% endblock %}{% block content2 %}
{% if page.content2 %}
{{ allowInlineEditor(page, 'content2')|raw }}
{% endif %}
{% endblock %}
{% block buttons %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
{% endif %}
{% endblock %}
{% endcomponent %}
{% endif %}
{# <div class=\"header-block\">
<div class=\"contact-details\">
{{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
</div>
</div> #}
{% if page.content3 %}
<section class=\"py-40 container cms-area\">{{ allowInlineEditor(page, 'content3')|raw }}</section>
{% endif %}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
{{ renderPcgcComponents('Before Content', pageComponents)|raw }}
{{ renderPcgcComponents('After Content', pageComponents)|raw }}
{# {% if page.testimonial %}
<twig:SingleTestimonial :testimonial=\"page.testimonial\" />
{% endif %} #}
{{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
{{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
{% if page.id == 6 %}
{# About page #}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% endif %}
{% endblock %}
{% block stylesheets %}{% endblock %}
", "@theme/templates/cmspage-light-header.html.twig" , "/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-light-header.html.twig" );
}
}