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

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