<?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;
/* @openform_front_templates/RelictPack/relict_item.html.twig */
class __TwigTemplate_de166a8755bad38000c6f30e2b83ee57 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'bodyAttr' => [$this, 'block_bodyAttr'],
'contentClass' => [$this, 'block_contentClass'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'newsletter' => [$this, 'block_newsletter'],
'footer' => [$this, 'block_footer'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@openform_front_templates/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", "@openform_front_templates/RelictPack/relict_item.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@openform_front_templates/RelictPack/relict_item.html.twig"));
// line 5
$context["pageSubTitle"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "Translation", [], "any", false, false, false, 5), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "locale", [], "any", false, false, false, 5), [], "array", false, false, false, 5), "title", [], "any", false, false, false, 5);
// line 6
$context["metaTitle"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 6, $this->source); })()), "Translation", [], "any", false, false, false, 6), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "locale", [], "any", false, false, false, 6), [], "array", false, false, false, 6), "metaTitle", [], "any", false, false, false, 6)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 6, $this->source); })()), "Translation", [], "any", false, false, false, 6), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "locale", [], "any", false, false, false, 6), [], "array", false, false, false, 6), "metaTitle", [], "any", false, false, false, 6)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 6, $this->source); })()), "Translation", [], "any", false, false, false, 6), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "locale", [], "any", false, false, false, 6), [], "array", false, false, false, 6), "title", [], "any", false, false, false, 6)));
// line 7
$context["metaDescription"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 7, $this->source); })()), "Translation", [], "any", false, false, false, 7), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "locale", [], "any", false, false, false, 7), [], "array", false, false, false, 7), "metaDescription", [], "any", false, false, false, 7);
// line 8
$context["metaKeywords"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 8, $this->source); })()), "Translation", [], "any", false, false, false, 8), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "locale", [], "any", false, false, false, 8), [], "array", false, false, false, 8), "metaKeywords", [], "any", false, false, false, 8);
// line 9
$context["pageImage"] = ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 9, $this->source); })()), "imagePath", [], "any", false, false, false, 9)) ? (twig_get_attribute($this->env, $this->source, (isset($context["openform_front_util"]) || array_key_exists("openform_front_util", $context) ? $context["openform_front_util"] : (function () { throw new RuntimeError('Variable "openform_front_util" does not exist.', 9, $this->source); })()), "getImagePathByType", [twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 9, $this->source); })()), "Thumb", [], "any", false, false, false, 9), "list"], "method", false, false, false, 9)) : (""));
// line 1
$this->parent = $this->loadTemplate("@openform_front_templates/base.html.twig", "@openform_front_templates/RelictPack/relict_item.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 3
public function block_bodyAttr($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", "bodyAttr"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyAttr"));
echo "data-page=\"detail-page\"";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
public function block_contentClass($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", "contentClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentClass"));
if ( !twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 10, $this->source); })()), "showHeader", [], "any", false, false, false, 10)) {
echo "no-padding";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 11
public function block_header($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", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 12
echo " ";
$this->loadTemplate("@openform_front_templates/_includes/_header_mak.html.twig", "@openform_front_templates/RelictPack/relict_item.html.twig", 12)->display(twig_array_merge($context, ["version" => "relictPack", "background" => twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 12, $this->source); })()), "headerBackgroundColor", [], "any", false, false, false, 12)]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 14
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 "
";
// line 16
$context["mobile"] = twig_get_attribute($this->env, $this->source, (isset($context["openform_front_util"]) || array_key_exists("openform_front_util", $context) ? $context["openform_front_util"] : (function () { throw new RuntimeError('Variable "openform_front_util" does not exist.', 16, $this->source); })()), "isMobileDevice", [], "method", false, false, false, 16);
// line 17
echo " ";
if ((isset($context["mobile"]) || array_key_exists("mobile", $context) ? $context["mobile"] : (function () { throw new RuntimeError('Variable "mobile" does not exist.', 17, $this->source); })())) {
// line 18
echo " ";
echo twig_include($this->env, $context, "@openform_front_templates/RelictPack/_templates/template-mobile.html.twig", ["entity" => (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 18, $this->source); })())]);
echo "
";
} else {
// line 20
echo " <section class=\"collections ";
if ( !twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "showHeader", [], "any", false, false, false, 20)) {
echo " collections--full-height collections--full-heigh-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "relictArrange", [], "any", false, false, false, 20), "html", null, true);
}
echo " collections--";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "relictArrange", [], "any", false, false, false, 20), "html", null, true);
echo " collections--";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "relictArrange", [], "any", false, false, false, 20), "html", null, true);
echo (((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "slideArrange", [], "any", true, true, false, 20) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "slideArrange", [], "any", false, false, false, 20))) ? ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "slideArrange", [], "any", false, false, false, 20) == 1)) ? ("a") : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "slideArrange", [], "any", false, false, false, 20) == 2)) ? ("b") : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "slideArrange", [], "any", false, false, false, 20) == 3)) ? ("c") : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "slideArrange", [], "any", false, false, false, 20) == 4)) ? ("d") : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "slideArrange", [], "any", false, false, false, 20) == 5)) ? ("e") : (""))))))))))) : (""));
echo "
collections--";
// line 21
(((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "isInvertedTemplate", [], "any", true, true, false, 21) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 21, $this->source); })()), "isInvertedTemplate", [], "any", false, false, false, 21))) ? (print (twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 21, $this->source); })()), "relictArrange", [], "any", false, false, false, 21) . (((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "slideArrange", [], "any", true, true, false, 21) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 21, $this->source); })()), "slideArrange", [], "any", false, false, false, 21))) ? ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 21, $this->source); })()), "slideArrange", [], "any", false, false, false, 21) == 1)) ? ("a") : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 21, $this->source); })()), "slideArrange", [], "any", false, false, false, 21) == 2)) ? ("b") : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 21, $this->source); })()), "slideArrange", [], "any", false, false, false, 21) == 3)) ? ("c") : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 21, $this->source); })()), "slideArrange", [], "any", false, false, false, 21) == 4)) ? ("d") : ((((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 21, $this->source); })()), "slideArrange", [], "any", false, false, false, 21) == 5)) ? ("e") : (""))))))))))) : (""))) . "-revert"), "html", null, true))) : (print ("")));
echo "
collections--";
// line 22
(((twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "isInvertedTemplate", [], "any", true, true, false, 22) && twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 22, $this->source); })()), "isInvertedTemplate", [], "any", false, false, false, 22))) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 22, $this->source); })()), "relictArrange", [], "any", false, false, false, 22) . "-revert"), "html", null, true))) : (print ("")));
echo " js-collections\" style=\"";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 22, $this->source); })()), "relictArrange", [], "any", false, false, false, 22) == "t3")) {
echo "height: calc(100vh - ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "headerHeight", [], "any", true, true, false, 22)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["rootParent"] ?? null), "headerHeight", [], "any", false, false, false, 22), 90)) : (90)), "html", null, true);
echo "px);";
}
echo "\">
";
// line 24
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 24, $this->source); })()), "relictArrange", [], "any", false, false, false, 24) && (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 24, $this->source); })()), "relictArrange", [], "any", false, false, false, 24) == "o7"))) {
// line 25
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 25, $this->source); })()), "RelictPack", [], "any", false, false, false, 25), "getVisibleRelicts", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "locale", [], "any", false, false, false, 25)], "method", false, false, false, 25));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["Relict"]) {
// line 26
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 26, $this->source); })()), "id", [], "any", false, false, false, 26) == twig_get_attribute($this->env, $this->source, $context["Relict"], "id", [], "any", false, false, false, 26))) {
// line 27
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["entity"] ?? null), "RelictPack", [], "any", false, true, false, 27), "getVisibleRelicts", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27)], "method", false, true, false, 27), ($context["key"] + 1), [], "array", true, true, false, 27)) {
// line 28
echo " ";
$context["nextElement"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 28, $this->source); })()), "RelictPack", [], "any", false, false, false, 28), "getVisibleRelicts", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 28, $this->source); })()), "request", [], "any", false, false, false, 28), "locale", [], "any", false, false, false, 28)], "method", false, false, false, 28), ($context["key"] + 1), [], "array", false, false, false, 28);
// line 29
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["nextElement"]) || array_key_exists("nextElement", $context) ? $context["nextElement"] : (function () { throw new RuntimeError('Variable "nextElement" does not exist.', 29, $this->source); })()), "relictArrange", [], "any", false, false, false, 29) == "o7")) {
// line 30
echo " ";
echo twig_include($this->env, $context, (("@openform_front_templates/RelictPack/_templates/template-" . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 30, $this->source); })()), "relictArrange", [], "any", false, false, false, 30)) . ".html.twig"), ["entity" => (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 30, $this->source); })()), "entity2" => (isset($context["nextElement"]) || array_key_exists("nextElement", $context) ? $context["nextElement"] : (function () { throw new RuntimeError('Variable "nextElement" does not exist.', 30, $this->source); })())]);
echo "
";
} else {
// line 32
echo " ";
echo twig_include($this->env, $context, (("@openform_front_templates/RelictPack/_templates/template-" . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 32, $this->source); })()), "relictArrange", [], "any", false, false, false, 32)) . ".html.twig"), ["entity" => (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 32, $this->source); })())]);
echo "
";
}
// line 34
echo " ";
}
// line 35
echo " ";
}
// line 36
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['Relict'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 37
echo " ";
} elseif (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 37, $this->source); })()), "relictArrange", [], "any", false, false, false, 37)) {
// line 38
echo " ";
echo twig_include($this->env, $context, (("@openform_front_templates/RelictPack/_templates/template-" . twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })()), "relictArrange", [], "any", false, false, false, 38)) . ".html.twig"), ["entity" => (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 38, $this->source); })())]);
echo "
";
}
// line 40
echo "
";
// line 43
echo "
";
// line 49
echo "
";
// line 57
echo " ";
// line 58
echo " </section>
";
}
// line 59
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 61
public function block_newsletter($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", "newsletter"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "newsletter"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 63
public function block_footer($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", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@openform_front_templates/RelictPack/relict_item.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 305 => 63, 287 => 61, 276 => 59, 272 => 58, 270 => 57, 267 => 49, 264 => 43, 260 => 40, 254 => 38, 251 => 37, 237 => 36, 234 => 35, 231 => 34, 225 => 32, 219 => 30, 216 => 29, 213 => 28, 210 => 27, 207 => 26, 189 => 25, 187 => 24, 176 => 22, 172 => 21, 159 => 20, 153 => 18, 150 => 17, 148 => 16, 135 => 14, 124 => 12, 114 => 11, 93 => 10, 74 => 3, 63 => 1, 61 => 9, 59 => 8, 57 => 7, 55 => 6, 53 => 5, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"@openform_front_templates/base.html.twig\" %}
{% block bodyAttr %}data-page=\"detail-page\"{% endblock %}
{% set pageSubTitle = entity.Translation[app.request.locale].title %}
{% set metaTitle = entity.Translation[app.request.locale].metaTitle ? entity.Translation[app.request.locale].metaTitle : entity.Translation[app.request.locale].title %}
{% set metaDescription = entity.Translation[app.request.locale].metaDescription %}
{% set metaKeywords = entity.Translation[app.request.locale].metaKeywords %}
{% set pageImage = entity.imagePath ? openform_front_util.getImagePathByType(entity.Thumb,'list') : '' %}
{% block contentClass %}{% if not entity.showHeader %}no-padding{% endif %}{% endblock %}
{% block header %}
{% include \"@openform_front_templates/_includes/_header_mak.html.twig\" with {version: 'relictPack', background: entity.headerBackgroundColor} %}
{% endblock %}
{% block content %}
{% set mobile = openform_front_util.isMobileDevice() %}
{% if mobile %}
{{ include('@openform_front_templates/RelictPack/_templates/template-mobile.html.twig', {entity: entity}) }}
{% else %}
<section class=\"collections {% if not entity.showHeader %} collections--full-height collections--full-heigh-{{entity.relictArrange}}{% endif %} collections--{{entity.relictArrange}} collections--{{entity.relictArrange}}{{entity.slideArrange is defined and entity.slideArrange ? entity.slideArrange == 1 ? 'a' : entity.slideArrange == 2 ? 'b' : entity.slideArrange == 3 ? 'c' : entity.slideArrange == 4 ? 'd' : entity.slideArrange == 5 ? 'e'}}
collections--{{entity.isInvertedTemplate is defined and entity.isInvertedTemplate ? entity.relictArrange ~(entity.slideArrange is defined and entity.slideArrange ? entity.slideArrange == 1 ? 'a' : entity.slideArrange == 2 ? 'b' : entity.slideArrange == 3 ? 'c' : entity.slideArrange == 4 ? 'd' : entity.slideArrange == 5 ? 'e') ~ '-revert'}}
collections--{{entity.isInvertedTemplate is defined and entity.isInvertedTemplate ? entity.relictArrange ~ '-revert'}} js-collections\" style=\"{% if entity.relictArrange == 't3' %}height: calc(100vh - {{ rootParent.headerHeight|default(90) }}px);{% endif %}\">
{% if entity.relictArrange and entity.relictArrange == 'o7' %}
{% for key, Relict in entity.RelictPack.getVisibleRelicts(app.request.locale) %}
{% if entity.id == Relict.id %}
{% if entity.RelictPack.getVisibleRelicts(app.request.locale)[key + 1] is defined %}
{% set nextElement = entity.RelictPack.getVisibleRelicts(app.request.locale)[key + 1] %}
{% if nextElement.relictArrange == 'o7' %}
{{ include('@openform_front_templates/RelictPack/_templates/template-' ~ entity.relictArrange ~ '.html.twig', {entity: entity, entity2: nextElement}) }}
{% else %}
{{ include('@openform_front_templates/RelictPack/_templates/template-' ~ entity.relictArrange ~ '.html.twig', {entity: entity}) }}
{% endif %}
{% endif%}
{% endif %}
{% endfor %}
{% elseif entity.relictArrange %}
{{ include('@openform_front_templates/RelictPack/_templates/template-' ~ entity.relictArrange ~ '.html.twig', {entity: entity}) }}
{% endif %}
{# <div class=\"links-block__items\"> #}
{# Obiekt jest częścią kolekcji:
<h2 class=\"gallery-block__title home-title\">
{{ entity.RelictPack.Translation[app.request.locale].title }}
</h2> #}
{# Kompletna kolekcja zawiera obiekty:
{% for item in entity.RelictPack.getVisibleRelicts(app.request.locale) %}
{% set href = toolkit_route_localizer.generate('relict_item',{ slug : item.Translation[app.request.locale].slug }, app.request.locale) %}
<a class=\"links-block__item link link--gray\" href=\"{{ href }}\">
- {{ item.Translation[app.request.locale].title }}<br><br>
</a>
{% endfor %} #}
{# </div> #}
</section>
{% endif %}
{% endblock %}
{% block newsletter %}
{% endblock %}
{% block footer %}
{% endblock %}", "@openform_front_templates/RelictPack/relict_item.html.twig", "/var/www/php81/fpd.in.openform.pl/src/Package/Openform/Front/Templates/RelictPack/relict_item.html.twig");
}
}