<?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;
/* @Web/Tile/index.html.twig */
class __TwigTemplate_b4699355b36797a4d541f54efa48b0e2f7034bf95444701036171ff50f35c790 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'extraGoogleTagScript' => [$this, 'block_extraGoogleTagScript'],
'meta' => [$this, 'block_meta'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'googleTagScript' => [$this, 'block_googleTagScript'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@Web/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Tile/index.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Tile/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Tile/index.html.twig"));
$this->parent = $this->loadTemplate("@Web/layout.html.twig", "@Web/Tile/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 4
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 4, $this->source); })()), "title", [], "any", false, false, false, 4);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 7
public function block_extraGoogleTagScript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extraGoogleTagScript"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extraGoogleTagScript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extraGoogleTagScript"));
// line 8
echo " ";
echo twig_include($this->env, $context, "@Web/google_gtag.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 11
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 12
echo " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1\"/>
<meta name=\"keywords\" content=\"";
// line 13
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 13, $this->source); })()), "keywords", [], "any", false, false, false, 13);
echo "\"/>
<meta name=\"description\" content=\"";
// line 14
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 14, $this->source); })()), "description", [], "any", false, false, false, 14);
echo "\"/>
<meta property=\"og:type\" content=\"website\"/>
<meta property=\"og:title\" content=\"";
// line 17
echo twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 17, $this->source); })()), "title", [], "any", false, false, false, 17);
echo "\"/>
<meta property=\"og:description\" content=\"";
// line 18
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 18, $this->source); })()), "description", [], "any", false, false, false, 18) . " ") . twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 18, $this->source); })()), "specs", [], "any", false, false, false, 18)), "html", null, true);
echo "\"/>
<meta property=\"og:image\" content=\"";
// line 19
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 19, $this->source); })()), "replaceStr", [0 => "\\", 1 => "/", 2 => (isset($context["mainImage"]) || array_key_exists("mainImage", $context) ? $context["mainImage"] : (function () { throw new RuntimeError('Variable "mainImage" does not exist.', 19, $this->source); })())], "method", false, false, false, 19), "html", null, true);
echo "\"/>
<meta property=\"og:image:width\" content=\"467\"/>
<meta property=\"og:image:height\" content=\"326\"/>
<meta property=\"og:image:type\" content=\"image/jpeg\"/>
<meta property=\"og:locale\" content=\"";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 23, $this->source); })()), "locale", [], "any", false, false, false, 23), "getCurLocaleISO", [], "method", false, false, false, 23), "html", null, true);
echo "\"/>
<meta property=\"og:url\" content=\"";
// line 24
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "uri", [], "any", false, false, false, 24), "html", null, true);
echo "\"/>
<meta property=\"og:site_name\" content=\"Tile.Expert\"/>
<meta name=\"Priority\" content=\"1\"/>
<meta name=\"locale\" content=\"";
// line 27
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 27, $this->source); })()), "locale", [], "any", false, false, false, 27), "getCurLocaleISO", [], "method", false, false, false, 27), "html", null, true);
echo "\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 31
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 32
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
<link rel=\"stylesheet\" href=\"";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/collection.min.css"), "html", null, true);
echo "\"/>
<link href=\"";
// line 34
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/stylesheets/common_components.css"), "html", null, true);
echo "\" rel=\"stylesheet\"/>
";
// line 36
if ((isset($context["ldJson"]) || array_key_exists("ldJson", $context) ? $context["ldJson"] : (function () { throw new RuntimeError('Variable "ldJson" does not exist.', 36, $this->source); })())) {
// line 37
echo " ";
$this->loadTemplate("@Web/Tile/ldjson.html.twig", "@Web/Tile/index.html.twig", 37)->display(twig_array_merge($context, ["collection" => twig_get_attribute($this->env, $this->source, (isset($context["initialState"]) || array_key_exists("initialState", $context) ? $context["initialState"] : (function () { throw new RuntimeError('Variable "initialState" does not exist.', 37, $this->source); })()), "collection", [], "any", false, false, false, 37)]));
// line 38
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 41
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 42
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 44
if (((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.', 44, $this->source); })()), "environment", [], "any", false, false, false, 44) != "test") && (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.', 44, $this->source); })()), "environment", [], "any", false, false, false, 44) != "te_dev"))) {
// line 45
echo " <script
src='https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit&hl=";
// line 46
echo twig_escape_filter($this->env, $this->extensions['WebBundle\Twig\AppExtension']->userLocale(), "html", null, true);
echo "'
async=\"async\"></script>
<script type=\"text/javascript\">
var captchaComment;
var onloadCallback = function () {
if (document.getElementById('captchaComment')) {
captchaComment = grecaptcha.render('captchaComment', {
'sitekey': '";
// line 53
echo twig_escape_filter($this->env, (isset($context["recaptcha"]) || array_key_exists("recaptcha", $context) ? $context["recaptcha"] : (function () { throw new RuntimeError('Variable "recaptcha" does not exist.', 53, $this->source); })()), "html", null, true);
echo "'
});
}
};
</script>
";
}
// line 59
echo "
<script src=\"";
// line 60
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/client-bundle.js"), "html", null, true);
echo "\"></script>
";
// line 61
if (twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 61, $this->source); })()), "checkIsDev", [], "any", false, false, false, 61)) {
// line 62
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/collection-react.js"), "html", null, true);
echo "\" defer></script>
";
} else {
// line 64
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/collection-react.min.js"), "html", null, true);
echo "\"></script>
";
}
// line 66
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 69
public function block_googleTagScript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagScript"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagScript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagScript"));
// line 70
echo " ";
if ((array_key_exists("googleRemarketing", $context) && (isset($context["googleRemarketing"]) || array_key_exists("googleRemarketing", $context) ? $context["googleRemarketing"] : (function () { throw new RuntimeError('Variable "googleRemarketing" does not exist.', 70, $this->source); })()))) {
// line 71
echo " ";
// line 72
echo " <!-- tile:index -->
";
// line 73
if (((twig_get_attribute($this->env, $this->source, ($context["initialState"] ?? null), "collection", [], "array", true, true, false, 73) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["initialState"] ?? null), "collection", [], "array", false, true, false, 73), "name", [], "array", true, true, false, 73)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 74
($context["initialState"] ?? null), "collection", [], "array", false, true, false, 74), "itemsIdArray", [], "array", true, true, false, 74))) {
// line 75
echo "
";
// line 76
$context["collName"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["initialState"]) || array_key_exists("initialState", $context) ? $context["initialState"] : (function () { throw new RuntimeError('Variable "initialState" does not exist.', 76, $this->source); })()), "collection", [], "array", false, false, false, 76), "name", [], "array", false, false, false, 76);
// line 77
echo " ";
$context["collArtIds"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["initialState"]) || array_key_exists("initialState", $context) ? $context["initialState"] : (function () { throw new RuntimeError('Variable "initialState" does not exist.', 77, $this->source); })()), "collection", [], "array", false, false, false, 77), "itemsIdArray", [], "array", false, false, false, 77);
// line 78
echo " ";
}
// line 79
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 82
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__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 83
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["initialState"]) || array_key_exists("initialState", $context) ? $context["initialState"] : (function () { throw new RuntimeError('Variable "initialState" does not exist.', 83, $this->source); })()), "liteMenu", [], "any", false, false, false, 83), "collection", [], "any", false, false, false, 83), "selected", [], "any", false, false, false, 83))) {
// line 84
echo " ";
// line 85
echo " <div
class=\"divDataFs\"
data-filtersearch='{
\"collection\": ";
// line 88
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["initialState"]) || array_key_exists("initialState", $context) ? $context["initialState"] : (function () { throw new RuntimeError('Variable "initialState" does not exist.', 88, $this->source); })()), "liteMenu", [], "any", false, false, false, 88), "collection", [], "any", false, false, false, 88), "selected", [], "any", false, false, false, 88), "id", [], "any", false, false, false, 88), "html", null, true);
echo ",
\"factory\": ";
// line 89
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["initialState"]) || array_key_exists("initialState", $context) ? $context["initialState"] : (function () { throw new RuntimeError('Variable "initialState" does not exist.', 89, $this->source); })()), "liteMenu", [], "any", false, false, false, 89), "collection", [], "any", false, false, false, 89), "selected", [], "any", false, false, false, 89), "factory", [], "any", false, false, false, 89), "id", [], "any", false, false, false, 89), "html", null, true);
echo "
}'
></div>
";
}
// line 93
echo " ";
echo $this->extensions['Limenius\ReactRenderer\Twig\ReactRenderExtension']->reactReduxStore("appStore", (isset($context["initialState"]) || array_key_exists("initialState", $context) ? $context["initialState"] : (function () { throw new RuntimeError('Variable "initialState" does not exist.', 93, $this->source); })()));
echo "
";
// line 94
echo $this->extensions['Limenius\ReactRenderer\Twig\ReactRenderExtension']->reactRenderComponent("App", ["rendering" => twig_get_attribute($this->env, $this->source, (isset($context["te"]) || array_key_exists("te", $context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.', 94, $this->source); })()), "parameter", [0 => "react_rendering"], "method", false, false, false, 94), "props" => $this->extensions['WebBundle\Twig\AppExtension']->baseProps()]);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
public function getTemplateName()
{
return "@Web/Tile/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 407 => 94, 402 => 93, 395 => 89, 391 => 88, 386 => 85, 384 => 84, 381 => 83, 368 => 82, 354 => 79, 351 => 78, 348 => 77, 346 => 76, 343 => 75, 341 => 74, 340 => 73, 337 => 72, 335 => 71, 332 => 70, 319 => 69, 305 => 66, 299 => 64, 293 => 62, 291 => 61, 287 => 60, 284 => 59, 275 => 53, 265 => 46, 262 => 45, 260 => 44, 254 => 42, 241 => 41, 227 => 38, 224 => 37, 222 => 36, 217 => 34, 213 => 33, 208 => 32, 195 => 31, 179 => 27, 173 => 24, 169 => 23, 162 => 19, 158 => 18, 154 => 17, 148 => 14, 144 => 13, 141 => 12, 128 => 11, 112 => 8, 99 => 7, 83 => 4, 70 => 3, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@Web/layout.html.twig' %}
{% block title %}
{{ meta.title | raw }}
{% endblock %}
{% block extraGoogleTagScript %}
{{ include('@Web/google_gtag.html.twig') }}
{% endblock %}
{% block meta %}
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1\"/>
<meta name=\"keywords\" content=\"{{ meta.keywords | raw }}\"/>
<meta name=\"description\" content=\"{{ meta.description | raw }}\"/>
<meta property=\"og:type\" content=\"website\"/>
<meta property=\"og:title\" content=\"{{ meta.title | raw }}\"/>
<meta property=\"og:description\" content=\"{{ meta.description | raw ~ ' ' ~ meta.specs | raw }}\"/>
<meta property=\"og:image\" content=\"{{ te.replaceStr('\\\\', '/', mainImage) }}\"/>
<meta property=\"og:image:width\" content=\"467\"/>
<meta property=\"og:image:height\" content=\"326\"/>
<meta property=\"og:image:type\" content=\"image/jpeg\"/>
<meta property=\"og:locale\" content=\"{{ te.locale.getCurLocaleISO() }}\"/>
<meta property=\"og:url\" content=\"{{ te.request.uri }}\"/>
<meta property=\"og:site_name\" content=\"Tile.Expert\"/>
<meta name=\"Priority\" content=\"1\"/>
<meta name=\"locale\" content=\"{{ te.locale.getCurLocaleISO() }}\"/>
{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel=\"stylesheet\" href=\"{{ asset('_css/collection.min.css') }}\"/>
<link href=\"{{ asset('build/stylesheets/common_components.css') }}\" rel=\"stylesheet\"/>
{% if ldJson %}
{% include '@Web/Tile/ldjson.html.twig' with { 'collection': initialState.collection } %}
{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% if app.environment != 'test' and app.environment != 'te_dev' %}
<script
src='https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit&hl={{ userLocale() }}'
async=\"async\"></script>
<script type=\"text/javascript\">
var captchaComment;
var onloadCallback = function () {
if (document.getElementById('captchaComment')) {
captchaComment = grecaptcha.render('captchaComment', {
'sitekey': '{{ recaptcha }}'
});
}
};
</script>
{% endif %}
<script src=\"{{ asset('build/client-bundle.js') }}\"></script>
{% if te.checkIsDev %}
<script src=\"{{ asset('_js/collection-react.js') }}\" defer></script>
{% else %}
<script src=\"{{ asset('_js/collection-react.min.js') }}\"></script>
{% endif %}
{% endblock %}
{% block googleTagScript %}
{% if googleRemarketing is defined and googleRemarketing %}
{# для страниц с реактом, возможно в TWIG-шаблоне останется только заглушка, а логика переместится в реакт! #}
<!-- tile:index -->
{% if initialState['collection'] is defined and initialState['collection']['name'] is defined and
initialState['collection']['itemsIdArray'] is defined %}
{% set collName = initialState['collection']['name'] %}
{% set collArtIds = initialState['collection']['itemsIdArray'] %}
{% endif %}
{% endif %}
{% endblock %}
{% block content %}
{% if initialState.liteMenu.collection.selected is not null %}
{# это костыль, чтобы выбранная фабрика в быстрых фильтрах попадала в состояние выбраых фильтров #}
<div
class=\"divDataFs\"
data-filtersearch='{
\"collection\": {{ initialState.liteMenu.collection.selected.id }},
\"factory\": {{ initialState.liteMenu.collection.selected.factory.id }}
}'
></div>
{% endif %}
{{ redux_store('appStore', initialState) }}
{{ react_component('App', {'rendering': te.parameter('react_rendering'), 'props': baseProps()}) }}
{% endblock %}
", "@Web/Tile/index.html.twig", "/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Tile/index.html.twig");
}
}