var/cache/dev/twig/a1/a1d70e5c97ffc67f0df3632d205249963c831f183a49a487705befeef8a7b838.php line 34

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* base2.html.twig */
  14. class __TwigTemplate_b38e5a0cf68791e9ff607eba122be443ad71efa505ac2e00ea380757512a3866 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base2.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base2.html.twig"));
  34.         // line 1
  35.         echo "
  36. <html lang=\"en\">
  37. <head>
  38.    <!-- Required meta tags -->
  39.    <meta charset=\"utf-8\">
  40.    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  41.    <!-- CSS -->
  42.    <link rel=\"stylesheet\" href=\"";
  43.         // line 9
  44.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html"nulltrue);
  45.         echo "\">
  46.    <link rel=\"stylesheet\" href=\"";
  47.         // line 10
  48.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/responsive.css"), "html"nulltrue);
  49.         echo "\">
  50.    <link rel=\"stylesheet\" href=\"";
  51.         // line 11
  52.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/user-panel.css"), "html"nulltrue);
  53.         echo "\">
  54.    <link rel=\"stylesheet\" href=\"";
  55.         // line 12
  56.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/user-panel-responsive.css"), "html"nulltrue);
  57.         echo "\">
  58.    <link rel=\"stylesheet\" href=\"";
  59.         // line 13
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/bootstrap.min.css"), "html"nulltrue);
  61.         echo "\">
  62.    <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\">
  63.    <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css\" rel=\"stylesheet\" />
  64.    <link rel=\"stylesheet\" href=\"";
  65.         // line 16
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/owl.carousel.min.css"), "html"nulltrue);
  67.         echo "\">
  68.    <link rel=\"stylesheet\" href=\"";
  69.         // line 17
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/fontawesome/css/all.min.css"), "html"nulltrue);
  71.         echo "\">
  72.    <link rel=\"shortcut icon\" href=\"";
  73.         // line 18
  74.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/favicon.ico"), "html"nulltrue);
  75.         echo "\">
  76.    <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC\" crossorigin=\"anonymous\">
  77.    <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css\">
  78.    <script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
  79.    <!-- CSS -->
  80.    <title>Modixom</title>
  81. </head>
  82. <style>
  83.    #headerpart .btn-alert {
  84.       background-color: #B0DB82!important;
  85.    }
  86.    #headerpart .btn-alert i {
  87.       color: #00B065!important;
  88.    }
  89.    .select2-container--open {
  90.         z-index: 9999; /* Ajoutez un z-index élevé pour le dropdown */
  91.     }
  92. </style>
  93. <body>
  94.    <!-- header -->
  95.     ";
  96.         // line 41
  97.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'41$this->source); })()), "user", [], "any"falsefalsefalse41)) {
  98.             // line 42
  99.             echo "<header class=\"user-panel-header-area\" id=\"header";
  100.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'42$this->source); })()), "user", [], "any"falsefalsefalse42), "type", [], "any"falsefalsefalse42), "html"nulltrue);
  101.             echo "\">
  102.     ";
  103.         } else {
  104.             // line 44
  105.             echo "   <header class=\"user-panel-header-area\" id=\"header";
  106.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'44$this->source); })()), "session", [], "any"falsefalsefalse44), "get", [=> "type"], "method"falsefalsefalse44), "html"nulltrue);
  107.             echo "\">
  108.    ";
  109.         }
  110.         // line 46
  111.         echo "      <div class=\"user-panel-header-bottom\">
  112.          <div class=\"container\">
  113.             <div class=\"row\">
  114.                <div class=\"col-xl-2 col-lg-2 col-md-0 col-sm-0 col-0  d-lg-block d-none\">
  115.                   ";
  116.         // line 50
  117.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'50$this->source); })()), "user", [], "any"falsefalsefalse50)) {
  118.             // line 51
  119.             echo "                     ";
  120.             if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'51$this->source); })()), "user", [], "any"falsefalsefalse51), "type", [], "any"falsefalsefalse51), "pro"))) {
  121.                 // line 52
  122.                 echo "                           <a href=\"";
  123.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("professionnels");
  124.                 echo "\" data-abc=\"true\" class=\"nav-item nav-logo\">
  125.                               <img id=\"change-logo\" src=\"";
  126.                 // line 53
  127.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo.png"), "html"nulltrue);
  128.                 echo "\" style=\"width: 60px; margin: 0 1.3em;\" alt=\"\">
  129.                            </a>
  130.                      ";
  131.             } else {
  132.                 // line 56
  133.                 echo "                           <a href=\"";
  134.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_default");
  135.                 echo "\" data-abc=\"true\" class=\"nav-item nav-logo\">
  136.                               <img id=\"change-logo\" src=\"";
  137.                 // line 57
  138.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo.png"), "html"nulltrue);
  139.                 echo "\" style=\"width: 60px; margin: 0 1.3em;\" alt=\"\">
  140.                            </a>
  141.                      ";
  142.             }
  143.             // line 60
  144.             echo "                  ";
  145.         } else {
  146.             // line 61
  147.             echo "                     <a href=\"";
  148.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_default");
  149.             echo "\" data-abc=\"true\" class=\"nav-item nav-logo\">
  150.                            <img id=\"change-logo\" src=\"";
  151.             // line 62
  152.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo.png"), "html"nulltrue);
  153.             echo "\" style=\"width: 60px; margin: 0 1.3em;\" alt=\"\">
  154.                      </a>
  155.                   ";
  156.         }
  157.         // line 65
  158.         echo "                  <span style=\"font-size: 23px\">MODIXOM</span>
  159.                </div>
  160.                <div class=\"col-xl-8 col-lg-8 col-md-10 col-sm-10 col-10\">
  161.                   <div class=\"user-header-bottom-main clearfix\">
  162.                      <div class=\"user-header-bottom-left\">
  163.                      
  164.                         <nav class=\"navbar navbar-expand-lg navbar-light d-flex\">
  165.                         ";
  166.         // line 72
  167.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'72$this->source); })()), "user", [], "any"falsefalsefalse72)) {
  168.             // line 73
  169.             echo "                           <!-- <section class=\"test d-flex\"> -->
  170.                            <a href=\"\" data-bs-toggle=\"modal\" data-bs-target=\"#alerte\" class=\"d-flex\">
  171.                               <div class=\"btn-alert\" style=\"background-color:#ADB9CA;\">
  172.                                  <i class=\"fas fa-bell\" style=\"color:#d82e9f\"></i>
  173.                               </div>
  174.                               <!-- <span class=\"modal-title d-flex align-items-center justify-content-center\" style:\"padding-top:35px;\">Alertes</span> -->
  175.                            </a>
  176.                            <a href=\"";
  177.             // line 80
  178.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("favoris");
  179.             echo "\" class=\"d-flex\">
  180.                               <div class=\"btn-alert\" style=\"background-color:#ADB9CA;\">
  181.                                  <i class=\"fas fa-heart\" style=\"color:#d82e9f\"></i>
  182.                               </div>
  183.                               <!-- <span class=\"modal-title d-flex align-items-center justify-content-center\" style:\"padding-top:35px;\">Alertes</span> -->
  184.                            </a>
  185.                            <a href=\"";
  186.             // line 86
  187.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annonces");
  188.             echo "\" class=\"d-flex\">
  189.                               <div class=\"btn-alert\" style=\"background-color:#ADB9CA;\">
  190.                                  <i class=\"fas fa-th-large\" style=\"color: #d82e9f\"></i>
  191.                               </div>
  192.                               <!-- <span class=\"modal-title d-flex align-items-center justify-content-center\" style:\"padding-top:35px;\">Alertes</span> -->
  193.                            </a>
  194.                            ";
  195.         }
  196.         // line 93
  197.         echo "                           <!-- </section> -->
  198.                            ";
  199.         // line 94
  200.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'94$this->source); })()), "session", [], "any"falsefalsefalse94), "get", [=> "type"], "method"falsefalsefalse94), "pro"))) {
  201.             // line 95
  202.             echo "                           <li class=\"nav-item\">
  203.                            ";
  204.             // line 96
  205.             if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'96$this->source); })()), "user", [], "any"falsefalsefalse96)) {
  206.                 // line 97
  207.                 echo "                              <a style=\"text-decoration: none; color:black; margin-left:2em;\" class=\"nav-link modal-title\" href=\"";
  208.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_annonces_new");
  209.                 echo "\"><i class=\"fas fa-regular fa-plus\"></i> Créer une annonce</a>
  210.                               ";
  211.             } else {
  212.                 // line 99
  213.                 echo "                              <a style=\"text-decoration: none; color:black; margin-left:2em;\" class=\"nav-link modal-title\" data-bs-toggle=\"modal\" data-bs-target=\"#connexion-modal\" ><i class=\"fas fa-regular fa-plus\"></i> Créer une annonce</a>
  214.                               ";
  215.             }
  216.             // line 101
  217.             echo "                           </li>
  218.                            ";
  219.         }
  220.         // line 103
  221.         echo "                        </nav>
  222.                      </div>
  223.                   </div>
  224.                </div>
  225.                ";
  226.         // line 108
  227.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'108$this->source); })()), "user", [], "any"falsefalsefalse108)) {
  228.             // line 109
  229.             echo "               <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-2 col-2 d-flex justify-content-end align-items-center \">
  230.                   <div class=\"user-panel-header-top-right clearfix\">
  231.                      <div class=\"user-panel-profile\">
  232.                         <ul class=\"navbar-nav\">
  233.                            <li class=\"nav-item dropdown\">
  234.                               <a href=\"#\" class=\"nav-link dropdown-toggle\" id=\"navbarDropdown\" role=\"button\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\" style=\"color:transparent;\"><span class=\"profils-icon\" id=\"dropdownIcon\" style=\"background-color: transparent;\"><i class=\"fas fa-bars\"></i></span></a>
  235.                               <ul class=\"dropdown-menu\" style=\" margin-top: 25px ;\" aria-labelledby=\"navbarDropdown\">
  236.                                
  237.                                ";
  238.             // line 117
  239.             if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'117$this->source); })()), "user", [], "any"falsefalsefalse117), "type", [], "any"falsefalsefalse117), "pro"))) {
  240.                 // line 118
  241.                 echo "                                 <li>
  242.                                     <a class=\"dropdown-item\" href=\"";
  243.                 // line 119
  244.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notesEnseignes");
  245.                 echo "\"><!--<i class=\"fas fa-thumbs-up\"></i>--> Notes obtenues</a>
  246.                                  </li>
  247.                                  <hr>
  248.                                  <li><a class=\"dropdown-item\" href=\"";
  249.                 // line 122
  250.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mesAnnonces", ["type" => "encours"]);
  251.                 echo "\">Mes annonces</a></li>
  252.                                  <li><a class=\"dropdown-item\" href=\"";
  253.                 // line 123
  254.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mesAnnonces", ["type" => "terminee"]);
  255.                 echo "\">Annonces terminées</a></li>
  256.                                  <li><a class=\"dropdown-item\" href=\"";
  257.                 // line 124
  258.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("achatCredit");
  259.                 echo "\"  style=\"color:red\">Acheter du crédit</a></li>
  260.                                  ";
  261.                 // line 126
  262.                 echo "                                 <li><a class=\"dropdown-item\" href=\"";
  263.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("achatFacture");
  264.                 echo "\"  style=\"color:red\"></i> Factures</a></li>
  265.                                  <hr>
  266.                                  ";
  267.             }
  268.             // line 129
  269.             echo "
  270.                                  <li><a href=\"";
  271.             // line 130
  272.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profil");
  273.             echo "\" class=\"dropdown-item\">Profil</a></li> 
  274.                                  <li><a href=\"";
  275.             // line 131
  276.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  277.             echo "\" class=\"dropdown-item user-logout\">Déconnexion</a></li>
  278.                                  <li><a href=\"\" data-toggle=\"modal\" data-target=\"#modaldelete\" class=\"dropdown-item user-logout\">Supprimer mon compte</a></li>
  279.                               </ul>
  280.                            </li>
  281.                         </ul>
  282.                      </div>
  283.                   </div>
  284.                </div>
  285.                ";
  286.         } else {
  287.             // line 140
  288.             echo "               <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-2 col-2 d-flex justify-content-end align-items-center\">
  289.                   <a class=\"nav-link my-auto\" href=\"login.php\" data-bs-toggle=\"modal\" data-bs-target=\"#connexion-modal\" style=\"font-weight:bold !important; color: black; font-size: 23px; white-space: nowrap;\">Se connecter</a>
  290.                </div>
  291.                
  292.       <!-- <a data-bs-toggle=\"modal\" data-bs-target=\"#connexion-modal\">Se connecter</a> -->
  293.                ";
  294.         }
  295.         // line 148
  296.         echo "            </div>
  297.          </div>
  298.       </div>
  299.    
  300.    <!-- Modal delete account -->
  301.    <div class=\"modal fade\" id=\"modaldelete\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modaldeleteLabel\">
  302.       <div class=\"modal-dialog\" role=\"document\">
  303.          <div class=\"modal-content\">
  304.             <div class=\"modal-header\">
  305.                <h4 class=\"modal-title\">Supprimer mon compte !</h4>
  306.                <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">&times;</span></button>
  307.             </div>
  308.             <div class=\"modal-body\">
  309.                <p>VOUS ALLEZ COMMENCER LE PROCESSUS DE SUPPRESSION DE VOTRE COMPTE</p>
  310.                <p>Vous êtes sur le point de nous demander de fermer de manière définitive votre compte et de supprimer vos données. Une fois votre compte fermé, tous les services auxquels vous accédez par le biais de votre compte ne seront plus disponibles.</p>
  311.                <div class=\"confirm-row d-flex\">
  312.                   <input type=\"checkbox\" name=\"confirmation\" id=\"confirmation\">
  313.                   <label for=\"confirmation\">OUI, JE SOUHAITE FERMER DEFINITIVEMENT MON COMPTE ET SUPPRIMER MES DONNÉES</label>
  314.                </div>
  315.             </div>
  316.             <div class=\"modal-footer\">
  317.                <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" style=\"color:red\">Supprimer</button>
  318.                <button type=\"button\" class=\"btn btn-primary text-light\">Annuler</button>
  319.             </div>
  320.          </div>
  321.       </div>
  322.    </div>
  323. <!-- Modal -->
  324. <div class=\"modal fade\" id=\"alerte\" tabindex=\"-1\" aria-labelledby=\"alerteModalLabel\" aria-hidden=\"true\">
  325.     <div class=\"modal-dialog\">
  326.         <div class=\"modal-content\" style=\"height: 41em;\">
  327.             <div class=\"modal-header\">
  328.                 <h5 class=\"modal-title\" id=\"alerteModalLabel\">Mes alertes</h5>
  329.                 <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  330.             </div>
  331.             <div class=\"modal-body\" style=\"margin:0;padding:10px;\">
  332.                 <div class=\"row\">
  333.                     <form action=\"";
  334.         // line 186
  335.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("addAlertes");
  336.         echo "\" method=\"post\" class=\"d-flex flex-column\">
  337.                         <label for=\"\" class=\"form-label\" style=\"margin:0;padding:10px;\">Créer une alerte par mots-clés :</label>
  338.                         <div class=\"d-flex\">
  339.                             <input type=\"text\" class=\"form-control\" name=\"texte\" style=\"height:2.5em;\" placeholder=\"Nouvelle Alerte\">
  340.                         </div>
  341.                 </div>
  342.                 <div id=\"alerte-categorie\" style=\"margin-top:30px;\">
  343.                     <div>
  344.                         <div class=\"mb-3\">
  345.                             <label for=\"categorie\" class=\"form-label\">Créer une alerte par catégorie :</label>
  346.                             <div class=\"d-flex\">
  347.                                 <select class=\"form-select\" id=\"categorie\" name=\"categorie\" style=\"height:2.5em;\">
  348.                                     <option value=\"0\">-- Choisir catégorie --</option>
  349.                                     ";
  350.         // line 200
  351.         $context['_parent'] = $context;
  352.         $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'200$this->source); })()));
  353.         foreach ($context['_seq'] as $context["_key"] => $context["categorie"]) {
  354.             // line 201
  355.             echo "                                        <option value=\"";
  356.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["categorie"], "id", [], "any"falsefalsefalse201), "html"nulltrue);
  357.             echo "\">";
  358.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["categorie"], "libelle", [], "any"falsefalsefalse201), "html"nulltrue);
  359.             echo "</option>
  360.                                     ";
  361.         }
  362.         $_parent $context['_parent'];
  363.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categorie'], $context['_parent'], $context['loop']);
  364.         $context array_intersect_key($context$_parent) + $_parent;
  365.         // line 203
  366.         echo "                                </select>
  367.                             </div>
  368.                         </div>
  369.                     </div>
  370.                 </div>
  371.                 <div id=\"alerte-perimetre\" style=\"margin-top:40px;\">
  372.                     <div>
  373.                         <div class=\"mb-3\">
  374.                             <label for=\"perimetre\" class=\"form-label\">Créer une alerte par localisation :</label>
  375.                         </div>
  376.                         <div class=\"mb-3\">
  377.                             <label for=\"ville\" class=\"form-label\">Ville :</label>
  378.                             ";
  379.         // line 216
  380.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'216$this->source); })()), "user", [], "any"falsefalsefalse216)) {
  381.             // line 217
  382.             echo "                                ";
  383.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'217$this->source); })()), "user", [], "any"falsefalsefalse217), "villes", [], "any"falsefalsefalse217)) {
  384.                 // line 218
  385.                 echo "                                    <input type=\"hidden\" id=\"villeSelectModal\" value=\"";
  386.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'218$this->source); })()), "user", [], "any"falsefalsefalse218), "villes", [], "any"falsefalsefalse218), "id", [], "any"falsefalsefalse218), "html"nulltrue);
  387.                 echo "\" data-city-name=\"";
  388.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'218$this->source); })()), "user", [], "any"falsefalsefalse218), "villes", [], "any"falsefalsefalse218), "VilleNom", [], "any"falsefalsefalse218), "html"nulltrue);
  389.                 echo "\" data-city-postal-code=\"";
  390.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'218$this->source); })()), "user", [], "any"falsefalsefalse218), "villes", [], "any"falsefalsefalse218), "VilleCodePostal", [], "any"falsefalsefalse218), "html"nulltrue);
  391.                 echo "\">
  392.                                 ";
  393.             } else {
  394.                 // line 220
  395.                 echo "                                    <input type=\"hidden\" id=\"villeSelectModal\" value=\"\">
  396.                                 ";
  397.             }
  398.             // line 222
  399.             echo "                            ";
  400.         } else {
  401.             // line 223
  402.             echo "                                <input type=\"hidden\" id=\"villeSelectModal\" value=\"\">
  403.                             ";
  404.         }
  405.         // line 225
  406.         echo "                            <select class=\"js-data-example-ajax form-control\" id=\"villeSelectDropdown\" name=\"ville\" style=\"width:100%\"></select>
  407.                         </div>
  408.                         <div class=\"mb-3\">
  409.                             <label for=\"rayon\" class=\"form-label\">Rayon de recherche :</label>
  410.                             <input type=\"number\" name=\"rayon\" class=\"form-control\" id=\"rayon\" min=\"0\">
  411.                         </div>
  412.                         <div class=\"mb-3 d-flex justify-content-end\">
  413.                             <button class=\"btn btn-primary\" style=\"background-color: #ADB9CA!important; border: solid 1px #d82e9f!important; margin-top:5px;\">Ajouter</button>
  414.                         </div>
  415.                     </form>
  416.                 </div>
  417.             </div>
  418.             <h3>Votre liste d'alertes</h3>
  419.             <div class=\"alerte-table\">
  420.                 <div class=\"container\">
  421.                     ";
  422.         // line 241
  423.         $context['_parent'] = $context;
  424.         $context['_seq'] = twig_ensure_traversable((isset($context["alertes"]) || array_key_exists("alertes"$context) ? $context["alertes"] : (function () { throw new RuntimeError('Variable "alertes" does not exist.'241$this->source); })()));
  425.         foreach ($context['_seq'] as $context["_key"] => $context["alerte"]) {
  426.             // line 242
  427.             echo "                        <div class=\"row pb-3\">
  428.                             <button type=\"button\" class=\"btn btn-primary d-flex\" style=\"background-color: #ADB9CA!important; border: solid 1px #d82e9f!important;\">
  429.                                 <span class=\"mr-auto\">";
  430.             // line 244
  431.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["alerte"], "texte", [], "any"falsefalsefalse244), "html"nulltrue);
  432.             echo "</span>
  433.                                 <span class=\"ml-auto delete-alert\" data-id=\"";
  434.             // line 245
  435.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["alerte"], "id", [], "any"falsefalsefalse245), "html"nulltrue);
  436.             echo "\" aria-hidden=\"true\">&times;</span>
  437.                             </button>
  438.                         </div>
  439.                     ";
  440.         }
  441.         $_parent $context['_parent'];
  442.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['alerte'], $context['_parent'], $context['loop']);
  443.         $context array_intersect_key($context$_parent) + $_parent;
  444.         // line 249
  445.         echo "                </div>
  446.             </div>
  447.         </div>
  448.     </div>
  449. </div>
  450.    <!-- Modal d'achat  -->
  451.    <!-- Modal -->
  452.    ";
  453.         // line 298
  454.         echo "
  455.    </header>
  456. ";
  457.         // line 300
  458.         $this->displayBlock('body'$context$blocks);
  459.         // line 301
  460.         echo "
  461.  <!-- Modal connexion-->
  462.                         <div class=\"modal fade\" id=\"connexion-modal\" tabindex=\"-1\" aria-labelledby=\"connexion-modal-Label\" aria-hidden=\"true\">
  463.                            <div class=\"modal-dialog\">
  464.                               <div class=\"modal-content\" style=\"z-index: 100;\">
  465.                                  <div class=\"modal-header\">
  466.                                     <h5 class=\"modal-title mx-auto w-100 fs-3 text-center\" id=\"connexion-modal-Label\">Connexion</h5>
  467.                                     <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  468.                                  </div>
  469.                                  <div class=\"modal-body\">
  470.                                     <form class=\"row g-3 needs-validation\" method=\"POST\" action=\"";
  471.         // line 311
  472.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("custom_login");
  473.         echo "\">
  474.                                        <div class=\"mb-3\">
  475.                                           <label for=\"Email-connexion\" class=\"form-label\">Email</label>
  476.                                           <input type=\"email\" class=\"form-control\" id=\"Email-connexion\" name=\"email\" aria-describedby=\"emailHelp\">
  477.                                          
  478.                                        </div>
  479.                                        <div class=\"mb-3\">
  480.                                              <label for=\"Password-connexion\" class=\"form-label\">Mot de passe</label>
  481.                                              <div class=\"input-group\">
  482.                                                 <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" name=\"password\" aria-describedby=\"forgot-password\">
  483.                                                 <button class=\"btn btn-outline-secondary\" type=\"button\" id=\"togglePassword1\">
  484.                                                    <i class=\"fas fa-eye\"></i>
  485.                                                 </button>
  486.                                              </div>
  487.                                              <div id=\"forgot-password\" class=\"form-text\">
  488.                                                 <a href=\"forgot-Password.php\" style=\"color: #F6249D;\">Mot de passe oublié ?</a>
  489.                                              </div>
  490.                                        </div>
  491.                                        <div class=\"mb-3 \">
  492.                                           <p>Pas encore membre ? <a class=\"login-text\" href=\"#\" data-bs-toggle=\"modal\" data-bs-target=\"#exampleModal\" style=\"color : black; text-decoration: underline !important;\">S'inscrire</a></p>
  493.                                        </div>
  494.                                        
  495.                                        <button type=\"submit\" class=\"btn btn-primary\">Connexion</button>
  496.                                     </form>
  497.                                  </div>
  498.                               </div>
  499.                            </div>
  500.                         </div>
  501.                         <!-- fin modal particulier -->
  502.                           <!-- Modal -->
  503. <div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
  504.     <div class=\"modal-dialog\">
  505.         <div class=\"modal-content\" style=\"z-index: 100;\">
  506.             <div class=\"modal-header\">
  507.                 <h5 class=\"modal-title\" id=\"exampleModalLabel\">Sélectionnez votre statut</h5>
  508.                 <button type=\"button\" class=\"btn-close\" data-dismiss=\"modal\" aria-label=\"Close\"></button>
  509.             </div>
  510.             <div class=\"modal-body d-flex justify-content-center align-items-center flex-column text-center\">
  511.                 <a href=\"";
  512.         // line 349
  513.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("inscription", ["type" => "part"]);
  514.         echo "\" class=\"btnModem\" style=\"width:60%\">INSCRIPTION PARTICULIER</a>
  515.                 <a href=\"";
  516.         // line 350
  517.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("inscription", ["type" => "pro"]);
  518.         echo "\" class=\"btnMod\" style=\"width:60%; margin-top:20px; white-space: nowrap;\">INSCRIPTION PROFESSIONNEL</a>
  519.             </div>
  520.         </div>
  521.     </div>
  522. </div>
  523. <!-- footer -->
  524. <!-- footer -->
  525. <footer class=\"footer-main\">
  526.     <div class=\"footer-top\">
  527.         <div class=\"container\">
  528.             <div class=\"row\">
  529.                 <!-- <div class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12\">
  530.                <div class=\"footer-widget\">
  531.                   <a href=\"index.html\"><img src=\"assets/images/logo.png\" style=\"width: 100px;\" alt=\"\"></a>
  532.                   <p class=\"theme-description\">Modixom vous permettra de trouver en un seul click les meilleurs promotions. </p>
  533.                   <div class=\"footer-links clearfix\">
  534.                      <div class=\"footer-icon-box\">
  535.                         <a href=\"\" title=\"Facebook\" style=\"color: #3b5998;\">
  536.                            <i class=\"fab fa-facebook-f\"></i>
  537.                         </a>
  538.                      </div>
  539.                      <div class=\"footer-icon-box\">
  540.                         <a href=\"\" title=\"Twitter\" style=\"color: #00acee;\">
  541.                            <i class=\"fab fa-twitter\"></i>
  542.                         </a>
  543.                      </div>
  544.                      <div class=\"footer-icon-box\">
  545.                         <a href=\"\" title=\"Linkedin\" style=\"color: #0e76a8;\">
  546.                            <i class=\"fab fa-linkedin-in\"></i>
  547.                         </a>
  548.                      </div>
  549.                   </div>
  550.                </div>
  551.             </div> -->
  552.                 <div class=\"col-xl-3 col-lg-3  col-md-6 col-sm-6 col-12 text-center\">
  553.                     <div class=\"footer-widget\">
  554.                         <h3 class=\"theme-title ";
  555.         // line 388
  556.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'388$this->source); })()), "session", [], "any"falsefalsefalse388), "get", [=> "type"], "method"falsefalsefalse388), "part"))) {
  557.             echo "green";
  558.         } else {
  559.             echo "blue";
  560.         }
  561.         echo "\">DÉCOUVRIR MODIXOM</h3>
  562.                         <div class=\"footer-menu-services\">
  563.                             <ul class=\"menu-service-menu\" style=\"margin-left: -30px\">
  564.                                 ";
  565.         // line 391
  566.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'391$this->source); })()), "session", [], "any"falsefalsefalse391), "get", [=> "type"], "method"falsefalsefalse391), "pro"))) {
  567.             // line 392
  568.             echo "                                    <li><a href=\"";
  569.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("professionnels", [], "#propos");
  570.             echo "\">A Propos</a></li>
  571.                                 ";
  572.         } else {
  573.             // line 394
  574.             echo "                                    <li><a href=\"";
  575.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_default", [], "#propos");
  576.             echo "\">A Propos</a></li>
  577.                                 ";
  578.         }
  579.         // line 396
  580.         echo "                                <li><a href=\"recommander_commercant.php\">Recommander un commerçant</a></li>
  581.                                 <li><a href=\"browse-particulier-no-logged.php\">Annonces</a></li>
  582.                             </ul>
  583.                         </div>
  584.                     </div>
  585.                 </div>
  586.                 <div class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12\">
  587.                     <div class=\"footer-widget\">
  588.                         <h3 class=\"theme-title ";
  589.         // line 404
  590.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'404$this->source); })()), "session", [], "any"falsefalsefalse404), "get", [=> "type"], "method"falsefalsefalse404), "part"))) {
  591.             echo "green";
  592.         } else {
  593.             echo "blue";
  594.         }
  595.         echo "\">MENTIONS LÉGALES</h3>
  596.                         <div class=\"footer-menu-services\">
  597.                             <ul class=\"menu-service-menu\" style=\"margin-left: -30px\">
  598.                                 <li><a href=\"";
  599.         // line 407
  600.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_mention");
  601.         echo "\">Mentions légales</a></li>
  602.                                 <li><a href=\"";
  603.         // line 408
  604.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_cookie");
  605.         echo "\">Gestion des cookies</a></li>
  606.                                 <li><a href=\"";
  607.         // line 409
  608.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_protection");
  609.         echo "\">Politique de protection des données</a></li>
  610.                                 <!-- <li><a href=\"contact.php\">Conditions de vente</a></li>
  611.                         <li><a href=\"contact.php\">RGPD</a></li> -->
  612.                             </ul>
  613.                         </div>
  614.                     </div>
  615.                 </div>
  616.                 <div class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12\">
  617.                     <div class=\"footer-widget\">
  618.                         <h3 class=\"theme-title ";
  619.         // line 418
  620.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'418$this->source); })()), "session", [], "any"falsefalsefalse418), "get", [=> "type"], "method"falsefalsefalse418), "part"))) {
  621.             echo "green";
  622.         } else {
  623.             echo "blue";
  624.         }
  625.         echo "\">AIDE</h3>
  626.                         <div class=\"footer-menu-services\">
  627.                             <ul class=\"menu-service-menu\" style=\"margin-left: -30px\">
  628.                             ";
  629.         // line 422
  630.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'422$this->source); })()), "user", [], "any"falsefalsefalse422)) {
  631.             // line 423
  632.             echo "<li><a href=\"";
  633.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact1");
  634.             echo "\" >Nous contacter</a></li>
  635.                             ";
  636.         } else {
  637.             // line 426
  638.             echo "<li><a  data-bs-toggle=\"modal\" data-bs-target=\"#connexion-modal\">Nous contacter</a></li>
  639.                             ";
  640.         }
  641.         // line 429
  642.         echo "                                
  643.                                 <li><a href=\"faq-particulier.php\">FAQ</a></li>
  644.                             </ul>
  645.                         </div>
  646.                     </div>
  647.                 </div>
  648.                 <div class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12 \">
  649.                     <div class=\"footer-widget\">
  650.                         <h3 class=\"theme-title ";
  651.         // line 439
  652.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'439$this->source); })()), "session", [], "any"falsefalsefalse439), "get", [=> "type"], "method"falsefalsefalse439), "part"))) {
  653.             echo "green";
  654.         } else {
  655.             echo "blue";
  656.         }
  657.         echo "\">APPLICATION</h3>
  658.                         <div class=\"footer-menu-services\">
  659.                             <div class=\"row\"><br>
  660.                                 <!-- App Store button -->
  661.                                 <div class=\"col-md-12 col-12  pb-3\">
  662.                                     <a href=\"https://www.apple.com/fr/app-store/\" target=\"_blank\" class=\"market-btn apple-btn\" role=\"button\">
  663.                                         <span class=\"market-button-subtitle\">Télécharger sur</span>
  664.                                         <span class=\"market-button-title\">App Store</span>
  665.                                     </a>
  666.                                 </div>
  667.                                 <!-- Google Play button -->
  668.                                 <div class=\"col-md-12 col-12 \">
  669.                                     <a href=\"https://play.google.com/store/games?gl=FR&utm_source=emea_Med&utm_medium=hasem&utm_content=Oct2020&utm_campaign=Evergreen&pcampaignid=MKT-EDR-emea-fr-1001280-Med-hasem-py-Evergreen-Oct2020-Text_Search_BKWS%7CONSEM_kwid_43700008792247580&gclid=CjwKCAiAl9efBhAkEiwA4Toril0SpGeAFHdzwhXUd_zX25ptzJLjDqUqg26pTEyl6Apf3UA1SsLrhhoCuAcQAvD_BwE&gclsrc=aw.ds&pli=1\" target=\"_blank\" class=\"market-btn google-btn\" role=\"button\">
  670.                                         <span class=\"market-button-subtitle\">Télécharger sur</span>
  671.                                         <span class=\"market-button-title\">Google Play</span>
  672.                                     </a>
  673.                                 </div>
  674.                             </div>
  675.                         </div>
  676.                     </div>
  677.                 </div>
  678.             </div>
  679.         </div>
  680.     </div>
  681.     <div class=\"footer-copyright\">
  682.         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  683.             <div class=\"copyright-text text-right\" style=\"margin-right: 100px\">
  684.                 <p><a href=\"index.php\">© 2023 Modixom</p>
  685.             </div>
  686.         </div>
  687.     </div>
  688. </footer>
  689. <!-- footer -->
  690. <!-- back top top -->
  691. <div class=\"back-top-top\" id=\"page-up\">
  692.     <a href=\"\"><i class=\"fas fa-arrow-up\"></i>Haut</a>
  693. </div>
  694. <!-- back top top -->
  695. <!-- preloader -->
  696. <!-- preloader -->
  697. <div class=\"theme-preloader\">
  698.          <span><img src=\"";
  699.         // line 483
  700.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo.png"), "html"nulltrue);
  701.         echo "\" alt=\"\"></span>
  702.       </div>
  703. <!-- preloader -->
  704. <!-- preloader -->
  705. <!-- javascript -->
  706. <script src=\"";
  707.         // line 489
  708.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.min.js"), "html"nulltrue);
  709.         echo "\"></script>
  710. <script src=\"";
  711.         // line 490
  712.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/popper.min.js"), "html"nulltrue);
  713.         echo "\"></script>
  714. <script src=\"";
  715.         // line 491
  716.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/bootstrap.min.js"), "html"nulltrue);
  717.         echo "\"></script>
  718. <script src=\"";
  719.         // line 492
  720.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/owl.carousel.min.js"), "html"nulltrue);
  721.         echo "\"></script>
  722. <script type=\"text/javascript\" src=\"";
  723.         // line 493
  724.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.cookie.min.js"), "html"nulltrue);
  725.         echo "\"></script>
  726. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM\" crossorigin=\"anonymous\"></script>
  727. <script src=\"";
  728.         // line 495
  729.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/custom.js"), "html"nulltrue);
  730.         echo "\"></script>
  731. <script src=\"";
  732.         // line 496
  733.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/ck-editor.js"), "html"nulltrue);
  734.         echo "\"></script>
  735. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js\" defer></script>
  736. <script src=\"https://cdn.jsdelivr.net/npm/sweetalert2@11\"></script>
  737. <script>
  738.     \$(\"#pro-button\").click(function() {
  739.         \$(\"#pro-options\").removeClass(\"d-none\");
  740.     });
  741. </script>
  742. <script>
  743. \$(document).ready(function() {
  744.     \$('.js-data-example-ajax').select2({
  745.         placeholder: 'Choisir une ville ou un code postal',
  746.         language: {
  747.             inputTooShort: function() {
  748.                 return \"Saisir minimum 3 caractères\";
  749.             },
  750.             searching: function() {
  751.                 return \"Recherche en cours...\";
  752.             },
  753.             noResults: function() {
  754.                 return \"Aucun résultat trouvé\";
  755.             }
  756.         },
  757.         minimumInputLength: 3,
  758.         ajax: {
  759.             url: '/api/villes', // Utilisez l'URL de votre nouvelle API
  760.             dataType: 'json',
  761.             delay: 250,
  762.             data: function(params) {
  763.                 return {
  764.                     q: params.term // search term
  765.                 };
  766.             },
  767.             processResults: function(data) {
  768.                 return {
  769.                     results: data.results
  770.                 };
  771.             },
  772.             cache: true
  773.         },
  774.         templateResult: function(city) {
  775.             if (city.loading) return city.text;
  776.             return \$('<span>' + city.text + '</span>');
  777.         },
  778.         templateSelection: function(city) {
  779.             return city.text || city.id;
  780.         }
  781.     });
  782.     // Sélectionner par défaut une ville spécifique si une valeur est définie
  783.     var defaultCityId = \$('#villesSelect').val();
  784.     var defaultCityName = \$('#villesSelect').data('city-name');
  785.     var defaultCityPostalCode = \$('#villesSelect').data('city-postal-code');
  786.     if (defaultCityId && defaultCityName) {
  787.         var defaultOption = new Option(defaultCityName + ' (' + defaultCityPostalCode + ')', defaultCityId, true, true);
  788.         \$('.js-data-example-ajax').append(defaultOption).trigger('change');
  789.     }
  790. });
  791. </script>
  792. <script>
  793.     document.addEventListener('DOMContentLoaded', (event) => {
  794.         document.querySelectorAll('.delete-alert').forEach(button => {
  795.             button.addEventListener('click', function () {
  796.                 const alertId = this.getAttribute('data-id');
  797.                 fetch(`/delete-alert/\${alertId}`, {
  798.                     method: 'DELETE',
  799.                     headers: {
  800.                         'X-Requested-With': 'XMLHttpRequest',
  801.                         'Content-Type': 'application/json'
  802.                     }
  803.                 })
  804.                 .then(response => {
  805.                     if (response.ok) {
  806.                         location.reload();
  807.                     } else {
  808.                         alert('Une erreur s\\'est produite lors de la suppression de l\\'alerte.');
  809.                     }
  810.                 });
  811.             });
  812.         });
  813.     });
  814.     document.getElementById('périmètre').addEventListener('input', function () {
  815.       if (this.value < 0) {
  816.          this.value = 0;
  817.       }
  818.    });
  819.    document.addEventListener('DOMContentLoaded', function() {
  820.     document.getElementById('togglePassword1').addEventListener('click', function() {
  821.         var passwordField = document.getElementById('exampleInputPassword1');
  822.         var type = passwordField.getAttribute('type') === 'password' ? 'text' : 'password';
  823.         passwordField.setAttribute('type', type);
  824.         this.querySelector('i').classList.toggle('fa-eye-slash');
  825.     });
  826. });
  827. </script>
  828. <script>
  829. \$(document).ready(function() {
  830.     // Initialize Select2 on the dropdown
  831.     \$('#villeSelectDropdown').select2({
  832.         placeholder: 'Choisir une ville ou un code postal',
  833.         language: {
  834.             inputTooShort: function() {
  835.                 return \"Saisir minimum 3 caractères\";
  836.             },
  837.             searching: function() {
  838.                 return \"Recherche en cours...\";
  839.             },
  840.             noResults: function() {
  841.                 return \"Aucun résultat trouvé\";
  842.             }
  843.         },
  844.         minimumInputLength: 3,
  845.         ajax: {
  846.             url: '/api/villes',
  847.             dataType: 'json',
  848.             delay: 250,
  849.             data: function(params) {
  850.                 return {
  851.                     q: params.term // Search term
  852.                 };
  853.             },
  854.             processResults: function(data) {
  855.                 return {
  856.                     results: data.results
  857.                 };
  858.             },
  859.             cache: true
  860.         },
  861.         templateResult: function(city) {
  862.             if (city.loading) return city.text;
  863.             return \$('<span>' + city.text + '</span>');
  864.         },
  865.         templateSelection: function(city) {
  866.             return city.text || city.id;
  867.         }
  868.     }).on('select2:open', function() {
  869.         // Focus on the search input when the dropdown opens
  870.         const searchField = document.querySelector('.select2-search__field');
  871.         searchField.focus();
  872.         // Attach a keyup event to the document to capture key presses
  873.         \$(document).on('keyup.select2', function(e) {
  874.             const key = e.key;
  875.             if (key === \"Backspace\") {
  876.                 searchField.value = searchField.value.slice(0, -1);
  877.             } else if (key.length === 1 || !isNaN(key)) {
  878.                 searchField.value += key;
  879.             }
  880.             searchField.dispatchEvent(new Event('input', {
  881.                 bubbles: true
  882.             }));
  883.         });
  884.         // Remove the event listener when the dropdown is closed
  885.         \$('#villeSelectDropdown').on('select2:close', function() {
  886.             \$(document).off('keyup.select2');
  887.         });
  888.     });
  889.     // Select a specific city by default if a value is set
  890.     var defaultCityId = \$('#villeSelectModal').val();
  891.     var defaultCityName = \$('#villeSelectModal').data('city-name');
  892.     var defaultCityPostalCode = \$('#villeSelectModal').data('city-postal-code');
  893.     if (defaultCityId && defaultCityName) {
  894.         var defaultOption = new Option(defaultCityName + ' (' + defaultCityPostalCode + ')', defaultCityId, true, true);
  895.         \$('#villeSelectDropdown').append(defaultOption).trigger('change');
  896.     }
  897. });
  898. </script>
  899.                  
  900. <!-- javascript -->
  901. </body>
  902. </html>";
  903.         
  904.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  905.         
  906.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  907.     }
  908.     // line 300
  909.     public function block_body($context, array $blocks = [])
  910.     {
  911.         $macros $this->macros;
  912.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  913.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  914.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  915.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  916.         
  917.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  918.         
  919.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  920.     }
  921.     public function getTemplateName()
  922.     {
  923.         return "base2.html.twig";
  924.     }
  925.     public function isTraitable()
  926.     {
  927.         return false;
  928.     }
  929.     public function getDebugInfo()
  930.     {
  931.         return array (  969 => 300,  771 => 496,  767 => 495,  762 => 493,  758 => 492,  754 => 491,  750 => 490,  746 => 489,  737 => 483,  686 => 439,  674 => 429,  669 => 426,  662 => 423,  660 => 422,  649 => 418,  637 => 409,  633 => 408,  629 => 407,  619 => 404,  609 => 396,  603 => 394,  597 => 392,  595 => 391,  585 => 388,  544 => 350,  540 => 349,  499 => 311,  487 => 301,  485 => 300,  481 => 298,  465 => 249,  455 => 245,  451 => 244,  447 => 242,  443 => 241,  425 => 225,  421 => 223,  418 => 222,  414 => 220,  404 => 218,  401 => 217,  399 => 216,  384 => 203,  373 => 201,  369 => 200,  352 => 186,  312 => 148,  302 => 140,  290 => 131,  286 => 130,  283 => 129,  276 => 126,  272 => 124,  268 => 123,  264 => 122,  258 => 119,  255 => 118,  253 => 117,  243 => 109,  241 => 108,  234 => 103,  230 => 101,  226 => 99,  220 => 97,  218 => 96,  215 => 95,  213 => 94,  210 => 93,  200 => 86,  191 => 80,  182 => 73,  180 => 72,  171 => 65,  165 => 62,  160 => 61,  157 => 60,  151 => 57,  146 => 56,  140 => 53,  135 => 52,  132 => 51,  130 => 50,  124 => 46,  118 => 44,  112 => 42,  110 => 41,  84 => 18,  80 => 17,  76 => 16,  70 => 13,  66 => 12,  62 => 11,  58 => 10,  54 => 9,  44 => 1,);
  932.     }
  933.     public function getSourceContext()
  934.     {
  935.         return new Source("
  936. <html lang=\"en\">
  937. <head>
  938.    <!-- Required meta tags -->
  939.    <meta charset=\"utf-8\">
  940.    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  941.    <!-- CSS -->
  942.    <link rel=\"stylesheet\" href=\"{{asset('assets/css/style.css')}}\">
  943.    <link rel=\"stylesheet\" href=\"{{asset('assets/css/responsive.css')}}\">
  944.    <link rel=\"stylesheet\" href=\"{{asset('assets/css/user-panel.css')}}\">
  945.    <link rel=\"stylesheet\" href=\"{{asset('assets/css/user-panel-responsive.css')}}\">
  946.    <link rel=\"stylesheet\" href=\"{{asset('assets/css/bootstrap.min.css')}}\">
  947.    <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\">
  948.    <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css\" rel=\"stylesheet\" />
  949.    <link rel=\"stylesheet\" href=\"{{asset('assets/css/owl.carousel.min.css')}}\">
  950.    <link rel=\"stylesheet\" href=\"{{asset('assets/fontawesome/css/all.min.css')}}\">
  951.    <link rel=\"shortcut icon\" href=\"{{asset('assets/images/favicon.ico')}}\">
  952.    <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC\" crossorigin=\"anonymous\">
  953.    <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css\">
  954.    <script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
  955.    <!-- CSS -->
  956.    <title>Modixom</title>
  957. </head>
  958. <style>
  959.    #headerpart .btn-alert {
  960.       background-color: #B0DB82!important;
  961.    }
  962.    #headerpart .btn-alert i {
  963.       color: #00B065!important;
  964.    }
  965.    .select2-container--open {
  966.         z-index: 9999; /* Ajoutez un z-index élevé pour le dropdown */
  967.     }
  968. </style>
  969. <body>
  970.    <!-- header -->
  971.     {% if app.user %}
  972. <header class=\"user-panel-header-area\" id=\"header{{ app.user.type }}\">
  973.     {% else %}
  974.    <header class=\"user-panel-header-area\" id=\"header{{ app.session.get('type') }}\">
  975.    {% endif %}
  976.       <div class=\"user-panel-header-bottom\">
  977.          <div class=\"container\">
  978.             <div class=\"row\">
  979.                <div class=\"col-xl-2 col-lg-2 col-md-0 col-sm-0 col-0  d-lg-block d-none\">
  980.                   {% if app.user %}
  981.                      {% if app.user.type == 'pro' %}
  982.                            <a href=\"{{ path('professionnels') }}\" data-abc=\"true\" class=\"nav-item nav-logo\">
  983.                               <img id=\"change-logo\" src=\"{{ asset('assets/images/logo.png') }}\" style=\"width: 60px; margin: 0 1.3em;\" alt=\"\">
  984.                            </a>
  985.                      {% else %}
  986.                            <a href=\"{{ path('app_default') }}\" data-abc=\"true\" class=\"nav-item nav-logo\">
  987.                               <img id=\"change-logo\" src=\"{{ asset('assets/images/logo.png') }}\" style=\"width: 60px; margin: 0 1.3em;\" alt=\"\">
  988.                            </a>
  989.                      {% endif %}
  990.                   {% else %}
  991.                      <a href=\"{{ path('app_default') }}\" data-abc=\"true\" class=\"nav-item nav-logo\">
  992.                            <img id=\"change-logo\" src=\"{{ asset('assets/images/logo.png') }}\" style=\"width: 60px; margin: 0 1.3em;\" alt=\"\">
  993.                      </a>
  994.                   {% endif %}
  995.                   <span style=\"font-size: 23px\">MODIXOM</span>
  996.                </div>
  997.                <div class=\"col-xl-8 col-lg-8 col-md-10 col-sm-10 col-10\">
  998.                   <div class=\"user-header-bottom-main clearfix\">
  999.                      <div class=\"user-header-bottom-left\">
  1000.                      
  1001.                         <nav class=\"navbar navbar-expand-lg navbar-light d-flex\">
  1002.                         {% if app.user %}
  1003.                            <!-- <section class=\"test d-flex\"> -->
  1004.                            <a href=\"\" data-bs-toggle=\"modal\" data-bs-target=\"#alerte\" class=\"d-flex\">
  1005.                               <div class=\"btn-alert\" style=\"background-color:#ADB9CA;\">
  1006.                                  <i class=\"fas fa-bell\" style=\"color:#d82e9f\"></i>
  1007.                               </div>
  1008.                               <!-- <span class=\"modal-title d-flex align-items-center justify-content-center\" style:\"padding-top:35px;\">Alertes</span> -->
  1009.                            </a>
  1010.                            <a href=\"{{path('favoris')}}\" class=\"d-flex\">
  1011.                               <div class=\"btn-alert\" style=\"background-color:#ADB9CA;\">
  1012.                                  <i class=\"fas fa-heart\" style=\"color:#d82e9f\"></i>
  1013.                               </div>
  1014.                               <!-- <span class=\"modal-title d-flex align-items-center justify-content-center\" style:\"padding-top:35px;\">Alertes</span> -->
  1015.                            </a>
  1016.                            <a href=\"{{path('annonces')}}\" class=\"d-flex\">
  1017.                               <div class=\"btn-alert\" style=\"background-color:#ADB9CA;\">
  1018.                                  <i class=\"fas fa-th-large\" style=\"color: #d82e9f\"></i>
  1019.                               </div>
  1020.                               <!-- <span class=\"modal-title d-flex align-items-center justify-content-center\" style:\"padding-top:35px;\">Alertes</span> -->
  1021.                            </a>
  1022.                            {% endif %}
  1023.                            <!-- </section> -->
  1024.                            {% if app.session.get('type') == 'pro' %}
  1025.                            <li class=\"nav-item\">
  1026.                            {% if app.user %}
  1027.                               <a style=\"text-decoration: none; color:black; margin-left:2em;\" class=\"nav-link modal-title\" href=\"{{path('app_annonces_new')}}\"><i class=\"fas fa-regular fa-plus\"></i> Créer une annonce</a>
  1028.                               {% else %}
  1029.                               <a style=\"text-decoration: none; color:black; margin-left:2em;\" class=\"nav-link modal-title\" data-bs-toggle=\"modal\" data-bs-target=\"#connexion-modal\" ><i class=\"fas fa-regular fa-plus\"></i> Créer une annonce</a>
  1030.                               {% endif %}
  1031.                            </li>
  1032.                            {% endif %}
  1033.                         </nav>
  1034.                      </div>
  1035.                   </div>
  1036.                </div>
  1037.                {% if app.user %}
  1038.                <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-2 col-2 d-flex justify-content-end align-items-center \">
  1039.                   <div class=\"user-panel-header-top-right clearfix\">
  1040.                      <div class=\"user-panel-profile\">
  1041.                         <ul class=\"navbar-nav\">
  1042.                            <li class=\"nav-item dropdown\">
  1043.                               <a href=\"#\" class=\"nav-link dropdown-toggle\" id=\"navbarDropdown\" role=\"button\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\" style=\"color:transparent;\"><span class=\"profils-icon\" id=\"dropdownIcon\" style=\"background-color: transparent;\"><i class=\"fas fa-bars\"></i></span></a>
  1044.                               <ul class=\"dropdown-menu\" style=\" margin-top: 25px ;\" aria-labelledby=\"navbarDropdown\">
  1045.                                
  1046.                                {% if app.user.type == 'pro' %}
  1047.                                  <li>
  1048.                                     <a class=\"dropdown-item\" href=\"{{path('notesEnseignes')}}\"><!--<i class=\"fas fa-thumbs-up\"></i>--> Notes obtenues</a>
  1049.                                  </li>
  1050.                                  <hr>
  1051.                                  <li><a class=\"dropdown-item\" href=\"{{path('mesAnnonces',{'type':'encours'})}}\">Mes annonces</a></li>
  1052.                                  <li><a class=\"dropdown-item\" href=\"{{path('mesAnnonces',{'type':'terminee'})}}\">Annonces terminées</a></li>
  1053.                                  <li><a class=\"dropdown-item\" href=\"{{path('achatCredit')}}\"  style=\"color:red\">Acheter du crédit</a></li>
  1054.                                  {# data-bs-toggle=\"modal\" data-bs-target=\"#achatModal\" #}
  1055.                                  <li><a class=\"dropdown-item\" href=\"{{path('achatFacture')}}\"  style=\"color:red\"></i> Factures</a></li>
  1056.                                  <hr>
  1057.                                  {% endif %}
  1058.                                  <li><a href=\"{{path('profil')}}\" class=\"dropdown-item\">Profil</a></li> 
  1059.                                  <li><a href=\"{{path('app_logout')}}\" class=\"dropdown-item user-logout\">Déconnexion</a></li>
  1060.                                  <li><a href=\"\" data-toggle=\"modal\" data-target=\"#modaldelete\" class=\"dropdown-item user-logout\">Supprimer mon compte</a></li>
  1061.                               </ul>
  1062.                            </li>
  1063.                         </ul>
  1064.                      </div>
  1065.                   </div>
  1066.                </div>
  1067.                {% else %}
  1068.                <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-2 col-2 d-flex justify-content-end align-items-center\">
  1069.                   <a class=\"nav-link my-auto\" href=\"login.php\" data-bs-toggle=\"modal\" data-bs-target=\"#connexion-modal\" style=\"font-weight:bold !important; color: black; font-size: 23px; white-space: nowrap;\">Se connecter</a>
  1070.                </div>
  1071.                
  1072.       <!-- <a data-bs-toggle=\"modal\" data-bs-target=\"#connexion-modal\">Se connecter</a> -->
  1073.                {% endif %}
  1074.             </div>
  1075.          </div>
  1076.       </div>
  1077.    
  1078.    <!-- Modal delete account -->
  1079.    <div class=\"modal fade\" id=\"modaldelete\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modaldeleteLabel\">
  1080.       <div class=\"modal-dialog\" role=\"document\">
  1081.          <div class=\"modal-content\">
  1082.             <div class=\"modal-header\">
  1083.                <h4 class=\"modal-title\">Supprimer mon compte !</h4>
  1084.                <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">&times;</span></button>
  1085.             </div>
  1086.             <div class=\"modal-body\">
  1087.                <p>VOUS ALLEZ COMMENCER LE PROCESSUS DE SUPPRESSION DE VOTRE COMPTE</p>
  1088.                <p>Vous êtes sur le point de nous demander de fermer de manière définitive votre compte et de supprimer vos données. Une fois votre compte fermé, tous les services auxquels vous accédez par le biais de votre compte ne seront plus disponibles.</p>
  1089.                <div class=\"confirm-row d-flex\">
  1090.                   <input type=\"checkbox\" name=\"confirmation\" id=\"confirmation\">
  1091.                   <label for=\"confirmation\">OUI, JE SOUHAITE FERMER DEFINITIVEMENT MON COMPTE ET SUPPRIMER MES DONNÉES</label>
  1092.                </div>
  1093.             </div>
  1094.             <div class=\"modal-footer\">
  1095.                <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" style=\"color:red\">Supprimer</button>
  1096.                <button type=\"button\" class=\"btn btn-primary text-light\">Annuler</button>
  1097.             </div>
  1098.          </div>
  1099.       </div>
  1100.    </div>
  1101. <!-- Modal -->
  1102. <div class=\"modal fade\" id=\"alerte\" tabindex=\"-1\" aria-labelledby=\"alerteModalLabel\" aria-hidden=\"true\">
  1103.     <div class=\"modal-dialog\">
  1104.         <div class=\"modal-content\" style=\"height: 41em;\">
  1105.             <div class=\"modal-header\">
  1106.                 <h5 class=\"modal-title\" id=\"alerteModalLabel\">Mes alertes</h5>
  1107.                 <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  1108.             </div>
  1109.             <div class=\"modal-body\" style=\"margin:0;padding:10px;\">
  1110.                 <div class=\"row\">
  1111.                     <form action=\"{{ path('addAlertes') }}\" method=\"post\" class=\"d-flex flex-column\">
  1112.                         <label for=\"\" class=\"form-label\" style=\"margin:0;padding:10px;\">Créer une alerte par mots-clés :</label>
  1113.                         <div class=\"d-flex\">
  1114.                             <input type=\"text\" class=\"form-control\" name=\"texte\" style=\"height:2.5em;\" placeholder=\"Nouvelle Alerte\">
  1115.                         </div>
  1116.                 </div>
  1117.                 <div id=\"alerte-categorie\" style=\"margin-top:30px;\">
  1118.                     <div>
  1119.                         <div class=\"mb-3\">
  1120.                             <label for=\"categorie\" class=\"form-label\">Créer une alerte par catégorie :</label>
  1121.                             <div class=\"d-flex\">
  1122.                                 <select class=\"form-select\" id=\"categorie\" name=\"categorie\" style=\"height:2.5em;\">
  1123.                                     <option value=\"0\">-- Choisir catégorie --</option>
  1124.                                     {% for categorie in categories %}
  1125.                                         <option value=\"{{ categorie.id }}\">{{ categorie.libelle }}</option>
  1126.                                     {% endfor %}
  1127.                                 </select>
  1128.                             </div>
  1129.                         </div>
  1130.                     </div>
  1131.                 </div>
  1132.                 <div id=\"alerte-perimetre\" style=\"margin-top:40px;\">
  1133.                     <div>
  1134.                         <div class=\"mb-3\">
  1135.                             <label for=\"perimetre\" class=\"form-label\">Créer une alerte par localisation :</label>
  1136.                         </div>
  1137.                         <div class=\"mb-3\">
  1138.                             <label for=\"ville\" class=\"form-label\">Ville :</label>
  1139.                             {% if app.user %}
  1140.                                 {% if app.user.villes %}
  1141.                                     <input type=\"hidden\" id=\"villeSelectModal\" value=\"{{ app.user.villes.id }}\" data-city-name=\"{{ app.user.villes.VilleNom }}\" data-city-postal-code=\"{{ app.user.villes.VilleCodePostal }}\">
  1142.                                 {% else %}
  1143.                                     <input type=\"hidden\" id=\"villeSelectModal\" value=\"\">
  1144.                                 {% endif %}
  1145.                             {% else %}
  1146.                                 <input type=\"hidden\" id=\"villeSelectModal\" value=\"\">
  1147.                             {% endif %}
  1148.                             <select class=\"js-data-example-ajax form-control\" id=\"villeSelectDropdown\" name=\"ville\" style=\"width:100%\"></select>
  1149.                         </div>
  1150.                         <div class=\"mb-3\">
  1151.                             <label for=\"rayon\" class=\"form-label\">Rayon de recherche :</label>
  1152.                             <input type=\"number\" name=\"rayon\" class=\"form-control\" id=\"rayon\" min=\"0\">
  1153.                         </div>
  1154.                         <div class=\"mb-3 d-flex justify-content-end\">
  1155.                             <button class=\"btn btn-primary\" style=\"background-color: #ADB9CA!important; border: solid 1px #d82e9f!important; margin-top:5px;\">Ajouter</button>
  1156.                         </div>
  1157.                     </form>
  1158.                 </div>
  1159.             </div>
  1160.             <h3>Votre liste d'alertes</h3>
  1161.             <div class=\"alerte-table\">
  1162.                 <div class=\"container\">
  1163.                     {% for alerte in alertes %}
  1164.                         <div class=\"row pb-3\">
  1165.                             <button type=\"button\" class=\"btn btn-primary d-flex\" style=\"background-color: #ADB9CA!important; border: solid 1px #d82e9f!important;\">
  1166.                                 <span class=\"mr-auto\">{{ alerte.texte }}</span>
  1167.                                 <span class=\"ml-auto delete-alert\" data-id=\"{{ alerte.id }}\" aria-hidden=\"true\">&times;</span>
  1168.                             </button>
  1169.                         </div>
  1170.                     {% endfor %}
  1171.                 </div>
  1172.             </div>
  1173.         </div>
  1174.     </div>
  1175. </div>
  1176.    <!-- Modal d'achat  -->
  1177.    <!-- Modal -->
  1178.    {# <div class=\"modal fade\" id=\"achatModal\" tabindex=\"-1\" aria-labelledby=\"achatModalLabel\" aria-hidden=\"true\">
  1179.       <div class=\"modal-dialog\">
  1180.          <div class=\"modal-content\">
  1181.             <div class=\"modal-header\">
  1182.                <h5 class=\"modal-title\" id=\"achatModalLabel\">Acheter du crédit</h5>
  1183.                <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  1184.             </div>
  1185.             <div class=\"modal-body\">
  1186.                <div role=\"tabpanel\" class=\"tab-pane fade in active\">
  1187.                   <div class=\"theme-box-center\">
  1188.                      <div class=\"row\">
  1189.                         <div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-10 col-12\">
  1190.                            <div class=\"theme-input-box\">
  1191.                               <label>Combien de crédit souhaitez-vous ? </label>
  1192.                               <input class=\"theme-input\" type=\"number\" name=\"\" placeholder=\"10\">
  1193.                            </div>
  1194.                         </div>
  1195.                         <div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-4 col-12\">
  1196.                            <div class=\"fix-price-value\">
  1197.                               <h3 class=\"theme-title\" style=\"color: #F6249D;\">Nombre de crédit restant : 12</h3>
  1198.                               <p class=\"theme-description\">1 crédit = 1 euro </p>
  1199.                               <p class=\"theme-description\">Minimum 10 crédits.</p>
  1200.                            </div>
  1201.                         </div>
  1202.                      </div>
  1203.                   </div>
  1204.                </div>
  1205.             </div>
  1206.             <div class=\"modal-footer\">
  1207.                <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">Fermer</button>
  1208.                <button type=\"button\" class=\"btn theme-btn-pro\">Acheter</button>
  1209.             </div>
  1210.          </div>
  1211.       </div>
  1212.    </div> #}
  1213.    </header>
  1214. {% block body %}{% endblock %}
  1215.  <!-- Modal connexion-->
  1216.                         <div class=\"modal fade\" id=\"connexion-modal\" tabindex=\"-1\" aria-labelledby=\"connexion-modal-Label\" aria-hidden=\"true\">
  1217.                            <div class=\"modal-dialog\">
  1218.                               <div class=\"modal-content\" style=\"z-index: 100;\">
  1219.                                  <div class=\"modal-header\">
  1220.                                     <h5 class=\"modal-title mx-auto w-100 fs-3 text-center\" id=\"connexion-modal-Label\">Connexion</h5>
  1221.                                     <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  1222.                                  </div>
  1223.                                  <div class=\"modal-body\">
  1224.                                     <form class=\"row g-3 needs-validation\" method=\"POST\" action=\"{{ path('custom_login') }}\">
  1225.                                        <div class=\"mb-3\">
  1226.                                           <label for=\"Email-connexion\" class=\"form-label\">Email</label>
  1227.                                           <input type=\"email\" class=\"form-control\" id=\"Email-connexion\" name=\"email\" aria-describedby=\"emailHelp\">
  1228.                                          
  1229.                                        </div>
  1230.                                        <div class=\"mb-3\">
  1231.                                              <label for=\"Password-connexion\" class=\"form-label\">Mot de passe</label>
  1232.                                              <div class=\"input-group\">
  1233.                                                 <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" name=\"password\" aria-describedby=\"forgot-password\">
  1234.                                                 <button class=\"btn btn-outline-secondary\" type=\"button\" id=\"togglePassword1\">
  1235.                                                    <i class=\"fas fa-eye\"></i>
  1236.                                                 </button>
  1237.                                              </div>
  1238.                                              <div id=\"forgot-password\" class=\"form-text\">
  1239.                                                 <a href=\"forgot-Password.php\" style=\"color: #F6249D;\">Mot de passe oublié ?</a>
  1240.                                              </div>
  1241.                                        </div>
  1242.                                        <div class=\"mb-3 \">
  1243.                                           <p>Pas encore membre ? <a class=\"login-text\" href=\"#\" data-bs-toggle=\"modal\" data-bs-target=\"#exampleModal\" style=\"color : black; text-decoration: underline !important;\">S'inscrire</a></p>
  1244.                                        </div>
  1245.                                        
  1246.                                        <button type=\"submit\" class=\"btn btn-primary\">Connexion</button>
  1247.                                     </form>
  1248.                                  </div>
  1249.                               </div>
  1250.                            </div>
  1251.                         </div>
  1252.                         <!-- fin modal particulier -->
  1253.                           <!-- Modal -->
  1254. <div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
  1255.     <div class=\"modal-dialog\">
  1256.         <div class=\"modal-content\" style=\"z-index: 100;\">
  1257.             <div class=\"modal-header\">
  1258.                 <h5 class=\"modal-title\" id=\"exampleModalLabel\">Sélectionnez votre statut</h5>
  1259.                 <button type=\"button\" class=\"btn-close\" data-dismiss=\"modal\" aria-label=\"Close\"></button>
  1260.             </div>
  1261.             <div class=\"modal-body d-flex justify-content-center align-items-center flex-column text-center\">
  1262.                 <a href=\"{{path('inscription',{'type':'part'})}}\" class=\"btnModem\" style=\"width:60%\">INSCRIPTION PARTICULIER</a>
  1263.                 <a href=\"{{path('inscription',{'type':'pro'})}}\" class=\"btnMod\" style=\"width:60%; margin-top:20px; white-space: nowrap;\">INSCRIPTION PROFESSIONNEL</a>
  1264.             </div>
  1265.         </div>
  1266.     </div>
  1267. </div>
  1268. <!-- footer -->
  1269. <!-- footer -->
  1270. <footer class=\"footer-main\">
  1271.     <div class=\"footer-top\">
  1272.         <div class=\"container\">
  1273.             <div class=\"row\">
  1274.                 <!-- <div class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12\">
  1275.                <div class=\"footer-widget\">
  1276.                   <a href=\"index.html\"><img src=\"assets/images/logo.png\" style=\"width: 100px;\" alt=\"\"></a>
  1277.                   <p class=\"theme-description\">Modixom vous permettra de trouver en un seul click les meilleurs promotions. </p>
  1278.                   <div class=\"footer-links clearfix\">
  1279.                      <div class=\"footer-icon-box\">
  1280.                         <a href=\"\" title=\"Facebook\" style=\"color: #3b5998;\">
  1281.                            <i class=\"fab fa-facebook-f\"></i>
  1282.                         </a>
  1283.                      </div>
  1284.                      <div class=\"footer-icon-box\">
  1285.                         <a href=\"\" title=\"Twitter\" style=\"color: #00acee;\">
  1286.                            <i class=\"fab fa-twitter\"></i>
  1287.                         </a>
  1288.                      </div>
  1289.                      <div class=\"footer-icon-box\">
  1290.                         <a href=\"\" title=\"Linkedin\" style=\"color: #0e76a8;\">
  1291.                            <i class=\"fab fa-linkedin-in\"></i>
  1292.                         </a>
  1293.                      </div>
  1294.                   </div>
  1295.                </div>
  1296.             </div> -->
  1297.                 <div class=\"col-xl-3 col-lg-3  col-md-6 col-sm-6 col-12 text-center\">
  1298.                     <div class=\"footer-widget\">
  1299.                         <h3 class=\"theme-title {% if app.session.get('type') == 'part' %}green{% else %}blue{% endif %}\">DÉCOUVRIR MODIXOM</h3>
  1300.                         <div class=\"footer-menu-services\">
  1301.                             <ul class=\"menu-service-menu\" style=\"margin-left: -30px\">
  1302.                                 {% if app.session.get('type') == 'pro' %}
  1303.                                     <li><a href=\"{{ path('professionnels', {}, '#propos') }}\">A Propos</a></li>
  1304.                                 {% else %}
  1305.                                     <li><a href=\"{{ path('app_default', {}, '#propos') }}\">A Propos</a></li>
  1306.                                 {% endif %}
  1307.                                 <li><a href=\"recommander_commercant.php\">Recommander un commerçant</a></li>
  1308.                                 <li><a href=\"browse-particulier-no-logged.php\">Annonces</a></li>
  1309.                             </ul>
  1310.                         </div>
  1311.                     </div>
  1312.                 </div>
  1313.                 <div class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12\">
  1314.                     <div class=\"footer-widget\">
  1315.                         <h3 class=\"theme-title {% if app.session.get('type') == 'part' %}green{% else %}blue{% endif %}\">MENTIONS LÉGALES</h3>
  1316.                         <div class=\"footer-menu-services\">
  1317.                             <ul class=\"menu-service-menu\" style=\"margin-left: -30px\">
  1318.                                 <li><a href=\"{{path('app_mention')}}\">Mentions légales</a></li>
  1319.                                 <li><a href=\"{{path('app_cookie')}}\">Gestion des cookies</a></li>
  1320.                                 <li><a href=\"{{path('app_protection')}}\">Politique de protection des données</a></li>
  1321.                                 <!-- <li><a href=\"contact.php\">Conditions de vente</a></li>
  1322.                         <li><a href=\"contact.php\">RGPD</a></li> -->
  1323.                             </ul>
  1324.                         </div>
  1325.                     </div>
  1326.                 </div>
  1327.                 <div class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12\">
  1328.                     <div class=\"footer-widget\">
  1329.                         <h3 class=\"theme-title {% if app.session.get('type') == 'part' %}green{% else %}blue{% endif %}\">AIDE</h3>
  1330.                         <div class=\"footer-menu-services\">
  1331.                             <ul class=\"menu-service-menu\" style=\"margin-left: -30px\">
  1332.                             {% if app.user %}
  1333. <li><a href=\"{{path('contact1')}}\" >Nous contacter</a></li>
  1334.                             {% else %}
  1335. <li><a  data-bs-toggle=\"modal\" data-bs-target=\"#connexion-modal\">Nous contacter</a></li>
  1336.                             {% endif %}
  1337.                                 
  1338.                                 <li><a href=\"faq-particulier.php\">FAQ</a></li>
  1339.                             </ul>
  1340.                         </div>
  1341.                     </div>
  1342.                 </div>
  1343.                 <div class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12 \">
  1344.                     <div class=\"footer-widget\">
  1345.                         <h3 class=\"theme-title {% if app.session.get('type') == 'part' %}green{% else %}blue{% endif %}\">APPLICATION</h3>
  1346.                         <div class=\"footer-menu-services\">
  1347.                             <div class=\"row\"><br>
  1348.                                 <!-- App Store button -->
  1349.                                 <div class=\"col-md-12 col-12  pb-3\">
  1350.                                     <a href=\"https://www.apple.com/fr/app-store/\" target=\"_blank\" class=\"market-btn apple-btn\" role=\"button\">
  1351.                                         <span class=\"market-button-subtitle\">Télécharger sur</span>
  1352.                                         <span class=\"market-button-title\">App Store</span>
  1353.                                     </a>
  1354.                                 </div>
  1355.                                 <!-- Google Play button -->
  1356.                                 <div class=\"col-md-12 col-12 \">
  1357.                                     <a href=\"https://play.google.com/store/games?gl=FR&utm_source=emea_Med&utm_medium=hasem&utm_content=Oct2020&utm_campaign=Evergreen&pcampaignid=MKT-EDR-emea-fr-1001280-Med-hasem-py-Evergreen-Oct2020-Text_Search_BKWS%7CONSEM_kwid_43700008792247580&gclid=CjwKCAiAl9efBhAkEiwA4Toril0SpGeAFHdzwhXUd_zX25ptzJLjDqUqg26pTEyl6Apf3UA1SsLrhhoCuAcQAvD_BwE&gclsrc=aw.ds&pli=1\" target=\"_blank\" class=\"market-btn google-btn\" role=\"button\">
  1358.                                         <span class=\"market-button-subtitle\">Télécharger sur</span>
  1359.                                         <span class=\"market-button-title\">Google Play</span>
  1360.                                     </a>
  1361.                                 </div>
  1362.                             </div>
  1363.                         </div>
  1364.                     </div>
  1365.                 </div>
  1366.             </div>
  1367.         </div>
  1368.     </div>
  1369.     <div class=\"footer-copyright\">
  1370.         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  1371.             <div class=\"copyright-text text-right\" style=\"margin-right: 100px\">
  1372.                 <p><a href=\"index.php\">© 2023 Modixom</p>
  1373.             </div>
  1374.         </div>
  1375.     </div>
  1376. </footer>
  1377. <!-- footer -->
  1378. <!-- back top top -->
  1379. <div class=\"back-top-top\" id=\"page-up\">
  1380.     <a href=\"\"><i class=\"fas fa-arrow-up\"></i>Haut</a>
  1381. </div>
  1382. <!-- back top top -->
  1383. <!-- preloader -->
  1384. <!-- preloader -->
  1385. <div class=\"theme-preloader\">
  1386.          <span><img src=\"{{asset('assets/images/logo.png')}}\" alt=\"\"></span>
  1387.       </div>
  1388. <!-- preloader -->
  1389. <!-- preloader -->
  1390. <!-- javascript -->
  1391. <script src=\"{{asset('assets/js/jquery.min.js')}}\"></script>
  1392. <script src=\"{{asset('assets/js/popper.min.js')}}\"></script>
  1393. <script src=\"{{asset('assets/js/bootstrap.min.js')}}\"></script>
  1394. <script src=\"{{asset('assets/js/owl.carousel.min.js')}}\"></script>
  1395. <script type=\"text/javascript\" src=\"{{asset('assets/js/jquery.cookie.min.js')}}\"></script>
  1396. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM\" crossorigin=\"anonymous\"></script>
  1397. <script src=\"{{asset('assets/js/custom.js')}}\"></script>
  1398. <script src=\"{{asset('assets/js/ck-editor.js')}}\"></script>
  1399. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js\" defer></script>
  1400. <script src=\"https://cdn.jsdelivr.net/npm/sweetalert2@11\"></script>
  1401. <script>
  1402.     \$(\"#pro-button\").click(function() {
  1403.         \$(\"#pro-options\").removeClass(\"d-none\");
  1404.     });
  1405. </script>
  1406. <script>
  1407. \$(document).ready(function() {
  1408.     \$('.js-data-example-ajax').select2({
  1409.         placeholder: 'Choisir une ville ou un code postal',
  1410.         language: {
  1411.             inputTooShort: function() {
  1412.                 return \"Saisir minimum 3 caractères\";
  1413.             },
  1414.             searching: function() {
  1415.                 return \"Recherche en cours...\";
  1416.             },
  1417.             noResults: function() {
  1418.                 return \"Aucun résultat trouvé\";
  1419.             }
  1420.         },
  1421.         minimumInputLength: 3,
  1422.         ajax: {
  1423.             url: '/api/villes', // Utilisez l'URL de votre nouvelle API
  1424.             dataType: 'json',
  1425.             delay: 250,
  1426.             data: function(params) {
  1427.                 return {
  1428.                     q: params.term // search term
  1429.                 };
  1430.             },
  1431.             processResults: function(data) {
  1432.                 return {
  1433.                     results: data.results
  1434.                 };
  1435.             },
  1436.             cache: true
  1437.         },
  1438.         templateResult: function(city) {
  1439.             if (city.loading) return city.text;
  1440.             return \$('<span>' + city.text + '</span>');
  1441.         },
  1442.         templateSelection: function(city) {
  1443.             return city.text || city.id;
  1444.         }
  1445.     });
  1446.     // Sélectionner par défaut une ville spécifique si une valeur est définie
  1447.     var defaultCityId = \$('#villesSelect').val();
  1448.     var defaultCityName = \$('#villesSelect').data('city-name');
  1449.     var defaultCityPostalCode = \$('#villesSelect').data('city-postal-code');
  1450.     if (defaultCityId && defaultCityName) {
  1451.         var defaultOption = new Option(defaultCityName + ' (' + defaultCityPostalCode + ')', defaultCityId, true, true);
  1452.         \$('.js-data-example-ajax').append(defaultOption).trigger('change');
  1453.     }
  1454. });
  1455. </script>
  1456. <script>
  1457.     document.addEventListener('DOMContentLoaded', (event) => {
  1458.         document.querySelectorAll('.delete-alert').forEach(button => {
  1459.             button.addEventListener('click', function () {
  1460.                 const alertId = this.getAttribute('data-id');
  1461.                 fetch(`/delete-alert/\${alertId}`, {
  1462.                     method: 'DELETE',
  1463.                     headers: {
  1464.                         'X-Requested-With': 'XMLHttpRequest',
  1465.                         'Content-Type': 'application/json'
  1466.                     }
  1467.                 })
  1468.                 .then(response => {
  1469.                     if (response.ok) {
  1470.                         location.reload();
  1471.                     } else {
  1472.                         alert('Une erreur s\\'est produite lors de la suppression de l\\'alerte.');
  1473.                     }
  1474.                 });
  1475.             });
  1476.         });
  1477.     });
  1478.     document.getElementById('périmètre').addEventListener('input', function () {
  1479.       if (this.value < 0) {
  1480.          this.value = 0;
  1481.       }
  1482.    });
  1483.    document.addEventListener('DOMContentLoaded', function() {
  1484.     document.getElementById('togglePassword1').addEventListener('click', function() {
  1485.         var passwordField = document.getElementById('exampleInputPassword1');
  1486.         var type = passwordField.getAttribute('type') === 'password' ? 'text' : 'password';
  1487.         passwordField.setAttribute('type', type);
  1488.         this.querySelector('i').classList.toggle('fa-eye-slash');
  1489.     });
  1490. });
  1491. </script>
  1492. <script>
  1493. \$(document).ready(function() {
  1494.     // Initialize Select2 on the dropdown
  1495.     \$('#villeSelectDropdown').select2({
  1496.         placeholder: 'Choisir une ville ou un code postal',
  1497.         language: {
  1498.             inputTooShort: function() {
  1499.                 return \"Saisir minimum 3 caractères\";
  1500.             },
  1501.             searching: function() {
  1502.                 return \"Recherche en cours...\";
  1503.             },
  1504.             noResults: function() {
  1505.                 return \"Aucun résultat trouvé\";
  1506.             }
  1507.         },
  1508.         minimumInputLength: 3,
  1509.         ajax: {
  1510.             url: '/api/villes',
  1511.             dataType: 'json',
  1512.             delay: 250,
  1513.             data: function(params) {
  1514.                 return {
  1515.                     q: params.term // Search term
  1516.                 };
  1517.             },
  1518.             processResults: function(data) {
  1519.                 return {
  1520.                     results: data.results
  1521.                 };
  1522.             },
  1523.             cache: true
  1524.         },
  1525.         templateResult: function(city) {
  1526.             if (city.loading) return city.text;
  1527.             return \$('<span>' + city.text + '</span>');
  1528.         },
  1529.         templateSelection: function(city) {
  1530.             return city.text || city.id;
  1531.         }
  1532.     }).on('select2:open', function() {
  1533.         // Focus on the search input when the dropdown opens
  1534.         const searchField = document.querySelector('.select2-search__field');
  1535.         searchField.focus();
  1536.         // Attach a keyup event to the document to capture key presses
  1537.         \$(document).on('keyup.select2', function(e) {
  1538.             const key = e.key;
  1539.             if (key === \"Backspace\") {
  1540.                 searchField.value = searchField.value.slice(0, -1);
  1541.             } else if (key.length === 1 || !isNaN(key)) {
  1542.                 searchField.value += key;
  1543.             }
  1544.             searchField.dispatchEvent(new Event('input', {
  1545.                 bubbles: true
  1546.             }));
  1547.         });
  1548.         // Remove the event listener when the dropdown is closed
  1549.         \$('#villeSelectDropdown').on('select2:close', function() {
  1550.             \$(document).off('keyup.select2');
  1551.         });
  1552.     });
  1553.     // Select a specific city by default if a value is set
  1554.     var defaultCityId = \$('#villeSelectModal').val();
  1555.     var defaultCityName = \$('#villeSelectModal').data('city-name');
  1556.     var defaultCityPostalCode = \$('#villeSelectModal').data('city-postal-code');
  1557.     if (defaultCityId && defaultCityName) {
  1558.         var defaultOption = new Option(defaultCityName + ' (' + defaultCityPostalCode + ')', defaultCityId, true, true);
  1559.         \$('#villeSelectDropdown').append(defaultOption).trigger('change');
  1560.     }
  1561. });
  1562. </script>
  1563.                  
  1564. <!-- javascript -->
  1565. </body>
  1566. </html>""base2.html.twig""/var/www/vhosts/modixom.fr/httpdocs/templates/base2.html.twig");
  1567.     }
  1568. }