<?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;
/* @App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig */
class __TwigTemplate_7026a4218e00e8d0671a2184814ac606 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", "@App/Areas/content/appbundle-content-parallax-box/variant-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", "@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig"));
// line 1
$macros["wrap_macro"] = $this->macros["wrap_macro"] = $this->loadTemplate("@FoxHabbitBasis/Macro/wrap.html.twig", "@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig", 1)->unwrap();
// line 2
echo twig_call_macro($macros["wrap_macro"], "macro_wrapperOpen", [twig_get_attribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 2, $this->source); })()), "box_wrapper", [], "any", false, false, true, 2), $context], 2, $context, $this->getSourceContext());
echo "
";
// line 3
echo twig_call_macro($macros["wrap_macro"], "macro_wrapperClose", [twig_get_attribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 3, $this->source); })()), "box_wrapper", [], "any", false, false, true, 3), $context], 3, $context, $this->getSourceContext());
echo "
";
// line 4
echo twig_call_macro($macros["wrap_macro"], "macro_wrapperOpen", [twig_get_attribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 4, $this->source); })()), "content_wrapper", [], "any", false, false, true, 4), $context], 4, $context, $this->getSourceContext());
echo "
";
// line 5
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "c", ["allowed" => ((twig_get_attribute($this->env, $this->source, // line 6
($context["config"] ?? null), "valid_bricks", [], "any", true, true, true, 6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "valid_bricks", [], "any", false, false, true, 6), 6, $this->source), $this->extensions['FoxHabbit\BasisBundle\Twig\Extension\ToolExtension']->toolAreabricksGetList(((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_regex", [], "any", true, true, true, 6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_regex", [], "any", false, false, true, 6), 6, $this->source), "/-content-/")) : ("/-content-/")), ((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_include", [], "any", true, true, true, 6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_include", [], "any", false, false, true, 6), 6, $this->source), null)) : (null)), ((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any", true, true, true, 6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any", false, false, true, 6), 6, $this->source), null)) : (null))))) : ($this->extensions['FoxHabbit\BasisBundle\Twig\Extension\ToolExtension']->toolAreabricksGetList(((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_regex", [], "any", true, true, true, 6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_regex", [], "any", false, false, true, 6), 6, $this->source), "/-content-/")) : ("/-content-/")), ((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_include", [], "any", true, true, true, 6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_include", [], "any", false, false, true, 6), 6, $this->source), null)) : (null)), ((twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any", true, true, true, 6)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "areabricks_exclude", [], "any", false, false, true, 6), 6, $this->source), null)) : (null))))), "params" => ((twig_get_attribute($this->env, $this->source, // line 7
($context["config"] ?? null), "params", [], "any", true, true, true, 7)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["config"] ?? null), "params", [], "any", false, false, true, 7), 7, $this->source), [])) : ([]))]);
// line 8
echo "
";
// line 9
echo twig_call_macro($macros["wrap_macro"], "macro_wrapperClose", [twig_get_attribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 9, $this->source); })()), "content_wrapper", [], "any", false, false, true, 9), $context], 9, $context, $this->getSourceContext());
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 66 => 9, 63 => 8, 61 => 7, 60 => 6, 59 => 5, 55 => 4, 51 => 3, 47 => 2, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% import '@FoxHabbitBasis/Macro/wrap.html.twig' as wrap_macro %}
{{ wrap_macro.wrapperOpen( config.box_wrapper, _context) }}
{{ wrap_macro.wrapperClose( config.box_wrapper, _context) }}
{{ wrap_macro.wrapperOpen( config.content_wrapper, _context) }}
{{pimcore_areablock('c', {
allowed: config.valid_bricks|default(foxhabbit_common_tool_areabricks_get_list( config.areabricks_regex|default('/-content-/'), config.areabricks_include|default(null), config.areabricks_exclude|default(null))),
params: config.params|default({})}
) }}
{{ wrap_macro.wrapperClose( config.content_wrapper, _context) }}
", "@App/Areas/content/appbundle-content-parallax-box/variant-default.html.twig", "/srv/httpd/vhosts/lorch-test/releases/51/src/AppBundle/Resources/views/Areas/content/appbundle-content-parallax-box/variant-default.html.twig");
}
public function checkSecurity()
{
static $tags = array("import" => 1);
static $filters = array("default" => 6);
static $functions = array("pimcore_areablock" => 5, "foxhabbit_common_tool_areabricks_get_list" => 6);
try {
$this->sandbox->checkSecurity(
['import'],
['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;
}
}
}