var/cache/dev/twig/2b/2bf92a0aa0b4c6d3b576e809e843ab19.php line 201

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/accommodation/accommodation-1.html.twig */
  14. class __TwigTemplate_a72288f7dc9cb3c28c22e87660065538 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body_class' => [$this'block_body_class'],
  24.             'meta_title' => [$this'block_meta_title'],
  25.             'meta_description' => [$this'block_meta_description'],
  26.             'header_class' => [$this'block_header_class'],
  27.             'header_content' => [$this'block_header_content'],
  28.             'page_content' => [$this'block_page_content'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.             'javascripts_footer' => [$this'block_javascripts_footer'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "front/page.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/accommodation/accommodation-1.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/accommodation/accommodation-1.html.twig"));
  45.         // line 3
  46.         $macros["macro"] = $this->macros["macro"] = $this->loadTemplate("front/_shared/macros.html.twig""front/accommodation/accommodation-1.html.twig"3)->unwrap();
  47.         // line 10
  48.         $context["isMobile"] = $this->env->getRuntime('App\Twig\FrontRuntime')->isMobile();
  49.         // line 1
  50.         $this->parent $this->loadTemplate("front/page.html.twig""front/accommodation/accommodation-1.html.twig"1);
  51.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 5
  58.     public function block_body_class($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_class"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_class"));
  65.         $this->displayParentBlock("body_class"$context$blocks);
  66.         echo " ";
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.     }
  72.     // line 7
  73.     public function block_meta_title($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  80.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'7$this->source); })()), "metaTitle", [], "any"falsefalsefalse7), "html"nulltrue);
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 8
  87.     public function block_meta_description($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  94.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'8$this->source); })()), "metaDescription", [], "any"falsefalsefalse8), "html"nulltrue);
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.         
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99.     }
  100.     // line 12
  101.     public function block_header_class($context, array $blocks = [])
  102.     {
  103.         $macros $this->macros;
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_class"));
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_class"));
  108.         // line 13
  109.         echo "    ";
  110.         echo (((isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'13$this->source); })())) ? ("detail-head") : ("dark-header"));
  111.         echo "
  112. ";
  113.         
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  115.         
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  117.     }
  118.     // line 16
  119.     public function block_header_content($context, array $blocks = [])
  120.     {
  121.         $macros $this->macros;
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_content"));
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_content"));
  126.         // line 17
  127.         echo "    ";
  128.         if ((isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'17$this->source); })())) {
  129.             // line 18
  130.             echo "        <div id=\"accommodation-detail-header\" class=\"mobile\" style=\"";
  131.             if (twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'18$this->source); })()), "cover", [], "any"falsefalsefalse18)) {
  132.                 echo "background-image: url(";
  133.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'18$this->source); })()), "cover", [], "any"falsefalsefalse18), "accommodation_slider"), "html"nulltrue);
  134.                 echo ");";
  135.             }
  136.             echo "\">
  137.             <div class=\"intro\">
  138.                 <h1><span>";
  139.             // line 20
  140.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'20$this->source); })()), "name", [], "any"falsefalsefalse20), "html"nulltrue);
  141.             echo "</span></h1>
  142.                 <h2 class=\"subtitle\">
  143.                     ";
  144.             // line 22
  145.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'22$this->source); })()), "address", [], "any"falsefalsefalse22), "address", [], "any"falsefalsefalse22), "html"nulltrue);
  146.             echo "
  147.                     <br>";
  148.             // line 23
  149.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'23$this->source); })()), "address", [], "any"falsefalsefalse23), "zipcode", [], "any"falsefalsefalse23), "html"nulltrue);
  150.             echo " ";
  151.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'23$this->source); })()), "address", [], "any"falsefalsefalse23), "city", [], "any"falsefalsefalse23), "html"nulltrue);
  152.             echo "
  153.                 </h2>
  154.             </div>
  155.         </div>
  156.     ";
  157.         }
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.     }
  163.     // line 30
  164.     public function block_page_content($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  171.         // line 31
  172.         echo "
  173.     ";
  174.         // line 32
  175.         if ( !(isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'32$this->source); })())) {
  176.             // line 33
  177.             echo "        <div class=\"detail-head\">
  178.             <div class=\"detail-title-container container-fluid\">
  179.                 <div class=\"owl-carousel carousel-detail\" data-controller=\"carousel\" data-type=\"detail\">
  180.                     ";
  181.             // line 36
  182.             if (twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'36$this->source); })()), "cover", [], "any"falsefalsefalse36)) {
  183.                 // line 37
  184.                 echo "                        <div>
  185.                             <img src=\"";
  186.                 // line 38
  187.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'38$this->source); })()), "cover", [], "any"falsefalsefalse38), "accommodation_inline_slider"), "html"nulltrue);
  188.                 echo "\" alt=\"\">
  189.                         </div>
  190.                     ";
  191.             }
  192.             // line 41
  193.             echo "                    ";
  194.             $context['_parent'] = $context;
  195.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'41$this->source); })()), "images", [], "any"falsefalsefalse41));
  196.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  197.                 // line 42
  198.                 echo "                        <div>
  199.                             <img src=\"";
  200.                 // line 43
  201.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($context["image"], "accommodation_inline_slider"), "html"nulltrue);
  202.                 echo "\" alt=\"\">
  203.                         </div>
  204.                     ";
  205.             }
  206.             $_parent $context['_parent'];
  207.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  208.             $context array_intersect_key($context$_parent) + $_parent;
  209.             // line 46
  210.             echo "                </div>
  211.             </div>
  212.         </div>
  213.     ";
  214.         } else {
  215.             // line 50
  216.             echo "
  217.         <div class=\"lightbox-gallery\">
  218.             ";
  219.             // line 52
  220.             $context['_parent'] = $context;
  221.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'52$this->source); })()), "images", [], "any"falsefalsefalse52));
  222.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  223.                 // line 53
  224.                 echo "                <a href=\"";
  225.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($context["image"], "accommodation_slider"), "html"nulltrue);
  226.                 echo "\"></a>
  227.             ";
  228.             }
  229.             $_parent $context['_parent'];
  230.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  231.             $context array_intersect_key($context$_parent) + $_parent;
  232.             // line 55
  233.             echo "        </div>
  234.         <div id=\"mobile-gallery-thumbs\">
  235.             ";
  236.             // line 58
  237.             $context['_parent'] = $context;
  238.             $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'58$this->source); })()), "images", [], "any"falsefalsefalse58), 04));
  239.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  240.                 // line 59
  241.                 echo "                <div class=\"image-container\">
  242.                     <a href=\"";
  243.                 // line 60
  244.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($context["image"], "accommodation_slider"), "html"nulltrue);
  245.                 echo "\" class=\"open-lightbox-gallery\">
  246.                         <img src=\"";
  247.                 // line 61
  248.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($context["image"], "accommodation_square_gallery"), "html"nulltrue);
  249.                 echo "\" class=\"d-block w-100\" alt=\"";
  250.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'61$this->source); })()), "name", [], "any"falsefalsefalse61), "html"nulltrue);
  251.                 echo " - photo\">
  252.                     </a>
  253.                 </div>
  254.             ";
  255.             }
  256.             $_parent $context['_parent'];
  257.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  258.             $context array_intersect_key($context$_parent) + $_parent;
  259.             // line 65
  260.             echo "        </div>
  261.         <div class=\"text-center mb-3\">
  262.             <button class=\"btn btn-primary open-lightbox-gallery\">VOIR TOUTES LES PHOTOS</button>
  263.         </div>
  264.     ";
  265.         }
  266.         // line 71
  267.         echo "
  268.     <main class=\"detail detail-1\" data-controller=\"accommodation\">
  269.         ";
  270.         // line 74
  271.         if ( !(isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'74$this->source); })())) {
  272.             // line 75
  273.             echo "            <div class=\"menu-detail d-none d-lg-block\">
  274.                 <ul>
  275.                     <li class=\"active\"><a href=\"#description\">Description</a></li>
  276.                     <li><a href=\"#services\">Services</a></li>
  277.                     <li><a href=\"#colocataires\">Colocataires</a></li>
  278.                     <li><a href=\"#emplacement\">Emplacement</a></li>
  279.                     <li><a href=\"#chambres\">Chambres</a></li>
  280.                     <li><a href=\"";
  281.             // line 82
  282.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'82$this->source); })()), "virtualTour", [], "any"falsefalsefalse82), "html"nulltrue);
  283.             echo "\" target=\"_blank\" class=\"btn-explore\"><img src=\"";
  284.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/icons/icon_play.svg"), "html"nulltrue);
  285.             echo "\" alt=\"\"> Explorer</a></li>
  286.                 </ul>
  287.             </div>
  288.             <div id=\"virtual-tour-modal\">
  289.             <div class=\"overlay\"></div>
  290.             <div class=\"content\">
  291.                 <button class=\"btn-close\">x</button>
  292.                 <iframe></iframe>
  293.             </div>
  294.         </div>
  295.         ";
  296.         }
  297.         // line 94
  298.         echo "
  299.         <div class=\"bg-info-ctn\">
  300.             ";
  301.         // line 96
  302.         $this->loadTemplate("front/accommodation/blocks/infos-1.html.twig""front/accommodation/accommodation-1.html.twig"96)->display($context);
  303.         // line 97
  304.         echo "
  305.             <section class=\"container rooms\" id=\"chambres\">
  306.                 <div class=\"row\">
  307.                     <div class=\"col rooms-inner\">
  308.                         ";
  309.         // line 102
  310.         if ( !(isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'102$this->source); })())) {
  311.             // line 103
  312.             echo "                            <h2 class=\"title-room\">Toutes <span>les chambres</span></h2>
  313.                             <p class=\"intro-room\">
  314.                                 Retrouvez les autres chambres que nous proposons
  315.                             </p>
  316.                             <div class=\"row mb-5\">
  317.                             <div class=\"col-12 col-md-12 lightbox-gallery text-center\">
  318.                                 ";
  319.             // line 109
  320.             if (twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'109$this->source); })()), "plan", [], "any"falsefalsefalse109)) {
  321.                 // line 110
  322.                 echo "                                    <a href=\"";
  323.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'110$this->source); })()), "plan", [], "any"falsefalsefalse110), "accommodation_slider"), "html"nulltrue);
  324.                 echo "\">
  325.                                         <img class=\"plan\" src=\"";
  326.                 // line 111
  327.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'111$this->source); })()), "plan", [], "any"falsefalsefalse111), "accommodation_wide_thumb"), "html"nulltrue);
  328.                 echo "\" alt=\"Plan des chambres\">
  329.                                     </a>
  330.                                 ";
  331.             }
  332.             // line 114
  333.             echo "                            </div>
  334.                         </div>
  335.                         ";
  336.         } else {
  337.             // line 117
  338.             echo "                            ";
  339.             if (twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'117$this->source); })()), "virtualTour", [], "any"falsefalsefalse117)) {
  340.                 // line 118
  341.                 echo "                                <h2 class=\"detail-title\">
  342.                                     Visite <span>virtuelle</span>
  343.                                 </h2>
  344.                                 <div id=\"explore-button-container\" style=\"";
  345.                 // line 121
  346.                 if (twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'121$this->source); })()), "cover", [], "any"falsefalsefalse121)) {
  347.                     echo "background-image: url(";
  348.                     echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'121$this->source); })()), "cover", [], "any"falsefalsefalse121), "accommodation_slider"), "html"nulltrue);
  349.                     echo ");";
  350.                 }
  351.                 echo "\">
  352.                                     <a href=\"";
  353.                 // line 122
  354.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'122$this->source); })()), "virtualTour", [], "any"falsefalsefalse122), "html"nulltrue);
  355.                 echo "\" target=\"_blank\" class=\"btn-explore\">
  356.                                         <span class=\"icon-play\"></span>
  357.                                         <span class=\"label\">";
  358.                 // line 124
  359.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.explore_accommodation", [], "front"), "html"nulltrue);
  360.                 echo "</span>
  361.                                     </a>
  362.                                     <div id=\"virtual-tour-modal\">
  363.                                         <div class=\"overlay\"></div>
  364.                                         <div class=\"content\">
  365.                                             <button class=\"btn-close\">x</button>
  366.                                             <iframe></iframe>
  367.                                         </div>
  368.                                     </div>
  369.                                 </div>
  370.                                 <br>
  371.                             ";
  372.             }
  373.             // line 137
  374.             echo "
  375.                         ";
  376.         }
  377.         // line 139
  378.         echo "
  379.                         ";
  380.         // line 140
  381.         $context['_parent'] = $context;
  382.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'140$this->source); })()), "activeRooms", [], "any"falsefalsefalse140));
  383.         foreach ($context['_seq'] as $context["_key"] => $context["room"]) {
  384.             // line 141
  385.             echo "                            ";
  386.             $context["availabilityDate"] = twig_get_attribute($this->env$this->source$context["room"], "availablilityDate", [], "any"falsefalsefalse141);
  387.             // line 142
  388.             echo "
  389.                             <div class=\"row room\" id=\"room-";
  390.             // line 143
  391.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["room"], "id", [], "any"falsefalsefalse143), "html"nulltrue);
  392.             echo "\">
  393.                                 <div class=\"col-12 col-lg-3 col-xl-3 images\">
  394.                                     <div class=\"owl-carousel carousel-homes\" data-controller=\"carousel\" data-type=\"homes\">
  395.                                         ";
  396.             // line 146
  397.             $context['_parent'] = $context;
  398.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["room"], "images", [], "any"falsefalsefalse146));
  399.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  400.                 // line 147
  401.                 echo "                                            <div class=\"illu\">
  402.                                                 <img src=\"";
  403.                 // line 148
  404.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($context["image"], "room_slider"), "html"nulltrue);
  405.                 echo "\" alt=\"\">
  406.                                             </div>
  407.                                         ";
  408.             }
  409.             $_parent $context['_parent'];
  410.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  411.             $context array_intersect_key($context$_parent) + $_parent;
  412.             // line 151
  413.             echo "                                    </div> <!-- carousel -->
  414.                                     ";
  415.             // line 153
  416.             if (twig_get_attribute($this->env$this->source$context["room"], "available", [], "any"falsefalsefalse153)) {
  417.                 // line 154
  418.                 echo "                                        <div class=\"available\">
  419.                                             <div class=\"text-ctn\">";
  420.                 // line 155
  421.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.room_available_now", [], "front"), "html"nulltrue);
  422.                 echo "</div>
  423.                                             <img src=\"";
  424.                 // line 156
  425.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/icons/triangle-darkgreen.png"), "html"nulltrue);
  426.                 echo "\">
  427.                                         </div>
  428.                                     ";
  429.             } else {
  430.                 // line 159
  431.                 echo "                                        <div class=\"occupied\">
  432.                                             ";
  433.                 // line 160
  434.                 if ( !(null === (isset($context["availabilityDate"]) || array_key_exists("availabilityDate"$context) ? $context["availabilityDate"] : (function () { throw new RuntimeError('Variable "availabilityDate" does not exist.'160$this->source); })()))) {
  435.                     // line 161
  436.                     echo "                                                <div class=\"text-ctn\">";
  437.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.available_from", ["date" => $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, (isset($context["availabilityDate"]) || array_key_exists("availabilityDate"$context) ? $context["availabilityDate"] : (function () { throw new RuntimeError('Variable "availabilityDate" does not exist.'161$this->source); })()), "short""none")], "front");
  438.                     echo "</div>
  439.                                             ";
  440.                 } else {
  441.                     // line 163
  442.                     echo "                                                <div class=\"text-ctn\">";
  443.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.room_not_available", [], "front"), "html"nulltrue);
  444.                     echo "</div>
  445.                                             ";
  446.                 }
  447.                 // line 165
  448.                 echo "                                            <img src=\"";
  449.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/icons/triangle-darkgreen.png"), "html"nulltrue);
  450.                 echo "\">
  451.                                         </div>
  452.                                     ";
  453.             }
  454.             // line 168
  455.             echo "                                </div> <!-- images-->
  456.                                 <div class=\"col-12 col-lg-9 col-xl-6 infos\">
  457.                                     <h2>";
  458.             // line 170
  459.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["room"], "name", [], "any"falsefalsefalse170), "html"nulltrue);
  460.             echo "</h2>
  461.                                     <p>";
  462.             // line 171
  463.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["room"], "description", [], "any"falsefalsefalse171), "html"nulltrue);
  464.             echo "</p>
  465.                                     <h3>";
  466.             // line 173
  467.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.room_equipment", [], "front"), "html"nulltrue);
  468.             echo "</h3>
  469.                                     <div class=\"equipment-list\" data-controller=\"equipment-list\">
  470.                                         ";
  471.             // line 175
  472.             $context["totalEquipment"] = 0;
  473.             // line 176
  474.             echo "                                        <ul class=\"equip-list\">
  475.                                             ";
  476.             // line 177
  477.             if (twig_get_attribute($this->env$this->source$context["room"], "privateToilet", [], "any"falsefalsefalse177)) {
  478.                 // line 178
  479.                 echo "                                                ";
  480.                 $context["totalEquipment"] = ((isset($context["totalEquipment"]) || array_key_exists("totalEquipment"$context) ? $context["totalEquipment"] : (function () { throw new RuntimeError('Variable "totalEquipment" does not exist.'178$this->source); })()) + 1);
  481.                 // line 179
  482.                 echo "                                                <li><img src=\"";
  483.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/icons/toilet.svg"), "html"nulltrue);
  484.                 echo "\" alt=\"\"> ";
  485.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.privateToilet", [], "front"), "html"nulltrue);
  486.                 echo "</li>
  487.                                             ";
  488.             }
  489.             // line 181
  490.             echo "                                            ";
  491.             if (twig_get_attribute($this->env$this->source$context["room"], "privateBathroom", [], "any"falsefalsefalse181)) {
  492.                 // line 182
  493.                 echo "                                                ";
  494.                 $context["totalEquipment"] = ((isset($context["totalEquipment"]) || array_key_exists("totalEquipment"$context) ? $context["totalEquipment"] : (function () { throw new RuntimeError('Variable "totalEquipment" does not exist.'182$this->source); })()) + 1);
  495.                 // line 183
  496.                 echo "                                                <li><img src=\"";
  497.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/icons/bathtub.svg"), "html"nulltrue);
  498.                 echo "\" alt=\"\"> ";
  499.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.privateBathroom", [], "front"), "html"nulltrue);
  500.                 echo "</li>
  501.                                             ";
  502.             }
  503.             // line 185
  504.             echo "                                            ";
  505.             if (twig_get_attribute($this->env$this->source$context["room"], "privateKitchen", [], "any"falsefalsefalse185)) {
  506.                 // line 186
  507.                 echo "                                                ";
  508.                 $context["totalEquipment"] = ((isset($context["totalEquipment"]) || array_key_exists("totalEquipment"$context) ? $context["totalEquipment"] : (function () { throw new RuntimeError('Variable "totalEquipment" does not exist.'186$this->source); })()) + 1);
  509.                 // line 187
  510.                 echo "                                                <li><img src=\"";
  511.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/icons/kitchen.svg"), "html"nulltrue);
  512.                 echo "\" alt=\"\"> ";
  513.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.privateKitchen", [], "front"), "html"nulltrue);
  514.                 echo "</li>
  515.                                             ";
  516.             }
  517.             // line 189
  518.             echo "
  519.                                             ";
  520.             // line 190
  521.             $context["totalEquipment"] = ((isset($context["totalEquipment"]) || array_key_exists("totalEquipment"$context) ? $context["totalEquipment"] : (function () { throw new RuntimeError('Variable "totalEquipment" does not exist.'190$this->source); })()) + twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["room"], "equipments", [], "any"falsefalsefalse190)));
  522.             // line 191
  523.             echo "                                            ";
  524.             $context['_parent'] = $context;
  525.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["room"], "equipments", [], "any"falsefalsefalse191));
  526.             foreach ($context['_seq'] as $context["_key"] => $context["equipment"]) {
  527.                 // line 192
  528.                 echo "                                                <li>
  529.                                                     ";
  530.                 // line 193
  531.                 if (twig_get_attribute($this->env$this->source$context["equipment"], "image", [], "any"falsefalsefalse193)) {
  532.                     // line 194
  533.                     echo "                                                        <img src=\"";
  534.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["equipment"], "image", [], "any"falsefalsefalse194), "getUrl", [], "method"falsefalsefalse194), "html"nulltrue);
  535.                     echo "\" alt=\"";
  536.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["equipment"], "label", [], "any"falsefalsefalse194), "html"nulltrue);
  537.                     echo "\">
  538.                                                     ";
  539.                 } else {
  540.                     // line 196
  541.                     echo "                                                        <img src=\"";
  542.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/icons/icon-layers.png"), "html"nulltrue);
  543.                     echo "\" alt=\"";
  544.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["equipment"], "label", [], "any"falsefalsefalse196), "html"nulltrue);
  545.                     echo "\">
  546.                                                     ";
  547.                 }
  548.                 // line 198
  549.                 echo "                                                    ";
  550.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["equipment"], "label", [], "any"falsefalsefalse198), "html"nulltrue);
  551.                 echo "
  552.                                                 </li>
  553.                                             ";
  554.             }
  555.             $_parent $context['_parent'];
  556.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['equipment'], $context['_parent'], $context['loop']);
  557.             $context array_intersect_key($context$_parent) + $_parent;
  558.             // line 201
  559.             echo "                                        </ul>
  560.                                         ";
  561.             // line 202
  562.             if (((isset($context["totalEquipment"]) || array_key_exists("totalEquipment"$context) ? $context["totalEquipment"] : (function () { throw new RuntimeError('Variable "totalEquipment" does not exist.'202$this->source); })()) > 9)) {
  563.                 // line 203
  564.                 echo "                                            <a href=\"\" class=\"seemore open-list\" data-action=\"equipment-list#more\">Voir tous les équipements</a>
  565.                                             <a href=\"\" class=\"seemore close-list\" data-action=\"equipment-list#less\">Réduire les équipements</a>
  566.                                         ";
  567.             }
  568.             // line 206
  569.             echo "                                    </div>
  570.                                 </div> <!-- infos-->
  571.                                 <div class=\"col-12 col-lg-12 col-xl-3 resa\">
  572.                                     <h3 class=\"price\">";
  573.             // line 210
  574.             echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\FrontRuntime')->currency($this->extensions['Twig\Extra\Intl\IntlExtension']->formatCurrency(twig_get_attribute($this->env$this->source$context["room"], "rent", [], "any"falsefalsefalse210), "EUR")), "html"nulltrue);
  575.             echo " <small>/ ";
  576.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.month", [], "front"), "html"nulltrue);
  577.             echo "*</small></h3>
  578.                                     <p class=\"notice\">";
  579.             // line 211
  580.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.maxHousingAssistance", [], "front"), "html"nulltrue);
  581.             echo " <span>-";
  582.             echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\FrontRuntime')->currency($this->extensions['Twig\Extra\Intl\IntlExtension']->formatCurrency(twig_get_attribute($this->env$this->source$context["room"], "maxHousingAssistance", [], "any"falsefalsefalse211), "EUR")), "html"nulltrue);
  583.             echo "</span></p>
  584.                                     <p class=\"notice\">";
  585.             // line 212
  586.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.charges", [], "front"), "html"nulltrue);
  587.             echo " <span>+";
  588.             echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\FrontRuntime')->currency($this->extensions['Twig\Extra\Intl\IntlExtension']->formatCurrency(twig_get_attribute($this->env$this->source$context["room"], "chargesFees", [], "any"falsefalsefalse212), "EUR")), "html"nulltrue);
  589.             echo "</span></p>
  590.                                     ";
  591.             // line 213
  592.             if (twig_get_attribute($this->env$this->source$context["room"], "cleaningFees", [], "any"falsefalsefalse213)) {
  593.                 // line 214
  594.                 echo "                                        <p class=\"notice\">";
  595.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.cleaningFees", [], "front"), "html"nulltrue);
  596.                 echo " <span>+";
  597.                 echo twig_escape_filter($this->env$this->env->getRuntime('App\Twig\FrontRuntime')->currency($this->extensions['Twig\Extra\Intl\IntlExtension']->formatCurrency(twig_get_attribute($this->env$this->source$context["room"], "cleaningFees", [], "any"falsefalsefalse214), "EUR")), "html"nulltrue);
  598.                 echo "</span></p>
  599.                                     ";
  600.             }
  601.             // line 216
  602.             echo "                                    <h4>";
  603.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.includedInCharges", [], "front"), "html"nulltrue);
  604.             echo "</h4>
  605.                                     <p class=\"included\"><span>•</span> ";
  606.             // line 217
  607.             echo twig_escape_filter($this->envtwig_join_filter(twig_array_map($this->envtwig_get_attribute($this->env$this->source$context["room"], "chargesDetails", [], "any"falsefalsefalse217), function ($__c__) use ($context$macros) { $context["c"] = $__c__; return twig_get_attribute($this->env$this->source, (isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'217$this->source); })()), "label", [], "any"falsefalsefalse217); }), ", "), "html"nulltrue);
  608.             echo "</p>
  609.                                     ";
  610.             // line 219
  611.             if (twig_get_attribute($this->env$this->source$context["room"], "available", [], "any"falsefalsefalse219)) {
  612.                 // line 220
  613.                 echo "                                        ";
  614.                 if ( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
  615.                     // line 221
  616.                     echo "                                            <a href=\"";
  617.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_booking_index", ["room" => twig_get_attribute($this->env$this->source$context["room"], "id", [], "any"falsefalsefalse221)]), "html"nulltrue);
  618.                     echo "\" class=\"reserve open-dynamic-modal\" data-route=\"";
  619.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_user_modal_login");
  620.                     echo "\">";
  621.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action.book_room", [], "front"), "html"nulltrue);
  622.                     echo "</a>
  623.                                         ";
  624.                 } else {
  625.                     // line 223
  626.                     echo "                                            <a href=\"";
  627.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_booking_index", ["room" => twig_get_attribute($this->env$this->source$context["room"], "id", [], "any"falsefalsefalse223)]), "html"nulltrue);
  628.                     echo "\" class=\"reserve\">
  629.                                                 ";
  630.                     // line 224
  631.                     if ( !twig_get_attribute($this->env$this->sourcetwig_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.'224$this->source); })()), "user", [], "any"falsefalsefalse224), "isOccupyingRoom", [], "any"falsefalsefalse224)) {
  632.                         // line 225
  633.                         echo "                                                    ";
  634.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action.book_room", [], "front"), "html"nulltrue);
  635.                         echo "
  636.                                                 ";
  637.                     } else {
  638.                         // line 227
  639.                         echo "                                                    ";
  640.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action.change_room", [], "front"), "html"nulltrue);
  641.                         echo "
  642.                                                 ";
  643.                     }
  644.                     // line 229
  645.                     echo "                                            </a>
  646.                                         ";
  647.                 }
  648.                 // line 231
  649.                 echo "                                    ";
  650.             } else {
  651.                 // line 232
  652.                 echo "                                        <a href=\"#\" class=\"alert open-dynamic-modal\" data-route=\"";
  653.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_accommodation_modal_waiting_list", ["id" => twig_get_attribute($this->env$this->source$context["room"], "id", [], "any"falsefalsefalse232)]), "html"nulltrue);
  654.                 echo "\">";
  655.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action.availability_alert", [], "front"), "html"nulltrue);
  656.                 echo "</a>
  657.                                         ";
  658.                 // line 233
  659.                 if ( !(null === (isset($context["availabilityDate"]) || array_key_exists("availabilityDate"$context) ? $context["availabilityDate"] : (function () { throw new RuntimeError('Variable "availabilityDate" does not exist.'233$this->source); })()))) {
  660.                     // line 234
  661.                     echo "                                            <p class=\"alert-notice\">";
  662.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.available_from", ["date" => $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, (isset($context["availabilityDate"]) || array_key_exists("availabilityDate"$context) ? $context["availabilityDate"] : (function () { throw new RuntimeError('Variable "availabilityDate" does not exist.'234$this->source); })()), "short""none")], "front");
  663.                     echo "</p>
  664.                                         ";
  665.                 }
  666.                 // line 236
  667.                 echo "                                    ";
  668.             }
  669.             // line 237
  670.             echo "
  671.                                     <a href=\"https://api.whatsapp.com/send?phone=\" class=\"whatsapp\">Chat Whatsapp</a>
  672.                                 </div> <!-- resa-->
  673.                             </div> <!-- room -->
  674.                         ";
  675.         }
  676.         $_parent $context['_parent'];
  677.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['room'], $context['_parent'], $context['loop']);
  678.         $context array_intersect_key($context$_parent) + $_parent;
  679.         // line 242
  680.         echo "                        <div class=\"btn-contact-room-container\">
  681.                             <a href=\"";
  682.         // line 243
  683.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_page_contact_room", ["id" => twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'243$this->source); })()), "id", [], "any"falsefalsefalse243)]), "html"nulltrue);
  684.         echo "\" class=\"btn btn-outline-dark btn-contact-room\">SE METTRE SUR LISTE D'ATTENTE</a>
  685.                         </div>
  686.                     </div>
  687.                 </div>
  688.             </section> <!-- rooms -->
  689.         </div>
  690.         ";
  691.         // line 250
  692.         $this->loadTemplate("front/_shared/faq.html.twig""front/accommodation/accommodation-1.html.twig"250)->display($context);
  693.         // line 251
  694.         echo "    </main>
  695. ";
  696.         
  697.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  698.         
  699.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  700.     }
  701.     // line 254
  702.     public function block_javascripts($context, array $blocks = [])
  703.     {
  704.         $macros $this->macros;
  705.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  706.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  707.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  708.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  709.         // line 255
  710.         echo "    ";
  711.         $this->displayParentBlock("javascripts"$context$blocks);
  712.         echo "
  713. ";
  714.         
  715.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  716.         
  717.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  718.     }
  719.     // line 258
  720.     public function block_javascripts_footer($context, array $blocks = [])
  721.     {
  722.         $macros $this->macros;
  723.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  724.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_footer"));
  725.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  726.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_footer"));
  727.         
  728.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  729.         
  730.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  731.     }
  732.     public function getTemplateName()
  733.     {
  734.         return "front/accommodation/accommodation-1.html.twig";
  735.     }
  736.     public function isTraitable()
  737.     {
  738.         return false;
  739.     }
  740.     public function getDebugInfo()
  741.     {
  742.         return array (  778 => 258,  765 => 255,  755 => 254,  744 => 251,  742 => 250,  732 => 243,  729 => 242,  719 => 237,  716 => 236,  710 => 234,  708 => 233,  701 => 232,  698 => 231,  694 => 229,  688 => 227,  682 => 225,  680 => 224,  675 => 223,  665 => 221,  662 => 220,  660 => 219,  655 => 217,  650 => 216,  642 => 214,  640 => 213,  634 => 212,  628 => 211,  622 => 210,  616 => 206,  611 => 203,  609 => 202,  606 => 201,  596 => 198,  588 => 196,  580 => 194,  578 => 193,  575 => 192,  570 => 191,  568 => 190,  565 => 189,  557 => 187,  554 => 186,  551 => 185,  543 => 183,  540 => 182,  537 => 181,  529 => 179,  526 => 178,  524 => 177,  521 => 176,  519 => 175,  514 => 173,  509 => 171,  505 => 170,  501 => 168,  494 => 165,  488 => 163,  482 => 161,  480 => 160,  477 => 159,  471 => 156,  467 => 155,  464 => 154,  462 => 153,  458 => 151,  449 => 148,  446 => 147,  442 => 146,  436 => 143,  433 => 142,  430 => 141,  426 => 140,  423 => 139,  419 => 137,  403 => 124,  398 => 122,  390 => 121,  385 => 118,  382 => 117,  377 => 114,  371 => 111,  366 => 110,  364 => 109,  356 => 103,  354 => 102,  347 => 97,  345 => 96,  341 => 94,  324 => 82,  315 => 75,  313 => 74,  308 => 71,  300 => 65,  288 => 61,  284 => 60,  281 => 59,  277 => 58,  272 => 55,  263 => 53,  259 => 52,  255 => 50,  249 => 46,  240 => 43,  237 => 42,  232 => 41,  226 => 38,  223 => 37,  221 => 36,  216 => 33,  214 => 32,  211 => 31,  201 => 30,  183 => 23,  179 => 22,  174 => 20,  164 => 18,  161 => 17,  151 => 16,  138 => 13,  128 => 12,  109 => 8,  90 => 7,  70 => 5,  59 => 1,  57 => 10,  55 => 3,  42 => 1,);
  743.     }
  744.     public function getSourceContext()
  745.     {
  746.         return new Source("{% extends 'front/page.html.twig' %}
  747. {% trans_default_domain 'front' %}
  748. {% import \"front/_shared/macros.html.twig\" as macro %}
  749. {% block body_class %}{{ parent() }} {% endblock %}
  750. {%  block meta_title %}{{ page.metaTitle }}{% endblock %}
  751. {%  block meta_description %}{{ page.metaDescription }}{% endblock %}
  752. {% set isMobile = isMobile() %}
  753. {% block header_class %}
  754.     {{ (isMobile) ? \"detail-head\" : \"dark-header\" }}
  755. {% endblock %}
  756. {% block header_content %}
  757.     {% if isMobile %}
  758.         <div id=\"accommodation-detail-header\" class=\"mobile\" style=\"{% if accommodation.cover %}background-image: url({{ accommodation.cover | imagine_filter('accommodation_slider') }});{% endif %}\">
  759.             <div class=\"intro\">
  760.                 <h1><span>{{ accommodation.name }}</span></h1>
  761.                 <h2 class=\"subtitle\">
  762.                     {{ accommodation.address.address }}
  763.                     <br>{{ accommodation.address.zipcode }} {{ accommodation.address.city }}
  764.                 </h2>
  765.             </div>
  766.         </div>
  767.     {% endif %}
  768. {% endblock %}
  769. {% block page_content %}
  770.     {% if not isMobile %}
  771.         <div class=\"detail-head\">
  772.             <div class=\"detail-title-container container-fluid\">
  773.                 <div class=\"owl-carousel carousel-detail\" data-controller=\"carousel\" data-type=\"detail\">
  774.                     {% if accommodation.cover %}
  775.                         <div>
  776.                             <img src=\"{{ accommodation.cover | imagine_filter('accommodation_inline_slider') }}\" alt=\"\">
  777.                         </div>
  778.                     {% endif %}
  779.                     {% for image in accommodation.images %}
  780.                         <div>
  781.                             <img src=\"{{ image | imagine_filter('accommodation_inline_slider') }}\" alt=\"\">
  782.                         </div>
  783.                     {% endfor %}
  784.                 </div>
  785.             </div>
  786.         </div>
  787.     {% else %}
  788.         <div class=\"lightbox-gallery\">
  789.             {% for image in accommodation.images %}
  790.                 <a href=\"{{ image | imagine_filter('accommodation_slider') }}\"></a>
  791.             {% endfor %}
  792.         </div>
  793.         <div id=\"mobile-gallery-thumbs\">
  794.             {% for image in accommodation.images|slice(0,4) %}
  795.                 <div class=\"image-container\">
  796.                     <a href=\"{{ image | imagine_filter('accommodation_slider') }}\" class=\"open-lightbox-gallery\">
  797.                         <img src=\"{{ image | imagine_filter('accommodation_square_gallery') }}\" class=\"d-block w-100\" alt=\"{{ accommodation.name }} - photo\">
  798.                     </a>
  799.                 </div>
  800.             {% endfor %}
  801.         </div>
  802.         <div class=\"text-center mb-3\">
  803.             <button class=\"btn btn-primary open-lightbox-gallery\">VOIR TOUTES LES PHOTOS</button>
  804.         </div>
  805.     {% endif %}
  806.     <main class=\"detail detail-1\" data-controller=\"accommodation\">
  807.         {% if not isMobile %}
  808.             <div class=\"menu-detail d-none d-lg-block\">
  809.                 <ul>
  810.                     <li class=\"active\"><a href=\"#description\">Description</a></li>
  811.                     <li><a href=\"#services\">Services</a></li>
  812.                     <li><a href=\"#colocataires\">Colocataires</a></li>
  813.                     <li><a href=\"#emplacement\">Emplacement</a></li>
  814.                     <li><a href=\"#chambres\">Chambres</a></li>
  815.                     <li><a href=\"{{ accommodation.virtualTour }}\" target=\"_blank\" class=\"btn-explore\"><img src=\"{{ asset('build/images/icons/icon_play.svg') }}\" alt=\"\"> Explorer</a></li>
  816.                 </ul>
  817.             </div>
  818.             <div id=\"virtual-tour-modal\">
  819.             <div class=\"overlay\"></div>
  820.             <div class=\"content\">
  821.                 <button class=\"btn-close\">x</button>
  822.                 <iframe></iframe>
  823.             </div>
  824.         </div>
  825.         {% endif %}
  826.         <div class=\"bg-info-ctn\">
  827.             {% include 'front/accommodation/blocks/infos-1.html.twig' %}
  828.             <section class=\"container rooms\" id=\"chambres\">
  829.                 <div class=\"row\">
  830.                     <div class=\"col rooms-inner\">
  831.                         {% if not isMobile %}
  832.                             <h2 class=\"title-room\">Toutes <span>les chambres</span></h2>
  833.                             <p class=\"intro-room\">
  834.                                 Retrouvez les autres chambres que nous proposons
  835.                             </p>
  836.                             <div class=\"row mb-5\">
  837.                             <div class=\"col-12 col-md-12 lightbox-gallery text-center\">
  838.                                 {% if accommodation.plan %}
  839.                                     <a href=\"{{ accommodation.plan | imagine_filter('accommodation_slider') }}\">
  840.                                         <img class=\"plan\" src=\"{{ accommodation.plan | imagine_filter('accommodation_wide_thumb') }}\" alt=\"Plan des chambres\">
  841.                                     </a>
  842.                                 {% endif %}
  843.                             </div>
  844.                         </div>
  845.                         {% else %}
  846.                             {% if accommodation.virtualTour %}
  847.                                 <h2 class=\"detail-title\">
  848.                                     Visite <span>virtuelle</span>
  849.                                 </h2>
  850.                                 <div id=\"explore-button-container\" style=\"{% if accommodation.cover %}background-image: url({{ accommodation.cover | imagine_filter('accommodation_slider') }});{% endif %}\">
  851.                                     <a href=\"{{ accommodation.virtualTour }}\" target=\"_blank\" class=\"btn-explore\">
  852.                                         <span class=\"icon-play\"></span>
  853.                                         <span class=\"label\">{{ 'title.explore_accommodation'|trans }}</span>
  854.                                     </a>
  855.                                     <div id=\"virtual-tour-modal\">
  856.                                         <div class=\"overlay\"></div>
  857.                                         <div class=\"content\">
  858.                                             <button class=\"btn-close\">x</button>
  859.                                             <iframe></iframe>
  860.                                         </div>
  861.                                     </div>
  862.                                 </div>
  863.                                 <br>
  864.                             {% endif %}
  865.                         {% endif %}
  866.                         {% for room in accommodation.activeRooms %}
  867.                             {% set availabilityDate = room.availablilityDate %}
  868.                             <div class=\"row room\" id=\"room-{{ room.id }}\">
  869.                                 <div class=\"col-12 col-lg-3 col-xl-3 images\">
  870.                                     <div class=\"owl-carousel carousel-homes\" data-controller=\"carousel\" data-type=\"homes\">
  871.                                         {% for image in room.images %}
  872.                                             <div class=\"illu\">
  873.                                                 <img src=\"{{ image | imagine_filter('room_slider') }}\" alt=\"\">
  874.                                             </div>
  875.                                         {% endfor %}
  876.                                     </div> <!-- carousel -->
  877.                                     {% if room.available %}
  878.                                         <div class=\"available\">
  879.                                             <div class=\"text-ctn\">{{ 'label.room_available_now'|trans }}</div>
  880.                                             <img src=\"{{ asset('build/images/icons/triangle-darkgreen.png') }}\">
  881.                                         </div>
  882.                                     {% else %}
  883.                                         <div class=\"occupied\">
  884.                                             {% if availabilityDate is not null %}
  885.                                                 <div class=\"text-ctn\">{{ 'label.available_from'|trans({date: availabilityDate|format_datetime('short', 'none')})|raw }}</div>
  886.                                             {% else %}
  887.                                                 <div class=\"text-ctn\">{{ 'label.room_not_available'|trans }}</div>
  888.                                             {% endif %}
  889.                                             <img src=\"{{ asset('build/images/icons/triangle-darkgreen.png') }}\">
  890.                                         </div>
  891.                                     {% endif %}
  892.                                 </div> <!-- images-->
  893.                                 <div class=\"col-12 col-lg-9 col-xl-6 infos\">
  894.                                     <h2>{{ room.name }}</h2>
  895.                                     <p>{{ room.description }}</p>
  896.                                     <h3>{{ 'label.room_equipment'|trans }}</h3>
  897.                                     <div class=\"equipment-list\" data-controller=\"equipment-list\">
  898.                                         {% set totalEquipment = 0 %}
  899.                                         <ul class=\"equip-list\">
  900.                                             {% if room.privateToilet %}
  901.                                                 {% set totalEquipment = totalEquipment+1 %}
  902.                                                 <li><img src=\"{{ asset('build/images/icons/toilet.svg') }}\" alt=\"\"> {{ 'label.privateToilet'|trans }}</li>
  903.                                             {% endif %}
  904.                                             {% if room.privateBathroom %}
  905.                                                 {% set totalEquipment = totalEquipment+1 %}
  906.                                                 <li><img src=\"{{ asset('build/images/icons/bathtub.svg') }}\" alt=\"\"> {{ 'label.privateBathroom'|trans }}</li>
  907.                                             {% endif %}
  908.                                             {% if room.privateKitchen %}
  909.                                                 {% set totalEquipment = totalEquipment+1 %}
  910.                                                 <li><img src=\"{{ asset('build/images/icons/kitchen.svg') }}\" alt=\"\"> {{ 'label.privateKitchen'|trans }}</li>
  911.                                             {% endif %}
  912.                                             {% set totalEquipment = totalEquipment + room.equipments|length %}
  913.                                             {% for equipment in room.equipments %}
  914.                                                 <li>
  915.                                                     {% if equipment.image %}
  916.                                                         <img src=\"{{ equipment.image.getUrl() }}\" alt=\"{{ equipment.label }}\">
  917.                                                     {% else %}
  918.                                                         <img src=\"{{ asset('build/images/icons/icon-layers.png') }}\" alt=\"{{ equipment.label }}\">
  919.                                                     {% endif %}
  920.                                                     {{ equipment.label }}
  921.                                                 </li>
  922.                                             {% endfor %}
  923.                                         </ul>
  924.                                         {% if totalEquipment > 9 %}
  925.                                             <a href=\"\" class=\"seemore open-list\" data-action=\"equipment-list#more\">Voir tous les équipements</a>
  926.                                             <a href=\"\" class=\"seemore close-list\" data-action=\"equipment-list#less\">Réduire les équipements</a>
  927.                                         {% endif %}
  928.                                     </div>
  929.                                 </div> <!-- infos-->
  930.                                 <div class=\"col-12 col-lg-12 col-xl-3 resa\">
  931.                                     <h3 class=\"price\">{{ room.rent|format_currency('EUR')|currency }} <small>/ {{ 'label.month'|trans }}*</small></h3>
  932.                                     <p class=\"notice\">{{ 'label.maxHousingAssistance'|trans }} <span>-{{ room.maxHousingAssistance|format_currency('EUR')|currency }}</span></p>
  933.                                     <p class=\"notice\">{{ 'label.charges'|trans }} <span>+{{ room.chargesFees|format_currency('EUR')|currency }}</span></p>
  934.                                     {% if room.cleaningFees %}
  935.                                         <p class=\"notice\">{{ 'label.cleaningFees'|trans }} <span>+{{ room.cleaningFees|format_currency('EUR')|currency }}</span></p>
  936.                                     {% endif %}
  937.                                     <h4>{{ 'label.includedInCharges'|trans }}</h4>
  938.                                     <p class=\"included\"><span>•</span> {{ room.chargesDetails|map(c => c.label)|join(', ') }}</p>
  939.                                     {% if room.available %}
  940.                                         {% if not is_granted('IS_AUTHENTICATED_FULLY') %}
  941.                                             <a href=\"{{ path('front_booking_index', {room: room.id}) }}\" class=\"reserve open-dynamic-modal\" data-route=\"{{ path('front_user_modal_login') }}\">{{ 'action.book_room'|trans }}</a>
  942.                                         {% else %}
  943.                                             <a href=\"{{ path('front_booking_index', {room: room.id}) }}\" class=\"reserve\">
  944.                                                 {% if not app.user.isOccupyingRoom %}
  945.                                                     {{ 'action.book_room'|trans }}
  946.                                                 {% else %}
  947.                                                     {{ 'action.change_room'|trans }}
  948.                                                 {% endif %}
  949.                                             </a>
  950.                                         {% endif %}
  951.                                     {% else %}
  952.                                         <a href=\"#\" class=\"alert open-dynamic-modal\" data-route=\"{{ path('front_accommodation_modal_waiting_list', {id: room.id}) }}\">{{ 'action.availability_alert'|trans }}</a>
  953.                                         {% if availabilityDate is not null %}
  954.                                             <p class=\"alert-notice\">{{ 'label.available_from'|trans({date: availabilityDate|format_datetime('short', 'none')})|raw }}</p>
  955.                                         {% endif %}
  956.                                     {% endif %}
  957.                                     <a href=\"https://api.whatsapp.com/send?phone=\" class=\"whatsapp\">Chat Whatsapp</a>
  958.                                 </div> <!-- resa-->
  959.                             </div> <!-- room -->
  960.                         {% endfor %}
  961.                         <div class=\"btn-contact-room-container\">
  962.                             <a href=\"{{ path('front_page_contact_room', {id: accommodation.id}) }}\" class=\"btn btn-outline-dark btn-contact-room\">SE METTRE SUR LISTE D'ATTENTE</a>
  963.                         </div>
  964.                     </div>
  965.                 </div>
  966.             </section> <!-- rooms -->
  967.         </div>
  968.         {% include \"front/_shared/faq.html.twig\" %}
  969.     </main>
  970. {% endblock %}
  971. {% block javascripts %}
  972.     {{ parent() }}
  973. {% endblock %}
  974. {% block javascripts_footer %}
  975. {% endblock %}""front/accommodation/accommodation-1.html.twig""/var/www/vps.citizens.fr/templates/front/accommodation/accommodation-1.html.twig");
  976.     }
  977. }