<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* areas/hero-regular-brick/view.html.twig */
class __TwigTemplate_ccc55fab3f8b456f2dc1a778f4f7c03355081234d35ec5053e3a2c2135298134 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "areas/hero-regular-brick/view.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "areas/hero-regular-brick/view.html.twig"));
// line 1
yield from $this->loadTemplate("includes/partials/hero_usp_bar.html.twig", "areas/hero-regular-brick/view.html.twig", 1)->unwrap()->yield($context);
// line 2
yield "
";
// line 3
yield from $this->loadTemplate("areas/hero-regular-brick/view.html.twig", "areas/hero-regular-brick/view.html.twig", 3, "1251140530")->unwrap()->yield($context);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "areas/hero-regular-brick/view.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 55 => 3, 52 => 2, 50 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% include 'includes/partials/hero_usp_bar.html.twig' %}
{% embed 'app/area-brick-layout.html.twig' %}
{% block content %}
<section>
<div class=\"{{ pimcore_select('backgroundColor').getData()|default('bg-white') }} sm:py-20 sm:min-h-[640px]\">
<div class=\"relative sm:-mb-[260px] sm:pb-0 sm:container flex flex-col h-full sm:flex-row-reverse items-center\">
<div class=\"w-full sm:w-[50%] relative sm:-left-[62px] sm:rounded overflow-hidden\">
{% if not pimcore_image('background-image').isEmpty() %}
{{ pimcore_image('background-image').getThumbnail('header-regular-image').html()|raw }}
{% endif %}
</div>
<div class=\"relative m-4 sm:w-[50%] hero-card z-1 hero-card--overlap bg-white py-8 px-10 sm:ml-8 rounded\">
{% include 'includes/partials/hero_content.html.twig' %}
</div>
</div>
</div>
</section>
{% endblock %}
{% endembed %}
", "areas/hero-regular-brick/view.html.twig", "/home/forge/testing.coolworld.ptchr.dev/templates/areas/hero-regular-brick/view.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 1, "embed" => 3];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include', 'embed'],
[],
[],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
/* areas/hero-regular-brick/view.html.twig */
class __TwigTemplate_ccc55fab3f8b456f2dc1a778f4f7c03355081234d35ec5053e3a2c2135298134___1251140530 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
return "app/area-brick-layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "areas/hero-regular-brick/view.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "areas/hero-regular-brick/view.html.twig"));
$this->parent = $this->loadTemplate("app/area-brick-layout.html.twig", "areas/hero-regular-brick/view.html.twig", 3);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 5
yield " <section>
<div class=\"";
// line 6
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "backgroundColor"), "getData", [], "method", true, true, true, 6)) ? (Twig\Extension\CoreExtension::default($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "backgroundColor"), "getData", [], "method", false, false, true, 6), 6, $this->source), "bg-white")) : ("bg-white")), "html", null, true);
yield " sm:py-20 sm:min-h-[640px]\">
<div class=\"relative sm:-mb-[260px] sm:pb-0 sm:container flex flex-col h-full sm:flex-row-reverse items-center\">
<div class=\"w-full sm:w-[50%] relative sm:-left-[62px] sm:rounded overflow-hidden\">
";
// line 10
if ( !CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "background-image"), "isEmpty", [], "method", false, false, true, 10)) {
// line 11
yield " ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "background-image"), "getThumbnail", ["header-regular-image"], "method", false, false, true, 11), "html", [], "method", false, false, true, 11), 11, $this->source);
yield "
";
}
// line 13
yield " </div>
<div class=\"relative m-4 sm:w-[50%] hero-card z-1 hero-card--overlap bg-white py-8 px-10 sm:ml-8 rounded\">
";
// line 15
yield from $this->loadTemplate("includes/partials/hero_content.html.twig", "areas/hero-regular-brick/view.html.twig", 15)->unwrap()->yield($context);
// line 16
yield " </div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "areas/hero-regular-brick/view.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 230 => 16, 228 => 15, 224 => 13, 218 => 11, 216 => 10, 209 => 6, 206 => 5, 193 => 4, 55 => 3, 52 => 2, 50 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% include 'includes/partials/hero_usp_bar.html.twig' %}
{% embed 'app/area-brick-layout.html.twig' %}
{% block content %}
<section>
<div class=\"{{ pimcore_select('backgroundColor').getData()|default('bg-white') }} sm:py-20 sm:min-h-[640px]\">
<div class=\"relative sm:-mb-[260px] sm:pb-0 sm:container flex flex-col h-full sm:flex-row-reverse items-center\">
<div class=\"w-full sm:w-[50%] relative sm:-left-[62px] sm:rounded overflow-hidden\">
{% if not pimcore_image('background-image').isEmpty() %}
{{ pimcore_image('background-image').getThumbnail('header-regular-image').html()|raw }}
{% endif %}
</div>
<div class=\"relative m-4 sm:w-[50%] hero-card z-1 hero-card--overlap bg-white py-8 px-10 sm:ml-8 rounded\">
{% include 'includes/partials/hero_content.html.twig' %}
</div>
</div>
</div>
</section>
{% endblock %}
{% endembed %}
", "areas/hero-regular-brick/view.html.twig", "/home/forge/testing.coolworld.ptchr.dev/templates/areas/hero-regular-brick/view.html.twig");
}
public function checkSecurity()
{
static $tags = ["extends" => 3, "if" => 10, "include" => 15];
static $filters = ["escape" => 6, "default" => 6, "raw" => 11];
static $functions = ["pimcore_select" => 6, "pimcore_image" => 10];
try {
$this->sandbox->checkSecurity(
['extends', 'if', 'include'],
['escape', 'default', 'raw'],
['pimcore_select', 'pimcore_image'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}