<?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;
/* front/theme1/bloc/bloc.html.twig */
class __TwigTemplate_6f6c9b996330bab5765332e6364cfe29 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "front/theme1/bloc/bloc.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/bloc/bloc.html.twig"));
// line 1
if ((array_key_exists("bloc", $context) && !twig_test_empty((isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 1, $this->source); })())))) {
// line 2
echo "
";
// line 3
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 3, $this->source); })()), "type", [], "any", false, false, false, 3) == "template")) {
// line 4
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "template", [], "any", true, true, false, 4)) {
// line 5
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 5, $this->source); })()), "template", [], "any", false, false, false, 5);
echo "
";
}
// line 7
echo " ";
}
// line 8
echo "
";
// line 9
if (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 9, $this->source); })()), "type", [], "any", false, false, false, 9) == "bloc-service") && (twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 9, $this->source); })()), "data", [], "any", false, false, false, 9) != null))) {
// line 10
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 10, $this->source); })()), "data", [], "any", false, false, false, 10), "alias", [], "any", false, false, false, 10) == "bloc_travaux")) {
// line 11
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "server", [], "any", false, false, false, 11), "get", [0 => "APP_THEME"], "method", false, false, false, 11)) . "/bloc/bloc_travaux.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 12
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 12, $this->source); })()), "data", [], "any", false, false, false, 12)], false);
// line 13
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 14
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 14, $this->source); })()), "data", [], "any", false, false, false, 14), "alias", [], "any", false, false, false, 14) == "bloc_raisons")) {
// line 15
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "server", [], "any", false, false, false, 15), "get", [0 => "APP_THEME"], "method", false, false, false, 15)) . "/bloc/bloc_raisons.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 16
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 16, $this->source); })()), "data", [], "any", false, false, false, 16)], false);
// line 17
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 18
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 18, $this->source); })()), "data", [], "any", false, false, false, 18), "alias", [], "any", false, false, false, 18) == "chiffres")) {
// line 19
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "server", [], "any", false, false, false, 19), "get", [0 => "APP_THEME"], "method", false, false, false, 19)) . "/bloc/chiffres.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 20
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 20, $this->source); })()), "data", [], "any", false, false, false, 20)], false);
// line 21
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 22
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 22, $this->source); })()), "data", [], "any", false, false, false, 22), "alias", [], "any", false, false, false, 22) == "Affichage des etape")) {
// line 23
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "server", [], "any", false, false, false, 23), "get", [0 => "APP_THEME"], "method", false, false, false, 23)) . "/bloc/etape.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 24
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 24, $this->source); })()), "data", [], "any", false, false, false, 24)], false);
// line 25
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 26
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 26, $this->source); })()), "data", [], "any", false, false, false, 26), "alias", [], "any", false, false, false, 26) == "affichage-court")) {
// line 27
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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), "server", [], "any", false, false, false, 27), "get", [0 => "APP_THEME"], "method", false, false, false, 27)) . "/bloc/court_affichage.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 28
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 28, $this->source); })()), "data", [], "any", false, false, false, 28)], false);
// line 29
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 30
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 30, $this->source); })()), "data", [], "any", false, false, false, 30), "alias", [], "any", false, false, false, 30) == "affichage_realisation")) {
// line 31
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 31, $this->source); })()), "request", [], "any", false, false, false, 31), "server", [], "any", false, false, false, 31), "get", [0 => "APP_THEME"], "method", false, false, false, 31)) . "/bloc/affichage_realisation.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 32
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 32, $this->source); })()), "data", [], "any", false, false, false, 32)], false);
// line 33
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 34
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 34, $this->source); })()), "data", [], "any", false, false, false, 34), "alias", [], "any", false, false, false, 34) == "affichage_atous")) {
// line 35
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "server", [], "any", false, false, false, 35), "get", [0 => "APP_THEME"], "method", false, false, false, 35)) . "/bloc/affichage_atous.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 36
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 36, $this->source); })()), "data", [], "any", false, false, false, 36)], false);
// line 37
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 38
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 38, $this->source); })()), "data", [], "any", false, false, false, 38), "alias", [], "any", false, false, false, 38) == "avantages")) {
// line 39
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "server", [], "any", false, false, false, 39), "get", [0 => "APP_THEME"], "method", false, false, false, 39)) . "/bloc/chiffres.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 40
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 40, $this->source); })()), "data", [], "any", false, false, false, 40)], false);
// line 41
echo "
";
}
// line 42
echo "
";
}
// line 44
echo "
";
// line 45
if (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 45, $this->source); })()), "type", [], "any", false, false, false, 45) == "bloc-partenaire") && (twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 45, $this->source); })()), "data", [], "any", false, false, false, 45) != null))) {
// line 46
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 46, $this->source); })()), "request", [], "any", false, false, false, 46), "server", [], "any", false, false, false, 46), "get", [0 => "APP_THEME"], "method", false, false, false, 46)) . "/bloc/bloc_partenaire.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 47
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 47, $this->source); })()), "data", [], "any", false, false, false, 47)], false);
// line 48
echo "
";
}
// line 50
echo "
";
// line 52
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 52, $this->source); })()), "type", [], "any", false, false, false, 52) == "titre")) {
// line 53
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "title", [], "any", true, true, false, 53)) {
// line 54
echo " <div class=\"text-widget text-widget-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 54, $this->source); })()), "id", [], "any", false, false, false, 54), "html", null, true);
echo "\">
";
// line 55
echo twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 55, $this->source); })()), "title", [], "any", false, false, false, 55);
echo "
</div>
";
}
// line 58
echo " ";
}
// line 59
echo "
";
// line 60
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 60, $this->source); })()), "type", [], "any", false, false, false, 60) == "text")) {
// line 61
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "server", [], "any", false, false, false, 61), "get", [0 => "APP_THEME"], "method", false, false, false, 61)) . "/bloc/bloc_titre_text.html.twig"), ["bloc" => // line 62
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 62, $this->source); })())], false);
// line 63
echo "
";
}
// line 65
echo "
";
// line 66
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 66, $this->source); })()), "type", [], "any", false, false, false, 66) == "text2")) {
// line 67
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 67, $this->source); })()), "request", [], "any", false, false, false, 67), "server", [], "any", false, false, false, 67), "get", [0 => "APP_THEME"], "method", false, false, false, 67)) . "/bloc/bloc_image_text.html.twig"), ["bloc" => // line 68
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 68, $this->source); })())], false);
// line 69
echo "
";
}
// line 71
echo "
";
// line 72
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 72, $this->source); })()), "type", [], "any", false, false, false, 72) == "form")) {
// line 73
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 73, $this->source); })()), "form", [], "any", false, false, false, 73), "identifier", [], "any", false, false, false, 73) == "form-footer")) {
// line 74
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 74, $this->source); })()), "request", [], "any", false, false, false, 74), "server", [], "any", false, false, false, 74), "get", [0 => "APP_THEME"], "method", false, false, false, 74)) . "/form/form_footer.html.twig"), ["bloc" => // line 75
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 75, $this->source); })())], false);
// line 76
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 77
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 77, $this->source); })()), "form", [], "any", false, false, false, 77), "identifier", [], "any", false, false, false, 77) == "form-contact")) {
// line 78
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "server", [], "any", false, false, false, 78), "get", [0 => "APP_THEME"], "method", false, false, false, 78)) . "/form/contact_form.html.twig"), ["bloc" => // line 79
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 79, $this->source); })())], false);
// line 80
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 81
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 81, $this->source); })()), "form", [], "any", false, false, false, 81), "identifier", [], "any", false, false, false, 81) == "form-devis")) {
// line 82
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 82, $this->source); })()), "request", [], "any", false, false, false, 82), "server", [], "any", false, false, false, 82), "get", [0 => "APP_THEME"], "method", false, false, false, 82)) . "/form/devis_form.html.twig"), ["bloc" => // line 83
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 83, $this->source); })())], false);
// line 84
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 85
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 85, $this->source); })()), "form", [], "any", false, false, false, 85), "identifier", [], "any", false, false, false, 85) == "form-faq")) {
// line 86
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 86, $this->source); })()), "request", [], "any", false, false, false, 86), "server", [], "any", false, false, false, 86), "get", [0 => "APP_THEME"], "method", false, false, false, 86)) . "/form/form_faq.html.twig"), ["bloc" => // line 87
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 87, $this->source); })())], false);
// line 88
echo "
";
} else {
// line 90
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 90, $this->source); })()), "request", [], "any", false, false, false, 90), "server", [], "any", false, false, false, 90), "get", [0 => "APP_THEME"], "method", false, false, false, 90)) . "/form/form.html.twig"), ["bloc" => // line 91
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 91, $this->source); })())], false);
// line 92
echo "
";
}
// line 94
echo " ";
}
// line 95
echo "
";
// line 97
if (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 97, $this->source); })()), "type", [], "any", false, false, false, 97) == "slider") && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 97, $this->source); })()), "images", [], "any", false, false, false, 97)))) {
// line 98
echo " <div id=\"carouselDefaultIndicators\" class=\"carousel slide slider-home\" data-ride=\"carousel\">
";
// line 99
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 99, $this->source); })()), "images", [], "any", false, false, false, 99)) > 1)) {
// line 100
echo " <ol class=\"carousel-indicators\">
";
// line 101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 101, $this->source); })()), "images", [], "any", false, false, false, 101));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 102
echo " <li data-target=\"#carouselDefaultIndicators\" data-slide-to=\"";
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" ";
if (($context["key"] == "0")) {
echo "class=\"active\"";
}
echo "></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 104
echo " </ol>
";
}
// line 106
echo " </div>
";
}
// line 108
echo "
";
// line 110
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 110, $this->source); })()), "type", [], "any", false, false, false, 110) == "video")) {
// line 111
echo " <section class=\"all-works espace-p-top text-center panel-st conducteur-trigger text-center\">
<iframe width=\"962\" height=\"541\" src=\"";
// line 112
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 112, $this->source); })()), "url_video", [], "any", false, false, false, 112), "html", null, true);
echo "\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</section>
";
}
// line 115
echo "
";
// line 116
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 116, $this->source); })()), "type", [], "any", false, false, false, 116) == "image")) {
// line 117
echo " <section id=\"BlocImage\" class=\"BlocImage\" ";
if ((twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "bgimage", [], "any", true, true, false, 117) && (twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 117, $this->source); })()), "bgimage", [], "any", false, false, false, 117) != null))) {
echo "style=\"background: url(";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 117, $this->source); })()), "bgimage", [], "any", false, false, false, 117), "html", null, true);
echo ") no-repeat\" ";
}
echo ">
<div class=\"container\">
<div class=\"text-center\">
<p>";
// line 120
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 120, $this->source); })()), "title", [], "any", false, false, false, 120), "html", null, true);
echo "</p>
</div>
</div>
</section>
";
}
// line 125
echo "
";
// line 127
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 127, $this->source); })()), "type", [], "any", false, false, false, 127) == "carousel")) {
// line 128
echo " <div class=\"BlocCarousel\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-sm-12 col-md-6 col-lg-6\">
";
// line 132
if ((twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "images", [], "any", true, true, false, 132) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 132, $this->source); })()), "images", [], "any", false, false, false, 132)))) {
// line 133
echo " <div id=\"carousel";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 133, $this->source); })()), "id", [], "any", false, false, false, 133), "html", null, true);
echo "\" class=\"carousel slide\" data-ride=\"carousel\">
";
// line 139
echo " <div class=\"carousel-inner text-center\">
";
// line 140
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 140, $this->source); })()), "images", [], "any", false, false, false, 140));
foreach ($context['_seq'] as $context["key"] => $context["file"]) {
// line 141
echo " <div ";
if (($context["key"] == "0")) {
echo "class=\"carousel-item active\" ";
} else {
echo " class=\"carousel-item\" ";
}
echo ">
";
// line 145
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/gallery/" . twig_get_attribute($this->env, $this->source, $context["file"], "image", [], "any", false, false, false, 145))), "img_carousel"), "html", null, true);
echo "\" class=\"img-carousel img-fluid\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["file"], "image", [], "any", false, false, false, 145), "html", null, true);
echo "\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 148
echo " </div>
</div>
";
}
// line 151
echo " </div>
</div>
</div>
</div>
";
}
// line 156
echo "
";
// line 157
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 157, $this->source); })()), "type", [], "any", false, false, false, 157) == "carousel2")) {
// line 158
echo " <div class=\"BlocCarousel\">
<div class=\"container-fluid\">
<div class=\"row\">
";
// line 161
$context["carousel2_g1"] = (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 161, $this->source); })()), "gridcarousel", [], "any", false, false, false, 161) != null)) ? ((12 - twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 161, $this->source); })()), "gridcarousel", [], "any", false, false, false, 161))) : ("6"));
// line 162
echo " ";
$context["carousel2_g2"] = (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 162, $this->source); })()), "gridcarousel", [], "any", false, false, false, 162) != null)) ? (twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 162, $this->source); })()), "gridcarousel", [], "any", false, false, false, 162)) : ("6"));
// line 163
echo " <div class=\"col-sm-12 col-md-";
echo twig_escape_filter($this->env, (isset($context["carousel2_g1"]) || array_key_exists("carousel2_g1", $context) ? $context["carousel2_g1"] : (function () { throw new RuntimeError('Variable "carousel2_g1" does not exist.', 163, $this->source); })()), "html", null, true);
echo " col-lg-";
echo twig_escape_filter($this->env, (isset($context["carousel2_g1"]) || array_key_exists("carousel2_g1", $context) ? $context["carousel2_g1"] : (function () { throw new RuntimeError('Variable "carousel2_g1" does not exist.', 163, $this->source); })()), "html", null, true);
echo " ";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 163, $this->source); })()), "position", [], "any", false, false, false, 163) == "left")) ? ("order-2") : ("order-1"));
echo "\">
";
// line 164
echo twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 164, $this->source); })()), "content", [], "any", false, false, false, 164);
echo "
</div>
<div class=\"col-sm-12 col-md-";
// line 166
echo twig_escape_filter($this->env, (isset($context["carousel2_g2"]) || array_key_exists("carousel2_g2", $context) ? $context["carousel2_g2"] : (function () { throw new RuntimeError('Variable "carousel2_g2" does not exist.', 166, $this->source); })()), "html", null, true);
echo " col-lg-";
echo twig_escape_filter($this->env, (isset($context["carousel2_g2"]) || array_key_exists("carousel2_g2", $context) ? $context["carousel2_g2"] : (function () { throw new RuntimeError('Variable "carousel2_g2" does not exist.', 166, $this->source); })()), "html", null, true);
echo " ";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 166, $this->source); })()), "position", [], "any", false, false, false, 166) == "left")) ? ("order-1") : ("order-2"));
echo "\">
";
// line 167
if ((twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "images", [], "any", true, true, false, 167) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 167, $this->source); })()), "images", [], "any", false, false, false, 167)))) {
// line 168
echo " <div id=\"carousel";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 168, $this->source); })()), "id", [], "any", false, false, false, 168), "html", null, true);
echo "\" class=\"carousel slide\" data-ride=\"carousel\">
";
// line 174
echo " <div class=\"carousel-inner text-center\">
";
// line 175
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 175, $this->source); })()), "images", [], "any", false, false, false, 175));
foreach ($context['_seq'] as $context["key"] => $context["file"]) {
// line 176
echo " <div ";
if (($context["key"] == "0")) {
echo "class=\"carousel-item active\" ";
} else {
echo " class=\"carousel-item\" ";
}
echo ">
";
// line 180
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/gallery/" . twig_get_attribute($this->env, $this->source, $context["file"], "image", [], "any", false, false, false, 180))), "img_carousel"), "html", null, true);
echo "\" class=\"img-carousel img-fluid\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["file"], "image", [], "any", false, false, false, 180), "html", null, true);
echo "\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 183
echo " </div>
</div>
";
}
// line 186
echo " </div>
</div>
</div>
</div>
";
}
// line 191
echo "
";
}
// line 193
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "front/theme1/bloc/bloc.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 486 => 193, 482 => 191, 475 => 186, 470 => 183, 458 => 180, 449 => 176, 445 => 175, 442 => 174, 437 => 168, 435 => 167, 427 => 166, 422 => 164, 413 => 163, 410 => 162, 408 => 161, 403 => 158, 401 => 157, 398 => 156, 391 => 151, 386 => 148, 374 => 145, 365 => 141, 361 => 140, 358 => 139, 353 => 133, 351 => 132, 345 => 128, 343 => 127, 339 => 125, 331 => 120, 320 => 117, 318 => 116, 315 => 115, 309 => 112, 306 => 111, 304 => 110, 300 => 108, 296 => 106, 292 => 104, 279 => 102, 275 => 101, 272 => 100, 270 => 99, 267 => 98, 265 => 97, 261 => 95, 258 => 94, 254 => 92, 252 => 91, 250 => 90, 246 => 88, 244 => 87, 242 => 86, 240 => 85, 237 => 84, 235 => 83, 233 => 82, 231 => 81, 228 => 80, 226 => 79, 224 => 78, 222 => 77, 219 => 76, 217 => 75, 215 => 74, 212 => 73, 210 => 72, 207 => 71, 203 => 69, 201 => 68, 199 => 67, 197 => 66, 194 => 65, 190 => 63, 188 => 62, 186 => 61, 184 => 60, 181 => 59, 178 => 58, 172 => 55, 167 => 54, 164 => 53, 162 => 52, 158 => 50, 154 => 48, 152 => 47, 150 => 46, 148 => 45, 145 => 44, 141 => 42, 137 => 41, 135 => 40, 133 => 39, 131 => 38, 128 => 37, 126 => 36, 124 => 35, 122 => 34, 119 => 33, 117 => 32, 115 => 31, 113 => 30, 110 => 29, 108 => 28, 106 => 27, 104 => 26, 101 => 25, 99 => 24, 97 => 23, 95 => 22, 92 => 21, 90 => 20, 88 => 19, 86 => 18, 83 => 17, 81 => 16, 79 => 15, 77 => 14, 74 => 13, 72 => 12, 70 => 11, 67 => 10, 65 => 9, 62 => 8, 59 => 7, 53 => 5, 50 => 4, 48 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% if bloc is defined and bloc is not empty %}
{% if bloc.type == 'template' %}
{% if bloc.template is defined %}
{{bloc.template|raw}}
{% endif %}
{% endif %}
{% if bloc.type == 'bloc-service' and bloc.data != null %}
{% if bloc.data.alias == \"bloc_travaux\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_travaux.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"bloc_raisons\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_raisons.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"chiffres\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/chiffres.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"Affichage des etape\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/etape.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"affichage-court\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/court_affichage.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"affichage_realisation\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/affichage_realisation.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"affichage_atous\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/affichage_atous.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"avantages\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/chiffres.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% endif %}
{% endif %}
{% if bloc.type == 'bloc-partenaire' and bloc.data != null %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_partenaire.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'titre' %}
{% if bloc.title is defined %}
<div class=\"text-widget text-widget-{{bloc.id}}\">
{{bloc.title|raw}}
</div>
{% endif %}
{% endif %}
{% if bloc.type == 'text' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_titre_text.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'text2' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_image_text.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'form' %}
{% if bloc.form.identifier == 'form-footer' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form_footer.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% elseif bloc.form.identifier == 'form-contact' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/contact_form.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% elseif bloc.form.identifier == 'form-devis' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/devis_form.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% elseif bloc.form.identifier == 'form-faq' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form_faq.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% else %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% endif %}
{% if bloc.type == 'slider' and bloc.images is not empty %}
<div id=\"carouselDefaultIndicators\" class=\"carousel slide slider-home\" data-ride=\"carousel\">
{% if bloc.images|length > 1 %}
<ol class=\"carousel-indicators\">
{% for key,image in bloc.images %}
<li data-target=\"#carouselDefaultIndicators\" data-slide-to=\"{{key}}\" {% if key == '0' %}class=\"active\"{% endif %}></li>
{% endfor %}
</ol>
{% endif %}
</div>
{% endif %}
{% if bloc.type == 'video' %}
<section class=\"all-works espace-p-top text-center panel-st conducteur-trigger text-center\">
<iframe width=\"962\" height=\"541\" src=\"{{bloc.url_video}}\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</section>
{% endif %}
{% if bloc.type == 'image' %}
<section id=\"BlocImage\" class=\"BlocImage\" {% if bloc.bgimage is defined and bloc.bgimage != null %}style=\"background: url({{bloc.bgimage}}) no-repeat\" {% endif %}>
<div class=\"container\">
<div class=\"text-center\">
<p>{{bloc.title}}</p>
</div>
</div>
</section>
{% endif %}
{% if bloc.type == 'carousel' %}
<div class=\"BlocCarousel\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-sm-12 col-md-6 col-lg-6\">
{% if bloc.images is defined and bloc.images is not empty %}
<div id=\"carousel{{bloc.id}}\" class=\"carousel slide\" data-ride=\"carousel\">
{# <ol class=\"carousel-indicators\">
{% for key,image in bloc.images %}
<li data-target=\"#carousel{{bloc.id}}\" data-slide-to=\"{{key}}\" {% if key == '0' %}class=\"active\"{% endif %}></li>
{% endfor %}
</ol> #}
<div class=\"carousel-inner text-center\">
{% for key,file in bloc.images %}
<div {% if key == '0' %}class=\"carousel-item active\" {% else %} class=\"carousel-item\" {% endif %}>
{# <a href=\"{{asset('/uploads/gallery/'~ file.image)}}\" data-fancybox=\"{{file.image}}\" data-caption=\"{{file.image}}\" class=\"icon-loupe\">
<img src=\"{{asset('/uploads/icons/icone_loupe.png')}}\" alt=\"icon-loupe\">
</a> #}
<img src=\"{{asset('/uploads/gallery/'~ file.image)| imagine_filter('img_carousel')}}\" class=\"img-carousel img-fluid\" alt=\"{{file.image}}\">
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{% if bloc.type == 'carousel2' %}
<div class=\"BlocCarousel\">
<div class=\"container-fluid\">
<div class=\"row\">
{% set carousel2_g1 = bloc.gridcarousel != null? (12 - bloc.gridcarousel):'6' %}
{% set carousel2_g2 = bloc.gridcarousel != null? bloc.gridcarousel:'6' %}
<div class=\"col-sm-12 col-md-{{carousel2_g1}} col-lg-{{carousel2_g1}} {{bloc.position == 'left'?'order-2':'order-1'}}\">
{{bloc.content|raw}}
</div>
<div class=\"col-sm-12 col-md-{{carousel2_g2}} col-lg-{{carousel2_g2}} {{bloc.position == 'left'?'order-1':'order-2'}}\">
{% if bloc.images is defined and bloc.images is not empty %}
<div id=\"carousel{{bloc.id}}\" class=\"carousel slide\" data-ride=\"carousel\">
{# <ol class=\"carousel-indicators\">
{% for key,image in bloc.images %}
<li data-target=\"#carousel{{bloc.id}}\" data-slide-to=\"{{key}}\" {% if key == '0' %}class=\"active\"{% endif %}></li>
{% endfor %}
</ol> #}
<div class=\"carousel-inner text-center\">
{% for key,file in bloc.images %}
<div {% if key == '0' %}class=\"carousel-item active\" {% else %} class=\"carousel-item\" {% endif %}>
{# <a href=\"{{asset('/uploads/gallery/'~ file.image)}}\" data-fancybox=\"{{file.image}}\" data-caption=\"{{file.image}}\" class=\"icon-loupe\">
<img src=\"{{asset('/uploads/icons/icone_loupe.png')}}\" alt=\"icon-loupe\">
</a> #}
<img src=\"{{asset('/uploads/gallery/'~ file.image)| imagine_filter('img_carousel')}}\" class=\"img-carousel img-fluid\" alt=\"{{file.image}}\">
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
", "front/theme1/bloc/bloc.html.twig", "/var/www/vhosts/hrz.fr/new-site.hrz.fr/templates/front/theme1/bloc/bloc.html.twig");
}
}