var/cache/dev/twig/e2/e261b310bad0ed693178baf533f2c9a37fe842c68da426aa05f11f9b1a49a6d4.php line 198

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* base.html.twig */
  15. class __TwigTemplate_e059c4ee07ad755a5264103ab0317cef31f2d1da6aecdb054369c9a7ff9c2627 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'title' => [$this'block_title'],
  26.             'metaDescription' => [$this'block_metaDescription'],
  27.             'stylesheets' => [$this'block_stylesheets'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.             'body' => [$this'block_body'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         // line 1
  40.         yield "<!DOCTYPE html>
  41. <html>
  42. <head>
  43.     <meta charset=\"UTF-8\">
  44.     <title>Tracol | ";
  45.         // line 5
  46.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  47.         yield "</title>
  48.     <link rel=\"icon\" type=\"image/x-icon\" href=\"";
  49.         // line 6
  50.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/favicon-white.ico"), "html"nulltrue);
  51.         yield "\">
  52.     ";
  53.         // line 7
  54.         yield from $this->unwrap()->yieldBlock('metaDescription'$context$blocks);
  55.         // line 8
  56.         yield "    <meta name=\"viewport\" content= \"width=device-width, initial-scale=1.0\">
  57.     ";
  58.         // line 9
  59.         yield from $this->unwrap()->yieldBlock('stylesheets'$context$blocks);
  60.         // line 15
  61.         yield "
  62.     <script id=\"Cookiebot\" src=\"
  63.     https://consent.cookiebot.com/uc.js\"
  64.     data-cbid=\"d4dd1335-1dc0-4d3c-b4c3-49e9043d2e0e\" data-blockingmode=\"auto\" type=\"text/javascript\"></script>
  65.         ";
  66.         // line 19
  67.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  68.         // line 35
  69.         yield "    <style>
  70.         @media (min-width: 1200px) and (max-width:1498px) {
  71.             .navbar-expand-xl .navbar-collapse {
  72.                 display: flex !important;
  73.                 /* flex-basis: auto; */
  74.                 justify-content: center;
  75.             }
  76.         }
  77.     </style>
  78. </head>
  79. <body>
  80.     ";
  81.         // line 47
  82.         if ((array_key_exists("popup2024"$context) && (isset($context["popup2024"]) || array_key_exists("popup2024"$context) ? $context["popup2024"] : (function () { throw new RuntimeError('Variable "popup2024" does not exist.'47$this->source); })()))) {
  83.             // line 48
  84.             yield "        ";
  85.             yield from             $this->loadTemplate("_popup2024.html.twig""base.html.twig"48)->unwrap()->yield($context);
  86.             // line 49
  87.             yield "    ";
  88.         }
  89.         // line 51
  90.         $context['_parent'] = $context;
  91.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'51$this->source); })()), "flashes", ["success"], "method"falsefalsefalse51));
  92.         foreach ($context['_seq'] as $context["_key"] => $context["success"]) {
  93.             // line 52
  94.             yield "    <div class=\"alert alert-success\" role=\"alert\">
  95.         <p class=\"alert-link\">";
  96.             // line 53
  97.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["success"], "html"nulltrue);
  98.             yield "</p>
  99.     </div>
  100. ";
  101.         }
  102.         $_parent $context['_parent'];
  103.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['success'], $context['_parent'], $context['loop']);
  104.         $context array_intersect_key($context$_parent) + $_parent;
  105.         // line 56
  106.         $context['_parent'] = $context;
  107.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'56$this->source); })()), "flashes", ["error"], "method"falsefalsefalse56));
  108.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  109.             // line 57
  110.             yield "    <div class=\"col-lg-8 mx-auto alert alert-danger\" role=\"alert\">
  111.         <p class=\"alert-link\">";
  112.             // line 58
  113.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["error"], "html"nulltrue);
  114.             yield "</p>
  115.     </div>
  116. ";
  117.         }
  118.         $_parent $context['_parent'];
  119.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  120.         $context array_intersect_key($context$_parent) + $_parent;
  121.         // line 61
  122.         yield "
  123. ";
  124.         // line 82
  125.         yield "
  126. ";
  127.         // line 83
  128.         $context["propertiesApi"] = (isset($context["get_properties"]) || array_key_exists("get_properties"$context) ? $context["get_properties"] : (function () { throw new RuntimeError('Variable "get_properties" does not exist.'83$this->source); })());
  129.         // line 84
  130.         yield "
  131. <nav class=\"navbar navbar-expand-xl fixed-top homepage\">
  132.     <div id=\"center-nav\" class=\"container-fluid\">
  133.         <button class=\"navbar-toggler\"
  134.                 type=\"button\"
  135.                 data-bs-toggle=\"collapse\"
  136.                 data-bs-target=\"#navbarNav\"
  137.                 aria-controls=\"navbarNav\"
  138.                 aria-expanded=\"false\"
  139.                 aria-label=\"Toggle navigation\">
  140.             <span class=\"navbar-toggler-icon\">
  141.                 <i class=\"fas fa-bars\"></i>
  142.             </span>
  143.         </button>
  144.         <a href=\"";
  145.         // line 98
  146.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index");
  147.         yield "\" class=\"tracol-logo\">
  148.             <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"136.339\" height=\"51.127\" viewBox=\"0 0 136.339 51.127\">
  149.                 <g id=\"Groupe_4469\" data-name=\"Groupe 4469\" transform=\"translate(11823.999 14639)\">
  150.                     <path id=\"Tracé_59\" data-name=\"Tracé 59\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-12370.418 -14871.441)\" fill=\"#f6a400\"/>
  151.                     <path id=\"Tracé_60\" data-name=\"Tracé 60\" d=\"M635.6,255.7c0,7.088,3.8,9.434,9.069,9.434a16.669,16.669,0,0,0,6.359-1.2l-.73-4.379a14.765,14.765,0,0,1-5.629,1.147c-2.658,0-4.378-1.2-4.378-5V232.5H635.6Z\" transform=\"translate(-12347.273 -14871.48)\"/>
  152.                     <path id=\"Tracé_61\" data-name=\"Tracé 61\" d=\"M402.171,274.441h4.691V253.593a10.905,10.905,0,0,1,3.962-.573,14.562,14.562,0,0,1,4.117.573l.782-4.378a17.993,17.993,0,0,0-5.108-.626,21.859,21.859,0,0,0-8.444,1.512Zm40.968-12.477c0,8.652,4.639,13.031,12.3,13.031a19.832,19.832,0,0,0,6.984-1.2l-.73-4.378a15.649,15.649,0,0,1-5.942,1.147c-5.525,0-7.922-2.814-7.922-8.912,0-5.264,1.824-8.6,7.557-8.6a12.827,12.827,0,0,1,5.838,1.355l.729-4.482a17.148,17.148,0,0,0-6.672-1.3c-8.339,0-12.144,5.473-12.144,13.343m40.6-.156c0,5.369-1.3,8.756-6.724,8.756-5.473,0-6.828-3.388-6.828-8.756,0-5.316,1.355-8.756,6.828-8.756,5.42,0,6.724,3.44,6.724,8.756m-6.724,13.187c7.975,0,11.467-5.264,11.467-13.187,0-8.131-3.232-13.187-11.467-13.187-8.027,0-11.519,5.316-11.519,13.187,0,8.131,3.284,13.187,11.519,13.187\" transform=\"translate(-12205.374 -14881.258)\"/>
  153.                     <path id=\"Tracé_62\" data-name=\"Tracé 62\" d=\"M349.134,255.7c0,7.088,3.8,9.434,9.069,9.434a16.669,16.669,0,0,0,6.359-1.2l-.73-4.379A14.766,14.766,0,0,1,358.2,260.7c-2.658,0-4.378-1.2-4.378-5V244.778h9.695v-4.43h-9.695V232.5h-4.691Z\" transform=\"translate(-12173.133 -14871.48)\"/>
  154.                     <path id=\"Tracé_63\" data-name=\"Tracé 63\" d=\"M452.277,271.03c-4.851,0-4.851-3.294-4.851-4.165,0-.807.04-3.966,5.213-3.966H463.01v-5.42c0-6.567-4.431-8.809-10.425-8.809a29.621,29.621,0,0,0-7.87,1.146l.678,4.326a20.958,20.958,0,0,1,7.036-1.2c3.7,0,5.942,1.043,5.942,4.066v2.241h-4.9c-6.567,0-10.685,2.137-10.685,7.871,0,5.681,3.8,7.922,10.32,7.922a32.7,32.7,0,0,0,9.9-1.511v-4.091a43.889,43.889,0,0,1-10.733,1.589\" transform=\"translate(-12230.064 -14881.307)\"/>
  155.                     <rect id=\"Rectangle_73\" data-name=\"Rectangle 73\" width=\"1.585\" height=\"8.956\" transform=\"translate(-11803.191 -14596.829)\"/>
  156.                     <path id=\"Tracé_64\" data-name=\"Tracé 64\" d=\"M415.929,339.993h1.5l2.643,4.172,2.628-4.172h1.5v8.956h-1.585v-6.105l-2.448,3.88h-.194l-2.476-3.866v6.092h-1.572Z\" transform=\"translate(-12213.737 -14936.822)\"/>
  157.                     <path id=\"Tracé_65\" data-name=\"Tracé 65\" d=\"M446.472,339.993h1.5l2.643,4.172,2.628-4.172h1.5v8.956h-1.585v-6.105l-2.448,3.88h-.194l-2.476-3.866v6.092h-1.572Z\" transform=\"translate(-12232.305 -14936.822)\"/>
  158.                     <path id=\"Tracé_66\" data-name=\"Tracé 66\" d=\"M480,341.292c-1.808,0-2.113,1.112-2.113,3.058s.334,3.018,2.142,3.018,2.142-1.085,2.142-3.018-.349-3.058-2.171-3.058m-3.7,3.058c0-2.67.736-4.533,3.7-4.533s3.77,1.848,3.77,4.533-.779,4.492-3.741,4.492-3.727-1.822-3.727-4.492\" transform=\"translate(-12250.44 -14936.716)\"/>
  159.                     <path id=\"Tracé_67\" data-name=\"Tracé 67\" d=\"M505.617,345.055v2.42h1.877c1.266,0,1.7-.473,1.7-1.2s-.417-1.224-1.7-1.224Zm0-3.588v2.225h1.711c1.182,0,1.585-.5,1.585-1.126s-.4-1.1-1.585-1.1Zm1.711-1.474c2.309,0,3.185.988,3.185,2.42a1.93,1.93,0,0,1-1.182,1.892,2.046,2.046,0,0,1,1.461,2c0,1.4-1.029,2.642-3.3,2.642h-3.449v-8.956Z\" transform=\"translate(-12267.304 -14936.822)\"/>
  160.                     <rect id=\"Rectangle_74\" data-name=\"Rectangle 74\" width=\"1.586\" height=\"8.956\" transform=\"translate(-11753.034 -14596.829)\"/>
  161.                     <path id=\"Tracé_68\" data-name=\"Tracé 68\" d=\"M543.847,339.993h1.572v7.482h4.117v1.474h-5.689Z\" transform=\"translate(-12291.499 -14936.822)\"/>
  162.                     <rect id=\"Rectangle_75\" data-name=\"Rectangle 75\" width=\"1.586\" height=\"8.956\" transform=\"translate(-11738.931 -14596.829)\"/>
  163.                     <path id=\"Tracé_69\" data-name=\"Tracé 69\" d=\"M581.389,347.475h4.673v1.474h-6.245v-8.957h6.245v1.474h-4.673v2.142h4.117v1.474h-4.117Z\" transform=\"translate(-12313.365 -14936.822)\"/>
  164.                     <path id=\"Tracé_70\" data-name=\"Tracé 70\" d=\"M605.9,341.467V344.1h1.85c1.377,0,1.794-.529,1.794-1.308,0-.834-.417-1.321-1.794-1.321Zm3.255,3.908,2.337,3.574h-1.808l-2.2-3.379H605.9v3.379h-1.572v-8.956h3.421c2.448,0,3.38,1.126,3.38,2.8a2.537,2.537,0,0,1-1.975,2.587\" transform=\"translate(-12328.266 -14936.822)\"/>
  165.                 </g>
  166.             </svg>
  167.         </a>
  168.         <button style=\"background-color: transparent;border-color: transparent; display: none;position: absolute;right:0;top:5px;\" id=\"submit-search-mobile\" type=\"submit\" data-bs-toggle=\"modal\" data-bs-target=\"#exampleModal1\">
  169.             <svg style=\"height: 55px;\" class=\"search-button\" xmlns=\"http://www.w3.org/2000/svg\" width=\"55.982\" height=\"90.97\" viewBox=\"0 0 55.982 90.97\">
  170.                 <g id=\"Groupe_3817\" data-name=\"Groupe 3817\" transform=\"translate(-1528.861 -105)\">
  171.                     <path id=\"Tracé_95\" data-name=\"Tracé 95\" d=\"M729.651,232.441H673.669v90.97l55.982-11.894Z\" transform=\"translate(855.192 -127.441)\" fill=\"#f6a400\"/>
  172.                     <g id=\"Groupe_3794\" data-name=\"Groupe 3794\" transform=\"translate(1545.335 126.696)\">
  173.                         <g id=\"np_search_1868241_000000\">
  174.                             <path id=\"Tracé_92\" data-name=\"Tracé 92\" d=\"M8.287,17.368A8.662,8.662,0,1,1,14.4,14.813a8.679,8.679,0,0,1-6.109,2.555Zm0-15.055a6.36,6.36,0,1,0,4.477,1.881A6.377,6.377,0,0,0,8.287,2.313Z\" transform=\"translate(0.441 -0.012)\" fill=\"#fff\"/>
  175.                             <path id=\"Tracé_93\" data-name=\"Tracé 93\" d=\"M57.82,59.567l1.626-1.633L67.4,65.852l-1.626,1.633Z\" transform=\"translate(-44.591 -44.782)\" fill=\"#fff\"/>
  176.                         </g>
  177.                     </g>
  178.                 </g>
  179.             </svg>
  180.         </button>
  181.         <!-- Modal -->
  182.         ";
  183.         // line 136
  184.         yield from         $this->loadTemplate("_navSearch.html.twig""base.html.twig"136)->unwrap()->yield($context);
  185.         // line 137
  186.         yield "
  187.         <div class=\"nav-elements collapse navbar-collapse\" id=\"navbarNav\">
  188.             <ul class=\"navbar-nav\">
  189.                 ";
  190.         // line 145
  191.         yield "
  192.                 <li class=\"nav-item\">
  193.                     <a class=\"nav-link\" href=\"";
  194.         // line 147
  195.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
  196.         yield "\">Qui sommes-nous ?</a>
  197.                 </li>
  198.                 <li class=\"nav-item\">
  199.                     <a class=\"nav-link\" href=\"";
  200.         // line 150
  201.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties", ["keyword" => "vente"]);
  202.         yield "\">Acheter</a>
  203.                 </li>
  204.                 <li class=\"nav-item\">
  205.                     <a class=\"nav-link\" href=\"";
  206.         // line 153
  207.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties", ["keyword" => "location"]);
  208.         yield "\">Louer</a>
  209.                 </li>
  210.                 <li class=\"nav-item\">
  211.                     <a class=\"nav-link\" href=\"";
  212.         // line 156
  213.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vendre", ["keyword" => "location"]);
  214.         yield "\">Vendre</a>
  215.                 </li>
  216.                 <li class=\"nav-item\">
  217.                     <a class=\"nav-link\" href=\"";
  218.         // line 159
  219.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("projects", ["keyword" => "location"]);
  220.         yield "\">Projets</a>
  221.                 </li>
  222.                 <li class=\"nav-item\">
  223.                     <a class=\"nav-link\" href=\"";
  224.         // line 162
  225.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reference");
  226.         yield "\">Références</a>
  227.                 </li>
  228.                 ";
  229.         // line 170
  230.         yield "
  231. ";
  232.         // line 175
  233.         yield "                ";
  234.         // line 180
  235.         yield "
  236.                 <li id=\"enveloppe-mobile\" class=\"nav-item\">
  237.                     <a class=\"nav-link\" href=\"";
  238.         // line 182
  239.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  240.         yield "\">
  241.                         ";
  242.         // line 186
  243.         yield "                        Contact
  244.                     </a>
  245.                 </li>
  246.             </ul>
  247.         </div>
  248.         <div class=\"contacts-social\">
  249.             <div class=\"phone-contact\">
  250.                 <div>
  251.                     <svg class=\"svg-phone\" xmlns=\"http://www.w3.org/2000/svg\" width=\"31.059\" height=\"27.732\" viewBox=\"0 0 31.059 27.732\">
  252.                         <g id=\"np_phone-call_3960627_000000\" transform=\"translate(-6.248 -15.626)\">
  253.                             <path id=\"Tracé_116\" data-name=\"Tracé 116\" d=\"M32.871,43.356H33.98V41.138h3.328V38.919H33.98V34.793l-7.931-2.64-2.973,1.986a19.764,19.764,0,0,1-7.488-7.421l1.9-1.9-2.64-9.2h-8.6v1.109A26.511,26.511,0,0,0,32.871,43.357ZM13.182,17.844l1.808,6.334L12.9,26.307l.377.721a22,22,0,0,0,9.406,9.384l.588.3,3.161-2.119,5.324,1.8v4.748A24.461,24.461,0,0,1,8.467,17.844Z\" fill=\"#5f5f5f\" stroke=\"#5f5f5f\" />
  254.                         </g>
  255.                     </svg>
  256.                 </div>
  257.                 <div>
  258.                     <p class=\"phone\">
  259.                         ";
  260.         // line 205
  261.         yield "                        <a href=\"tel:+3522658601\">(+352) 26 58 60-1</a>
  262.                     </p>
  263.                 </div>
  264.             </div>
  265.             <div class=\"socials\">
  266.                 <a target=\"_blank\" href=\"https://www.facebook.com/tracolimmobilier/\">
  267.                     <i class=\"fab fa-facebook-f fa-2x\"></i>
  268.                 </a>
  269.                 <a target=\"_blank\" href=\"https://www.linkedin.com/company/tracol-immobilier-s-a-/\">
  270.                     <i class=\"fab fa-linkedin fa-2x\"></i>
  271.                 </a>
  272.                 <a target=\"_blank\" href=\"https://www.instagram.com/tracolimmobilier/\">
  273.                     <i class=\"fab fa-instagram fa-2x\"></i>
  274.                 </a>
  275.                 <a target=\"_blank\" href=\"https://www.youtube.com/channel/UCLl8G5ZCdyslVR_4ANkD6GA\">
  276.                     <i class=\"fab fa-youtube fa-2x\"></i>
  277.                 </a>
  278.             </div>
  279.         </div>
  280.         <div id=\"footer-nav-mobile\" style=\"display: none\">
  281.                 <div>
  282.                     <a href=\"tel:+3522658601\">
  283.                         <svg style=\"margin: auto;\" class=\"svg-phone\" xmlns=\"http://www.w3.org/2000/svg\" width=\"31.059\" height=\"27.732\" viewBox=\"0 0 31.059 27.732\">
  284.                             <g id=\"np_phone-call_3960627_000000\" transform=\"translate(-6.248 -15.626)\">
  285.                                 <path id=\"Tracé_116\" data-name=\"Tracé 116\" d=\"M32.871,43.356H33.98V41.138h3.328V38.919H33.98V34.793l-7.931-2.64-2.973,1.986a19.764,19.764,0,0,1-7.488-7.421l1.9-1.9-2.64-9.2h-8.6v1.109A26.511,26.511,0,0,0,32.871,43.357ZM13.182,17.844l1.808,6.334L12.9,26.307l.377.721a22,22,0,0,0,9.406,9.384l.588.3,3.161-2.119,5.324,1.8v4.748A24.461,24.461,0,0,1,8.467,17.844Z\" fill=\"#5f5f5f\" stroke=\"#5f5f5f\" />
  286.                             </g>
  287.                         </svg>
  288.                     </a>
  289.                 </div>
  290.                 <div>
  291.                     <a href=\"";
  292.         // line 237
  293.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  294.         yield "\"><i style=\"color: #5f5f5f;\" class=\"far fa-envelope fa-2x\"></i></a>
  295.                 </div>
  296.                 <div>
  297.                     <a target=\"_blank\" href=\"https://www.facebook.com/tracolimmobilier/\"><i style=\"color: #5f5f5f;\" class=\"fab fa-facebook-f\"></i></a>
  298.                 </div>
  299.                 <div>
  300.                     <a target=\"_blank\" href=\"https://www.linkedin.com/company/tracol-immobilier-s-a-/\"><i style=\"color: #5f5f5f;\" class=\"fab fa-linkedin\"></i></a>
  301.                 </div>
  302.                 <div>
  303.                     <a target=\"_blank\" href=\"https://www.instagram.com/tracolimmobilier/\"><i style=\"color: #5f5f5f;\" class=\"fab fa-instagram\"></i></a>
  304.                 </div>
  305.                 <div>
  306.                     <a target=\"_blank\" href=\"https://www.youtube.com/channel/UCLl8G5ZCdyslVR_4ANkD6GA\"><i style=\"color: #5f5f5f;\" class=\"fab fa-youtube fa-2x\"></i></a>
  307.                 </div>
  308.         </div>
  309.     </div>
  310. </nav>
  311. ";
  312.         // line 254
  313.         yield from         $this->loadTemplate("_navSubSearch.html.twig""base.html.twig"254)->unwrap()->yield($context);
  314.         // line 255
  315.         yield "
  316. ";
  317.         // line 256
  318.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  319.         // line 258
  320.         yield "
  321. ";
  322.         // line 259
  323.         if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'259$this->source); })()), "request", [], "any"falsefalsefalse259), "attributes", [], "any"falsefalsefalse259), "get", ["_route"], "method"falsefalsefalse259), "home"))) {
  324.             // line 260
  325.             yield "    <div id=\"div-newsletter-mobile\" class=\"\" style=\"display: none\">
  326.         <div class=\"col-lg-12\" style=\"display: flex; justify-content:center; margin-top: 20px;\">
  327.            <div class=\"col-lg-12\">
  328.                <p class=\"newsletter-title\">NEWSLETTER</p>
  329.            </div>
  330.         </div>
  331.         <div class=\"col-lg-12\" id=\"div-form-newsletter\" style=\"display: flex; justify-content: space-around;\">
  332.             <form method=\"post\" action=\"";
  333.             // line 267
  334.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mailchimp");
  335.             yield "\" id=\"form-newsletter\">
  336.                 <div class=\"input-group\">
  337.                     <input class=\"form-control input-email\" type=\"email\" name=\"email\" placeholder=\"Votre adresse mail\">
  338.                     <button class=\"btn btn-primary button-newsletter\" type=\"submit\"><i class=\"fas fa-arrow-right\"></i></button>
  339.                 </div>
  340.             </form>
  341.         </div>
  342.     </div>
  343. ";
  344.         }
  345.         // line 276
  346.         $context["mentions"] = $this->extensions['App\Twig\ContentExtension']->Content("Footer""Footer");
  347.         // line 277
  348.         $context["cgu"] = $this->extensions['App\Twig\ContentExtension']->Content("Footer""Footer2");
  349.         // line 278
  350.         $context["confidentialite"] = $this->extensions['App\Twig\ContentExtension']->Content("Footer""Footer3");
  351.         // line 279
  352.         $context["cookie"] = $this->extensions['App\Twig\ContentExtension']->Content("Footer""Footer4");
  353.         // line 280
  354.         $context["adress"] = $this->extensions['App\Twig\ContentExtension']->Content("Footer""Footer adresse");
  355.         // line 281
  356.         $context["siege"] = $this->extensions['App\Twig\ContentExtension']->Content("Footer""Footer siège");
  357.         // line 282
  358.         yield "<footer class=\"footer\">
  359.     <div class=\"container-fluid\">
  360.         <ul id=\"footer-menu\" class=\"footer-menu\" style=\"margin-bottom: -15px;margin-top: -15px;\">
  361.             <li>
  362.                 © ";
  363.         // line 286
  364.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now""Y"), "html"nulltrue);
  365.         yield " TRACOL - réalisé par <a href=\"https://www.idp.lu/\" target=\"_blank\" style=\"font-weight:bold\">ID+P</a>
  366.             </li>
  367.             <li style=\"height: 130px\">
  368.                 <!--?xml version=\"1.0\" encoding=\"UTF-8\"?-->
  369.                 <svg id=\"SVGDoc\" width=\"201\" height=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 201 232\"><defs></defs><desc>Generated with Avocode.</desc><g><g><title>Ligne 38</title><path d=\"M100.5,100v32\" fill-opacity=\"0\" fill=\"#ffffff\" stroke-dashoffset=\"0\" stroke-linejoin=\"miter\" stroke-linecap=\"butt\" stroke-opacity=\"1\" stroke=\"#5f5f5f\" stroke-miterlimit=\"20\" stroke-width=\"10\"></path></g></g></svg>
  370.             </li>
  371.             <li class=\"row col-md-3\">
  372.                 <div class=\"col-md-6\">
  373.                     Bureaux commerciaux :<br/>
  374.                     ";
  375.         // line 295
  376.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["adress"]) || array_key_exists("adress"$context) ? $context["adress"] : (function () { throw new RuntimeError('Variable "adress" does not exist.'295$this->source); })()), "content", [], "any"falsefalsefalse295);
  377.         yield "
  378.                 </div>
  379.                 <div class=\"col-md-6\">
  380.                     Siège social : 
  381.                     ";
  382.         // line 299
  383.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["siege"]) || array_key_exists("siege"$context) ? $context["siege"] : (function () { throw new RuntimeError('Variable "siege" does not exist.'299$this->source); })()), "content", [], "any"falsefalsefalse299);
  384.         yield "
  385.                 </div>
  386.             </li>
  387.             <li style=\"height: 130px\">
  388.                 <!--?xml version=\"1.0\" encoding=\"UTF-8\"?-->
  389.                 <svg id=\"SVGDoc\" width=\"201\" height=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 201 232\"><defs></defs><desc>Generated with Avocode.</desc><g><g><title>Ligne 38</title><path d=\"M100.5,100v32\" fill-opacity=\"0\" fill=\"#ffffff\" stroke-dashoffset=\"0\" stroke-linejoin=\"miter\" stroke-linecap=\"butt\" stroke-opacity=\"1\" stroke=\"#5f5f5f\" stroke-miterlimit=\"20\" stroke-width=\"10\"></path></g></g></svg>
  390.             </li>
  391.             <li class=\"grey col-md-2 d-flex justify-content-around social\">
  392.                 <a target=\"_blank\" href=\"https://www.facebook.com/tracolimmobilier/\"><i class=\"fab fa-facebook-f fa-2x\" style=\"margin-top:0\"></i></a>
  393.                 <a target=\"_blank\" href=\"https://www.linkedin.com/company/tracol-immobilier-s-a-/\"><i class=\"fab fa-linkedin fa-2x\" style=\"margin-top:0\"></i></a>
  394.                 <a target=\"_blank\" href=\"https://www.instagram.com/tracolimmobilier/\"><i class=\"fab fa-instagram fa-2x\" style=\"cmargin-top:0\"></i></a>
  395.                 <a target=\"_blank\" href=\"https://www.youtube.com/channel/UCLl8G5ZCdyslVR_4ANkD6GA\" class=\"d-flex align-items-end align-items-center\"><i class=\"fab fa-youtube fa-2x\"></i></a>
  396.                 <a href=\"";
  397.         // line 311
  398.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  399.         yield "\" class=\"contact-link\"><i class=\"fa fa-envelope fa-2x\"></i></a>
  400.             </li>
  401.             <li class=\"legal d-flex align-items-center\">
  402.                 <div class=\"d-flex flex-column\">
  403.                     <a href=\"";
  404.         // line 315
  405.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mentions");
  406.         yield "\" style=\"margin-bottom:6px;\">";
  407.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["mentions"]) || array_key_exists("mentions"$context) ? $context["mentions"] : (function () { throw new RuntimeError('Variable "mentions" does not exist.'315$this->source); })()), "name", [], "any"falsefalsefalse315), "html"nulltrue);
  408.         yield "</a>
  409.                     <a href=\"";
  410.         // line 316
  411.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cgu");
  412.         yield "\" style=\"margin-bottom:6px\">";
  413.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["cgu"]) || array_key_exists("cgu"$context) ? $context["cgu"] : (function () { throw new RuntimeError('Variable "cgu" does not exist.'316$this->source); })()), "name", [], "any"falsefalsefalse316), "html"nulltrue);
  414.         yield "</a>
  415.                     <a href=\"";
  416.         // line 317
  417.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacy_policy");
  418.         yield "\" style=\"margin-bottom:6px\">";
  419.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["confidentialite"]) || array_key_exists("confidentialite"$context) ? $context["confidentialite"] : (function () { throw new RuntimeError('Variable "confidentialite" does not exist.'317$this->source); })()), "name", [], "any"falsefalsefalse317), "html"nulltrue);
  420.         yield "</a>
  421.                     <a href=\"";
  422.         // line 318
  423.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cookies");
  424.         yield "\" style=\"margin-bottom:15px\">";
  425.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["cookie"]) || array_key_exists("cookie"$context) ? $context["cookie"] : (function () { throw new RuntimeError('Variable "cookie" does not exist.'318$this->source); })()), "name", [], "any"falsefalsefalse318), "html"nulltrue);
  426.         yield "</a>
  427.                 </div>
  428.             </li>
  429.         </ul>
  430.         <ul id=\"footer-menu-mobile\" class=\"footer-menu\" style=\"display:none; margin-bottom: -15px;margin-top: -15px;\">
  431.             <li class=\"legal d-flex align-items-center flex-column mt-3\">
  432.                 <a href=\"";
  433.         // line 326
  434.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  435.         yield "\" class=\"grey contact-link mr-0\" style=\"margin-right:0!important;\"><i class=\"fa fa-envelope fa-2x\"></i></a>
  436.                 <div class=\"d-flex flex-column align-items-center\">
  437.                     <a href=\"";
  438.         // line 328
  439.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mentions");
  440.         yield "\" style=\"margin-bottom:6px;\">";
  441.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["mentions"]) || array_key_exists("mentions"$context) ? $context["mentions"] : (function () { throw new RuntimeError('Variable "mentions" does not exist.'328$this->source); })()), "name", [], "any"falsefalsefalse328), "html"nulltrue);
  442.         yield "</a>
  443.                     <a href=\"";
  444.         // line 329
  445.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cgu");
  446.         yield "\" style=\"margin-bottom:6px\">";
  447.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["cgu"]) || array_key_exists("cgu"$context) ? $context["cgu"] : (function () { throw new RuntimeError('Variable "cgu" does not exist.'329$this->source); })()), "name", [], "any"falsefalsefalse329), "html"nulltrue);
  448.         yield "</a>
  449.                     <a href=\"";
  450.         // line 330
  451.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacy_policy");
  452.         yield "\" style=\"margin-bottom:6px\">";
  453.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["confidentialite"]) || array_key_exists("confidentialite"$context) ? $context["confidentialite"] : (function () { throw new RuntimeError('Variable "confidentialite" does not exist.'330$this->source); })()), "name", [], "any"falsefalsefalse330), "html"nulltrue);
  454.         yield "</a>
  455.                     <a href=\"";
  456.         // line 331
  457.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cookies");
  458.         yield "\" style=\"margin-bottom:15px\">";
  459.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["cookie"]) || array_key_exists("cookie"$context) ? $context["cookie"] : (function () { throw new RuntimeError('Variable "cookie" does not exist.'331$this->source); })()), "name", [], "any"falsefalsefalse331), "html"nulltrue);
  460.         yield "</a>
  461.                 </div>
  462.             </li>
  463.             <li>
  464.                 <div>
  465.                     Bureaux commerciaux :<br/>
  466.                     ";
  467.         // line 337
  468.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["adress"]) || array_key_exists("adress"$context) ? $context["adress"] : (function () { throw new RuntimeError('Variable "adress" does not exist.'337$this->source); })()), "content", [], "any"falsefalsefalse337);
  469.         yield "
  470.                 </div>
  471.             </li>
  472.             <li>
  473.                 <div>
  474.                     Siège social : <br />
  475.                     ";
  476.         // line 343
  477.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["siege"]) || array_key_exists("siege"$context) ? $context["siege"] : (function () { throw new RuntimeError('Variable "siege" does not exist.'343$this->source); })()), "content", [], "any"falsefalsefalse343);
  478.         yield "
  479.                 </div>
  480.             </li>
  481.             <li>
  482.                 © 2021 TRACOL - réalisé par <a href=\"https://www.idp.lu/\" target=\"_blank\" style=\"font-weight:bold\">ID+P</a>
  483.             </li>
  484.         </ul>
  485.     </div>
  486. </footer>
  487. <script src=\"https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js\"></script>
  488. <script>
  489.     if (window.matchMedia(\"(max-width: 768px)\").matches && window.location.pathname === '/') {
  490.         /* the viewport is less than 768 pixels wide */
  491.     //      \$('#projects').slick({
  492.     //     dots: false,
  493.     //     infinite: true,
  494.     //     speed: 300,
  495.     //     slidesToShow: 1,
  496.     //     slidesToScroll: 1,
  497.     //     autoplay: true,
  498.     //     responsive: [
  499.     //         {
  500.     //             breakpoint: 576,
  501.     //             settings: {
  502.     //                 slidesToShow: 1,
  503.     //                 slidesToScroll: 1
  504.     //             }
  505.     //         }
  506.     //         // You can unslick at a given breakpoint now by adding:
  507.     //         // settings: \"unslick\"
  508.     //         // instead of a settings object
  509.     //     ]
  510.     // });
  511.     }
  512.     //
  513.     // const searchMobile = document.getElementById('search-detail-mobile')
  514.     // const searchSubDivMobile = document.getElementById('sub-search-div-mobile')
  515.     //
  516.     // searchMobile.addEventListener('click', function (e) {
  517.     //     e.preventDefault()
  518.     //     searchSubDivMobile.style.display = 'flex'
  519.     //     searchMobile.style.display = 'none'
  520.     // })
  521. </script>
  522. <script>
  523.     if (document.getElementById('filterProperties')) {
  524.         let formSelectProperties = document.getElementById('filterProperties');
  525.         let properties = document.querySelectorAll('#properties .div-img-hover-2');
  526.         let arrayProperties = [];
  527.         for (let property of properties) {
  528.             arrayProperties.push({
  529.                 'property': property,
  530.                 'price': property.getAttribute('data-price'),
  531.                 'date': new Date(property.getAttribute('data-date')),
  532.             });
  533.         }
  534.         formSelectProperties.addEventListener('change', () => {
  535.             if (formSelectProperties.value === 'desc') {
  536.                 arrayProperties.sort((a,b) =>  b.price - a.price )
  537.             } else if (formSelectProperties.value === 'asc') {
  538.                 arrayProperties.sort((a,b) =>  a.price - b.price )
  539.             } else if (formSelectProperties.value === 'date') {
  540.                 arrayProperties.sort((a,b) =>  b.date - a.date )
  541.             }
  542.             let finalProperties = [];
  543.             let containerProperties = document.getElementById('properties');
  544.             containerProperties.innerHTML = '';
  545.             for (let prop of arrayProperties) {
  546.                 containerProperties.insertAdjacentElement('beforeend', prop.property)
  547.             }
  548.         });
  549.     }
  550.     // let searchglobal = document.getElementById('submit-searchglobal');
  551.         // searchglobal.addEventListener('click', function() {
  552.         //     const formSearch = document.getElementById('form-searchglobal-normal')
  553.         //     const subSearch = document.getElementById('sub-searchglobal-div')
  554.         //     const send = document.getElementById('sendGlobal')
  555.         //             formSearch.classList.toggle('stickyYForm')
  556.         //             send.classList.toggle('send-display')
  557.         //             subSearch.classList.toggle('sub-searchglobal-div-height')
  558.         // })
  559. </script>
  560. <script>
  561.     const swiper = new Swiper('.swiper', {
  562.         loop: false,
  563.     });
  564.     if (window.location.pathname === '/') {
  565.         const navbar = document.getElementsByClassName('navbar navbar-expand-xl fixed-top')
  566.         const header = document.getElementsByClassName('header-home')
  567.         navbar[0].style.backgroundColor = \"#fff\"
  568.         navbar[0].style.position = \"fixed\"
  569.         header[0].style.marginTop = \"0px\"
  570.         header[0].style.height = \"100vw\"
  571.     }
  572.     let widthWindow = window.innerWidth;
  573.     var searchLocation;
  574.     if (widthWindow > 770) {
  575.         searchLocation = document.getElementById('location-drop');
  576.     } else {
  577.         searchLocation = document.getElementById('location-drop-mobile');
  578.     }
  579.     var searchLocationLi;
  580.     if (widthWindow > 770) {
  581.         searchLocationLi = document.getElementById('location-li');
  582.     } else {
  583.         searchLocationLi = document.getElementById('location-li-mobile');
  584.     }
  585.     const url = '/form/search';
  586.     fetch(url, {
  587.         method: 'GET',
  588.         // body: JSON.stringify({
  589.         //     searchLocation: this.value
  590.         // })
  591.     }).then(function(response) {
  592.         return response.json()
  593.     }).then(function (data) {
  594.         searchLocationLi.innerHTML = '';
  595.         var selected = \"Tous\";
  596.         ";
  597.         // line 480
  598.         if (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "session", [], "any"falsetruefalse480), "get", ["filter"], "method"truetruefalse480) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "session", [], "any"falsetruefalse480), "get", ["filter"], "method"falsetruefalse480), "location", [], "array"truetruefalse480)) && (!== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'480$this->source); })()), "session", [], "any"falsefalsefalse480), "get", ["filter"], "method"falsefalsefalse480), "location", [], "array"falsefalsefalse480), "Tous")))) {
  599.             yield " selected = '";
  600.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'480$this->source); })()), "session", [], "any"falsefalsefalse480), "get", ["filter"], "method"falsefalsefalse480), "location", [], "array"falsefalsefalse480), "html"nulltrue);
  601.             yield "'; ";
  602.         }
  603.         // line 481
  604.         yield "        for (const datum in data) {
  605.             const li = document.createElement('li')
  606.             li.classList.add('item')
  607.             if(selected == data[datum]) li.classList.add('selected')
  608.             li.dataset.value = data[datum]
  609.             li.addEventListener('click', function () {
  610.                 searchLocation.value = this.dataset.itemName
  611.             })
  612.             li.innerHTML += data[datum]
  613.             searchLocationLi.appendChild(li)
  614.             li.addEventListener('click', event => {
  615.                 li.classList.add('selected');
  616.             });
  617.         }
  618.     searchLocation.addEventListener(\"click\", function (){
  619.             searchLocationLi.addEventListener('click', function (e) {
  620.                 let target = e.target;
  621.                 var dropId;
  622.                 if (widthWindow > 770) {
  623.                     dropId = document.getElementById('location-drop');
  624.                 } else {
  625.                     dropId = document.getElementById('location-drop-mobile');
  626.                 }
  627.                 dropId.querySelector('.undroped-subheader').innerHTML = target.innerHTML
  628.                 dropId.querySelector('.input-subheader').value = target.dataset.value
  629.                 dropId.classList.remove('open')
  630.                 dropId.querySelector('.undroped').style.display = 'block'
  631.                 dropId.querySelector('.droped').style.display = 'none'
  632.                 dropId.querySelector('.undroped-subheader').classList.add('selected')
  633.             })
  634.         });
  635.     })
  636.     const searchTransactionLi = document.getElementById('transaction-li');
  637.     const searchPropertyLi = document.getElementById('property-li');
  638.     const searchRoomLi = document.getElementById('rooms-li');
  639.     const searchAreaLi = document.getElementById('area-li');
  640.     searchTransactionLi.addEventListener('click', function (e) {
  641.         let target = e.target;
  642.         const dropId = document.getElementById('transaction-drop')
  643.         dropId.querySelector('.input-subheader').value = target.dataset.value
  644.     });
  645.     searchPropertyLi.addEventListener('click', function (e) {
  646.         let target = e.target;
  647.         const dropId = document.getElementById('property-drop')
  648.         dropId.querySelector('.input-subheader').value = target.dataset.value
  649.     });
  650.     searchRoomLi.addEventListener('click', function (e) {
  651.         let target = e.target;
  652.         const dropId = document.getElementById('rooms-drop');
  653.         dropId.querySelector('.input-subheader').value = target.dataset.value
  654.     });
  655.     searchAreaLi.addEventListener('click', function (e) {
  656.         let target = e.target;
  657.         const dropId = document.getElementById('area-drop')
  658.         dropId.querySelector('.input-subheader').value = target.dataset.value
  659.     });
  660.     for (const eElement of document.getElementsByClassName('projectButton')) {
  661.         eElement.addEventListener('click', function (e) {
  662.             e.preventDefault()
  663.             for (let button of document.getElementsByClassName('projectButton')) {
  664.                 if (button.classList.contains('all')){
  665.                     button.classList.remove('all')
  666.                     button.classList.add('come')
  667.                     button.querySelector('span').classList.replace('span-all', 'span-projects')
  668.                 }
  669.             }
  670.             eElement.classList.remove('come')
  671.             eElement.classList.add('all')
  672.             eElement.querySelector('span').classList.replace('span-projects', 'span-all')
  673.             fetch('projects/home/display/'+this.dataset.id, {
  674.                 method: 'GET',
  675.             })
  676.                 .then(response => response.json())
  677.                 .then(data => {
  678.                     document.getElementById('projects').innerHTML = ''
  679.                     document.getElementById('projects').innerHTML = data.data
  680.                     if (window.matchMedia(\"(max-width: 768px)\").matches && window.location.pathname === '/') {
  681.                         // if (document.getElementById('projects').classList.contains('slick-initialized')) {
  682.                         //     document.getElementById('projects').classList.remove('slick-initialized')
  683.                         //     document.getElementById('projects').classList.remove('slick-slider')
  684.                         // }
  685.                         // \$('#projects').slick({
  686.                         //     dots: false,
  687.                         //     infinite: true,
  688.                         //     speed: 300,
  689.                         //     slidesToShow: 1,
  690.                         //     slidesToScroll: 1,
  691.                         //     autoplay: true,
  692.                         //     responsive: [
  693.                         //         {
  694.                         //             breakpoint: 576,
  695.                         //             settings: {
  696.                         //                 slidesToShow: 1,
  697.                         //                 slidesToScroll: 1
  698.                         //             }
  699.                         //         }
  700.                         //     ]
  701.                         // })
  702.                     }
  703.                     _ww = \$(window).width();
  704.                     if (_ww > 768){
  705.                         \$('.div-img-hover-2').hover(function (e) {
  706.                             \$(this).find('.project-arrow-2').animate({opacity: 1}, 150);
  707.                             var htext = \$(this).find('.project-content').height();
  708.                             if (htext == undefined){htext = 0};
  709.                             \$(this).find('.div-hover-2').animate({height : htext+180}, 150);
  710.                             \$(this).find('.project-content').css({'visibility': 'visible'});
  711.                             \$(this).find('.project-content').animate({opacity: 1}, 150);
  712.                         }, function() {
  713.                             \$(this).find('.div-hover-2').animate({height : 85}, 150);
  714.                             \$(this).find('.project-arrow-2').animate({opacity: 0}, 150);
  715.                             \$(this).find('.project-content').animate({opacity: 0}, 150, function(){
  716.                                 \$(this).find('.project-content').css({'visibility': 'hidden'});
  717.                             });
  718.                         });
  719.                     } else {
  720.                         \$('.div-img-hover-2').on( \"click\", function( event ) {
  721.                             var opened = \$(this).find('.div-hover-2').hasClass('open'),
  722.                                 ht = opened ? 85 : '100%',
  723.                                 vis = opened ? 0 : 1;
  724.                             \$(this).find('.div-hover-2').toggleClass('open');
  725.                             \$(this).find('.div-hover-2').animate({height : ht}, 150);
  726.                             \$(this).find('.project-arrow-2').animate({opacity: vis}, 150);
  727.                             \$(this).find('.project-content').animate({opacity: 1}, 150);
  728.                         });
  729.                     }
  730.                     \$('.div-hover').hover(function (e) {
  731.                         \$(this).find('.project-arrow-2').animate({opacity: 1}, 150);
  732.                     }, function() {
  733.                         \$(this).find('.project-arrow-2').animate({opacity: 0}, 50);
  734.                     });
  735.                     \$('.div-hover').hover(function (e) {
  736.                         \$(this).find('.project-arrow-2').animate({opacity: 1}, 150);
  737.                         var htext = \$(this).find('.project-content').height();
  738.                         if (htext == undefined){htext = 0};
  739.                         \$(this).animate({height : htext+180}, 150);
  740.                         \$(this).find('.project-content').css({'visibility': 'visible'});
  741.                         \$(this).find('.project-content').animate({opacity: 1}, 150);
  742.                     }, function() {
  743.                         \$(this).find('.project-arrow-2').animate({opacity: 0}, 50);
  744.                         \$(this).animate({height : 70}, 150);
  745.                         \$(this).find('.project-content').animate({opacity: 0}, 150, function(){
  746.                             \$(this).find('.project-content').css({'visibility': 'hidden'});
  747.                         });
  748.                     });
  749.                 })
  750.                 .catch((error) => {
  751.                     console.error('Error:', error);
  752.                 });
  753.         })
  754.     }
  755.     for (const eElement of document.getElementsByClassName('projectButtonref')) {
  756.         eElement.addEventListener('click', function (e) {
  757.             e.preventDefault()
  758.             for (let button of document.getElementsByClassName('projectButtonref')) {
  759.                 if (button.classList.contains('all')){
  760.                     button.classList.remove('all')
  761.                     button.classList.add('come')
  762.                     button.querySelector('span').classList.replace('span-all', 'span-projects')
  763.                 }
  764.             }
  765.             eElement.classList.remove('come')
  766.             eElement.classList.add('all')
  767.             eElement.querySelector('span').classList.replace('span-projects', 'span-all')
  768.             fetch('reference/home/display/'+this.dataset.id, {
  769.                 method: 'GET',
  770.             })
  771.                 .then(response => response.json())
  772.                 .then(data => {
  773.                     document.getElementById('references-home').innerHTML = ''
  774.                     document.getElementById('references-home').innerHTML = data.data
  775.                     _ww = \$(window).width();
  776.                     var lightbox = \$('.lightbox'),
  777.                         item = 0;
  778.                     \$('.lightbox-on').click(function(e){
  779.                         e.stopPropagation();
  780.                         item = 0;
  781.                         var id = \$(this).attr('data-id'),
  782.                             max = 0;
  783.                         \$('#'+id).toggle();
  784.                         \$('#'+id).animate({opacity: 1}, 300);
  785.                         \$('#'+id).find('img').each(function( i ) {
  786.                             max = i;
  787.                             item = 1;
  788.                             counter(item, max+1);
  789.                             itemWidth(\$(this));
  790.                         });
  791.                     });
  792.                     lightbox.click(function(e) {
  793.                         e.stopPropagation();
  794.                         \$(this).animate({opacity: 0}, 300, function(){
  795.                             \$(this).toggle();
  796.                         });
  797.                     });
  798.                     \$('.closer').on('click', function (e) {
  799.                         e.stopPropagation();
  800.                         \$(this).parent().animate(
  801.                             {opacity: 0},
  802.                             300,
  803.                             function(){
  804.                                 \$(this).toggle();
  805.                             }
  806.                         );
  807.                     });
  808.                     function itemWidth(img){
  809.                         img.closest('.items').width(img.width());
  810.                     }
  811.                     function counter(item, max){
  812.                         \$('.counter').text(item + ' / ' + max);
  813.                     }
  814.                     \$('.item', lightbox).on('click, swipeleft', function (e) {
  815.                         var wd = \$(this).width(),
  816.                             last = \$(this).parent().find('.item').last(),
  817.                             img = \$(this).find('.img');
  818.                         itemWidth(img);
  819.                         \$(this).animate(
  820.                             {marginLeft: -wd, opacity: 0},
  821.                             500,
  822.                             'swing',
  823.                             function(){
  824.                                 \$(this).insertAfter(last);
  825.                                 \$(this).css({marginLeft: 0, opacity: 1});
  826.                             }
  827.                         );
  828.                     });
  829.                     \$('.item', lightbox).on('swiperight', function (e) {
  830.                         var wd = \$(this).width(),
  831.                             first = \$(this).parent().find('.item').first(),
  832.                             last = \$(this).parent().find('.item').last(),
  833.                             img = \$(this).find('.img');
  834.                         itemWidth(img);
  835.                         \$(last).insertBefore(\$(this));
  836.                         \$(last).css({marginLeft: -wd, opacity: 0});
  837.                         \$(this).parent().find('.item').eq(0).animate(
  838.                             {marginLeft: 0, opacity: 1},
  839.                             500,
  840.                             'swing'
  841.                         );
  842.                     });
  843.                     \$('.arrows', lightbox).on('click', function (e) {
  844.                         e.stopPropagation();
  845.                         var wd = \$(this).siblings('.items').find('.item').eq(0).width(),
  846.                             max = \$(this).siblings('.items').find('.item').length,
  847.                             first = \$(this).siblings('.items').find('.item').first(),
  848.                             last = \$(this).siblings('.items').find('.item').last(),
  849.                             isRight = \$(this).hasClass('right'),
  850.                             marginL = isRight ? -wd : 0,
  851.                             marginL0 = isRight ? 0: -wd,
  852.                             opacOn = isRight ? 1 : 0,
  853.                             opacOff = isRight ? 0 : 1;
  854.                         if (!isRight){
  855.                             \$(last).insertBefore(first);
  856.                             \$(last).css({marginLeft: -wd, opacity: 0});
  857.                             item++;
  858.                             if (item == max+1) {item = 1};
  859.                         } else {
  860.                             item--;
  861.                             if (item == 0) {item = max};
  862.                         };
  863.                         counter(item, max);
  864.                         var img = \$(this).siblings('.items').find('.item').eq(0).find('.img');
  865.                         itemWidth(img);
  866.                         \$(this).siblings('.items').find('.item').eq(1).animate(
  867.                             {opacity: opacOn},
  868.                             500,
  869.                             'swing');
  870.                         \$(this).siblings('.items').find('.item').eq(0).animate(
  871.                             {marginLeft: marginL, opacity: 1},
  872.                             500,
  873.                             'swing',
  874.                             function(){
  875.                                 if (isRight){
  876.                                     \$(this).insertAfter(last);
  877.                                     \$(this).css({ marginLeft: 0, opacity: 1});
  878.                                 }
  879.                             }
  880.                         );
  881.                     });
  882.                     if (_ww > 768){
  883.                         \$('.div-img-hover-2').hover(function (e) {
  884.                             \$(this).find('.project-arrow-2').animate({opacity: 1}, 150);
  885.                             var htext = \$(this).find('.project-content').height();
  886.                             if (htext == undefined){htext = 0};
  887.                             \$(this).find('.div-hover-2').animate({height : htext+180}, 150);
  888.                             \$(this).find('.project-content').css({'visibility': 'visible'});
  889.                             \$(this).find('.project-content').animate({opacity: 1}, 150);
  890.                         }, function() {
  891.                             \$(this).find('.div-hover-2').animate({height : 85}, 150);
  892.                             \$(this).find('.project-arrow-2').animate({opacity: 0}, 150);
  893.                             \$(this).find('.project-content').animate({opacity: 0}, 150, function(){
  894.                                 \$(this).find('.project-content').css({'visibility': 'hidden'});
  895.                             });
  896.                         });
  897.                     } else {
  898.                         \$('.div-img-hover-2').on( \"tap\", function( event ) {
  899.                             var opened = \$(this).find('.div-hover-2').hasClass('open'),
  900.                                 ht = opened ? 85 : '100%',
  901.                                 vis = opened ? 0 : 1;
  902.                             \$(this).find('.div-hover-2').toggleClass('open');
  903.                             \$(this).find('.div-hover-2').animate({height : ht}, 150);
  904.                             \$(this).find('.project-arrow-2').animate({opacity: vis}, 150);
  905.                         });
  906.                     }
  907.                 })
  908.                 .catch((error) => {
  909.                     console.error('Error:', error);
  910.                 });
  911.         })
  912.     }
  913.     /*
  914.     window.addEventListener('scroll', function(){
  915.         let search = document.getElementById('submit-search');
  916.         const formSearch = document.getElementById('form-search-normal')
  917.         const subSearch = document.getElementById('sub-search-div')
  918.         const send = document.getElementById('send')
  919.         if (search) {
  920.             search.classList.toggle(\"stickyY\", window.scrollY > 730);
  921.             if (search.classList.contains(\"stickyY\")) {
  922.                 search.setAttribute('type', 'button')
  923.                 search.addEventListener('click', function (e) {
  924.                     e.preventDefault()
  925.                     formSearch.classList.toggle('stickyYForm')
  926.                     send.classList.toggle('send-display')
  927.                     subSearch.classList.toggle('sub-search-div-height')
  928.                 })
  929.             } else  search.setAttribute('type', 'submit')
  930.         }
  931.     })
  932. */
  933. </script>
  934. ";
  935.         // line 979
  936.         yield "</body>
  937. </html>
  938. ";
  939.         
  940.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  941.         
  942.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  943.         return; yield '';
  944.     }
  945.     // line 5
  946.     public function block_title($context, array $blocks = [])
  947.     {
  948.         $macros $this->macros;
  949.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  950.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  951.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  952.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  953.         
  954.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  955.         
  956.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  957.         return; yield '';
  958.     }
  959.     // line 7
  960.     public function block_metaDescription($context, array $blocks = [])
  961.     {
  962.         $macros $this->macros;
  963.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  964.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  965.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  966.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  967.         
  968.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  969.         
  970.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  971.         return; yield '';
  972.     }
  973.     // line 9
  974.     public function block_stylesheets($context, array $blocks = [])
  975.     {
  976.         $macros $this->macros;
  977.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  978.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  979.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  980.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  981.         // line 10
  982.         yield "        ";
  983.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  984.         yield "
  985.         <link rel=\"stylesheet\" href=\"https://unpkg.com/@egjs/flicking/dist/flicking.css\" crossorigin=\"anonymous\" />
  986.         <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
  987.         <!--link rel=\"stylesheet\" href=\"https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css\" /-->
  988.     ";
  989.         
  990.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  991.         
  992.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  993.         return; yield '';
  994.     }
  995.     // line 19
  996.     public function block_javascripts($context, array $blocks = [])
  997.     {
  998.         $macros $this->macros;
  999.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1000.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1001.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1002.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1003.         // line 20
  1004.         yield "        ";
  1005.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  1006.         yield "
  1007. ";
  1008.         // line 22
  1009.         yield "        <script
  1010.                 src=\"https://code.jquery.com/jquery-3.6.0.min.js\"
  1011.                 integrity=\"sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=\"
  1012.                 crossorigin=\"anonymous\">
  1013.         </script>
  1014.         
  1015.         <script src=\"https://unpkg.com/@egjs/flicking/dist/flicking.pkgd.min.js\" crossorigin=\"anonymous\"></script>
  1016.         <script type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>
  1017.         <script src=\"https://unpkg.com/swiper/swiper-bundle.min.js\"></script>
  1018.         <script src=\"";
  1019.         // line 31
  1020.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/lightboxed/lightboxed.js"), "html"nulltrue);
  1021.         yield "\"></script>
  1022.         <!--script src=\"https://code.jquery.com/mobile/1.5.0-rc1/jquery.mobile-1.5.0-rc1.min.js\" integrity=\"sha256-c3VbCrdCtTHmXYAuxRT4D0Cy5VC/0zBnXVRIvJiV9xo=\" crossorigin=\"anonymous\"></script-->
  1023.         
  1024.     ";
  1025.         
  1026.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1027.         
  1028.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1029.         return; yield '';
  1030.     }
  1031.     // line 256
  1032.     public function block_body($context, array $blocks = [])
  1033.     {
  1034.         $macros $this->macros;
  1035.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1036.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  1037.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1038.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  1039.         
  1040.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1041.         
  1042.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1043.         return; yield '';
  1044.     }
  1045.     /**
  1046.      * @codeCoverageIgnore
  1047.      */
  1048.     public function getTemplateName()
  1049.     {
  1050.         return "base.html.twig";
  1051.     }
  1052.     /**
  1053.      * @codeCoverageIgnore
  1054.      */
  1055.     public function isTraitable()
  1056.     {
  1057.         return false;
  1058.     }
  1059.     /**
  1060.      * @codeCoverageIgnore
  1061.      */
  1062.     public function getDebugInfo()
  1063.     {
  1064.         return array (  1143 => 256,  1128 => 31,  1117 => 22,  1112 => 20,  1102 => 19,  1085 => 10,  1075 => 9,  1056 => 7,  1037 => 5,  1024 => 979,  643 => 481,  637 => 480,  497 => 343,  488 => 337,  477 => 331,  471 => 330,  465 => 329,  459 => 328,  454 => 326,  441 => 318,  435 => 317,  429 => 316,  423 => 315,  416 => 311,  401 => 299,  394 => 295,  382 => 286,  376 => 282,  374 => 281,  372 => 280,  370 => 279,  368 => 278,  366 => 277,  364 => 276,  352 => 267,  343 => 260,  341 => 259,  338 => 258,  336 => 256,  333 => 255,  331 => 254,  311 => 237,  277 => 205,  259 => 186,  255 => 182,  251 => 180,  249 => 175,  245 => 170,  239 => 162,  233 => 159,  227 => 156,  221 => 153,  215 => 150,  209 => 147,  205 => 145,  200 => 137,  198 => 136,  157 => 98,  141 => 84,  139 => 83,  136 => 82,  132 => 61,  123 => 58,  120 => 57,  116 => 56,  107 => 53,  104 => 52,  100 => 51,  97 => 49,  94 => 48,  92 => 47,  78 => 35,  76 => 19,  70 => 15,  68 => 9,  65 => 8,  63 => 7,  59 => 6,  55 => 5,  49 => 1,);
  1065.     }
  1066.     public function getSourceContext()
  1067.     {
  1068.         return new Source("<!DOCTYPE html>
  1069. <html>
  1070. <head>
  1071.     <meta charset=\"UTF-8\">
  1072.     <title>Tracol | {% block title %}{% endblock %}</title>
  1073.     <link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset(\"build/favicon-white.ico\") }}\">
  1074.     {% block metaDescription %}{% endblock %}
  1075.     <meta name=\"viewport\" content= \"width=device-width, initial-scale=1.0\">
  1076.     {% block stylesheets %}
  1077.         {{ encore_entry_link_tags('app') }}
  1078.         <link rel=\"stylesheet\" href=\"https://unpkg.com/@egjs/flicking/dist/flicking.css\" crossorigin=\"anonymous\" />
  1079.         <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
  1080.         <!--link rel=\"stylesheet\" href=\"https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css\" /-->
  1081.     {% endblock %}
  1082.     <script id=\"Cookiebot\" src=\"
  1083.     https://consent.cookiebot.com/uc.js\"
  1084.     data-cbid=\"d4dd1335-1dc0-4d3c-b4c3-49e9043d2e0e\" data-blockingmode=\"auto\" type=\"text/javascript\"></script>
  1085.         {% block javascripts %}
  1086.         {{ encore_entry_script_tags('app') }}
  1087. {#        <script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"d4dd1335-1dc0-4d3c-b4c3-49e9043d2e0e\" data-blockingmode=\"auto\" type=\"text/javascript\"></script>#}
  1088.         <script
  1089.                 src=\"https://code.jquery.com/jquery-3.6.0.min.js\"
  1090.                 integrity=\"sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=\"
  1091.                 crossorigin=\"anonymous\">
  1092.         </script>
  1093.         
  1094.         <script src=\"https://unpkg.com/@egjs/flicking/dist/flicking.pkgd.min.js\" crossorigin=\"anonymous\"></script>
  1095.         <script type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>
  1096.         <script src=\"https://unpkg.com/swiper/swiper-bundle.min.js\"></script>
  1097.         <script src=\"{{ asset(\"/lightboxed/lightboxed.js\") }}\"></script>
  1098.         <!--script src=\"https://code.jquery.com/mobile/1.5.0-rc1/jquery.mobile-1.5.0-rc1.min.js\" integrity=\"sha256-c3VbCrdCtTHmXYAuxRT4D0Cy5VC/0zBnXVRIvJiV9xo=\" crossorigin=\"anonymous\"></script-->
  1099.         
  1100.     {% endblock %}
  1101.     <style>
  1102.         @media (min-width: 1200px) and (max-width:1498px) {
  1103.             .navbar-expand-xl .navbar-collapse {
  1104.                 display: flex !important;
  1105.                 /* flex-basis: auto; */
  1106.                 justify-content: center;
  1107.             }
  1108.         }
  1109.     </style>
  1110. </head>
  1111. <body>
  1112.     {% if popup2024 is defined and popup2024 %}
  1113.         {% include '_popup2024.html.twig' %}
  1114.     {% endif %}
  1115. {#<script id=\"CookieDeclaration\" src=\"https://consent.cookiebot.com/d4dd1335-1dc0-4d3c-b4c3-49e9043d2e0e/cd.js\" type=\"text/javascript\" async></script>#}
  1116. {% for success in app.flashes('success') %}
  1117.     <div class=\"alert alert-success\" role=\"alert\">
  1118.         <p class=\"alert-link\">{{ success }}</p>
  1119.     </div>
  1120. {% endfor %}
  1121. {% for error in app.flashes('error') %}
  1122.     <div class=\"col-lg-8 mx-auto alert alert-danger\" role=\"alert\">
  1123.         <p class=\"alert-link\">{{ error }}</p>
  1124.     </div>
  1125. {% endfor %}
  1126. {#
  1127. <div class=\"d-flex flex-column flex-shrink-0 bg-light black\" style=\"width: 4rem;\">
  1128.     <a  href=\"https://www.facebook.com/tracolimmobilier/\"><i class=\"fab fa-facebook-f\"></i></a>
  1129.     <a href=\"https://www.linkedin.com/company/tracol-immobilier-s-a-/\"><i class=\"fab fa-linkedin\"></i></a>
  1130.     <a href=\"https://www.instagram.com/tracolimmobilier/\"><i class=\"fab fa-instagram\"></i></a>
  1131. </div>
  1132. <div id=\"div-newsletter\" class=\"d-flex flex-column flex-shrink-0 bg-light orange\">
  1133.     <a id=\"text-vertical\" class=\"text-vertical\" href=\"#\">NEWSLETTER</a>
  1134.     <div id=\"div-form-newsletter\" style=\"opacity: 0\">
  1135.         <span id=\"span-newsletter\" style=\"opacity: 0\">Restez informé ! Abonnez-vous à notre newsletter.</span>
  1136.         <form action=\"{{ path('mailchimp') }}\" id=\"form-newsletter\" style=\"display: none\">
  1137.             <div class=\"input-group\">
  1138.                 <input id=\"input-email\" class=\"form-control input-email\" type=\"email\" name=\"email\" placeholder=\"Votre adresse mail\">
  1139.                 <button class=\"btn btn-primary button-newsletter\" type=\"submit\"><i class=\"fas fa-arrow-right\"></i></button>
  1140.             </div>
  1141.         </form>
  1142.     </div>
  1143. </div>
  1144. #}
  1145. {% set propertiesApi = get_properties %}
  1146. <nav class=\"navbar navbar-expand-xl fixed-top homepage\">
  1147.     <div id=\"center-nav\" class=\"container-fluid\">
  1148.         <button class=\"navbar-toggler\"
  1149.                 type=\"button\"
  1150.                 data-bs-toggle=\"collapse\"
  1151.                 data-bs-target=\"#navbarNav\"
  1152.                 aria-controls=\"navbarNav\"
  1153.                 aria-expanded=\"false\"
  1154.                 aria-label=\"Toggle navigation\">
  1155.             <span class=\"navbar-toggler-icon\">
  1156.                 <i class=\"fas fa-bars\"></i>
  1157.             </span>
  1158.         </button>
  1159.         <a href=\"{{ path('index') }}\" class=\"tracol-logo\">
  1160.             <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"136.339\" height=\"51.127\" viewBox=\"0 0 136.339 51.127\">
  1161.                 <g id=\"Groupe_4469\" data-name=\"Groupe 4469\" transform=\"translate(11823.999 14639)\">
  1162.                     <path id=\"Tracé_59\" data-name=\"Tracé 59\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-12370.418 -14871.441)\" fill=\"#f6a400\"/>
  1163.                     <path id=\"Tracé_60\" data-name=\"Tracé 60\" d=\"M635.6,255.7c0,7.088,3.8,9.434,9.069,9.434a16.669,16.669,0,0,0,6.359-1.2l-.73-4.379a14.765,14.765,0,0,1-5.629,1.147c-2.658,0-4.378-1.2-4.378-5V232.5H635.6Z\" transform=\"translate(-12347.273 -14871.48)\"/>
  1164.                     <path id=\"Tracé_61\" data-name=\"Tracé 61\" d=\"M402.171,274.441h4.691V253.593a10.905,10.905,0,0,1,3.962-.573,14.562,14.562,0,0,1,4.117.573l.782-4.378a17.993,17.993,0,0,0-5.108-.626,21.859,21.859,0,0,0-8.444,1.512Zm40.968-12.477c0,8.652,4.639,13.031,12.3,13.031a19.832,19.832,0,0,0,6.984-1.2l-.73-4.378a15.649,15.649,0,0,1-5.942,1.147c-5.525,0-7.922-2.814-7.922-8.912,0-5.264,1.824-8.6,7.557-8.6a12.827,12.827,0,0,1,5.838,1.355l.729-4.482a17.148,17.148,0,0,0-6.672-1.3c-8.339,0-12.144,5.473-12.144,13.343m40.6-.156c0,5.369-1.3,8.756-6.724,8.756-5.473,0-6.828-3.388-6.828-8.756,0-5.316,1.355-8.756,6.828-8.756,5.42,0,6.724,3.44,6.724,8.756m-6.724,13.187c7.975,0,11.467-5.264,11.467-13.187,0-8.131-3.232-13.187-11.467-13.187-8.027,0-11.519,5.316-11.519,13.187,0,8.131,3.284,13.187,11.519,13.187\" transform=\"translate(-12205.374 -14881.258)\"/>
  1165.                     <path id=\"Tracé_62\" data-name=\"Tracé 62\" d=\"M349.134,255.7c0,7.088,3.8,9.434,9.069,9.434a16.669,16.669,0,0,0,6.359-1.2l-.73-4.379A14.766,14.766,0,0,1,358.2,260.7c-2.658,0-4.378-1.2-4.378-5V244.778h9.695v-4.43h-9.695V232.5h-4.691Z\" transform=\"translate(-12173.133 -14871.48)\"/>
  1166.                     <path id=\"Tracé_63\" data-name=\"Tracé 63\" d=\"M452.277,271.03c-4.851,0-4.851-3.294-4.851-4.165,0-.807.04-3.966,5.213-3.966H463.01v-5.42c0-6.567-4.431-8.809-10.425-8.809a29.621,29.621,0,0,0-7.87,1.146l.678,4.326a20.958,20.958,0,0,1,7.036-1.2c3.7,0,5.942,1.043,5.942,4.066v2.241h-4.9c-6.567,0-10.685,2.137-10.685,7.871,0,5.681,3.8,7.922,10.32,7.922a32.7,32.7,0,0,0,9.9-1.511v-4.091a43.889,43.889,0,0,1-10.733,1.589\" transform=\"translate(-12230.064 -14881.307)\"/>
  1167.                     <rect id=\"Rectangle_73\" data-name=\"Rectangle 73\" width=\"1.585\" height=\"8.956\" transform=\"translate(-11803.191 -14596.829)\"/>
  1168.                     <path id=\"Tracé_64\" data-name=\"Tracé 64\" d=\"M415.929,339.993h1.5l2.643,4.172,2.628-4.172h1.5v8.956h-1.585v-6.105l-2.448,3.88h-.194l-2.476-3.866v6.092h-1.572Z\" transform=\"translate(-12213.737 -14936.822)\"/>
  1169.                     <path id=\"Tracé_65\" data-name=\"Tracé 65\" d=\"M446.472,339.993h1.5l2.643,4.172,2.628-4.172h1.5v8.956h-1.585v-6.105l-2.448,3.88h-.194l-2.476-3.866v6.092h-1.572Z\" transform=\"translate(-12232.305 -14936.822)\"/>
  1170.                     <path id=\"Tracé_66\" data-name=\"Tracé 66\" d=\"M480,341.292c-1.808,0-2.113,1.112-2.113,3.058s.334,3.018,2.142,3.018,2.142-1.085,2.142-3.018-.349-3.058-2.171-3.058m-3.7,3.058c0-2.67.736-4.533,3.7-4.533s3.77,1.848,3.77,4.533-.779,4.492-3.741,4.492-3.727-1.822-3.727-4.492\" transform=\"translate(-12250.44 -14936.716)\"/>
  1171.                     <path id=\"Tracé_67\" data-name=\"Tracé 67\" d=\"M505.617,345.055v2.42h1.877c1.266,0,1.7-.473,1.7-1.2s-.417-1.224-1.7-1.224Zm0-3.588v2.225h1.711c1.182,0,1.585-.5,1.585-1.126s-.4-1.1-1.585-1.1Zm1.711-1.474c2.309,0,3.185.988,3.185,2.42a1.93,1.93,0,0,1-1.182,1.892,2.046,2.046,0,0,1,1.461,2c0,1.4-1.029,2.642-3.3,2.642h-3.449v-8.956Z\" transform=\"translate(-12267.304 -14936.822)\"/>
  1172.                     <rect id=\"Rectangle_74\" data-name=\"Rectangle 74\" width=\"1.586\" height=\"8.956\" transform=\"translate(-11753.034 -14596.829)\"/>
  1173.                     <path id=\"Tracé_68\" data-name=\"Tracé 68\" d=\"M543.847,339.993h1.572v7.482h4.117v1.474h-5.689Z\" transform=\"translate(-12291.499 -14936.822)\"/>
  1174.                     <rect id=\"Rectangle_75\" data-name=\"Rectangle 75\" width=\"1.586\" height=\"8.956\" transform=\"translate(-11738.931 -14596.829)\"/>
  1175.                     <path id=\"Tracé_69\" data-name=\"Tracé 69\" d=\"M581.389,347.475h4.673v1.474h-6.245v-8.957h6.245v1.474h-4.673v2.142h4.117v1.474h-4.117Z\" transform=\"translate(-12313.365 -14936.822)\"/>
  1176.                     <path id=\"Tracé_70\" data-name=\"Tracé 70\" d=\"M605.9,341.467V344.1h1.85c1.377,0,1.794-.529,1.794-1.308,0-.834-.417-1.321-1.794-1.321Zm3.255,3.908,2.337,3.574h-1.808l-2.2-3.379H605.9v3.379h-1.572v-8.956h3.421c2.448,0,3.38,1.126,3.38,2.8a2.537,2.537,0,0,1-1.975,2.587\" transform=\"translate(-12328.266 -14936.822)\"/>
  1177.                 </g>
  1178.             </svg>
  1179.         </a>
  1180.         <button style=\"background-color: transparent;border-color: transparent; display: none;position: absolute;right:0;top:5px;\" id=\"submit-search-mobile\" type=\"submit\" data-bs-toggle=\"modal\" data-bs-target=\"#exampleModal1\">
  1181.             <svg style=\"height: 55px;\" class=\"search-button\" xmlns=\"http://www.w3.org/2000/svg\" width=\"55.982\" height=\"90.97\" viewBox=\"0 0 55.982 90.97\">
  1182.                 <g id=\"Groupe_3817\" data-name=\"Groupe 3817\" transform=\"translate(-1528.861 -105)\">
  1183.                     <path id=\"Tracé_95\" data-name=\"Tracé 95\" d=\"M729.651,232.441H673.669v90.97l55.982-11.894Z\" transform=\"translate(855.192 -127.441)\" fill=\"#f6a400\"/>
  1184.                     <g id=\"Groupe_3794\" data-name=\"Groupe 3794\" transform=\"translate(1545.335 126.696)\">
  1185.                         <g id=\"np_search_1868241_000000\">
  1186.                             <path id=\"Tracé_92\" data-name=\"Tracé 92\" d=\"M8.287,17.368A8.662,8.662,0,1,1,14.4,14.813a8.679,8.679,0,0,1-6.109,2.555Zm0-15.055a6.36,6.36,0,1,0,4.477,1.881A6.377,6.377,0,0,0,8.287,2.313Z\" transform=\"translate(0.441 -0.012)\" fill=\"#fff\"/>
  1187.                             <path id=\"Tracé_93\" data-name=\"Tracé 93\" d=\"M57.82,59.567l1.626-1.633L67.4,65.852l-1.626,1.633Z\" transform=\"translate(-44.591 -44.782)\" fill=\"#fff\"/>
  1188.                         </g>
  1189.                     </g>
  1190.                 </g>
  1191.             </svg>
  1192.         </button>
  1193.         <!-- Modal -->
  1194.         {% include '_navSearch.html.twig' %}
  1195.         <div class=\"nav-elements collapse navbar-collapse\" id=\"navbarNav\">
  1196.             <ul class=\"navbar-nav\">
  1197.                 {#
  1198.                 <li class=\"nav-item\">
  1199.                     <a class=\"nav-link active\" aria-current=\"page\" href=\"{{ path('tracol') }}\">Tracol</a>
  1200.                 </li>
  1201.                 #}
  1202.                 <li class=\"nav-item\">
  1203.                     <a class=\"nav-link\" href=\"{{ path('about') }}\">Qui sommes-nous ?</a>
  1204.                 </li>
  1205.                 <li class=\"nav-item\">
  1206.                     <a class=\"nav-link\" href=\"{{ path('properties', {'keyword': 'vente'}) }}\">Acheter</a>
  1207.                 </li>
  1208.                 <li class=\"nav-item\">
  1209.                     <a class=\"nav-link\" href=\"{{ path('properties', {'keyword': 'location'}) }}\">Louer</a>
  1210.                 </li>
  1211.                 <li class=\"nav-item\">
  1212.                     <a class=\"nav-link\" href=\"{{ path('vendre', {'keyword': 'location'}) }}\">Vendre</a>
  1213.                 </li>
  1214.                 <li class=\"nav-item\">
  1215.                     <a class=\"nav-link\" href=\"{{ path('projects', {'keyword': 'location'}) }}\">Projets</a>
  1216.                 </li>
  1217.                 <li class=\"nav-item\">
  1218.                     <a class=\"nav-link\" href=\"{{ path('reference') }}\">Références</a>
  1219.                 </li>
  1220.                 {#
  1221.                 <li class=\"nav-item\">
  1222.                     <a class=\"nav-link\" href=\"{{ path('team') }}\">Notre equipe</a>
  1223.                 </li>
  1224.                 #}
  1225. {#                <li class=\"nav-item\">#}
  1226. {#                    <a class=\"nav-link\" href=\"#\">Actualités</a>#}
  1227. {#                </li>#}
  1228.                 {#
  1229.                 <li class=\"nav-item\">
  1230.                     <a class=\"nav-link\" href=\"{{ path('carrieres') }}\">Carrières</a>
  1231.                 </li>
  1232.                 #}
  1233.                 <li id=\"enveloppe-mobile\" class=\"nav-item\">
  1234.                     <a class=\"nav-link\" href=\"{{ path('contact') }}\">
  1235.                         {#
  1236.                         <i class=\"far fa-envelope\"></i>
  1237.                         #}
  1238.                         Contact
  1239.                     </a>
  1240.                 </li>
  1241.             </ul>
  1242.         </div>
  1243.         <div class=\"contacts-social\">
  1244.             <div class=\"phone-contact\">
  1245.                 <div>
  1246.                     <svg class=\"svg-phone\" xmlns=\"http://www.w3.org/2000/svg\" width=\"31.059\" height=\"27.732\" viewBox=\"0 0 31.059 27.732\">
  1247.                         <g id=\"np_phone-call_3960627_000000\" transform=\"translate(-6.248 -15.626)\">
  1248.                             <path id=\"Tracé_116\" data-name=\"Tracé 116\" d=\"M32.871,43.356H33.98V41.138h3.328V38.919H33.98V34.793l-7.931-2.64-2.973,1.986a19.764,19.764,0,0,1-7.488-7.421l1.9-1.9-2.64-9.2h-8.6v1.109A26.511,26.511,0,0,0,32.871,43.357ZM13.182,17.844l1.808,6.334L12.9,26.307l.377.721a22,22,0,0,0,9.406,9.384l.588.3,3.161-2.119,5.324,1.8v4.748A24.461,24.461,0,0,1,8.467,17.844Z\" fill=\"#5f5f5f\" stroke=\"#5f5f5f\" />
  1249.                         </g>
  1250.                     </svg>
  1251.                 </div>
  1252.                 <div>
  1253.                     <p class=\"phone\">
  1254.                         {#
  1255.                         Besoin d'informations ? <br>
  1256.                         #}
  1257.                         <a href=\"tel:+3522658601\">(+352) 26 58 60-1</a>
  1258.                     </p>
  1259.                 </div>
  1260.             </div>
  1261.             <div class=\"socials\">
  1262.                 <a target=\"_blank\" href=\"https://www.facebook.com/tracolimmobilier/\">
  1263.                     <i class=\"fab fa-facebook-f fa-2x\"></i>
  1264.                 </a>
  1265.                 <a target=\"_blank\" href=\"https://www.linkedin.com/company/tracol-immobilier-s-a-/\">
  1266.                     <i class=\"fab fa-linkedin fa-2x\"></i>
  1267.                 </a>
  1268.                 <a target=\"_blank\" href=\"https://www.instagram.com/tracolimmobilier/\">
  1269.                     <i class=\"fab fa-instagram fa-2x\"></i>
  1270.                 </a>
  1271.                 <a target=\"_blank\" href=\"https://www.youtube.com/channel/UCLl8G5ZCdyslVR_4ANkD6GA\">
  1272.                     <i class=\"fab fa-youtube fa-2x\"></i>
  1273.                 </a>
  1274.             </div>
  1275.         </div>
  1276.         <div id=\"footer-nav-mobile\" style=\"display: none\">
  1277.                 <div>
  1278.                     <a href=\"tel:+3522658601\">
  1279.                         <svg style=\"margin: auto;\" class=\"svg-phone\" xmlns=\"http://www.w3.org/2000/svg\" width=\"31.059\" height=\"27.732\" viewBox=\"0 0 31.059 27.732\">
  1280.                             <g id=\"np_phone-call_3960627_000000\" transform=\"translate(-6.248 -15.626)\">
  1281.                                 <path id=\"Tracé_116\" data-name=\"Tracé 116\" d=\"M32.871,43.356H33.98V41.138h3.328V38.919H33.98V34.793l-7.931-2.64-2.973,1.986a19.764,19.764,0,0,1-7.488-7.421l1.9-1.9-2.64-9.2h-8.6v1.109A26.511,26.511,0,0,0,32.871,43.357ZM13.182,17.844l1.808,6.334L12.9,26.307l.377.721a22,22,0,0,0,9.406,9.384l.588.3,3.161-2.119,5.324,1.8v4.748A24.461,24.461,0,0,1,8.467,17.844Z\" fill=\"#5f5f5f\" stroke=\"#5f5f5f\" />
  1282.                             </g>
  1283.                         </svg>
  1284.                     </a>
  1285.                 </div>
  1286.                 <div>
  1287.                     <a href=\"{{ path('contact') }}\"><i style=\"color: #5f5f5f;\" class=\"far fa-envelope fa-2x\"></i></a>
  1288.                 </div>
  1289.                 <div>
  1290.                     <a target=\"_blank\" href=\"https://www.facebook.com/tracolimmobilier/\"><i style=\"color: #5f5f5f;\" class=\"fab fa-facebook-f\"></i></a>
  1291.                 </div>
  1292.                 <div>
  1293.                     <a target=\"_blank\" href=\"https://www.linkedin.com/company/tracol-immobilier-s-a-/\"><i style=\"color: #5f5f5f;\" class=\"fab fa-linkedin\"></i></a>
  1294.                 </div>
  1295.                 <div>
  1296.                     <a target=\"_blank\" href=\"https://www.instagram.com/tracolimmobilier/\"><i style=\"color: #5f5f5f;\" class=\"fab fa-instagram\"></i></a>
  1297.                 </div>
  1298.                 <div>
  1299.                     <a target=\"_blank\" href=\"https://www.youtube.com/channel/UCLl8G5ZCdyslVR_4ANkD6GA\"><i style=\"color: #5f5f5f;\" class=\"fab fa-youtube fa-2x\"></i></a>
  1300.                 </div>
  1301.         </div>
  1302.     </div>
  1303. </nav>
  1304. {% include '_navSubSearch.html.twig' %}
  1305. {% block body %}
  1306. {% endblock %}
  1307. {% if app.request.attributes.get('_route') == 'home' %}
  1308.     <div id=\"div-newsletter-mobile\" class=\"\" style=\"display: none\">
  1309.         <div class=\"col-lg-12\" style=\"display: flex; justify-content:center; margin-top: 20px;\">
  1310.            <div class=\"col-lg-12\">
  1311.                <p class=\"newsletter-title\">NEWSLETTER</p>
  1312.            </div>
  1313.         </div>
  1314.         <div class=\"col-lg-12\" id=\"div-form-newsletter\" style=\"display: flex; justify-content: space-around;\">
  1315.             <form method=\"post\" action=\"{{ path('mailchimp') }}\" id=\"form-newsletter\">
  1316.                 <div class=\"input-group\">
  1317.                     <input class=\"form-control input-email\" type=\"email\" name=\"email\" placeholder=\"Votre adresse mail\">
  1318.                     <button class=\"btn btn-primary button-newsletter\" type=\"submit\"><i class=\"fas fa-arrow-right\"></i></button>
  1319.                 </div>
  1320.             </form>
  1321.         </div>
  1322.     </div>
  1323. {% endif %}
  1324. {% set mentions = content('Footer', 'Footer') %}
  1325. {% set cgu = content('Footer', 'Footer2') %}
  1326. {% set confidentialite = content('Footer', 'Footer3') %}
  1327. {% set cookie = content('Footer', 'Footer4') %}
  1328. {% set adress = content('Footer', 'Footer adresse') %}
  1329. {% set siege = content('Footer', 'Footer siège') %}
  1330. <footer class=\"footer\">
  1331.     <div class=\"container-fluid\">
  1332.         <ul id=\"footer-menu\" class=\"footer-menu\" style=\"margin-bottom: -15px;margin-top: -15px;\">
  1333.             <li>
  1334.                 © {{ 'now'|date('Y') }} TRACOL - réalisé par <a href=\"https://www.idp.lu/\" target=\"_blank\" style=\"font-weight:bold\">ID+P</a>
  1335.             </li>
  1336.             <li style=\"height: 130px\">
  1337.                 <!--?xml version=\"1.0\" encoding=\"UTF-8\"?-->
  1338.                 <svg id=\"SVGDoc\" width=\"201\" height=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 201 232\"><defs></defs><desc>Generated with Avocode.</desc><g><g><title>Ligne 38</title><path d=\"M100.5,100v32\" fill-opacity=\"0\" fill=\"#ffffff\" stroke-dashoffset=\"0\" stroke-linejoin=\"miter\" stroke-linecap=\"butt\" stroke-opacity=\"1\" stroke=\"#5f5f5f\" stroke-miterlimit=\"20\" stroke-width=\"10\"></path></g></g></svg>
  1339.             </li>
  1340.             <li class=\"row col-md-3\">
  1341.                 <div class=\"col-md-6\">
  1342.                     Bureaux commerciaux :<br/>
  1343.                     {{ adress.content|raw }}
  1344.                 </div>
  1345.                 <div class=\"col-md-6\">
  1346.                     Siège social : 
  1347.                     {{ siege.content|raw }}
  1348.                 </div>
  1349.             </li>
  1350.             <li style=\"height: 130px\">
  1351.                 <!--?xml version=\"1.0\" encoding=\"UTF-8\"?-->
  1352.                 <svg id=\"SVGDoc\" width=\"201\" height=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 201 232\"><defs></defs><desc>Generated with Avocode.</desc><g><g><title>Ligne 38</title><path d=\"M100.5,100v32\" fill-opacity=\"0\" fill=\"#ffffff\" stroke-dashoffset=\"0\" stroke-linejoin=\"miter\" stroke-linecap=\"butt\" stroke-opacity=\"1\" stroke=\"#5f5f5f\" stroke-miterlimit=\"20\" stroke-width=\"10\"></path></g></g></svg>
  1353.             </li>
  1354.             <li class=\"grey col-md-2 d-flex justify-content-around social\">
  1355.                 <a target=\"_blank\" href=\"https://www.facebook.com/tracolimmobilier/\"><i class=\"fab fa-facebook-f fa-2x\" style=\"margin-top:0\"></i></a>
  1356.                 <a target=\"_blank\" href=\"https://www.linkedin.com/company/tracol-immobilier-s-a-/\"><i class=\"fab fa-linkedin fa-2x\" style=\"margin-top:0\"></i></a>
  1357.                 <a target=\"_blank\" href=\"https://www.instagram.com/tracolimmobilier/\"><i class=\"fab fa-instagram fa-2x\" style=\"cmargin-top:0\"></i></a>
  1358.                 <a target=\"_blank\" href=\"https://www.youtube.com/channel/UCLl8G5ZCdyslVR_4ANkD6GA\" class=\"d-flex align-items-end align-items-center\"><i class=\"fab fa-youtube fa-2x\"></i></a>
  1359.                 <a href=\"{{ path('contact') }}\" class=\"contact-link\"><i class=\"fa fa-envelope fa-2x\"></i></a>
  1360.             </li>
  1361.             <li class=\"legal d-flex align-items-center\">
  1362.                 <div class=\"d-flex flex-column\">
  1363.                     <a href=\"{{ path('mentions') }}\" style=\"margin-bottom:6px;\">{{ mentions.name }}</a>
  1364.                     <a href=\"{{ path('cgu') }}\" style=\"margin-bottom:6px\">{{ cgu.name }}</a>
  1365.                     <a href=\"{{ path('privacy_policy') }}\" style=\"margin-bottom:6px\">{{ confidentialite.name }}</a>
  1366.                     <a href=\"{{ path('cookies') }}\" style=\"margin-bottom:15px\">{{ cookie.name }}</a>
  1367.                 </div>
  1368.             </li>
  1369.         </ul>
  1370.         <ul id=\"footer-menu-mobile\" class=\"footer-menu\" style=\"display:none; margin-bottom: -15px;margin-top: -15px;\">
  1371.             <li class=\"legal d-flex align-items-center flex-column mt-3\">
  1372.                 <a href=\"{{ path('contact') }}\" class=\"grey contact-link mr-0\" style=\"margin-right:0!important;\"><i class=\"fa fa-envelope fa-2x\"></i></a>
  1373.                 <div class=\"d-flex flex-column align-items-center\">
  1374.                     <a href=\"{{ path('mentions') }}\" style=\"margin-bottom:6px;\">{{ mentions.name }}</a>
  1375.                     <a href=\"{{ path('cgu') }}\" style=\"margin-bottom:6px\">{{ cgu.name }}</a>
  1376.                     <a href=\"{{ path('privacy_policy') }}\" style=\"margin-bottom:6px\">{{ confidentialite.name }}</a>
  1377.                     <a href=\"{{ path('cookies') }}\" style=\"margin-bottom:15px\">{{ cookie.name }}</a>
  1378.                 </div>
  1379.             </li>
  1380.             <li>
  1381.                 <div>
  1382.                     Bureaux commerciaux :<br/>
  1383.                     {{ adress.content|raw }}
  1384.                 </div>
  1385.             </li>
  1386.             <li>
  1387.                 <div>
  1388.                     Siège social : <br />
  1389.                     {{ siege.content|raw }}
  1390.                 </div>
  1391.             </li>
  1392.             <li>
  1393.                 © 2021 TRACOL - réalisé par <a href=\"https://www.idp.lu/\" target=\"_blank\" style=\"font-weight:bold\">ID+P</a>
  1394.             </li>
  1395.         </ul>
  1396.     </div>
  1397. </footer>
  1398. <script src=\"https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js\"></script>
  1399. <script>
  1400.     if (window.matchMedia(\"(max-width: 768px)\").matches && window.location.pathname === '/') {
  1401.         /* the viewport is less than 768 pixels wide */
  1402.     //      \$('#projects').slick({
  1403.     //     dots: false,
  1404.     //     infinite: true,
  1405.     //     speed: 300,
  1406.     //     slidesToShow: 1,
  1407.     //     slidesToScroll: 1,
  1408.     //     autoplay: true,
  1409.     //     responsive: [
  1410.     //         {
  1411.     //             breakpoint: 576,
  1412.     //             settings: {
  1413.     //                 slidesToShow: 1,
  1414.     //                 slidesToScroll: 1
  1415.     //             }
  1416.     //         }
  1417.     //         // You can unslick at a given breakpoint now by adding:
  1418.     //         // settings: \"unslick\"
  1419.     //         // instead of a settings object
  1420.     //     ]
  1421.     // });
  1422.     }
  1423.     //
  1424.     // const searchMobile = document.getElementById('search-detail-mobile')
  1425.     // const searchSubDivMobile = document.getElementById('sub-search-div-mobile')
  1426.     //
  1427.     // searchMobile.addEventListener('click', function (e) {
  1428.     //     e.preventDefault()
  1429.     //     searchSubDivMobile.style.display = 'flex'
  1430.     //     searchMobile.style.display = 'none'
  1431.     // })
  1432. </script>
  1433. <script>
  1434.     if (document.getElementById('filterProperties')) {
  1435.         let formSelectProperties = document.getElementById('filterProperties');
  1436.         let properties = document.querySelectorAll('#properties .div-img-hover-2');
  1437.         let arrayProperties = [];
  1438.         for (let property of properties) {
  1439.             arrayProperties.push({
  1440.                 'property': property,
  1441.                 'price': property.getAttribute('data-price'),
  1442.                 'date': new Date(property.getAttribute('data-date')),
  1443.             });
  1444.         }
  1445.         formSelectProperties.addEventListener('change', () => {
  1446.             if (formSelectProperties.value === 'desc') {
  1447.                 arrayProperties.sort((a,b) =>  b.price - a.price )
  1448.             } else if (formSelectProperties.value === 'asc') {
  1449.                 arrayProperties.sort((a,b) =>  a.price - b.price )
  1450.             } else if (formSelectProperties.value === 'date') {
  1451.                 arrayProperties.sort((a,b) =>  b.date - a.date )
  1452.             }
  1453.             let finalProperties = [];
  1454.             let containerProperties = document.getElementById('properties');
  1455.             containerProperties.innerHTML = '';
  1456.             for (let prop of arrayProperties) {
  1457.                 containerProperties.insertAdjacentElement('beforeend', prop.property)
  1458.             }
  1459.         });
  1460.     }
  1461.     // let searchglobal = document.getElementById('submit-searchglobal');
  1462.         // searchglobal.addEventListener('click', function() {
  1463.         //     const formSearch = document.getElementById('form-searchglobal-normal')
  1464.         //     const subSearch = document.getElementById('sub-searchglobal-div')
  1465.         //     const send = document.getElementById('sendGlobal')
  1466.         //             formSearch.classList.toggle('stickyYForm')
  1467.         //             send.classList.toggle('send-display')
  1468.         //             subSearch.classList.toggle('sub-searchglobal-div-height')
  1469.         // })
  1470. </script>
  1471. <script>
  1472.     const swiper = new Swiper('.swiper', {
  1473.         loop: false,
  1474.     });
  1475.     if (window.location.pathname === '/') {
  1476.         const navbar = document.getElementsByClassName('navbar navbar-expand-xl fixed-top')
  1477.         const header = document.getElementsByClassName('header-home')
  1478.         navbar[0].style.backgroundColor = \"#fff\"
  1479.         navbar[0].style.position = \"fixed\"
  1480.         header[0].style.marginTop = \"0px\"
  1481.         header[0].style.height = \"100vw\"
  1482.     }
  1483.     let widthWindow = window.innerWidth;
  1484.     var searchLocation;
  1485.     if (widthWindow > 770) {
  1486.         searchLocation = document.getElementById('location-drop');
  1487.     } else {
  1488.         searchLocation = document.getElementById('location-drop-mobile');
  1489.     }
  1490.     var searchLocationLi;
  1491.     if (widthWindow > 770) {
  1492.         searchLocationLi = document.getElementById('location-li');
  1493.     } else {
  1494.         searchLocationLi = document.getElementById('location-li-mobile');
  1495.     }
  1496.     const url = '/form/search';
  1497.     fetch(url, {
  1498.         method: 'GET',
  1499.         // body: JSON.stringify({
  1500.         //     searchLocation: this.value
  1501.         // })
  1502.     }).then(function(response) {
  1503.         return response.json()
  1504.     }).then(function (data) {
  1505.         searchLocationLi.innerHTML = '';
  1506.         var selected = \"Tous\";
  1507.         {% if app.session.get('filter') is defined and app.session.get('filter')['location'] is defined and app.session.get('filter')['location'] != 'Tous' %} selected = '{{ app.session.get('filter')['location'] }}'; {% endif %}
  1508.         for (const datum in data) {
  1509.             const li = document.createElement('li')
  1510.             li.classList.add('item')
  1511.             if(selected == data[datum]) li.classList.add('selected')
  1512.             li.dataset.value = data[datum]
  1513.             li.addEventListener('click', function () {
  1514.                 searchLocation.value = this.dataset.itemName
  1515.             })
  1516.             li.innerHTML += data[datum]
  1517.             searchLocationLi.appendChild(li)
  1518.             li.addEventListener('click', event => {
  1519.                 li.classList.add('selected');
  1520.             });
  1521.         }
  1522.     searchLocation.addEventListener(\"click\", function (){
  1523.             searchLocationLi.addEventListener('click', function (e) {
  1524.                 let target = e.target;
  1525.                 var dropId;
  1526.                 if (widthWindow > 770) {
  1527.                     dropId = document.getElementById('location-drop');
  1528.                 } else {
  1529.                     dropId = document.getElementById('location-drop-mobile');
  1530.                 }
  1531.                 dropId.querySelector('.undroped-subheader').innerHTML = target.innerHTML
  1532.                 dropId.querySelector('.input-subheader').value = target.dataset.value
  1533.                 dropId.classList.remove('open')
  1534.                 dropId.querySelector('.undroped').style.display = 'block'
  1535.                 dropId.querySelector('.droped').style.display = 'none'
  1536.                 dropId.querySelector('.undroped-subheader').classList.add('selected')
  1537.             })
  1538.         });
  1539.     })
  1540.     const searchTransactionLi = document.getElementById('transaction-li');
  1541.     const searchPropertyLi = document.getElementById('property-li');
  1542.     const searchRoomLi = document.getElementById('rooms-li');
  1543.     const searchAreaLi = document.getElementById('area-li');
  1544.     searchTransactionLi.addEventListener('click', function (e) {
  1545.         let target = e.target;
  1546.         const dropId = document.getElementById('transaction-drop')
  1547.         dropId.querySelector('.input-subheader').value = target.dataset.value
  1548.     });
  1549.     searchPropertyLi.addEventListener('click', function (e) {
  1550.         let target = e.target;
  1551.         const dropId = document.getElementById('property-drop')
  1552.         dropId.querySelector('.input-subheader').value = target.dataset.value
  1553.     });
  1554.     searchRoomLi.addEventListener('click', function (e) {
  1555.         let target = e.target;
  1556.         const dropId = document.getElementById('rooms-drop');
  1557.         dropId.querySelector('.input-subheader').value = target.dataset.value
  1558.     });
  1559.     searchAreaLi.addEventListener('click', function (e) {
  1560.         let target = e.target;
  1561.         const dropId = document.getElementById('area-drop')
  1562.         dropId.querySelector('.input-subheader').value = target.dataset.value
  1563.     });
  1564.     for (const eElement of document.getElementsByClassName('projectButton')) {
  1565.         eElement.addEventListener('click', function (e) {
  1566.             e.preventDefault()
  1567.             for (let button of document.getElementsByClassName('projectButton')) {
  1568.                 if (button.classList.contains('all')){
  1569.                     button.classList.remove('all')
  1570.                     button.classList.add('come')
  1571.                     button.querySelector('span').classList.replace('span-all', 'span-projects')
  1572.                 }
  1573.             }
  1574.             eElement.classList.remove('come')
  1575.             eElement.classList.add('all')
  1576.             eElement.querySelector('span').classList.replace('span-projects', 'span-all')
  1577.             fetch('projects/home/display/'+this.dataset.id, {
  1578.                 method: 'GET',
  1579.             })
  1580.                 .then(response => response.json())
  1581.                 .then(data => {
  1582.                     document.getElementById('projects').innerHTML = ''
  1583.                     document.getElementById('projects').innerHTML = data.data
  1584.                     if (window.matchMedia(\"(max-width: 768px)\").matches && window.location.pathname === '/') {
  1585.                         // if (document.getElementById('projects').classList.contains('slick-initialized')) {
  1586.                         //     document.getElementById('projects').classList.remove('slick-initialized')
  1587.                         //     document.getElementById('projects').classList.remove('slick-slider')
  1588.                         // }
  1589.                         // \$('#projects').slick({
  1590.                         //     dots: false,
  1591.                         //     infinite: true,
  1592.                         //     speed: 300,
  1593.                         //     slidesToShow: 1,
  1594.                         //     slidesToScroll: 1,
  1595.                         //     autoplay: true,
  1596.                         //     responsive: [
  1597.                         //         {
  1598.                         //             breakpoint: 576,
  1599.                         //             settings: {
  1600.                         //                 slidesToShow: 1,
  1601.                         //                 slidesToScroll: 1
  1602.                         //             }
  1603.                         //         }
  1604.                         //     ]
  1605.                         // })
  1606.                     }
  1607.                     _ww = \$(window).width();
  1608.                     if (_ww > 768){
  1609.                         \$('.div-img-hover-2').hover(function (e) {
  1610.                             \$(this).find('.project-arrow-2').animate({opacity: 1}, 150);
  1611.                             var htext = \$(this).find('.project-content').height();
  1612.                             if (htext == undefined){htext = 0};
  1613.                             \$(this).find('.div-hover-2').animate({height : htext+180}, 150);
  1614.                             \$(this).find('.project-content').css({'visibility': 'visible'});
  1615.                             \$(this).find('.project-content').animate({opacity: 1}, 150);
  1616.                         }, function() {
  1617.                             \$(this).find('.div-hover-2').animate({height : 85}, 150);
  1618.                             \$(this).find('.project-arrow-2').animate({opacity: 0}, 150);
  1619.                             \$(this).find('.project-content').animate({opacity: 0}, 150, function(){
  1620.                                 \$(this).find('.project-content').css({'visibility': 'hidden'});
  1621.                             });
  1622.                         });
  1623.                     } else {
  1624.                         \$('.div-img-hover-2').on( \"click\", function( event ) {
  1625.                             var opened = \$(this).find('.div-hover-2').hasClass('open'),
  1626.                                 ht = opened ? 85 : '100%',
  1627.                                 vis = opened ? 0 : 1;
  1628.                             \$(this).find('.div-hover-2').toggleClass('open');
  1629.                             \$(this).find('.div-hover-2').animate({height : ht}, 150);
  1630.                             \$(this).find('.project-arrow-2').animate({opacity: vis}, 150);
  1631.                             \$(this).find('.project-content').animate({opacity: 1}, 150);
  1632.                         });
  1633.                     }
  1634.                     \$('.div-hover').hover(function (e) {
  1635.                         \$(this).find('.project-arrow-2').animate({opacity: 1}, 150);
  1636.                     }, function() {
  1637.                         \$(this).find('.project-arrow-2').animate({opacity: 0}, 50);
  1638.                     });
  1639.                     \$('.div-hover').hover(function (e) {
  1640.                         \$(this).find('.project-arrow-2').animate({opacity: 1}, 150);
  1641.                         var htext = \$(this).find('.project-content').height();
  1642.                         if (htext == undefined){htext = 0};
  1643.                         \$(this).animate({height : htext+180}, 150);
  1644.                         \$(this).find('.project-content').css({'visibility': 'visible'});
  1645.                         \$(this).find('.project-content').animate({opacity: 1}, 150);
  1646.                     }, function() {
  1647.                         \$(this).find('.project-arrow-2').animate({opacity: 0}, 50);
  1648.                         \$(this).animate({height : 70}, 150);
  1649.                         \$(this).find('.project-content').animate({opacity: 0}, 150, function(){
  1650.                             \$(this).find('.project-content').css({'visibility': 'hidden'});
  1651.                         });
  1652.                     });
  1653.                 })
  1654.                 .catch((error) => {
  1655.                     console.error('Error:', error);
  1656.                 });
  1657.         })
  1658.     }
  1659.     for (const eElement of document.getElementsByClassName('projectButtonref')) {
  1660.         eElement.addEventListener('click', function (e) {
  1661.             e.preventDefault()
  1662.             for (let button of document.getElementsByClassName('projectButtonref')) {
  1663.                 if (button.classList.contains('all')){
  1664.                     button.classList.remove('all')
  1665.                     button.classList.add('come')
  1666.                     button.querySelector('span').classList.replace('span-all', 'span-projects')
  1667.                 }
  1668.             }
  1669.             eElement.classList.remove('come')
  1670.             eElement.classList.add('all')
  1671.             eElement.querySelector('span').classList.replace('span-projects', 'span-all')
  1672.             fetch('reference/home/display/'+this.dataset.id, {
  1673.                 method: 'GET',
  1674.             })
  1675.                 .then(response => response.json())
  1676.                 .then(data => {
  1677.                     document.getElementById('references-home').innerHTML = ''
  1678.                     document.getElementById('references-home').innerHTML = data.data
  1679.                     _ww = \$(window).width();
  1680.                     var lightbox = \$('.lightbox'),
  1681.                         item = 0;
  1682.                     \$('.lightbox-on').click(function(e){
  1683.                         e.stopPropagation();
  1684.                         item = 0;
  1685.                         var id = \$(this).attr('data-id'),
  1686.                             max = 0;
  1687.                         \$('#'+id).toggle();
  1688.                         \$('#'+id).animate({opacity: 1}, 300);
  1689.                         \$('#'+id).find('img').each(function( i ) {
  1690.                             max = i;
  1691.                             item = 1;
  1692.                             counter(item, max+1);
  1693.                             itemWidth(\$(this));
  1694.                         });
  1695.                     });
  1696.                     lightbox.click(function(e) {
  1697.                         e.stopPropagation();
  1698.                         \$(this).animate({opacity: 0}, 300, function(){
  1699.                             \$(this).toggle();
  1700.                         });
  1701.                     });
  1702.                     \$('.closer').on('click', function (e) {
  1703.                         e.stopPropagation();
  1704.                         \$(this).parent().animate(
  1705.                             {opacity: 0},
  1706.                             300,
  1707.                             function(){
  1708.                                 \$(this).toggle();
  1709.                             }
  1710.                         );
  1711.                     });
  1712.                     function itemWidth(img){
  1713.                         img.closest('.items').width(img.width());
  1714.                     }
  1715.                     function counter(item, max){
  1716.                         \$('.counter').text(item + ' / ' + max);
  1717.                     }
  1718.                     \$('.item', lightbox).on('click, swipeleft', function (e) {
  1719.                         var wd = \$(this).width(),
  1720.                             last = \$(this).parent().find('.item').last(),
  1721.                             img = \$(this).find('.img');
  1722.                         itemWidth(img);
  1723.                         \$(this).animate(
  1724.                             {marginLeft: -wd, opacity: 0},
  1725.                             500,
  1726.                             'swing',
  1727.                             function(){
  1728.                                 \$(this).insertAfter(last);
  1729.                                 \$(this).css({marginLeft: 0, opacity: 1});
  1730.                             }
  1731.                         );
  1732.                     });
  1733.                     \$('.item', lightbox).on('swiperight', function (e) {
  1734.                         var wd = \$(this).width(),
  1735.                             first = \$(this).parent().find('.item').first(),
  1736.                             last = \$(this).parent().find('.item').last(),
  1737.                             img = \$(this).find('.img');
  1738.                         itemWidth(img);
  1739.                         \$(last).insertBefore(\$(this));
  1740.                         \$(last).css({marginLeft: -wd, opacity: 0});
  1741.                         \$(this).parent().find('.item').eq(0).animate(
  1742.                             {marginLeft: 0, opacity: 1},
  1743.                             500,
  1744.                             'swing'
  1745.                         );
  1746.                     });
  1747.                     \$('.arrows', lightbox).on('click', function (e) {
  1748.                         e.stopPropagation();
  1749.                         var wd = \$(this).siblings('.items').find('.item').eq(0).width(),
  1750.                             max = \$(this).siblings('.items').find('.item').length,
  1751.                             first = \$(this).siblings('.items').find('.item').first(),
  1752.                             last = \$(this).siblings('.items').find('.item').last(),
  1753.                             isRight = \$(this).hasClass('right'),
  1754.                             marginL = isRight ? -wd : 0,
  1755.                             marginL0 = isRight ? 0: -wd,
  1756.                             opacOn = isRight ? 1 : 0,
  1757.                             opacOff = isRight ? 0 : 1;
  1758.                         if (!isRight){
  1759.                             \$(last).insertBefore(first);
  1760.                             \$(last).css({marginLeft: -wd, opacity: 0});
  1761.                             item++;
  1762.                             if (item == max+1) {item = 1};
  1763.                         } else {
  1764.                             item--;
  1765.                             if (item == 0) {item = max};
  1766.                         };
  1767.                         counter(item, max);
  1768.                         var img = \$(this).siblings('.items').find('.item').eq(0).find('.img');
  1769.                         itemWidth(img);
  1770.                         \$(this).siblings('.items').find('.item').eq(1).animate(
  1771.                             {opacity: opacOn},
  1772.                             500,
  1773.                             'swing');
  1774.                         \$(this).siblings('.items').find('.item').eq(0).animate(
  1775.                             {marginLeft: marginL, opacity: 1},
  1776.                             500,
  1777.                             'swing',
  1778.                             function(){
  1779.                                 if (isRight){
  1780.                                     \$(this).insertAfter(last);
  1781.                                     \$(this).css({ marginLeft: 0, opacity: 1});
  1782.                                 }
  1783.                             }
  1784.                         );
  1785.                     });
  1786.                     if (_ww > 768){
  1787.                         \$('.div-img-hover-2').hover(function (e) {
  1788.                             \$(this).find('.project-arrow-2').animate({opacity: 1}, 150);
  1789.                             var htext = \$(this).find('.project-content').height();
  1790.                             if (htext == undefined){htext = 0};
  1791.                             \$(this).find('.div-hover-2').animate({height : htext+180}, 150);
  1792.                             \$(this).find('.project-content').css({'visibility': 'visible'});
  1793.                             \$(this).find('.project-content').animate({opacity: 1}, 150);
  1794.                         }, function() {
  1795.                             \$(this).find('.div-hover-2').animate({height : 85}, 150);
  1796.                             \$(this).find('.project-arrow-2').animate({opacity: 0}, 150);
  1797.                             \$(this).find('.project-content').animate({opacity: 0}, 150, function(){
  1798.                                 \$(this).find('.project-content').css({'visibility': 'hidden'});
  1799.                             });
  1800.                         });
  1801.                     } else {
  1802.                         \$('.div-img-hover-2').on( \"tap\", function( event ) {
  1803.                             var opened = \$(this).find('.div-hover-2').hasClass('open'),
  1804.                                 ht = opened ? 85 : '100%',
  1805.                                 vis = opened ? 0 : 1;
  1806.                             \$(this).find('.div-hover-2').toggleClass('open');
  1807.                             \$(this).find('.div-hover-2').animate({height : ht}, 150);
  1808.                             \$(this).find('.project-arrow-2').animate({opacity: vis}, 150);
  1809.                         });
  1810.                     }
  1811.                 })
  1812.                 .catch((error) => {
  1813.                     console.error('Error:', error);
  1814.                 });
  1815.         })
  1816.     }
  1817.     /*
  1818.     window.addEventListener('scroll', function(){
  1819.         let search = document.getElementById('submit-search');
  1820.         const formSearch = document.getElementById('form-search-normal')
  1821.         const subSearch = document.getElementById('sub-search-div')
  1822.         const send = document.getElementById('send')
  1823.         if (search) {
  1824.             search.classList.toggle(\"stickyY\", window.scrollY > 730);
  1825.             if (search.classList.contains(\"stickyY\")) {
  1826.                 search.setAttribute('type', 'button')
  1827.                 search.addEventListener('click', function (e) {
  1828.                     e.preventDefault()
  1829.                     formSearch.classList.toggle('stickyYForm')
  1830.                     send.classList.toggle('send-display')
  1831.                     subSearch.classList.toggle('sub-search-div-height')
  1832.                 })
  1833.             } else  search.setAttribute('type', 'submit')
  1834.         }
  1835.     })
  1836. */
  1837. </script>
  1838. {#
  1839. <script>
  1840.     var _dropin = \$('.dropdown'),
  1841.         _delay = 150,
  1842.         _ww = \$(window).width();
  1843.     \$('.undroped', _dropin).on('click', function (e) {
  1844.         console.log('CLICKKKK 1')
  1845.         \$('.dropdown-header').closest('.droped').removeClass('open');
  1846.         \$('.dropdown-header').closest('.dropdown').find('.undroped').show();
  1847.         \$('.dropdown-header').closest('.droped').hide();
  1848.         \$('.dropdown-header').closest('.droped').find('.items').animate({height: 0});
  1849.         \$(this).hide();
  1850.         \$(this).siblings('.droped').find('.items').height('auto');
  1851.         \$(this).siblings('.droped').show();
  1852.         var ht = \$(this).siblings('.droped').find('.items').height();
  1853.         \$(this).attr('data-ht', ht);
  1854.         \$(this).siblings('.droped').find('.items').height(0);
  1855.         \$(this).siblings('.droped').addClass('open');
  1856.         \$(this).siblings('.droped').find('.items').animate({height: ht + 40}, _delay);
  1857.     });
  1858.     \$('.dropdown-header', _dropin).on('click', function (e) {
  1859.         var ht = \$(this).closest('.dropdown').find('.undroped').attr('data-ht');
  1860.         \$(this).closest('.droped').removeClass('open');
  1861.         \$(this).closest('.droped').find('.items').animate({height: 0}, _delay, function () {
  1862.             \$(this).closest('.dropdown').find('.undroped').show();
  1863.             \$(this).closest('.droped').hide();
  1864.         });
  1865.     });
  1866.     const searchLocationm = document.getElementById('location-drop-mobile');
  1867.     const searchLocationLim = document.getElementById('location-li-mobile');
  1868.     const urlm = '/form/search';
  1869.     searchLocationm.addEventListener(\"click\", function (){
  1870.         fetch(urlm, {
  1871.             method: 'GET',
  1872.             // body: JSON.stringify({
  1873.             //     searchLocation: this.value
  1874.             // })
  1875.         }).then(function(response) {
  1876.             return response.json()
  1877.         }).then(function (data) {
  1878.             searchLocationLim.innerHTML = '';
  1879.             for (const datum in data) {
  1880.                 const li = document.createElement('li')
  1881.                 li.classList.add('item')
  1882.                 li.dataset.value = data[datum]
  1883.                 li.addEventListener('click', function () {
  1884.                     searchLocationm.value = this.dataset.itemName
  1885.                 })
  1886.                 li.innerHTML += data[datum]
  1887.                 searchLocationLim.appendChild(li)
  1888.                 li.addEventListener('click', event => {
  1889.                     li.classList.add('selected');
  1890.                 });
  1891.             }
  1892.             searchLocationLim.addEventListener('click', function (e) {
  1893.                 searchLocationLim.req
  1894.                 let target = e.target;
  1895.                 const dropId = document.getElementById('location-drop-mobile')
  1896.                 dropId.querySelector('.undroped-subheader').innerHTML = target.innerHTML
  1897.                 dropId.querySelector('.input-subheader').value = target.dataset.value
  1898.                 dropId.classList.remove('open')
  1899.                 dropId.querySelector('.undroped').style.display = 'block'
  1900.                 dropId.querySelector('.droped').style.display = 'none'
  1901.                 dropId.querySelector('.undroped-subheader').classList.add('selected')
  1902.             })
  1903.         });
  1904.     })
  1905.     if (window.location.href.includes('action=postule')) {
  1906.         let select = document.getElementById('contact_form_object');
  1907.         let options = select.childNodes;
  1908.         let optionPostule = options[1];
  1909.         optionPostule.setAttribute('selected', '')
  1910.         console.log(optionPostule)
  1911.     }
  1912.     /* the viewport is less than 768 pixels wide */
  1913.     //      \$('#projects').slick({
  1914.     //     dots: false,
  1915.     //     infinite: true,
  1916.     //     speed: 300,
  1917.     //     slidesToShow: 1,
  1918.     //     slidesToScroll: 1,
  1919.     //     autoplay: true,
  1920.     //     responsive: [
  1921.     //         {
  1922.     //             breakpoint: 576,
  1923.     //             settings: {
  1924.     //                 slidesToShow: 1,
  1925.     //                 slidesToScroll: 1
  1926.     //             }
  1927.     //         }
  1928.     //         // You can unslick at a given breakpoint now by adding:
  1929.     //         // settings: \"unslick\"
  1930.     //         // instead of a settings object
  1931.     //     ]
  1932.     // });
  1933.     //
  1934.     // const searchMobile = document.getElementById('search-detail-mobile')
  1935.     // const searchSubDivMobile = document.getElementById('sub-search-div-mobile')
  1936.     //
  1937.     // searchMobile.addEventListener('click', function (e) {
  1938.     //     e.preventDefault()
  1939.     //     searchSubDivMobile.style.display = 'flex'
  1940.     //     searchMobile.style.display = 'none'
  1941.     // })
  1942. </script>
  1943. #}
  1944. </body>
  1945. </html>
  1946. ""base.html.twig""/home/fuzxzwq/www/templates/base.html.twig");
  1947.     }
  1948. }