var/cache/dev/twig/5c/5c7f3162eb0c94e2bc6d67ab3a131d92.php line 40

  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. /* @Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig */
  14. class __TwigTemplate_b7c492d756c2337b18f00bd81536013e 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.             'stylesheets' => [$this'block_stylesheets'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig"));
  40.         $this->parent $this->loadTemplate("@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig""@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 4
  48.     public function block_stylesheets($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  55.         // line 5
  56.         $this->displayParentBlock("stylesheets"$context$blocks);
  57.         echo "
  58.  <link rel=\"stylesheet\" href=\"";
  59.         // line 6
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/coworking/css/reservation.css"), "html"nulltrue);
  61.         echo "\" />
  62.  
  63. <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/chosen/1.4.2/chosen.css\" />
  64. <style>
  65.   .modal-backdrop.fade.show {
  66.         display: none;
  67. }
  68.  
  69.  
  70. /* css checkbox*/
  71.   .fs-5{
  72.   font-size: 17px !important;
  73. }
  74. /* css checkbox*/
  75. .title {
  76. font-family: 'Montserrat', sans-serif;
  77. font-weight:bold;
  78. font-size: 12px;
  79. padding-bottom: 0px;
  80. margin-top: 0px;color:black;
  81. }
  82. +
  83. /* hide checkbox */
  84. input[type=\"checkbox\"] {
  85.   display: none;
  86. }
  87. /* if checkbox is checked, then do these things */
  88. input[type=\"checkbox\"]:checked + label {
  89.   color: white;
  90.   background:#FFD86E;
  91.   border-radius: 5px;
  92.   padding: 0px 10px 0px 10px;
  93. }
  94. /* styles when hovering over options */
  95. label:hover {
  96.   cursor: pointer;
  97.   
  98.   /* transitions and animations */
  99.   -webkit-transition: color .5s ease;
  100.   -moz-transition: color .5s ease;
  101.   -ms-transition: color .5s ease;
  102.   -o-transition: color .5s ease;
  103.   transition: color .5s ease;
  104. }
  105.   
  106. input.button {
  107.   
  108. \twidth:130px;
  109. \theight:50px;
  110. \tmargin: 20px 0 30px 0;
  111. \tpadding: 0px 20px 0px 20px;
  112. \tbackground: #e6e6e6;
  113. \tborder-radius:5px;
  114. \tborder: 1px solid #ccc;
  115. \tfont-family: OpenSans, sans-serif;
  116. \tfont-size:16pt;
  117. \tcolor:#444;
  118. }
  119. .Addons label{
  120.     font-size:12px !important;
  121.     font-family: 'roboto';
  122.     font-weight: 500;
  123.     border: 1px solid #80808024;
  124.     margin: 2px;
  125.     padding: 0px 5px 0px 5px;
  126.     border-radius: 5px;
  127. }
  128. .multistep-container .active-button li:not(:first-child) .round-btn:before {
  129.     position: absolute;
  130.     content: '';
  131.     width: 141px;
  132.     height: 3px;
  133.     background-color: #E9F2FA;
  134.     left: -120px;
  135. }
  136. .multistep-container .active-button li {
  137.     display: inline-block;
  138.     width: 140px;
  139. }
  140. .form-check {
  141.     line-height: 16px;
  142. }   
  143. .col-md-12.col-lg-12.col-sm-12.d-flex.justify-content-end.align-items-end.mb-3{
  144.         flex: 0 0 86%;
  145. }
  146.  @media (max-width:767px) {
  147.                 html, body {
  148.                   overflow-x: hidden  !important;
  149.                 }
  150.                 body {
  151.                   position: relative !important;
  152.                 }
  153.                 .col-sm-8.reservation-steeps {
  154.                     padding:0%;
  155.                 }
  156.                 .multistep-container .mutistep-form-area .form-box{
  157.                     position: relative;
  158.                     top: 33px;
  159.                     left: 0px;
  160.                 }
  161.                 .multistep-container .active-button li{
  162.                     display: inline-block;
  163.                     width: 100px;
  164.                 }
  165.                 .panel-sticky{
  166.                     font-size:12px;
  167.                 }
  168.               h6.display-6.header-steeps {
  169.                 margin-left: 3%;
  170.             }
  171.             h6.datetime{
  172.                  margin-left: 3%;
  173.             }
  174.             a#seeDetails {
  175.                 margin-bottom: -11%;
  176.             }
  177.             a#seePrice {
  178.                 float: right;
  179.                 margin-right: 52%;
  180.             }
  181.  }
  182.     
  183.     
  184.     
  185.     @media (max-width:767px) { 
  186.         .multistep-container .mutistep-form-area {
  187.               
  188.               position: relative;
  189.           overflow: hidden;
  190.           min-height: 100%;
  191.           max-height: 100%;
  192.           overflow: none;
  193.         }
  194.         .col-sm-8.reservation-steeps {
  195.             box-shadow: none;
  196.         }
  197.         .multistep-container{
  198.                height: auto !important; 
  199.         }
  200.         
  201.         
  202.         
  203.     }
  204.     
  205.     
  206.     
  207.     
  208.     
  209.     .imageForMobile{
  210.         display:none;
  211.     } 
  212.     .imageForDesktop{
  213.         display:block;
  214.     }
  215.     
  216.     @media (max-width:767px) {
  217.                 
  218.         .imageForDesktop{
  219.             display:none;
  220.         } 
  221.         .imageForMobile{
  222.             display:block;
  223.         }
  224.         
  225.         .col-sm-8.reservation-steeps{
  226.                 top: 0px
  227.         }
  228.         .divCardsForMobile{
  229.             top: 0px !important;
  230.         }
  231.         .multistep-container .mutistep-form-area{
  232.             margin-top: 0px !important;
  233.         }
  234.         
  235.         
  236.         .titre-page{
  237.             padding-left: 10px;
  238.              font-size: 15px !important;
  239.         }
  240.         .divCardsSalleReunionMobile{
  241.             margin-top: 0px !important;
  242.         }
  243.            
  244.          .forMobile{
  245.                 margin-top: 5% !important;
  246.         }
  247.         #btnTarifs{
  248.                 padding: 5px !important;
  249.         }
  250.         .title{
  251.             font-size: 15px !important;
  252.         }
  253.         #btnInformation{
  254.                    width: 170px !important;
  255.                     font-size: 10px !important;
  256.         }
  257.         #btnReservation{
  258.                 font-size: 10px !important;
  259.                 width: 100px!important;
  260.         }
  261.         .bureaux-desc{
  262.             padding: 15px!important;
  263.         }
  264.          .close{
  265.           width:25px !important;
  266.       }
  267.       }
  268.       
  269.       
  270.      
  271.     
  272. </style> 
  273. </style>
  274.   
  275. ";
  276.         
  277.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  278.         
  279.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  280.     }
  281.     // line 236
  282.     public function block_body($context, array $blocks = [])
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  289.         // line 237
  290.         echo 
  291.  
  292.  
  293.  
  294.  
  295.   <img loading=\"lazy\" src=\"";
  296.         // line 243
  297.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/coworking/front/images/background_BUREAUX.png"), "html"nulltrue);
  298.         echo "\" style=\"width: 100%;height: 520px;\" class=\"img-fluid imageForDesktop\" />
  299.     <img loading=\"lazy\" src=\"";
  300.         // line 244
  301.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/coworking/front/images/Bg-bureau-Mobile.png"), "html"nulltrue);
  302.         echo "\" style=\"width: 100%;\" class=\"img-fluid imageForMobile\" />
  303.     
  304.   
  305.   
  306.   
  307.   
  308.   
  309.   <div class=\"container\">
  310.     <div class=\"row\">
  311.       
  312.       <div class=\"col-sm-8 reservation-steeps\" style=\"overflow: hidden;\">
  313.            <div class=\"row\">
  314.                <div class=\"forMobile\" style=\"display: inline-flex;\">
  315.                    
  316.           <div class=\"col-sm-6\">
  317.             <h6 class=\"titre-page\">";
  318.         // line 261
  319.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Réservation bureau", [], "front"), "html"nulltrue);
  320.         echo "</h6>
  321.           </div>
  322.           <div class=\"col-sm-6\">
  323.             <a href=\"/uploads/front-images/LISTEDEPRIXCOWORK2.pdf\" class=\"btn-res text-center text-light text-uppercase bg-dark\"  id=\"btnTarifs\" style=\"float: right;padding: 8px;border-radius: 6px;font-size:13px;\" target=\"_blank\" > Afficher nos tarifs</a>
  324.           </div>
  325.           
  326.           </div>
  327.         </div>
  328.         
  329.         <div class=\"container\">
  330.           <div class=\"row\">
  331.              <div class=\"container d-flex justify-content-center align-items-center\">
  332.   
  333.         </div>
  334.             <div class=\"col-xl-12 divCardsForMobile\" style=\"top: 17px;\" >
  335.               <div class=\"multistep-container\">
  336.                 <div class=\"mutistep-form-area\">
  337.                  
  338.                             <div class=\"container\" style=\"margin-top:40px;\">
  339.                                 <div class=\"panel\">
  340.                                     ";
  341.         // line 284
  342.         $context["displayed_categories"] = [];
  343.         echo "  
  344.                                    ";
  345.         // line 285
  346.         $context['_parent'] = $context;
  347.         $context['_seq'] = twig_ensure_traversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'285$this->source); })()));
  348.         foreach ($context['_seq'] as $context["_key"] => $context["bureau"]) {
  349.             echo 
  350.                                     ";
  351.             // line 286
  352.             $context['_parent'] = $context;
  353.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["bureau"], "categoriesProduct", [], "any"falsefalsefalse286));
  354.             foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
  355.                 // line 287
  356.                 echo "                                     ";
  357.                 if ((!twig_in_filter(twig_get_attribute($this->env$this->source$context["cat"], "name", [], "any"falsefalsefalse287), (isset($context["displayed_categories"]) || array_key_exists("displayed_categories"$context) ? $context["displayed_categories"] : (function () { throw new RuntimeError('Variable "displayed_categories" does not exist.'287$this->source); })())) && (twig_get_attribute($this->env$this->source$context["cat"], "name", [], "any"falsefalsefalse287) != "Services supplémentaires bureaux"))) {
  358.                     // line 288
  359.                     echo "                                     
  360.                                           <div class=\"card-brx row mt-3 panel\" style=\"width:auto; border: none; border-radius:17px; box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.05);\">
  361.                                             <div class=\"col-md-6 col-lg-6 col-sm-12\">
  362.                                               <img loading=\"lazy\" class=\"img-fluid\" src=\"";
  363.                     // line 291
  364.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/coworking/" twig_get_attribute($this->env$this->source$context["cat"], "image", [], "any"falsefalsefalse291))), "html"nulltrue);
  365.                     echo "\" style=\"width:100%; border-radius:6px;margin-top: 10px;\" />
  366.                                             </div>
  367.                 
  368.                                             <div class=\"bureaux-desc col-md-6 col-lg-6 col-sm-12 mt-3\" style=\"font-family:'Roboto',sans-serif; line-height:24px;\">
  369.                                               <div>
  370.                                                     <div style=\"float: right;\">
  371.                                                         
  372.                                                             ";
  373.                     // line 298
  374.                     if ((twig_get_attribute($this->env$this->source$context["cat"], "oldId", [], "any"falsefalsefalse298) == 1)) {
  375.                         // line 299
  376.                         echo "                                                        
  377.                                                               <i class=\"fa fa-user\" style=\"color:black;\"></i><br>
  378.                                                   
  379.                                                             ";
  380.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 302
  381. $context["cat"], "oldId", [], "any"falsefalsefalse302) == 2)) {
  382.                         // line 303
  383.                         echo "                                                           
  384.                                                                         <i class=\"fa fa-user\" style=\"color:black;\"></i> <i class=\"fa fa-user\" style=\"color:black;\"></i><br>
  385.                                                                 
  386.                                                                  ";
  387.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 306
  388. $context["cat"], "oldId", [], "any"falsefalsefalse306) == 4)) {
  389.                         // line 307
  390.                         echo "                                                           
  391.                                                                             <i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><br>
  392.                                                                    ";
  393.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 309
  394. $context["cat"], "oldId", [], "any"falsefalsefalse309) == 0)) {
  395.                         // line 310
  396.                         echo "                                                           
  397.                                                                                 <i class=\"fa fa-user\" style=\"color:black;\"></i><br>
  398.                                                              ";
  399.                     }
  400.                     // line 313
  401.                     echo "                                                 
  402.                                                     </div>
  403.                                                
  404.                                                
  405.                                               <p class=\"fs-5 title\" style=\"font-weight:bold;padding-bottom: 0px;margin-top: 0px;color:black;\" >";
  406.                     // line 317
  407.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["cat"], "name", [], "any"falsefalsefalse317), [], "front"), "html"nulltrue);
  408.                     echo " </p>
  409.                                                
  410.                                                 
  411.                                                 ";
  412.                     // line 320
  413.                     if ((twig_get_attribute($this->env$this->source$context["cat"], "oldId", [], "any"falsefalsefalse320) == 1)) {
  414.                         // line 321
  415.                         echo "                                                    ";
  416.                         $context["priceBureau"] = "300";
  417.                         // line 322
  418.                         echo "                                                ";
  419.                     } elseif ((twig_get_attribute($this->env$this->source$context["cat"], "oldId", [], "any"falsefalsefalse322) == 2)) {
  420.                         // line 323
  421.                         echo "                                                    ";
  422.                         $context["priceBureau"] = "990";
  423.                         // line 324
  424.                         echo "                                                ";
  425.                     } elseif ((twig_get_attribute($this->env$this->source$context["cat"], "oldId", [], "any"falsefalsefalse324) == 4)) {
  426.                         // line 325
  427.                         echo "                                                    ";
  428.                         $context["priceBureau"] = "1900";
  429.                         // line 326
  430.                         echo "                                                ";
  431.                     } else {
  432.                         // line 327
  433.                         echo "                                                  ";
  434.                         $context["priceBureau"] = "220";
  435.                         // line 328
  436.                         echo "                                                ";
  437.                     }
  438.                     // line 329
  439.                     echo "                                                   <a class=\"float-left\" href=\"#\"  id=\"seePrice\" style=\"white-space:nowrap;padding-top: 10px;padding-right: 10px;text-decoration:none;font-size:13px; font-family:'PT Sans', sans-serif; letter-spacing:2px;color: #020202;font-weight: 800;\">À partir de<br> ";
  440.                     echo twig_escape_filter($this->env, (isset($context["priceBureau"]) || array_key_exists("priceBureau"$context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.'329$this->source); })()), "html"nulltrue);
  441.                     echo "* MAD TTC / 
  442.                                                    
  443.                                                 ";
  444.                     // line 331
  445.                     if (((isset($context["priceBureau"]) || array_key_exists("priceBureau"$context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.'331$this->source); })()) == 300)) {
  446.                         // line 332
  447.                         echo "                                                    Journée
  448.                                                 ";
  449.                     } elseif ((                    // line 333
  450. (isset($context["priceBureau"]) || array_key_exists("priceBureau"$context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.'333$this->source); })()) == 990)) {
  451.                         // line 334
  452.                         echo "                                                    3 Jours
  453.                                                 ";
  454.                     } elseif ((                    // line 335
  455. (isset($context["priceBureau"]) || array_key_exists("priceBureau"$context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.'335$this->source); })()) == 1900)) {
  456.                         // line 336
  457.                         echo "                                                    Semaine
  458.                                                 ";
  459.                     } elseif ((                    // line 337
  460. (isset($context["priceBureau"]) || array_key_exists("priceBureau"$context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.'337$this->source); })()) == 220)) {
  461.                         // line 338
  462.                         echo "                                                    Journée
  463.                                                 ";
  464.                     }
  465.                     // line 339
  466.                     echo "  
  467.                                                    
  468.                                                  </a>
  469.                                                        <br><br><br><br>
  470.                                                       
  471.                                                         <a  href=\"#\" data-toggle=\"modal\" id=\"seeDetails\" data-target=\"#aynModal";
  472.                     // line 344
  473.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cat"], "id", [], "any"falsefalsefalse344), "html"nulltrue);
  474.                     echo "\"style=\"padding: 10px;text-decoration: none;width: 129px;font-size: 13px;font-family: 'PT Sans', sans-serif;letter-spacing: 2px;/* float: right; */color: #020202;text-decoration: underline;margin-right: 10px;margin-right: 10px;font-weight: 800;\"><u>Voir Details</u></a>
  475.                                                         <a href=\"";
  476.                     // line 345
  477.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reservationbureauxstep1", ["id" => twig_get_attribute($this->env$this->source$context["cat"], "id", [], "any"falsefalsefalse345)]), "html"nulltrue);
  478.                     echo "\" class=\"btn-res text-center text-light text-uppercase bg-dark ReserveNext__\"   style=\"padding:10px; text-decoration:none; width:230px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;\">Réserver</a>
  479.                                                       
  480.                                                         
  481.                                                <span class=\"title\" style=\"float: right;text-align: center;\" > </span>
  482.                                            
  483.                                               </div>
  484.                                             </div>
  485.                 
  486.                                           </div>
  487.                                   
  488.                                           ";
  489.                 }
  490.                 // line 356
  491.                 echo "                                    ";
  492.                 $context["displayed_categories"] = twig_array_merge((isset($context["displayed_categories"]) || array_key_exists("displayed_categories"$context) ? $context["displayed_categories"] : (function () { throw new RuntimeError('Variable "displayed_categories" does not exist.'356$this->source); })()), [twig_get_attribute($this->env$this->source$context["cat"], "name", [], "any"falsefalsefalse356)]);
  493.                 // line 357
  494.                 echo "                                    
  495.                                 ";
  496.             }
  497.             $_parent $context['_parent'];
  498.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
  499.             $context array_intersect_key($context$_parent) + $_parent;
  500.             // line 358
  501.             echo 
  502.                                 ";
  503.         }
  504.         $_parent $context['_parent'];
  505.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bureau'], $context['_parent'], $context['loop']);
  506.         $context array_intersect_key($context$_parent) + $_parent;
  507.         // line 359
  508.         echo 
  509.                                 </div>
  510.                             
  511.                             </div>
  512.                             
  513.                     </form>
  514.                   </div>
  515.                   <!--  -->
  516.                 </div>
  517.               </div>
  518.             </div>
  519.           </div>
  520.         </div>
  521.         
  522.                                            
  523.                                             
  524.         
  525.                          ";
  526.         // line 376
  527.         $context["displayed_categories"] = [];
  528.         echo "  
  529.                                    ";
  530.         // line 377
  531.         $context['_parent'] = $context;
  532.         $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'377$this->source); })()), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return ((isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'377$this->source); })()) <=> (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'377$this->source); })())); }));
  533.         foreach ($context['_seq'] as $context["_key"] => $context["bureau"]) {
  534.             echo 
  535.                                     ";
  536.             // line 378
  537.             $context['_parent'] = $context;
  538.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["bureau"], "categoriesProduct", [], "any"falsefalsefalse378));
  539.             foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
  540.                 // line 379
  541.                 echo "                                     ";
  542.                 if (!twig_in_filter(twig_get_attribute($this->env$this->source$context["cat"], "name", [], "any"falsefalsefalse379), (isset($context["displayed_categories"]) || array_key_exists("displayed_categories"$context) ? $context["displayed_categories"] : (function () { throw new RuntimeError('Variable "displayed_categories" does not exist.'379$this->source); })()))) {
  543.                     // line 380
  544.                     echo "                           
  545.                                              <div class=\"modal fade\" id=\"aynModal";
  546.                     // line 381
  547.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cat"], "id", [], "any"falsefalsefalse381), "html"nulltrue);
  548.                     echo "\">
  549. \t\t\t\t\t\t\t<div class=\"modal-dialog modal-lg\">
  550. \t\t\t\t\t\t\t\t<div
  551. \t\t\t\t\t\t\t\t\tclass=\"modal-content\">
  552. \t\t\t\t\t\t\t\t\t<!-- Modal Header -->
  553. \t\t\t\t\t\t\t\t\t<div class=\"modal-header\" style=\"justify-content: end;\">
  554. \t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" style=\"background: #ffffff;font-size: 27px;width:30px;border: 1px solid #878787;\">&times;</button>
  555. \t\t\t\t\t\t\t\t\t</div>
  556. \t\t\t\t\t\t\t\t\t<div class=\"container\">
  557. \t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  558. \t\t\t\t\t\t\t\t\t\t  <h2 class=\"mt-3 title \" style=\"font-size:25px; font-weight:bold;\">";
  559.                     // line 393
  560.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cat"], "name", [], "any"falsefalsefalse393), "html"nulltrue);
  561.                     echo "</h2>
  562.                                           <p class=\"text-muted mt-3\"><small>";
  563.                     // line 394
  564.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cat"], "description", [], "any"falsefalsefalse394), "html"nulltrue);
  565.                     echo "</small></p>
  566. \t\t\t\t\t\t\t\t\t\t\t
  567.                                   
  568. \t\t\t\t\t\t\t\t\t\t\t 
  569. \t\t\t\t\t\t\t\t\t\t</div>
  570. \t\t\t\t\t\t\t\t\t\t
  571. \t\t\t\t\t\t\t\t\t\t<!-- Modal body -->
  572. \t\t\t\t\t\t\t\t\t
  573. \t\t\t\t\t\t\t\t\t\t<div class=\"modal-body\">
  574.                                              
  575.                                                 <img loading=\"lazy\" src=\"";
  576.                     // line 405
  577.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/coworking/" twig_get_attribute($this->env$this->source$context["cat"], "image", [], "any"falsefalsefalse405))), "html"nulltrue);
  578.                     echo "\"  id=\"main\">
  579.                                             <div id=\"thumbnails\">
  580.                                                 ";
  581.                     // line 411
  582.                     echo "                                            </div>
  583.                                             
  584. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\" style=\"margin-top:5%;\">
  585. \t\t\t\t\t\t\t\t\t\t\t";
  586.                     // line 422
  587.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-12\">
  588. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"m-1 fs-6\" style=\"font-weight:bold;\">Services</p>
  589. \t\t\t\t\t\t\t\t\t\t\t\t<ul style=\"font-size:12px;\">
  590. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li><b>Restaurant Melliber :</b> Dans une atmosphère conviviale et accueillante, notre restaurant partage gracieusement un bouquet de saveurs, du petit déjeuner au dîner</li>
  591. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Hammam & Spa :</b> Notre spa offre un refuge tranquille avec une variété de soins relaxants. Profitez de massages apaisants, de hammams revigorants et d'autres thérapies régénérantes conçues pour revitaliser votre corps et votre esprit</li>
  592. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Salon de coiffure et de bien-être :</b> Notre salon de beauté et de bien-être propose des services experts de manucure, pédicure et coiffure pour hommes et femmes. C'est l'endroit idéal pour être au meilleur de sa forme.</li>
  593. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Parking :</b> Notre établissement dispose également d'un vaste parking, garantissant un stationnement pratique et sécurisé pour tous nos membres et invités</li>
  594. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Events & Exhibition : </b>Le Cowork&Live by Melliber propose régulièrement des événements variés, allant des concours de cuisine aux séminaires en comptabilité, en passant par des expositions de peinture. Nous créons ainsi un environnement dynamique qui allie travail, apprentissage et culture pour enrichir vos expériences.</li>
  595. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>2 kitchenettes :</b> Nos kitchenettes sont entièrement équipées, y compris des minibars et d'autres commodités, offrant à nos membres tout ce dont ils ont besoin pour une expérience culinaire pratique et agréable</li>
  596. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Salle de Fitness :</b> Notre centre de fitness est équipé d'installations de premier ordre et propose diverses options d'entraînement pour répondre à tous les besoins et préférences.</li>
  597. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Espace gaming :</b> Notre espace de jeux comprend des jeux d'arcade, un baby-foot et une table de billard américain, offrant divertissement et détente à tous nos membres.</li>
  598. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Services suplémetaires :</b> Options additionnelles permettant aux clients de personnaliser leur expérience avec des équipements techniques et des services, pour répondre à des besoins spécifiques lors de la location de salles ou de bureaux</li>
  599. \t\t\t\t\t\t\t\t\t\t\t\t\t\t 
  600. \t\t\t\t\t\t\t\t\t\t\t\t\t 
  601. \t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
  602. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  603. \t\t\t\t\t\t\t\t\t\t\t</div>
  604. \t\t\t\t\t\t\t\t\t\t\t
  605. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  606. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\">
  607. \t\t\t\t\t\t\t\t\t\t\t\t\t
  608.     \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/uploads/front-images/LISTEDEPRIXCOWORK2.pdf\" class=\"\"  target=\"_blank\" id=\"btnInformation\" style=\"padding:10px; text-decoration:none; width:200px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;float:left;margin-top:5%; margin-bottom:5%;font-size: 13px;text-decoration: underline;font-weight: 800;color:black !important;\">
  609.     \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlus d'information
  610.     \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  611. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  612.                     // line 446
  613.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reservationbureauxstep1", ["id" => twig_get_attribute($this->env$this->source$context["cat"], "id", [], "any"falsefalsefalse446)]), "html"nulltrue);
  614.                     echo "\" class=\"btn-res text-center text-light text-uppercase bg-dark\" id=\"btnReservation\"  style=\"padding:10px; text-decoration:none; width:130px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;float:right;margin-top:5%; margin-bottom:5%;\">
  615. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t    Réserver
  616. \t\t\t\t\t\t\t\t\t\t\t\t\t\t    </a>
  617. \t\t\t\t\t\t\t\t\t\t\t\t\t\t
  618. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  619. \t\t\t\t\t\t\t\t\t\t\t\t\t
  620. \t\t\t\t\t\t\t\t\t\t\t\t\t
  621. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  622. \t\t\t\t\t\t\t\t\t\t\t</div>
  623. \t\t\t\t\t\t\t\t\t\t</div>
  624. \t\t\t\t\t\t\t\t\t</div>
  625. \t\t\t\t\t\t\t\t</div>
  626. \t\t\t\t\t\t\t</div>
  627. \t\t\t\t\t\t</div>
  628. \t\t\t\t\t\t";
  629.                 }
  630.                 // line 463
  631.                 echo "                        ";
  632.             }
  633.             $_parent $context['_parent'];
  634.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
  635.             $context array_intersect_key($context$_parent) + $_parent;
  636.             // line 464
  637.             echo "                         ";
  638.         }
  639.         $_parent $context['_parent'];
  640.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bureau'], $context['_parent'], $context['loop']);
  641.         $context array_intersect_key($context$_parent) + $_parent;
  642.         // line 465
  643.         echo "      </div>
  644.     </div>
  645.   
  646.   
  647.   
  648.   
  649.   
  650.   
  651.   
  652.   
  653.     <div class=\"container\">
  654.         <div class=\"row\">
  655.             <div class=\"col-xl-12 text-center\" >
  656.                 <p>*Le prix de revient journalier calculé sur la base d’un abonnement mensuel</p>
  657.             </div>
  658.         </div>
  659.     </div>
  660.   
  661. ";
  662.         
  663.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  664.         
  665.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  666.     }
  667.     // line 489
  668.     public function block_javascripts($context, array $blocks = [])
  669.     {
  670.         $macros $this->macros;
  671.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  672.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  673.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  674.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  675.         // line 490
  676.         echo "  <!-- MAIN CONTENT -->
  677. <script src=\"https://code.jquery.com/jquery-3.4.1.min.js\" integrity=\"sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=\" crossorigin=\"anonymous\"></script>
  678. <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\" integrity=\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\" crossorigin=\"anonymous\"></script>
  679. <script type=\"text/javascript\" src=\"chosen/chosen.jquery.min.js\"></script>
  680. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/chosen/1.4.2/chosen.jquery.js\"></script>
  681.   <script>
  682.        \$(document).ready(function () {
  683.              
  684.       \$(\"#seeDetails\").click(function(){
  685.           \$(\".panel-sticky\").css('z-index','0');
  686.       });
  687.        \$(\".close\").click(function(){
  688.           \$(\".panel-sticky\").css('z-index','9999999');
  689.       });
  690.       \$(\"#selectAdon\").chosen();
  691.       \$('.multistep-container .form-box .button-row .next').click(function () {
  692.         \$(this).parents('.form-box').fadeOut('fast')
  693.         \$(this).parents('.form-box').next().fadeIn('fast')
  694.       })
  695.       \$('.multistep-container .form-box .button-row .previous').click(function () {
  696.         \$(this).parents('.form-box').fadeOut('fast')
  697.         \$(this).parents('.form-box').prev().fadeIn('fast')
  698.       })
  699.       
  700.     
  701.       
  702.        \$('.ReserveNext').click(function () {
  703.         \$(this).parents('.form-box').fadeOut('fast')
  704.         \$(this).parents('.form-box').next().fadeIn('fast')
  705.       })
  706.       \$('.ReservePrevious').click(function () {
  707.         \$(this).parents('.form-box').fadeOut('fast')
  708.         \$(this).parents('.form-box').prev().fadeIn('fast')
  709.       })
  710.     
  711.     
  712.     \$('#demo').daterangepicker({
  713.     \"showISOWeekNumbers\": true,
  714.     \"timePicker\": true,
  715.     \"autoUpdateInput\": true,
  716.     \"locale\": {
  717.         \"cancelLabel\": 'Clear',
  718.         \"format\": \"MMMM DD, YYYY @ h:mm A\",
  719.         \"separator\": \" - \",
  720.         \"applyLabel\": \"Apply\",
  721.         \"cancelLabel\": \"Cancel\",
  722.         \"fromLabel\": \"From\",
  723.         \"toLabel\": \"To\",
  724.         \"customRangeLabel\": \"Custom\",
  725.         \"weekLabel\": \"W\",
  726.         \"daysOfWeek\": [
  727.             \"Su\",
  728.             \"Mo\",
  729.             \"Tu\",
  730.             \"We\",
  731.             \"Th\",
  732.             \"Fr\",
  733.             \"Sa\"
  734.         ],
  735.         \"monthNames\": [
  736.             \"January\",
  737.             \"February\",
  738.             \"March\",
  739.             \"April\",
  740.             \"May\",
  741.             \"June\",
  742.             \"July\",
  743.             \"August\",
  744.             \"September\",
  745.             \"October\",
  746.             \"November\",
  747.             \"December\"
  748.         ],
  749.         \"firstDay\": 1
  750.     },
  751.     \"linkedCalendars\": true,
  752.     \"showCustomRangeLabel\": false,
  753.     \"startDate\": 1,
  754.     \"endDate\": \"December 31, 2016 @ h:mm A\",
  755.     \"opens\": \"center\"
  756. });
  757.     
  758.     
  759.     /**/
  760.     
  761.     \$('#categorie-bureaux').change(function() {
  762.         var selectedOption = \$(this).val();
  763.         \$.ajax({
  764.             url: '/ajax/getbureauajax',
  765.             type: 'GET',
  766.             data: {
  767.                 selected_option: selectedOption,
  768.             },
  769.             success: function(response) {
  770.                 console.log(\"Ajax request successful\");
  771.                 // Clear the container first, if needed
  772.                 \$('.container-bureau').empty();
  773.                 // Iterate over each bureau in the response and insert them into the container
  774.                 response.bureaux.forEach(function(bureau) {
  775.                     var bureauHtml = `
  776.                       <div class=\"card-brx row mt-3\" style=\"width:auto; border: none; border-radius:17px; box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.05);\">
  777.                         <div class=\"col-md-4 col-lg-4 col-sm-12\">
  778.                           <img loading=\"lazy\" class=\"img-fluid\" src=\"\${bureau.image}\" style=\"width:90%; border-radius:6px;margin-top: 10px;\" />
  779.                         </div>
  780.                         <div class=\"bureaux-desc col-md-8 col-lg-8 col-sm-12 mt-3\" style=\"font-family:'Roboto',sans-serif; line-height:24px;\">
  781.                           <div>
  782.                             <img loading=\"lazy\" src=\"";
  783.         // line 605
  784.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/front/images/usershands.png"), "html"nulltrue);
  785.         echo "\" style=\"float: right;\" />
  786.                             <p class=\"fs-5\" style=\"font-family: Roboto;font-weight:bold;\">\${bureau.title}</p>
  787.                             <p style=\"color:rgba(51, 51, 51, 1);\">
  788.                               <i class=\"fa-solid fs-6 fa-location-dot\"></i> <span class=\"m-1 fs-6\" style=\"font-weight:400;\">\${bureau.location}</span>
  789.                             </p>
  790.                             <div style=\"color:rgba(107, 111, 123, 1); line-height:20px; font-size:13px; font-weight:400;\">
  791.                               <p>\${bureau.description1}</p>
  792.                               <p>
  793.                                 <i class=\"fa-regular fa-lightbulb fs-6\" style=\"color: #e2b653; \"></i> <span>Ideal pour: \${bureau.description}</span>
  794.                               </p>
  795.                             </div>
  796.                           </div>
  797.                         </div>
  798.                         <div class=\"col-md-12 col-lg-12 col-sm-12 d-flex justify-content-center align-items-end mb-3\">
  799.                           <a class=\"btn-res text-center text-light text-uppercase bg-dark\" href=\"\${bureau.reservationLink}\" style=\"padding:10px; text-decoration:none; width:230px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;\">Réserver</a>
  800.                         </div>
  801.                       </div>
  802.                     `;
  803.                     \$('.container-bureau').append(bureauHtml);
  804.                 });
  805.                 // Rest of your code
  806.             },
  807.             error: function(xhr, status, error) {
  808.                 // Handle any error that occurred during the AJAX request
  809.                 console.error(error);
  810.             }
  811.         });
  812.     });
  813.     
  814.     /***/
  815.       
  816.       
  817.     //   alert(\"frfr\");
  818.     var thumbnails = document.getElementById(\"thumbnails\")
  819. var imgs = thumbnails.getElementsByTagName(\"img\")
  820. var main = document.getElementById(\"main\")
  821. var counter=0;
  822. for(let i=0;i<imgs.length;i++){
  823.   let img=imgs[i]
  824.   
  825.   
  826.   img.addEventListener(\"click\",function(){
  827.   main.src=this.src
  828. })
  829.   
  830. }
  831.     });
  832.     
  833.     
  834.     
  835.     
  836.     
  837.     
  838.     /**/
  839.       var stickyHeaders = (function() {
  840.   var \$window = \$(window),
  841.       \$stickies;
  842.   var load = function(stickies) {
  843.     if (typeof stickies === \"object\" && stickies instanceof jQuery && stickies.length > 0) {
  844.       \$stickies = stickies.each(function() {
  845.         var \$thisSticky = \$(this).wrap('<div class=\"followWrap\" />');
  846.   
  847.         \$thisSticky
  848.             .data('originalPosition', \$thisSticky.offset().top)
  849.             .data('originalHeight', \$thisSticky.outerHeight())
  850.               .parent()
  851.               .height(\$thisSticky.outerHeight()); \t\t\t  
  852.       });
  853.       \$window.off(\"scroll.stickies\").on(\"scroll.stickies\", function() {
  854. \t\t  _whenScrolling();\t\t
  855.       });
  856.     }
  857.   };
  858.   var _whenScrolling = function() {
  859.     \$stickies.each(function(i) {\t\t\t
  860.       var \$thisSticky = \$(this),
  861.           \$stickyPosition = \$thisSticky.data('originalPosition');
  862.       
  863.       console.log(\$thisSticky.data('num') + ' is at' + \$stickyPosition);
  864.       if (\$stickyPosition <= \$window.scrollTop()) {        
  865.         
  866.         var \$nextSticky = \$stickies.eq(i + 1),
  867.             \$nextStickyPosition = \$nextSticky.data('originalPosition') - \$thisSticky.data('originalHeight');
  868.         \$thisSticky.addClass(\"fixed\");
  869.         if (\$nextSticky.length > 0 && \$thisSticky.offset().top >= \$nextStickyPosition) {
  870.           \$thisSticky.addClass(\"absolute\").css(\"top\", \$nextStickyPosition);
  871.         }
  872.       } else {
  873.         
  874.         var \$prevSticky = \$stickies.eq(i - 1);
  875.         \$thisSticky.removeClass(\"fixed\");
  876.         if (\$prevSticky.length > 0 && \$window.scrollTop() <= \$thisSticky.data('originalPosition') - \$thisSticky.data('originalHeight')) {
  877.           \$prevSticky.removeClass(\"absolute\").removeAttr(\"style\");
  878.         }
  879.       }
  880.     });
  881.   };
  882.   return {
  883.     load: load
  884.   };
  885. })();
  886. \$(function() {
  887.   stickyHeaders.load(\$(\".followMeBar\"));
  888. });
  889.   </script>
  890. ";
  891.         
  892.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  893.         
  894.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  895.     }
  896.     public function getTemplateName()
  897.     {
  898.         return "@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig";
  899.     }
  900.     public function isTraitable()
  901.     {
  902.         return false;
  903.     }
  904.     public function getDebugInfo()
  905.     {
  906.         return array (  842 => 605,  725 => 490,  715 => 489,  687 => 465,  681 => 464,  675 => 463,  655 => 446,  629 => 422,  624 => 411,  619 => 405,  605 => 394,  601 => 393,  586 => 381,  583 => 380,  580 => 379,  576 => 378,  570 => 377,  566 => 376,  547 => 359,  540 => 358,  533 => 357,  530 => 356,  516 => 345,  512 => 344,  505 => 339,  501 => 338,  499 => 337,  496 => 336,  494 => 335,  491 => 334,  489 => 333,  486 => 332,  484 => 331,  478 => 329,  475 => 328,  472 => 327,  469 => 326,  466 => 325,  463 => 324,  460 => 323,  457 => 322,  454 => 321,  452 => 320,  446 => 317,  440 => 313,  435 => 310,  433 => 309,  429 => 307,  427 => 306,  422 => 303,  420 => 302,  415 => 299,  413 => 298,  403 => 291,  398 => 288,  395 => 287,  391 => 286,  385 => 285,  381 => 284,  355 => 261,  335 => 244,  331 => 243,  323 => 237,  313 => 236,  74 => 6,  70 => 5,  60 => 4,  37 => 1,);
  907.     }
  908.     public function getSourceContext()
  909.     {
  910.         return new Source("{% extends '@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig' %}
  911. {% block stylesheets %}
  912. {{ parent() }}
  913.  <link rel=\"stylesheet\" href=\"{{ asset('themes/coworking/css/reservation.css') }}\" />
  914.  
  915. <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/chosen/1.4.2/chosen.css\" />
  916. <style>
  917.   .modal-backdrop.fade.show {
  918.         display: none;
  919. }
  920.  
  921.  
  922. /* css checkbox*/
  923.   .fs-5{
  924.   font-size: 17px !important;
  925. }
  926. /* css checkbox*/
  927. .title {
  928. font-family: 'Montserrat', sans-serif;
  929. font-weight:bold;
  930. font-size: 12px;
  931. padding-bottom: 0px;
  932. margin-top: 0px;color:black;
  933. }
  934. +
  935. /* hide checkbox */
  936. input[type=\"checkbox\"] {
  937.   display: none;
  938. }
  939. /* if checkbox is checked, then do these things */
  940. input[type=\"checkbox\"]:checked + label {
  941.   color: white;
  942.   background:#FFD86E;
  943.   border-radius: 5px;
  944.   padding: 0px 10px 0px 10px;
  945. }
  946. /* styles when hovering over options */
  947. label:hover {
  948.   cursor: pointer;
  949.   
  950.   /* transitions and animations */
  951.   -webkit-transition: color .5s ease;
  952.   -moz-transition: color .5s ease;
  953.   -ms-transition: color .5s ease;
  954.   -o-transition: color .5s ease;
  955.   transition: color .5s ease;
  956. }
  957.   
  958. input.button {
  959.   
  960. \twidth:130px;
  961. \theight:50px;
  962. \tmargin: 20px 0 30px 0;
  963. \tpadding: 0px 20px 0px 20px;
  964. \tbackground: #e6e6e6;
  965. \tborder-radius:5px;
  966. \tborder: 1px solid #ccc;
  967. \tfont-family: OpenSans, sans-serif;
  968. \tfont-size:16pt;
  969. \tcolor:#444;
  970. }
  971. .Addons label{
  972.     font-size:12px !important;
  973.     font-family: 'roboto';
  974.     font-weight: 500;
  975.     border: 1px solid #80808024;
  976.     margin: 2px;
  977.     padding: 0px 5px 0px 5px;
  978.     border-radius: 5px;
  979. }
  980. .multistep-container .active-button li:not(:first-child) .round-btn:before {
  981.     position: absolute;
  982.     content: '';
  983.     width: 141px;
  984.     height: 3px;
  985.     background-color: #E9F2FA;
  986.     left: -120px;
  987. }
  988. .multistep-container .active-button li {
  989.     display: inline-block;
  990.     width: 140px;
  991. }
  992. .form-check {
  993.     line-height: 16px;
  994. }   
  995. .col-md-12.col-lg-12.col-sm-12.d-flex.justify-content-end.align-items-end.mb-3{
  996.         flex: 0 0 86%;
  997. }
  998.  @media (max-width:767px) {
  999.                 html, body {
  1000.                   overflow-x: hidden  !important;
  1001.                 }
  1002.                 body {
  1003.                   position: relative !important;
  1004.                 }
  1005.                 .col-sm-8.reservation-steeps {
  1006.                     padding:0%;
  1007.                 }
  1008.                 .multistep-container .mutistep-form-area .form-box{
  1009.                     position: relative;
  1010.                     top: 33px;
  1011.                     left: 0px;
  1012.                 }
  1013.                 .multistep-container .active-button li{
  1014.                     display: inline-block;
  1015.                     width: 100px;
  1016.                 }
  1017.                 .panel-sticky{
  1018.                     font-size:12px;
  1019.                 }
  1020.               h6.display-6.header-steeps {
  1021.                 margin-left: 3%;
  1022.             }
  1023.             h6.datetime{
  1024.                  margin-left: 3%;
  1025.             }
  1026.             a#seeDetails {
  1027.                 margin-bottom: -11%;
  1028.             }
  1029.             a#seePrice {
  1030.                 float: right;
  1031.                 margin-right: 52%;
  1032.             }
  1033.  }
  1034.     
  1035.     
  1036.     
  1037.     @media (max-width:767px) { 
  1038.         .multistep-container .mutistep-form-area {
  1039.               
  1040.               position: relative;
  1041.           overflow: hidden;
  1042.           min-height: 100%;
  1043.           max-height: 100%;
  1044.           overflow: none;
  1045.         }
  1046.         .col-sm-8.reservation-steeps {
  1047.             box-shadow: none;
  1048.         }
  1049.         .multistep-container{
  1050.                height: auto !important; 
  1051.         }
  1052.         
  1053.         
  1054.         
  1055.     }
  1056.     
  1057.     
  1058.     
  1059.     
  1060.     
  1061.     .imageForMobile{
  1062.         display:none;
  1063.     } 
  1064.     .imageForDesktop{
  1065.         display:block;
  1066.     }
  1067.     
  1068.     @media (max-width:767px) {
  1069.                 
  1070.         .imageForDesktop{
  1071.             display:none;
  1072.         } 
  1073.         .imageForMobile{
  1074.             display:block;
  1075.         }
  1076.         
  1077.         .col-sm-8.reservation-steeps{
  1078.                 top: 0px
  1079.         }
  1080.         .divCardsForMobile{
  1081.             top: 0px !important;
  1082.         }
  1083.         .multistep-container .mutistep-form-area{
  1084.             margin-top: 0px !important;
  1085.         }
  1086.         
  1087.         
  1088.         .titre-page{
  1089.             padding-left: 10px;
  1090.              font-size: 15px !important;
  1091.         }
  1092.         .divCardsSalleReunionMobile{
  1093.             margin-top: 0px !important;
  1094.         }
  1095.            
  1096.          .forMobile{
  1097.                 margin-top: 5% !important;
  1098.         }
  1099.         #btnTarifs{
  1100.                 padding: 5px !important;
  1101.         }
  1102.         .title{
  1103.             font-size: 15px !important;
  1104.         }
  1105.         #btnInformation{
  1106.                    width: 170px !important;
  1107.                     font-size: 10px !important;
  1108.         }
  1109.         #btnReservation{
  1110.                 font-size: 10px !important;
  1111.                 width: 100px!important;
  1112.         }
  1113.         .bureaux-desc{
  1114.             padding: 15px!important;
  1115.         }
  1116.          .close{
  1117.           width:25px !important;
  1118.       }
  1119.       }
  1120.       
  1121.       
  1122.      
  1123.     
  1124. </style> 
  1125. </style>
  1126.   
  1127. {% endblock  %}
  1128.  
  1129. {% block body %}
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.   <img loading=\"lazy\" src=\"{{asset('themes/coworking/front/images/background_BUREAUX.png')}}\" style=\"width: 100%;height: 520px;\" class=\"img-fluid imageForDesktop\" />
  1136.     <img loading=\"lazy\" src=\"{{asset('themes/coworking/front/images/Bg-bureau-Mobile.png')}}\" style=\"width: 100%;\" class=\"img-fluid imageForMobile\" />
  1137.     
  1138.   
  1139.   
  1140.   
  1141.   
  1142.   
  1143.   <div class=\"container\">
  1144.     <div class=\"row\">
  1145.       
  1146.       <div class=\"col-sm-8 reservation-steeps\" style=\"overflow: hidden;\">
  1147.            <div class=\"row\">
  1148.                <div class=\"forMobile\" style=\"display: inline-flex;\">
  1149.                    
  1150.           <div class=\"col-sm-6\">
  1151.             <h6 class=\"titre-page\">{{ \"Réservation bureau\"|trans({},\"front\") }}</h6>
  1152.           </div>
  1153.           <div class=\"col-sm-6\">
  1154.             <a href=\"/uploads/front-images/LISTEDEPRIXCOWORK2.pdf\" class=\"btn-res text-center text-light text-uppercase bg-dark\"  id=\"btnTarifs\" style=\"float: right;padding: 8px;border-radius: 6px;font-size:13px;\" target=\"_blank\" > Afficher nos tarifs</a>
  1155.           </div>
  1156.           
  1157.           </div>
  1158.         </div>
  1159.         
  1160.         <div class=\"container\">
  1161.           <div class=\"row\">
  1162.              <div class=\"container d-flex justify-content-center align-items-center\">
  1163.   
  1164.         </div>
  1165.             <div class=\"col-xl-12 divCardsForMobile\" style=\"top: 17px;\" >
  1166.               <div class=\"multistep-container\">
  1167.                 <div class=\"mutistep-form-area\">
  1168.                  
  1169.                             <div class=\"container\" style=\"margin-top:40px;\">
  1170.                                 <div class=\"panel\">
  1171.                                     {% set displayed_categories = [] %}  
  1172.                                    {% for bureau in products   %} 
  1173.                                     {% for cat in bureau.categoriesProduct   %}
  1174.                                      {% if cat.name not in displayed_categories and cat.name != \"Services supplémentaires bureaux\" %}
  1175.                                      
  1176.                                           <div class=\"card-brx row mt-3 panel\" style=\"width:auto; border: none; border-radius:17px; box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.05);\">
  1177.                                             <div class=\"col-md-6 col-lg-6 col-sm-12\">
  1178.                                               <img loading=\"lazy\" class=\"img-fluid\" src=\"{{ asset('uploads/coworking/' ~ cat.image) }}\" style=\"width:100%; border-radius:6px;margin-top: 10px;\" />
  1179.                                             </div>
  1180.                 
  1181.                                             <div class=\"bureaux-desc col-md-6 col-lg-6 col-sm-12 mt-3\" style=\"font-family:'Roboto',sans-serif; line-height:24px;\">
  1182.                                               <div>
  1183.                                                     <div style=\"float: right;\">
  1184.                                                         
  1185.                                                             {%  if  cat.oldId  == 1 %}
  1186.                                                         
  1187.                                                               <i class=\"fa fa-user\" style=\"color:black;\"></i><br>
  1188.                                                   
  1189.                                                             {% elseif  cat.oldId  == 2 %}
  1190.                                                            
  1191.                                                                         <i class=\"fa fa-user\" style=\"color:black;\"></i> <i class=\"fa fa-user\" style=\"color:black;\"></i><br>
  1192.                                                                 
  1193.                                                                  {% elseif  cat.oldId   == 4 %}
  1194.                                                            
  1195.                                                                             <i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><br>
  1196.                                                                    {% elseif  cat.oldId   == 0 %}
  1197.                                                            
  1198.                                                                                 <i class=\"fa fa-user\" style=\"color:black;\"></i><br>
  1199.                                                              {% endif %}
  1200.                                                  
  1201.                                                     </div>
  1202.                                                
  1203.                                                
  1204.                                               <p class=\"fs-5 title\" style=\"font-weight:bold;padding-bottom: 0px;margin-top: 0px;color:black;\" >{{ cat.name|trans({},\"front\") }} </p>
  1205.                                                
  1206.                                                 
  1207.                                                 {% if cat.oldId  == 1 %}
  1208.                                                     {% set priceBureau = \"300\" %}
  1209.                                                 {% elseif cat.oldId  == 2 %}
  1210.                                                     {% set priceBureau = \"990\" %}
  1211.                                                 {% elseif cat.oldId  == 4 %}
  1212.                                                     {% set priceBureau = \"1900\" %}
  1213.                                                 {% else  %}
  1214.                                                   {% set priceBureau = \"220\" %}
  1215.                                                 {% endif %}
  1216.                                                    <a class=\"float-left\" href=\"#\"  id=\"seePrice\" style=\"white-space:nowrap;padding-top: 10px;padding-right: 10px;text-decoration:none;font-size:13px; font-family:'PT Sans', sans-serif; letter-spacing:2px;color: #020202;font-weight: 800;\">À partir de<br> {{priceBureau}}* MAD TTC / 
  1217.                                                    
  1218.                                                 {% if priceBureau == 300 %}
  1219.                                                     Journée
  1220.                                                 {% elseif priceBureau == 990  %}
  1221.                                                     3 Jours
  1222.                                                 {% elseif priceBureau == 1900  %}
  1223.                                                     Semaine
  1224.                                                 {% elseif priceBureau == 220  %}
  1225.                                                     Journée
  1226.                                                 {% endif %}  
  1227.                                                    
  1228.                                                  </a>
  1229.                                                        <br><br><br><br>
  1230.                                                       
  1231.                                                         <a  href=\"#\" data-toggle=\"modal\" id=\"seeDetails\" data-target=\"#aynModal{{ cat.id }}\"style=\"padding: 10px;text-decoration: none;width: 129px;font-size: 13px;font-family: 'PT Sans', sans-serif;letter-spacing: 2px;/* float: right; */color: #020202;text-decoration: underline;margin-right: 10px;margin-right: 10px;font-weight: 800;\"><u>Voir Details</u></a>
  1232.                                                         <a href=\"{{path(\"reservationbureauxstep1\",{id:cat.id})}}\" class=\"btn-res text-center text-light text-uppercase bg-dark ReserveNext__\"   style=\"padding:10px; text-decoration:none; width:230px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;\">Réserver</a>
  1233.                                                       
  1234.                                                         
  1235.                                                <span class=\"title\" style=\"float: right;text-align: center;\" > </span>
  1236.                                            
  1237.                                               </div>
  1238.                                             </div>
  1239.                 
  1240.                                           </div>
  1241.                                   
  1242.                                           {% endif %}
  1243.                                     {% set displayed_categories = displayed_categories|merge([cat.name]) %}
  1244.                                     
  1245.                                 {% endfor %} 
  1246.                                 {% endfor %} 
  1247.                                 </div>
  1248.                             
  1249.                             </div>
  1250.                             
  1251.                     </form>
  1252.                   </div>
  1253.                   <!--  -->
  1254.                 </div>
  1255.               </div>
  1256.             </div>
  1257.           </div>
  1258.         </div>
  1259.         
  1260.                                            
  1261.                                             
  1262.         
  1263.                          {% set displayed_categories = [] %}  
  1264.                                    {% for bureau in products|sort((a, b) => b <=> a)   %} 
  1265.                                     {% for cat in bureau.categoriesProduct   %}
  1266.                                      {% if cat.name not in displayed_categories %}
  1267.                            
  1268.                                              <div class=\"modal fade\" id=\"aynModal{{cat.id}}\">
  1269. \t\t\t\t\t\t\t<div class=\"modal-dialog modal-lg\">
  1270. \t\t\t\t\t\t\t\t<div
  1271. \t\t\t\t\t\t\t\t\tclass=\"modal-content\">
  1272. \t\t\t\t\t\t\t\t\t<!-- Modal Header -->
  1273. \t\t\t\t\t\t\t\t\t<div class=\"modal-header\" style=\"justify-content: end;\">
  1274. \t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" style=\"background: #ffffff;font-size: 27px;width:30px;border: 1px solid #878787;\">&times;</button>
  1275. \t\t\t\t\t\t\t\t\t</div>
  1276. \t\t\t\t\t\t\t\t\t<div class=\"container\">
  1277. \t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1278. \t\t\t\t\t\t\t\t\t\t  <h2 class=\"mt-3 title \" style=\"font-size:25px; font-weight:bold;\">{{ cat.name }}</h2>
  1279.                                           <p class=\"text-muted mt-3\"><small>{{ cat.description }}</small></p>
  1280. \t\t\t\t\t\t\t\t\t\t\t
  1281.                                   
  1282. \t\t\t\t\t\t\t\t\t\t\t 
  1283. \t\t\t\t\t\t\t\t\t\t</div>
  1284. \t\t\t\t\t\t\t\t\t\t
  1285. \t\t\t\t\t\t\t\t\t\t<!-- Modal body -->
  1286. \t\t\t\t\t\t\t\t\t
  1287. \t\t\t\t\t\t\t\t\t\t<div class=\"modal-body\">
  1288.                                              
  1289.                                                 <img loading=\"lazy\" src=\"{{ asset('uploads/coworking/' ~ cat.image) }}\"  id=\"main\">
  1290.                                             <div id=\"thumbnails\">
  1291.                                                 {# {% for image in bureau.images  %} 
  1292.                                               <img loading=\"lazy\" src=\"/uploads/coworking/detail/{{image.path}}\" alt=\"Bridge\">
  1293.                    
  1294.                                             {% endfor %}#}
  1295.                                             </div>
  1296.                                             
  1297. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\" style=\"margin-top:5%;\">
  1298. \t\t\t\t\t\t\t\t\t\t\t{#\t<div class=\"col-sm-6\">
  1299. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"m-1 fs-6\" style=\"font-weight:bold;\">
  1300. \t\t\t\t\t\t\t\t\t\t\t\t\t\tÉquipements</p>
  1301. \t\t\t\t\t\t\t\t\t\t\t\t\t<ul style=\"font-size:12px;\">
  1302. \t\t\t\t\t\t\t\t\t\t\t\t \t<li></li>
  1303. \t\t\t\t\t\t\t\t\t\t\t\t\t\t 
  1304. \t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
  1305. \t\t\t\t\t\t\t\t\t\t\t\t</div>#}
  1306. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-12\">
  1307. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"m-1 fs-6\" style=\"font-weight:bold;\">Services</p>
  1308. \t\t\t\t\t\t\t\t\t\t\t\t<ul style=\"font-size:12px;\">
  1309. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li><b>Restaurant Melliber :</b> Dans une atmosphère conviviale et accueillante, notre restaurant partage gracieusement un bouquet de saveurs, du petit déjeuner au dîner</li>
  1310. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Hammam & Spa :</b> Notre spa offre un refuge tranquille avec une variété de soins relaxants. Profitez de massages apaisants, de hammams revigorants et d'autres thérapies régénérantes conçues pour revitaliser votre corps et votre esprit</li>
  1311. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Salon de coiffure et de bien-être :</b> Notre salon de beauté et de bien-être propose des services experts de manucure, pédicure et coiffure pour hommes et femmes. C'est l'endroit idéal pour être au meilleur de sa forme.</li>
  1312. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Parking :</b> Notre établissement dispose également d'un vaste parking, garantissant un stationnement pratique et sécurisé pour tous nos membres et invités</li>
  1313. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Events & Exhibition : </b>Le Cowork&Live by Melliber propose régulièrement des événements variés, allant des concours de cuisine aux séminaires en comptabilité, en passant par des expositions de peinture. Nous créons ainsi un environnement dynamique qui allie travail, apprentissage et culture pour enrichir vos expériences.</li>
  1314. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>2 kitchenettes :</b> Nos kitchenettes sont entièrement équipées, y compris des minibars et d'autres commodités, offrant à nos membres tout ce dont ils ont besoin pour une expérience culinaire pratique et agréable</li>
  1315. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Salle de Fitness :</b> Notre centre de fitness est équipé d'installations de premier ordre et propose diverses options d'entraînement pour répondre à tous les besoins et préférences.</li>
  1316. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Espace gaming :</b> Notre espace de jeux comprend des jeux d'arcade, un baby-foot et une table de billard américain, offrant divertissement et détente à tous nos membres.</li>
  1317. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Services suplémetaires :</b> Options additionnelles permettant aux clients de personnaliser leur expérience avec des équipements techniques et des services, pour répondre à des besoins spécifiques lors de la location de salles ou de bureaux</li>
  1318. \t\t\t\t\t\t\t\t\t\t\t\t\t\t 
  1319. \t\t\t\t\t\t\t\t\t\t\t\t\t 
  1320. \t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
  1321. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1322. \t\t\t\t\t\t\t\t\t\t\t</div>
  1323. \t\t\t\t\t\t\t\t\t\t\t
  1324. \t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1325. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\">
  1326. \t\t\t\t\t\t\t\t\t\t\t\t\t
  1327.     \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/uploads/front-images/LISTEDEPRIXCOWORK2.pdf\" class=\"\"  target=\"_blank\" id=\"btnInformation\" style=\"padding:10px; text-decoration:none; width:200px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;float:left;margin-top:5%; margin-bottom:5%;font-size: 13px;text-decoration: underline;font-weight: 800;color:black !important;\">
  1328.     \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlus d'information
  1329.     \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  1330. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{path(\"reservationbureauxstep1\",{id:cat.id})}}\" class=\"btn-res text-center text-light text-uppercase bg-dark\" id=\"btnReservation\"  style=\"padding:10px; text-decoration:none; width:130px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;float:right;margin-top:5%; margin-bottom:5%;\">
  1331. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t    Réserver
  1332. \t\t\t\t\t\t\t\t\t\t\t\t\t\t    </a>
  1333. \t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1334. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1335. \t\t\t\t\t\t\t\t\t\t\t\t\t
  1336. \t\t\t\t\t\t\t\t\t\t\t\t\t
  1337. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1338. \t\t\t\t\t\t\t\t\t\t\t</div>
  1339. \t\t\t\t\t\t\t\t\t\t</div>
  1340. \t\t\t\t\t\t\t\t\t</div>
  1341. \t\t\t\t\t\t\t\t</div>
  1342. \t\t\t\t\t\t\t</div>
  1343. \t\t\t\t\t\t</div>
  1344. \t\t\t\t\t\t{%  endif  %}
  1345.                         {%  endfor  %}
  1346.                          {%  endfor  %}
  1347.       </div>
  1348.     </div>
  1349.   
  1350.   
  1351.   
  1352.   
  1353.   
  1354.   
  1355.   
  1356.   
  1357.     <div class=\"container\">
  1358.         <div class=\"row\">
  1359.             <div class=\"col-xl-12 text-center\" >
  1360.                 <p>*Le prix de revient journalier calculé sur la base d’un abonnement mensuel</p>
  1361.             </div>
  1362.         </div>
  1363.     </div>
  1364.   
  1365. {% endblock %}
  1366. {% block javascripts %}
  1367.   <!-- MAIN CONTENT -->
  1368. <script src=\"https://code.jquery.com/jquery-3.4.1.min.js\" integrity=\"sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=\" crossorigin=\"anonymous\"></script>
  1369. <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\" integrity=\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\" crossorigin=\"anonymous\"></script>
  1370. <script type=\"text/javascript\" src=\"chosen/chosen.jquery.min.js\"></script>
  1371. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/chosen/1.4.2/chosen.jquery.js\"></script>
  1372.   <script>
  1373.        \$(document).ready(function () {
  1374.              
  1375.       \$(\"#seeDetails\").click(function(){
  1376.           \$(\".panel-sticky\").css('z-index','0');
  1377.       });
  1378.        \$(\".close\").click(function(){
  1379.           \$(\".panel-sticky\").css('z-index','9999999');
  1380.       });
  1381.       \$(\"#selectAdon\").chosen();
  1382.       \$('.multistep-container .form-box .button-row .next').click(function () {
  1383.         \$(this).parents('.form-box').fadeOut('fast')
  1384.         \$(this).parents('.form-box').next().fadeIn('fast')
  1385.       })
  1386.       \$('.multistep-container .form-box .button-row .previous').click(function () {
  1387.         \$(this).parents('.form-box').fadeOut('fast')
  1388.         \$(this).parents('.form-box').prev().fadeIn('fast')
  1389.       })
  1390.       
  1391.     
  1392.       
  1393.        \$('.ReserveNext').click(function () {
  1394.         \$(this).parents('.form-box').fadeOut('fast')
  1395.         \$(this).parents('.form-box').next().fadeIn('fast')
  1396.       })
  1397.       \$('.ReservePrevious').click(function () {
  1398.         \$(this).parents('.form-box').fadeOut('fast')
  1399.         \$(this).parents('.form-box').prev().fadeIn('fast')
  1400.       })
  1401.     
  1402.     
  1403.     \$('#demo').daterangepicker({
  1404.     \"showISOWeekNumbers\": true,
  1405.     \"timePicker\": true,
  1406.     \"autoUpdateInput\": true,
  1407.     \"locale\": {
  1408.         \"cancelLabel\": 'Clear',
  1409.         \"format\": \"MMMM DD, YYYY @ h:mm A\",
  1410.         \"separator\": \" - \",
  1411.         \"applyLabel\": \"Apply\",
  1412.         \"cancelLabel\": \"Cancel\",
  1413.         \"fromLabel\": \"From\",
  1414.         \"toLabel\": \"To\",
  1415.         \"customRangeLabel\": \"Custom\",
  1416.         \"weekLabel\": \"W\",
  1417.         \"daysOfWeek\": [
  1418.             \"Su\",
  1419.             \"Mo\",
  1420.             \"Tu\",
  1421.             \"We\",
  1422.             \"Th\",
  1423.             \"Fr\",
  1424.             \"Sa\"
  1425.         ],
  1426.         \"monthNames\": [
  1427.             \"January\",
  1428.             \"February\",
  1429.             \"March\",
  1430.             \"April\",
  1431.             \"May\",
  1432.             \"June\",
  1433.             \"July\",
  1434.             \"August\",
  1435.             \"September\",
  1436.             \"October\",
  1437.             \"November\",
  1438.             \"December\"
  1439.         ],
  1440.         \"firstDay\": 1
  1441.     },
  1442.     \"linkedCalendars\": true,
  1443.     \"showCustomRangeLabel\": false,
  1444.     \"startDate\": 1,
  1445.     \"endDate\": \"December 31, 2016 @ h:mm A\",
  1446.     \"opens\": \"center\"
  1447. });
  1448.     
  1449.     
  1450.     /**/
  1451.     
  1452.     \$('#categorie-bureaux').change(function() {
  1453.         var selectedOption = \$(this).val();
  1454.         \$.ajax({
  1455.             url: '/ajax/getbureauajax',
  1456.             type: 'GET',
  1457.             data: {
  1458.                 selected_option: selectedOption,
  1459.             },
  1460.             success: function(response) {
  1461.                 console.log(\"Ajax request successful\");
  1462.                 // Clear the container first, if needed
  1463.                 \$('.container-bureau').empty();
  1464.                 // Iterate over each bureau in the response and insert them into the container
  1465.                 response.bureaux.forEach(function(bureau) {
  1466.                     var bureauHtml = `
  1467.                       <div class=\"card-brx row mt-3\" style=\"width:auto; border: none; border-radius:17px; box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.05);\">
  1468.                         <div class=\"col-md-4 col-lg-4 col-sm-12\">
  1469.                           <img loading=\"lazy\" class=\"img-fluid\" src=\"\${bureau.image}\" style=\"width:90%; border-radius:6px;margin-top: 10px;\" />
  1470.                         </div>
  1471.                         <div class=\"bureaux-desc col-md-8 col-lg-8 col-sm-12 mt-3\" style=\"font-family:'Roboto',sans-serif; line-height:24px;\">
  1472.                           <div>
  1473.                             <img loading=\"lazy\" src=\"{{ asset('/front/images/usershands.png') }}\" style=\"float: right;\" />
  1474.                             <p class=\"fs-5\" style=\"font-family: Roboto;font-weight:bold;\">\${bureau.title}</p>
  1475.                             <p style=\"color:rgba(51, 51, 51, 1);\">
  1476.                               <i class=\"fa-solid fs-6 fa-location-dot\"></i> <span class=\"m-1 fs-6\" style=\"font-weight:400;\">\${bureau.location}</span>
  1477.                             </p>
  1478.                             <div style=\"color:rgba(107, 111, 123, 1); line-height:20px; font-size:13px; font-weight:400;\">
  1479.                               <p>\${bureau.description1}</p>
  1480.                               <p>
  1481.                                 <i class=\"fa-regular fa-lightbulb fs-6\" style=\"color: #e2b653; \"></i> <span>Ideal pour: \${bureau.description}</span>
  1482.                               </p>
  1483.                             </div>
  1484.                           </div>
  1485.                         </div>
  1486.                         <div class=\"col-md-12 col-lg-12 col-sm-12 d-flex justify-content-center align-items-end mb-3\">
  1487.                           <a class=\"btn-res text-center text-light text-uppercase bg-dark\" href=\"\${bureau.reservationLink}\" style=\"padding:10px; text-decoration:none; width:230px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;\">Réserver</a>
  1488.                         </div>
  1489.                       </div>
  1490.                     `;
  1491.                     \$('.container-bureau').append(bureauHtml);
  1492.                 });
  1493.                 // Rest of your code
  1494.             },
  1495.             error: function(xhr, status, error) {
  1496.                 // Handle any error that occurred during the AJAX request
  1497.                 console.error(error);
  1498.             }
  1499.         });
  1500.     });
  1501.     
  1502.     /***/
  1503.       
  1504.       
  1505.     //   alert(\"frfr\");
  1506.     var thumbnails = document.getElementById(\"thumbnails\")
  1507. var imgs = thumbnails.getElementsByTagName(\"img\")
  1508. var main = document.getElementById(\"main\")
  1509. var counter=0;
  1510. for(let i=0;i<imgs.length;i++){
  1511.   let img=imgs[i]
  1512.   
  1513.   
  1514.   img.addEventListener(\"click\",function(){
  1515.   main.src=this.src
  1516. })
  1517.   
  1518. }
  1519.     });
  1520.     
  1521.     
  1522.     
  1523.     
  1524.     
  1525.     
  1526.     /**/
  1527.       var stickyHeaders = (function() {
  1528.   var \$window = \$(window),
  1529.       \$stickies;
  1530.   var load = function(stickies) {
  1531.     if (typeof stickies === \"object\" && stickies instanceof jQuery && stickies.length > 0) {
  1532.       \$stickies = stickies.each(function() {
  1533.         var \$thisSticky = \$(this).wrap('<div class=\"followWrap\" />');
  1534.   
  1535.         \$thisSticky
  1536.             .data('originalPosition', \$thisSticky.offset().top)
  1537.             .data('originalHeight', \$thisSticky.outerHeight())
  1538.               .parent()
  1539.               .height(\$thisSticky.outerHeight()); \t\t\t  
  1540.       });
  1541.       \$window.off(\"scroll.stickies\").on(\"scroll.stickies\", function() {
  1542. \t\t  _whenScrolling();\t\t
  1543.       });
  1544.     }
  1545.   };
  1546.   var _whenScrolling = function() {
  1547.     \$stickies.each(function(i) {\t\t\t
  1548.       var \$thisSticky = \$(this),
  1549.           \$stickyPosition = \$thisSticky.data('originalPosition');
  1550.       
  1551.       console.log(\$thisSticky.data('num') + ' is at' + \$stickyPosition);
  1552.       if (\$stickyPosition <= \$window.scrollTop()) {        
  1553.         
  1554.         var \$nextSticky = \$stickies.eq(i + 1),
  1555.             \$nextStickyPosition = \$nextSticky.data('originalPosition') - \$thisSticky.data('originalHeight');
  1556.         \$thisSticky.addClass(\"fixed\");
  1557.         if (\$nextSticky.length > 0 && \$thisSticky.offset().top >= \$nextStickyPosition) {
  1558.           \$thisSticky.addClass(\"absolute\").css(\"top\", \$nextStickyPosition);
  1559.         }
  1560.       } else {
  1561.         
  1562.         var \$prevSticky = \$stickies.eq(i - 1);
  1563.         \$thisSticky.removeClass(\"fixed\");
  1564.         if (\$prevSticky.length > 0 && \$window.scrollTop() <= \$thisSticky.data('originalPosition') - \$thisSticky.data('originalHeight')) {
  1565.           \$prevSticky.removeClass(\"absolute\").removeAttr(\"style\");
  1566.         }
  1567.       }
  1568.     });
  1569.   };
  1570.   return {
  1571.     load: load
  1572.   };
  1573. })();
  1574. \$(function() {
  1575.   stickyHeaders.load(\$(\".followMeBar\"));
  1576. });
  1577.   </script>
  1578. {% endblock %}
  1579. ""@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig""/home/gebcloud/public_html/cowork.gebanalysis.cloud/src/Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig");
  1580.     }
  1581. }