<?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;
/* @FactorySupport/document/sub_category_page/default.html.twig */
class __TwigTemplate_cb8dda4c747c9f84c63607c908a9dac5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'contentBlock' => [$this, 'block_contentBlock'],
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "layout/default.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FactorySupport/document/sub_category_page/default.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FactorySupport/document/sub_category_page/default.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FactorySupport/document/sub_category_page/default.html.twig"));
$this->parent = $this->loadTemplate("layout/default.html.twig", "@FactorySupport/document/sub_category_page/default.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_contentBlock($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
// line 4
yield "<main class=\"stereotaxicCategoryPage\" style=\"background-attachment: fixed;background-image: url(";
((CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 4, $this->source); })()), "getProperty", ["template_background_image"], "method", false, false, true, 4)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 4, $this->source); })()), "getProperty", ["template_background_image"], "method", false, false, true, 4), "getThumbnail", ["Stoelting_division_bg"], "method", false, false, true, 4), "html", null, true)) : (yield ""));
yield ") ;\">
<div class=\"container mt-5 mt-lg-5 mt-md-5\">
<div class=\"row\">
<div class=\"col-xl-10 offset-xl-1 offset-lg-0 col-lg-12 pb-3 pb-lg-3 pb-md-3\">
<div class=\"d-flex align-items-center\">
";
// line 9
$context["anyMaze"] = CoreExtension::inFilter("any-maze", Twig\Extension\CoreExtension::lower($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 9, $this->source); })()), "getProperty", ["navigation_title"], "method", false, false, true, 9), 9, $this->source)));
// line 10
yield " <div class=\"category-breadcrumb-image ";
yield (((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "categoryBreadcrumbImage"), "isEmpty", [], "method", false, false, true, 10) && !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 10, $this->source); })()))) ? ("d-none") : ("mr-3 mr-lg-3 mr-md-3"));
yield "\">
";
// line 11
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 11, $this->source); })())) {
// line 12
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "categoryBreadcrumbImage");
yield "
";
} else {
// line 14
yield " <img style=\"width:80px;\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "categoryBreadcrumbImage"), "getThumbnail", ["Stoelting_category_breadcrumb"], "method", false, false, true, 14), 14, $this->source), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "categoryBreadcrumbImage"), "getAlt", [], "method", false, false, true, 14), 14, $this->source), "html", null, true);
yield "\">
";
}
// line 16
yield " </div>
<!-- * Desktop version-->
<div class=\"sub-category-nav--desktop align-items-center border-2 border-bottom border-indigo w-100 pb-3 pb-lg-3 pb-md-3\" style=\"margin-bottom: 8px;\">
<h2 class=\"font-weight-bold mb-0\">
";
// line 21
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 21, $this->source); })())) {
// line 22
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "categoryBreadcrumbHeading", ["placeholder" => CoreExtension::getAttribute($this->env, $this->source, // line 23
(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 23, $this->source); })()), "getProperty", ["navigation_title"], "method", false, false, true, 23)]);
// line 24
yield "
";
} elseif ( !CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "categoryBreadcrumbHeading"), "isEmpty", [], "method", false, false, true, 25)) {
// line 26
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "categoryBreadcrumbHeading");
yield "
";
} else {
// line 28
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 28, $this->source); })()), "getProperty", ["navigation_title"], "method", false, false, true, 28), 28, $this->source), "html", null, true);
yield "
";
}
// line 30
yield "
</h2>
<div class=\"d-flex ml-auto\">
<h4 class=\"font-weight-bold text-uppercase mb-0\">
<a href=\"";
// line 34
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 34, $this->source); })()), "parent", [], "any", false, false, true, 34), "href", [], "any", false, false, true, 34), 34, $this->source), "html", null, true);
yield "\" class=\"text-navyBlue hover-mediumBlue\">
<span class=\"text-indigo\">< </span> ";
// line 35
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 35, $this->source); })()), "parent", [], "any", false, false, true, 35), "property", ["navigation_title"], "method", false, false, true, 35), 35, $this->source), "html", null, true);
yield "
</a>
</h4>
</div>
</div>
<!-- * Mobile version-->
<div class=\"sub-category-nav--mobile\">
<div class=\"border-2 border-bottom border-indigo w-100 pb-2 pb-lg-2 pb-md-2\">
<h3 class=\"font-weight-bold\">
";
// line 46
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 46, $this->source); })())) {
// line 47
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "categoryBreadcrumbHeading--mobile", ["placeholder" => CoreExtension::getAttribute($this->env, $this->source, // line 48
(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 48, $this->source); })()), "getProperty", ["navigation_title"], "method", false, false, true, 48)]);
// line 49
yield "
";
} elseif ( !CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "categoryBreadcrumbHeading--mobile"), "isEmpty", [], "method", false, false, true, 50)) {
// line 51
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "categoryBreadcrumbHeading--mobile");
yield "
";
} else {
// line 53
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 53, $this->source); })()), "getProperty", ["navigation_title"], "method", false, false, true, 53), 53, $this->source), "html", null, true);
yield "
";
}
// line 55
yield " </h3>
</div>
<div class=\"d-flex pt-2 pt-lg-2 pt-md-2\">
<h4 class=\"font-weight-bold text-uppercase\">
<a href=\"";
// line 59
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 59, $this->source); })()), "parent", [], "any", false, false, true, 59), "href", [], "any", false, false, true, 59), 59, $this->source), "html", null, true);
yield "\" class=\"d-flex align-items-center text-navyBlue hover-mediumBlue\">
<span class=\"text-indigo\">< </span><small class=\"ml-1 ml-lg-1 ml-md-1\">";
// line 60
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 60, $this->source); })()), "parent", [], "any", false, false, true, 60), "property", ["navigation_title"], "method", false, false, true, 60), 60, $this->source), "html", null, true);
yield "</small>
</a>
</h4>
</div>
</div>
</div>
</div>
</div>
<div class=\"row mt-5 mt-lg-5 mt-md-5 stereotaxicCategoryPage-products align-items-start\">
<div class=\"col-xl-8 offset-xl-2\">
<div class=\"row align-items-start\">
";
// line 73
$context["fallbackImage"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/images/admin/empty_image.png");
// line 74
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 74, $this->source); })()));
$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["index"] => $context["product"]) {
// line 75
yield " ";
$context["image"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["product"], "image", [], "any", true, true, true, 75)) ? (CoreExtension::getAttribute($this->env, $this->source, $context["product"], "image", [], "any", false, false, true, 75)) : (null));
// line 76
yield "
<!-- include subtemplate 'category-item.html.twig' -->
";
// line 78
yield from $this->loadTemplate("Components/product-item.html.twig", "@FactorySupport/document/sub_category_page/default.html.twig", 78)->unwrap()->yield(CoreExtension::merge($context, ["product" => $context["product"]]));
// line 79
yield " ";
++$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['index'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
yield " </div>
<div class=\"row ";
// line 81
yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 81, $this->source); })()), "paginationData", [], "any", false, false, true, 81), "pageCount", [], "any", false, false, true, 81) == 1)) ? ("d-none") : (""));
yield "\">
<div class=\"col-lg-6 offset-lg-3\">
";
// line 83
yield from $this->loadTemplate("Components/pagination.html.twig", "@FactorySupport/document/sub_category_page/default.html.twig", 83)->unwrap()->yield(CoreExtension::merge($context, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 83, $this->source); })())));
// line 84
yield " </div>
</div>
</div>
</div>
</div>
</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@FactorySupport/document/sub_category_page/default.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 266 => 84, 264 => 83, 259 => 81, 256 => 80, 242 => 79, 240 => 78, 236 => 76, 233 => 75, 215 => 74, 213 => 73, 197 => 60, 193 => 59, 187 => 55, 181 => 53, 175 => 51, 171 => 49, 169 => 48, 167 => 47, 165 => 46, 151 => 35, 147 => 34, 141 => 30, 135 => 28, 129 => 26, 125 => 24, 123 => 23, 121 => 22, 119 => 21, 112 => 16, 104 => 14, 98 => 12, 96 => 11, 91 => 10, 89 => 9, 80 => 4, 67 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout/default.html.twig' %}
{% block contentBlock %}
<main class=\"stereotaxicCategoryPage\" style=\"background-attachment: fixed;background-image: url({{ document.getProperty('template_background_image') ? document.getProperty('template_background_image').getThumbnail('Stoelting_division_bg') }}) ;\">
<div class=\"container mt-5 mt-lg-5 mt-md-5\">
<div class=\"row\">
<div class=\"col-xl-10 offset-xl-1 offset-lg-0 col-lg-12 pb-3 pb-lg-3 pb-md-3\">
<div class=\"d-flex align-items-center\">
{% set anyMaze = 'any-maze' in document.getProperty('navigation_title') | lower %}
<div class=\"category-breadcrumb-image {{ pimcore_image('categoryBreadcrumbImage').isEmpty() and not editmode ? 'd-none' : 'mr-3 mr-lg-3 mr-md-3' }}\">
{% if editmode %}
{{ pimcore_image('categoryBreadcrumbImage') }}
{% else %}
<img style=\"width:80px;\" src=\"{{ pimcore_image('categoryBreadcrumbImage').getThumbnail('Stoelting_category_breadcrumb') }}\" alt=\"{{ pimcore_image('categoryBreadcrumbImage').getAlt() }}\">
{% endif %}
</div>
<!-- * Desktop version-->
<div class=\"sub-category-nav--desktop align-items-center border-2 border-bottom border-indigo w-100 pb-3 pb-lg-3 pb-md-3\" style=\"margin-bottom: 8px;\">
<h2 class=\"font-weight-bold mb-0\">
{% if editmode %}
{{ pimcore_input('categoryBreadcrumbHeading', {
placeholder: document.getProperty('navigation_title')
}) }}
{% elseif not pimcore_input('categoryBreadcrumbHeading').isEmpty() %}
{{ pimcore_input('categoryBreadcrumbHeading') }}
{% else %}
{{ document.getProperty('navigation_title') }}
{% endif %}
</h2>
<div class=\"d-flex ml-auto\">
<h4 class=\"font-weight-bold text-uppercase mb-0\">
<a href=\"{{ document.parent.href }}\" class=\"text-navyBlue hover-mediumBlue\">
<span class=\"text-indigo\">< </span> {{ document.parent.property('navigation_title') }}
</a>
</h4>
</div>
</div>
<!-- * Mobile version-->
<div class=\"sub-category-nav--mobile\">
<div class=\"border-2 border-bottom border-indigo w-100 pb-2 pb-lg-2 pb-md-2\">
<h3 class=\"font-weight-bold\">
{% if editmode %}
{{ pimcore_input('categoryBreadcrumbHeading--mobile', {
placeholder: document.getProperty('navigation_title')
}) }}
{% elseif not pimcore_input('categoryBreadcrumbHeading--mobile').isEmpty() %}
{{ pimcore_input('categoryBreadcrumbHeading--mobile') }}
{% else %}
{{ document.getProperty('navigation_title') }}
{% endif %}
</h3>
</div>
<div class=\"d-flex pt-2 pt-lg-2 pt-md-2\">
<h4 class=\"font-weight-bold text-uppercase\">
<a href=\"{{ document.parent.href }}\" class=\"d-flex align-items-center text-navyBlue hover-mediumBlue\">
<span class=\"text-indigo\">< </span><small class=\"ml-1 ml-lg-1 ml-md-1\">{{ document.parent.property('navigation_title') }}</small>
</a>
</h4>
</div>
</div>
</div>
</div>
</div>
<div class=\"row mt-5 mt-lg-5 mt-md-5 stereotaxicCategoryPage-products align-items-start\">
<div class=\"col-xl-8 offset-xl-2\">
<div class=\"row align-items-start\">
{% set fallbackImage = asset('static/images/admin/empty_image.png') %}
{% for index, product in paginator %}
{% set image = product.image is defined ? product.image : null %}
<!-- include subtemplate 'category-item.html.twig' -->
{% include \"Components/product-item.html.twig\" with {'product': product} %}
{% endfor %}
</div>
<div class=\"row {{ paginator.paginationData.pageCount == 1 ? 'd-none' }}\">
<div class=\"col-lg-6 offset-lg-3\">
{% include 'Components/pagination.html.twig' with paginator %}
</div>
</div>
</div>
</div>
</div>
</main>
{% endblock %}", "@FactorySupport/document/sub_category_page/default.html.twig", "/var/www/webovi/stoelting/pimcore/templates/document/sub_category_page/default.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 9, "if" => 11, "for" => 74, "include" => 78);
static $filters = array("escape" => 4, "lower" => 9);
static $functions = array("pimcore_image" => 10, "pimcore_input" => 22, "asset" => 73);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for', 'include'],
['escape', 'lower'],
['pimcore_image', 'pimcore_input', 'asset'],
$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;
}
}
}