<?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;
/* @FoxHabbitBasis/Areas/element/basisbundle-element-col/variant-area-content.html.twig */
class __TwigTemplate_10220e071502de9751d10374c3dcf594 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
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", "@FoxHabbitBasis/Areas/element/basisbundle-element-col/variant-area-content.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FoxHabbitBasis/Areas/element/basisbundle-element-col/variant-area-content.html.twig"));
// line 3
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "c", ["allowed" => $this->extensions['FoxHabbit\BasisBundle\Twig\Extension\ToolExtension']->toolAreabricksGetList(((twig_get_attribute($this->env, $this->source, // line 4
($context["config"] ?? null), "areabricks_regex", [], "any", true, true, true, 4)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_regex", [], "any", false, false, true, 4), 4, $this->source), "/-content-/")) : ("/-content-/")), ((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_includeclude", [], "any", true, true, true, 4)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_includeclude", [], "any", false, false, true, 4), 4, $this->source), null)) : (null)), ((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any", true, true, true, 4)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any", false, false, true, 4), 4, $this->source), null)) : (null))), "params" => (( // line 5
array_key_exists("params", $context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 5, $this->source); })()), 5, $this->source), [])) : ([]))]);
// line 6
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@FoxHabbitBasis/Areas/element/basisbundle-element-col/variant-area-content.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 6, 47 => 5, 46 => 4, 45 => 3,);
}
public function getSourceContext()
{
return new Source("{#{dump(_context.context)}}
{{ dump(params|default('no params :-(')) }#}
{{pimcore_areablock('c', {
\t\tallowed: foxhabbit_common_tool_areabricks_get_list( config.areabricks_regex|default('/-content-/'), config.areabricks_includeclude|default(null), config.areabricks_exclude|default(null)),
\t\tparams: params|default({})}
) }}
", "@FoxHabbitBasis/Areas/element/basisbundle-element-col/variant-area-content.html.twig", "/srv/httpd/vhosts/lorch-test/releases/51/bundles/FoxHabbit/BasisBundle/Resources/views/Areas/element/basisbundle-element-col/variant-area-content.html.twig");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array("default" => 4);
static $functions = array("pimcore_areablock" => 3, "foxhabbit_common_tool_areabricks_get_list" => 4);
try {
$this->sandbox->checkSecurity(
[],
['default'],
['pimcore_areablock', 'foxhabbit_common_tool_areabricks_get_list']
);
} 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;
}
}
}