var/cache/dev/twig/24/244723297b51589a653701a52d9fbae2a4276faccf3e8e01211c3607768d6259.php line 433

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* account/account.html.twig */
  16. class __TwigTemplate_2bb4f1d828904ba6eac95c226b11f43fdea3bccd2b406e779ef812b7484074ad extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.             'body' => [$this'block_body'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "base.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""account/account.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""account/account.html.twig"));
  45.         $this->parent $this->loadTemplate("base.html.twig""account/account.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     /**
  54.      * @return iterable<null|scalar|\Stringable>
  55.      */
  56.     public function block_title(array $context, array $blocks = []): iterable
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         yield "Les trésors de Luna";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.         yield from [];
  69.     }
  70.     // line 5
  71.     /**
  72.      * @return iterable<null|scalar|\Stringable>
  73.      */
  74.     public function block_javascripts(array $context, array $blocks = []): iterable
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  81.         // line 6
  82.         yield "
  83.     <script type=\"module\">
  84.         import FormValidation from '";
  85.         // line 8
  86.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/classes/FormValidation.js"), "html"nulltrue);
  87.         yield "'
  88.         window.addEventListener('load', () => {
  89.             
  90.             const registrationForm = document.getElementById('registration_form')
  91.             const excludedInputsId = ['registration_form_agreeTerms', 'registration_form__token']
  92.             const createAccountButton = document.getElementById('create-user-acount-button')
  93.             
  94.             const formValidation = new FormValidation(registrationForm, createAccountButton, excludedInputsId)
  95.             
  96.         })
  97.     </script>
  98. ";
  99.         
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  101.         
  102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  103.         yield from [];
  104.     }
  105.     // line 22
  106.     /**
  107.      * @return iterable<null|scalar|\Stringable>
  108.      */
  109.     public function block_body(array $context, array $blocks = []): iterable
  110.     {
  111.         $macros $this->macros;
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  116.         // line 23
  117.         yield "
  118. <body>
  119.     <svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none;\">
  120.         <defs>
  121.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"link\" viewBox=\"0 0 24 24\">
  122.                 <path fill=\"currentColor\"
  123.                     d=\"M12 19a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0-4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm-5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm7-12h-1V2a1 1 0 0 0-2 0v1H8V2a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3Zm1 17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9h16Zm0-11H4V6a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V5h8v1a1 1 0 0 0 2 0V5h1a1 1 0 0 1 1 1ZM7 15a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0 4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Z\" />
  124.             </symbol>
  125.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"arrow-right\" viewBox=\"0 0 24 24\">
  126.                 <path fill=\"currentColor\"
  127.                     d=\"M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33a1 1 0 0 0 0-.76Z\" />
  128.             </symbol>
  129.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"category\" viewBox=\"0 0 24 24\">
  130.                 <path fill=\"currentColor\"
  131.                     d=\"M19 5.5h-6.28l-.32-1a3 3 0 0 0-2.84-2H5a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-10a3 3 0 0 0-3-3Zm1 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1h4.56a1 1 0 0 1 .95.68l.54 1.64a1 1 0 0 0 .95.68h7a1 1 0 0 1 1 1Z\" />
  132.             </symbol>
  133.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"calendar\" viewBox=\"0 0 24 24\">
  134.                 <path fill=\"currentColor\"
  135.                     d=\"M19 4h-2V3a1 1 0 0 0-2 0v1H9V3a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm1 15a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7h16Zm0-9H4V7a1 1 0 0 1 1-1h2v1a1 1 0 0 0 2 0V6h6v1a1 1 0 0 0 2 0V6h2a1 1 0 0 1 1 1Z\" />
  136.             </symbol>
  137.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"heart\" viewBox=\"0 0 24 24\">
  138.                 <path fill=\"currentColor\"
  139.                     d=\"M20.16 4.61A6.27 6.27 0 0 0 12 4a6.27 6.27 0 0 0-8.16 9.48l7.45 7.45a1 1 0 0 0 1.42 0l7.45-7.45a6.27 6.27 0 0 0 0-8.87Zm-1.41 7.46L12 18.81l-6.75-6.74a4.28 4.28 0 0 1 3-7.3a4.25 4.25 0 0 1 3 1.25a1 1 0 0 0 1.42 0a4.27 4.27 0 0 1 6 6.05Z\" />
  140.             </symbol>
  141.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"plus\" viewBox=\"0 0 24 24\">
  142.                 <path fill=\"currentColor\"
  143.                     d=\"M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2Z\" />
  144.             </symbol>
  145.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"minus\" viewBox=\"0 0 24 24\">
  146.                 <path fill=\"currentColor\" d=\"M19 11H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\" />
  147.             </symbol>
  148.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"cart\" viewBox=\"0 0 24 24\">
  149.                 <path fill=\"currentColor\"
  150.                     d=\"M8.5 19a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 8.5 19ZM19 16H7a1 1 0 0 1 0-2h8.491a3.013 3.013 0 0 0 2.885-2.176l1.585-5.55A1 1 0 0 0 19 5H6.74a3.007 3.007 0 0 0-2.82-2H3a1 1 0 0 0 0 2h.921a1.005 1.005 0 0 1 .962.725l.155.545v.005l1.641 5.742A3 3 0 0 0 7 18h12a1 1 0 0 0 0-2Zm-1.326-9l-1.22 4.274a1.005 1.005 0 0 1-.963.726H8.754l-.255-.892L7.326 7ZM16.5 19a1.5 1.5 0 1 0 1.5 1.5a1.5 1.5 0 0 0-1.5-1.5Z\" />
  151.             </symbol>
  152.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"check\" viewBox=\"0 0 24 24\">
  153.                 <path fill=\"currentColor\"
  154.                     d=\"M18.71 7.21a1 1 0 0 0-1.42 0l-7.45 7.46l-3.13-3.14A1 1 0 1 0 5.29 13l3.84 3.84a1 1 0 0 0 1.42 0l8.16-8.16a1 1 0 0 0 0-1.47Z\" />
  155.             </symbol>
  156.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"trash\" viewBox=\"0 0 24 24\">
  157.                 <path fill=\"currentColor\"
  158.                     d=\"M10 18a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1ZM20 6h-4V5a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1H4a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8h1a1 1 0 0 0 0-2ZM10 5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1h-4Zm7 14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8h10Zm-3-1a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1Z\" />
  159.             </symbol>
  160.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-outline\" viewBox=\"0 0 15 15\">
  161.                 <path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"
  162.                     d=\"M7.5 9.804L5.337 11l.413-2.533L4 6.674l2.418-.37L7.5 4l1.082 2.304l2.418.37l-1.75 1.793L9.663 11L7.5 9.804Z\" />
  163.             </symbol>
  164.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-solid\" viewBox=\"0 0 15 15\">
  165.                 <path fill=\"currentColor\"
  166.                     d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
  167.             </symbol>
  168.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"search\" viewBox=\"0 0 24 24\">
  169.                 <path fill=\"currentColor\"
  170.                     d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
  171.             </symbol>
  172.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"user\" viewBox=\"0 0 24 24\">
  173.                 <path fill=\"currentColor\"
  174.                     d=\"M15.71 12.71a6 6 0 1 0-7.42 0a10 10 0 0 0-6.22 8.18a1 1 0 0 0 2 .22a8 8 0 0 1 15.9 0a1 1 0 0 0 1 .89h.11a1 1 0 0 0 .88-1.1a10 10 0 0 0-6.25-8.19ZM12 12a4 4 0 1 1 4-4a4 4 0 0 1-4 4Z\" />
  175.             </symbol>
  176.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"close\" viewBox=\"0 0 15 15\">
  177.                 <path fill=\"currentColor\"
  178.                     d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
  179.             </symbol>
  180.         </defs>
  181.     </svg>
  182.     <div class=\"preloader-wrapper\">
  183.         <div class=\"preloader\">
  184.         </div>
  185.     </div>
  186.     <div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"offcanvasCart\"
  187.         aria-labelledby=\"My Cart\">
  188.         <div class=\"offcanvas-header justify-content-center\">
  189.             <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  190.         </div>
  191.         <div class=\"offcanvas-body\">
  192.             <div class=\"order-md-last\">
  193.                 <h4 class=\"d-flex justify-content-between align-items-center mb-3\">
  194.                     <span class=\"text-primary\">Your cart</span>
  195.                     <span class=\"badge bg-primary rounded-circle pt-2\">3</span>
  196.                 </h4>
  197.                 <ul class=\"list-group mb-3\">
  198.                     <li class=\"list-group-item d-flex justify-content-between lh-sm\">
  199.                         <div>
  200.                             <h6 class=\"my-0\">Grey Hoodie</h6>
  201.                             <small class=\"text-body-secondary\">Brief description</small>
  202.                         </div>
  203.                         <span class=\"text-body-secondary\">\$12</span>
  204.                     </li>
  205.                     <li class=\"list-group-item d-flex justify-content-between lh-sm\">
  206.                         <div>
  207.                             <h6 class=\"my-0\">Dog Food</h6>
  208.                             <small class=\"text-body-secondary\">Brief description</small>
  209.                         </div>
  210.                         <span class=\"text-body-secondary\">\$8</span>
  211.                     </li>
  212.                     <li class=\"list-group-item d-flex justify-content-between lh-sm\">
  213.                         <div>
  214.                             <h6 class=\"my-0\">Soft Toy</h6>
  215.                             <small class=\"text-body-secondary\">Brief description</small>
  216.                         </div>
  217.                         <span class=\"text-body-secondary\">\$5</span>
  218.                     </li>
  219.                     <li class=\"list-group-item d-flex justify-content-between\">
  220.                         <span class=\"fw-bold\">Total (USD)</span>
  221.                         <strong>\$20</strong>
  222.                     </li>
  223.                 </ul>
  224.                 <button class=\"w-100 btn btn-primary btn-lg\" type=\"submit\">Continue to checkout</button>
  225.             </div>
  226.         </div>
  227.     </div>
  228.     <div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"offcanvasSearch\"
  229.         aria-labelledby=\"Search\">
  230.         <div class=\"offcanvas-header justify-content-center\">
  231.             <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  232.         </div>
  233.         <div class=\"offcanvas-body\">
  234.             <div class=\"order-md-last\">
  235.                 <h4 class=\"text-primary text-uppercase mb-3\">
  236.                     Search
  237.                 </h4>
  238.                 ";
  239.         // line 159
  240.         yield "
  241.             </div>
  242.         </div>
  243.     </div>
  244.     <section id=\"banner\" class=\"py-3\" style=\"background: #F9F3EC;\">
  245.         <div class=\"container\">
  246.             <div class=\"hero-content py-5 my-3\">
  247.                 <h2 class=\"display-1 mt-3 mb-0\">Votre compte</h2>
  248.                 <nav class=\"breadcrumb\">
  249.                     <a class=\"breadcrumb-item nav-link\" href=\"";
  250.         // line 169
  251.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
  252.         yield "\">Accueil</a>
  253.                     <span class=\"breadcrumb-item active\" aria-current=\"page\">Compte utilisateur</span>
  254.                 </nav>
  255.             </div>
  256.         </div>
  257.     </section>
  258.     ";
  259.         // line 176
  260.         $context['_parent'] = $context;
  261.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'176$this->source); })()), "flashes", ["verify_email_error"], "method"falsefalsefalse176));
  262.         foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
  263.             // line 177
  264.             yield "        <div class=\"alert alert-danger\" role=\"alert\">";
  265.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_error"], "html"nulltrue);
  266.             yield "</div>
  267.     ";
  268.         }
  269.         $_parent $context['_parent'];
  270.         unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
  271.         $context array_intersect_key($context$_parent) + $_parent;
  272.         // line 179
  273.         yield "
  274.     <section class=\"login-tabs padding-large\">
  275.         <div class=\"container my-5 py-5\">
  276.             <div class=\"row\">
  277.                 <div class=\"tabs-listing\">
  278.                     <nav>
  279.                         <div class=\"nav nav-tabs d-flex justify-content-center border-dark-subtle mb-3\" id=\"nav-tab\"
  280.                             role=\"tablist\">
  281.                             <button
  282.                                 class=\"nav-link mx-3 fs-3 border-bottom border-dark-subtle border-0 text-uppercase active\"
  283.                                 id=\"nav-sign-in-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#nav-sign-in\" type=\"button\"
  284.                                 role=\"tab\" aria-controls=\"nav-sign-in\" aria-selected=\"true\">Connexion</button>
  285.                             <button class=\"nav-link mx-3 fs-3 border-bottom border-dark-subtle border-0 text-uppercase\"
  286.                                 id=\"nav-register-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#nav-register\" type=\"button\"
  287.                                 role=\"tab\" aria-controls=\"nav-register\" aria-selected=\"false\">Créer un compte</button>
  288.                         </div>
  289.                     </nav>
  290.                     
  291.                     <div class=\"tab-content\" id=\"nav-tabContent\">
  292.                         <div class=\"tab-pane fade active show\" id=\"nav-sign-in\" role=\"tabpanel\"
  293.                             aria-labelledby=\"nav-sign-in-tab\">
  294.                             <div class=\"col-lg-8 offset-lg-2 mt-5\">
  295.                                 ";
  296.         // line 205
  297.         yield "                                <div class=\"social-wrapper row mt-4 mb-4\">
  298.                                     <div class=\"d-grid col-md-6 my-2\">
  299.                                         <div id=\"g_id_onload\"
  300.                                         data-client_id=\"221318372673-1p9ujk71bfmi1t4a8n5n38c6g8qvs1b4.apps.googleusercontent.com\"
  301.                                         data-context=\"signin\"
  302.                                         data-ux_mode=\"popup\"
  303.                                         data-login_uri=\"https://lestresorsdeluna.fr/connect/google/callback\"
  304.                                         data-auto_prompt=\"false\">
  305.                                    </div>
  306.                                    
  307.                                    <div class=\"g_id_signin\"
  308.                                         data-type=\"standard\"
  309.                                         data-shape=\"rectangular\"
  310.                                         data-theme=\"outline\"
  311.                                         data-text=\"signin_with\"
  312.                                         data-size=\"large\"
  313.                                         data-logo_alignment=\"left\">
  314.                                    </div>
  315.                                     </div>
  316.                                     ";
  317.         // line 235
  318.         yield "                                </div>
  319.                                 <p class=\"mb-0\">Connexion par Email</p>
  320.                                 <hr class=\"my-1\">
  321.                                 <form id=\"login_form\" action=\"";
  322.         // line 241
  323.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  324.         yield "\" data-link=\"";
  325.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  326.         yield "\" method=\"post\" class=\"form-group flex-wrap \">
  327.                                     ";
  328.         // line 243
  329.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'243$this->source); })())) {
  330.             // line 244
  331.             yield "                                    <div class=\"alert alert-danger\">";
  332.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'244$this->source); })()), "messageKey", [], "any"falsefalsefalse244), CoreExtension::getAttribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'244$this->source); })()), "messageData", [], "any"falsefalsefalse244), "security"), "html"nulltrue);
  333.             yield "</div>
  334.                                     ";
  335.         }
  336.         // line 246
  337.         yield "                                    
  338.                                     ";
  339.         // line 247
  340.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'247$this->source); })()), "user", [], "any"falsefalsefalse247)) {
  341.             // line 248
  342.             yield "                                    <div class=\"mb-3\">
  343.                                     Vous êtes connecté à ";
  344.             // line 249
  345.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'249$this->source); })()), "user", [], "any"falsefalsefalse249), "userIdentifier", [], "any"falsefalsefalse249), "html"nulltrue);
  346.             yield ", <a href=\"";
  347.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  348.             yield "\">Logout</a>
  349.                                     </div>
  350.                                     ";
  351.         }
  352.         // line 251
  353.         yield "                                    
  354.                                     <div class=\"form-input col-lg-12 my-4\">
  355.                                     
  356.                                     <input type=\"email\" value=\"";
  357.         // line 254
  358.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'254$this->source); })()), "html"nulltrue);
  359.         yield "\" name=\"_username\" id=\"username\" class=\"form-control mb-3 p-4\" placeholder=\"Email\" autocomplete=\"email\" required autofocus>
  360.                                     <input type=\"password\" name=\"_password\" id=\"password\" class=\"form-control mb-3 p-4\" placeholder=\"Mot de passe\" autocomplete=\"current-password\" aria-describedby=\"passwordHelpBlock\" required>
  361.                                     <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  362.         // line 256
  363.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  364.         yield "\">                                        
  365.                                     
  366.                                     <label class=\"py-3 d-flex flex-wrap justify-content-between\">
  367.                                     <div>
  368.                                     <input type=\"checkbox\" name=\"_remember_me\" class=\"d-inline\">
  369.                                     <span class=\"label-body \">Se rappeler de moi</span>
  370.                                     </div>
  371.                                     
  372.                                     <div id=\"passwordHelpBlock\" class=\"form-text \">
  373.                                     <a href=\"#\" class=\"text-primary  fw-bold\"> Mot de passe oublié ?</a>
  374.                                     </div>
  375.                                     </label>
  376.                                     
  377.                                     <div class=\"d-grid my-3\">
  378.                                     <button type=\"submit\" href=\"#\" class=\"btn btn-dark btn-lg rounded-1\">Se connecter</button>
  379.                                     </div>                                     
  380.                                     
  381.                                     </div>
  382.                                     
  383.                                     
  384.                                                                         
  385.                                 </form>
  386.                             </div>
  387.                         </div>
  388.                         <div class=\"tab-pane fade\" id=\"nav-register\" role=\"tabpanel\" aria-labelledby=\"nav-register-tab\">
  389.                             <div class=\"col-lg-8 offset-lg-2 mt-5\">
  390.                                 
  391.                                 ";
  392.         // line 285
  393.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'285$this->source); })()), 'form_start');
  394.         yield "
  395.                                 <div class=\"form-input col-lg-12 my-4\">
  396.                                     <label style=\"color: red;\" for=\"registration_form_surname\"></label>
  397.                                     ";
  398.         // line 289
  399.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'289$this->source); })()), "surname", [], "any"falsefalsefalse289), 'widget');
  400.         yield "
  401.                                     <label style=\"color: red;\" for=\"registration_form_firstname\"></label>
  402.                                     ";
  403.         // line 292
  404.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'292$this->source); })()), "firstname", [], "any"falsefalsefalse292), 'widget');
  405.         yield "
  406.                                     <label style=\"color: red;\" for=\"registration_form_phone\"></label>
  407.                                     ";
  408.         // line 295
  409.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'295$this->source); })()), "phone", [], "any"falsefalsefalse295), 'widget');
  410.         yield "
  411.                                     <label style=\"color: red;\" for=\"registration_form_adress\"></label>
  412.                                     ";
  413.         // line 298
  414.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'298$this->source); })()), "adress", [], "any"falsefalsefalse298), 'widget');
  415.         yield "
  416.                                     <label style=\"color: red;\" for=\"registration_form_additionalAdressInformation\"></label>
  417.                                     ";
  418.         // line 301
  419.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'301$this->source); })()), "additionalAdressInformation", [], "any"falsefalsefalse301), 'widget');
  420.         yield "
  421.                                     <label style=\"color: red;\" for=\"registration_form_city\"></label>
  422.                                     ";
  423.         // line 304
  424.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'304$this->source); })()), "city", [], "any"falsefalsefalse304), 'widget');
  425.         yield "
  426.                                     <label style=\"color: red;\" for=\"registration_form_zipcode\"></label>
  427.                                     ";
  428.         // line 307
  429.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'307$this->source); })()), "zipcode", [], "any"falsefalsefalse307), 'widget');
  430.         yield "
  431.                                     <label style=\"color: red;\" for=\"registration_form_email\"></label>
  432.                                     ";
  433.         // line 310
  434.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'310$this->source); })()), "email", [], "any"falsefalsefalse310), 'widget');
  435.         yield "
  436.                                     <div class=\"errors\" style=\"color: red;\">
  437.                                         ";
  438.         // line 313
  439.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'313$this->source); })()), "plainPassword", [], "any"falsefalsefalse313), 'errors');
  440.         yield "
  441.                                     </div>
  442.                                     <label style=\"color: red;\" for=\"registration_form_plainPassword\"></label>
  443.                                     ";
  444.         // line 316
  445.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'316$this->source); })()), "plainPassword", [], "any"falsefalsefalse316), 'widget');
  446.         yield "
  447.                                     <label id=\"repeated-pass-label\" style=\"color: red;\" for=\"inputPassword2\"></label>
  448.                                     <input type=\"password\" id=\"inputPassword2\" placeholder=\"Retapez votre mot de passe\"
  449.                                     class=\"form-control mb-3 p-4 formValidationCode\" aria-describedby=\"passwordHelpBlock\" required>
  450.                                     <label class=\"py-3 d-flex flex-wrap justify-content-between\">
  451.                                         <div>
  452.                                             ";
  453.         // line 324
  454.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'324$this->source); })()), "agreeTerms", [], "any"falsefalsefalse324), 'widget');
  455.         yield "
  456.                                             ";
  457.         // line 325
  458.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'325$this->source); })()), "agreeTerms", [], "any"falsefalsefalse325), 'label');
  459.         yield " <a style=\"font-size: 1rem; color: black; font-weight: bold;\" href=\"";
  460.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cgv");
  461.         yield "\" target=\"_blank\">Lire les CGV</a>
  462.                                             
  463.                                         </div>
  464.                                     </label>
  465.                                     <div class=\"d-grid my-3\">
  466.                                         <button id=\"create-user-acount-button\" type=\"submit\" class=\"btn btn-dark btn-lg rounded-1\">Créer le compte</a>
  467.                                     </div>
  468.                                 </div>
  469.                                 ";
  470.         // line 335
  471.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'335$this->source); })()), 'form_end');
  472.         yield "
  473.                             </div>
  474.                         </div>
  475.                     </div>
  476.                 </div>
  477.             </div>
  478.         </div>
  479.     </section>
  480.     <script src=\"";
  481.         // line 345
  482.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/login.js"), "html"nulltrue);
  483.         yield "\"></script>
  484. </body>
  485. ";
  486.         
  487.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  488.         
  489.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  490.         yield from [];
  491.     }
  492.     /**
  493.      * @codeCoverageIgnore
  494.      */
  495.     public function getTemplateName(): string
  496.     {
  497.         return "account/account.html.twig";
  498.     }
  499.     /**
  500.      * @codeCoverageIgnore
  501.      */
  502.     public function isTraitable(): bool
  503.     {
  504.         return false;
  505.     }
  506.     /**
  507.      * @codeCoverageIgnore
  508.      */
  509.     public function getDebugInfo(): array
  510.     {
  511.         return array (  537 => 345,  524 => 335,  509 => 325,  505 => 324,  494 => 316,  488 => 313,  482 => 310,  476 => 307,  470 => 304,  464 => 301,  458 => 298,  452 => 295,  446 => 292,  440 => 289,  433 => 285,  401 => 256,  396 => 254,  391 => 251,  383 => 249,  380 => 248,  378 => 247,  375 => 246,  369 => 244,  367 => 243,  360 => 241,  352 => 235,  331 => 205,  307 => 179,  298 => 177,  294 => 176,  284 => 169,  272 => 159,  142 => 23,  129 => 22,  105 => 8,  101 => 6,  88 => 5,  65 => 3,  42 => 1,);
  512.     }
  513.     public function getSourceContext(): Source
  514.     {
  515.         return new Source("{% extends 'base.html.twig' %}
  516. {% block title %}Les trésors de Luna{% endblock %}
  517. {% block javascripts %}
  518.     <script type=\"module\">
  519.         import FormValidation from '{{asset(\"js/classes/FormValidation.js\")}}'
  520.         window.addEventListener('load', () => {
  521.             
  522.             const registrationForm = document.getElementById('registration_form')
  523.             const excludedInputsId = ['registration_form_agreeTerms', 'registration_form__token']
  524.             const createAccountButton = document.getElementById('create-user-acount-button')
  525.             
  526.             const formValidation = new FormValidation(registrationForm, createAccountButton, excludedInputsId)
  527.             
  528.         })
  529.     </script>
  530. {% endblock javascripts %}
  531. {% block body %}
  532. <body>
  533.     <svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none;\">
  534.         <defs>
  535.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"link\" viewBox=\"0 0 24 24\">
  536.                 <path fill=\"currentColor\"
  537.                     d=\"M12 19a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0-4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm-5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm7-12h-1V2a1 1 0 0 0-2 0v1H8V2a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3Zm1 17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9h16Zm0-11H4V6a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V5h8v1a1 1 0 0 0 2 0V5h1a1 1 0 0 1 1 1ZM7 15a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0 4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Z\" />
  538.             </symbol>
  539.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"arrow-right\" viewBox=\"0 0 24 24\">
  540.                 <path fill=\"currentColor\"
  541.                     d=\"M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33a1 1 0 0 0 0-.76Z\" />
  542.             </symbol>
  543.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"category\" viewBox=\"0 0 24 24\">
  544.                 <path fill=\"currentColor\"
  545.                     d=\"M19 5.5h-6.28l-.32-1a3 3 0 0 0-2.84-2H5a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-10a3 3 0 0 0-3-3Zm1 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1h4.56a1 1 0 0 1 .95.68l.54 1.64a1 1 0 0 0 .95.68h7a1 1 0 0 1 1 1Z\" />
  546.             </symbol>
  547.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"calendar\" viewBox=\"0 0 24 24\">
  548.                 <path fill=\"currentColor\"
  549.                     d=\"M19 4h-2V3a1 1 0 0 0-2 0v1H9V3a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm1 15a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7h16Zm0-9H4V7a1 1 0 0 1 1-1h2v1a1 1 0 0 0 2 0V6h6v1a1 1 0 0 0 2 0V6h2a1 1 0 0 1 1 1Z\" />
  550.             </symbol>
  551.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"heart\" viewBox=\"0 0 24 24\">
  552.                 <path fill=\"currentColor\"
  553.                     d=\"M20.16 4.61A6.27 6.27 0 0 0 12 4a6.27 6.27 0 0 0-8.16 9.48l7.45 7.45a1 1 0 0 0 1.42 0l7.45-7.45a6.27 6.27 0 0 0 0-8.87Zm-1.41 7.46L12 18.81l-6.75-6.74a4.28 4.28 0 0 1 3-7.3a4.25 4.25 0 0 1 3 1.25a1 1 0 0 0 1.42 0a4.27 4.27 0 0 1 6 6.05Z\" />
  554.             </symbol>
  555.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"plus\" viewBox=\"0 0 24 24\">
  556.                 <path fill=\"currentColor\"
  557.                     d=\"M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2Z\" />
  558.             </symbol>
  559.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"minus\" viewBox=\"0 0 24 24\">
  560.                 <path fill=\"currentColor\" d=\"M19 11H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\" />
  561.             </symbol>
  562.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"cart\" viewBox=\"0 0 24 24\">
  563.                 <path fill=\"currentColor\"
  564.                     d=\"M8.5 19a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 8.5 19ZM19 16H7a1 1 0 0 1 0-2h8.491a3.013 3.013 0 0 0 2.885-2.176l1.585-5.55A1 1 0 0 0 19 5H6.74a3.007 3.007 0 0 0-2.82-2H3a1 1 0 0 0 0 2h.921a1.005 1.005 0 0 1 .962.725l.155.545v.005l1.641 5.742A3 3 0 0 0 7 18h12a1 1 0 0 0 0-2Zm-1.326-9l-1.22 4.274a1.005 1.005 0 0 1-.963.726H8.754l-.255-.892L7.326 7ZM16.5 19a1.5 1.5 0 1 0 1.5 1.5a1.5 1.5 0 0 0-1.5-1.5Z\" />
  565.             </symbol>
  566.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"check\" viewBox=\"0 0 24 24\">
  567.                 <path fill=\"currentColor\"
  568.                     d=\"M18.71 7.21a1 1 0 0 0-1.42 0l-7.45 7.46l-3.13-3.14A1 1 0 1 0 5.29 13l3.84 3.84a1 1 0 0 0 1.42 0l8.16-8.16a1 1 0 0 0 0-1.47Z\" />
  569.             </symbol>
  570.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"trash\" viewBox=\"0 0 24 24\">
  571.                 <path fill=\"currentColor\"
  572.                     d=\"M10 18a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1ZM20 6h-4V5a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1H4a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8h1a1 1 0 0 0 0-2ZM10 5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1h-4Zm7 14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8h10Zm-3-1a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1Z\" />
  573.             </symbol>
  574.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-outline\" viewBox=\"0 0 15 15\">
  575.                 <path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"
  576.                     d=\"M7.5 9.804L5.337 11l.413-2.533L4 6.674l2.418-.37L7.5 4l1.082 2.304l2.418.37l-1.75 1.793L9.663 11L7.5 9.804Z\" />
  577.             </symbol>
  578.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-solid\" viewBox=\"0 0 15 15\">
  579.                 <path fill=\"currentColor\"
  580.                     d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
  581.             </symbol>
  582.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"search\" viewBox=\"0 0 24 24\">
  583.                 <path fill=\"currentColor\"
  584.                     d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
  585.             </symbol>
  586.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"user\" viewBox=\"0 0 24 24\">
  587.                 <path fill=\"currentColor\"
  588.                     d=\"M15.71 12.71a6 6 0 1 0-7.42 0a10 10 0 0 0-6.22 8.18a1 1 0 0 0 2 .22a8 8 0 0 1 15.9 0a1 1 0 0 0 1 .89h.11a1 1 0 0 0 .88-1.1a10 10 0 0 0-6.25-8.19ZM12 12a4 4 0 1 1 4-4a4 4 0 0 1-4 4Z\" />
  589.             </symbol>
  590.             <symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"close\" viewBox=\"0 0 15 15\">
  591.                 <path fill=\"currentColor\"
  592.                     d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
  593.             </symbol>
  594.         </defs>
  595.     </svg>
  596.     <div class=\"preloader-wrapper\">
  597.         <div class=\"preloader\">
  598.         </div>
  599.     </div>
  600.     <div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"offcanvasCart\"
  601.         aria-labelledby=\"My Cart\">
  602.         <div class=\"offcanvas-header justify-content-center\">
  603.             <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  604.         </div>
  605.         <div class=\"offcanvas-body\">
  606.             <div class=\"order-md-last\">
  607.                 <h4 class=\"d-flex justify-content-between align-items-center mb-3\">
  608.                     <span class=\"text-primary\">Your cart</span>
  609.                     <span class=\"badge bg-primary rounded-circle pt-2\">3</span>
  610.                 </h4>
  611.                 <ul class=\"list-group mb-3\">
  612.                     <li class=\"list-group-item d-flex justify-content-between lh-sm\">
  613.                         <div>
  614.                             <h6 class=\"my-0\">Grey Hoodie</h6>
  615.                             <small class=\"text-body-secondary\">Brief description</small>
  616.                         </div>
  617.                         <span class=\"text-body-secondary\">\$12</span>
  618.                     </li>
  619.                     <li class=\"list-group-item d-flex justify-content-between lh-sm\">
  620.                         <div>
  621.                             <h6 class=\"my-0\">Dog Food</h6>
  622.                             <small class=\"text-body-secondary\">Brief description</small>
  623.                         </div>
  624.                         <span class=\"text-body-secondary\">\$8</span>
  625.                     </li>
  626.                     <li class=\"list-group-item d-flex justify-content-between lh-sm\">
  627.                         <div>
  628.                             <h6 class=\"my-0\">Soft Toy</h6>
  629.                             <small class=\"text-body-secondary\">Brief description</small>
  630.                         </div>
  631.                         <span class=\"text-body-secondary\">\$5</span>
  632.                     </li>
  633.                     <li class=\"list-group-item d-flex justify-content-between\">
  634.                         <span class=\"fw-bold\">Total (USD)</span>
  635.                         <strong>\$20</strong>
  636.                     </li>
  637.                 </ul>
  638.                 <button class=\"w-100 btn btn-primary btn-lg\" type=\"submit\">Continue to checkout</button>
  639.             </div>
  640.         </div>
  641.     </div>
  642.     <div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"offcanvasSearch\"
  643.         aria-labelledby=\"Search\">
  644.         <div class=\"offcanvas-header justify-content-center\">
  645.             <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  646.         </div>
  647.         <div class=\"offcanvas-body\">
  648.             <div class=\"order-md-last\">
  649.                 <h4 class=\"text-primary text-uppercase mb-3\">
  650.                     Search
  651.                 </h4>
  652.                 {#
  653.                 <div class=\"search-bar border rounded-2 border-dark-subtle\">
  654.                     <form id=\"search-form\" class=\"text-center d-flex align-items-center\" action=\"\" method=\"\">
  655.                         <input type=\"text\" class=\"form-control border-0 bg-transparent\" placeholder=\"Search Here\" />
  656.                         <iconify-icon icon=\"tabler:search\" class=\"fs-4 me-3\"></iconify-icon>
  657.                     </form>
  658.                 </div>
  659.                 #}
  660.             </div>
  661.         </div>
  662.     </div>
  663.     <section id=\"banner\" class=\"py-3\" style=\"background: #F9F3EC;\">
  664.         <div class=\"container\">
  665.             <div class=\"hero-content py-5 my-3\">
  666.                 <h2 class=\"display-1 mt-3 mb-0\">Votre compte</h2>
  667.                 <nav class=\"breadcrumb\">
  668.                     <a class=\"breadcrumb-item nav-link\" href=\"{{path('app_home')}}\">Accueil</a>
  669.                     <span class=\"breadcrumb-item active\" aria-current=\"page\">Compte utilisateur</span>
  670.                 </nav>
  671.             </div>
  672.         </div>
  673.     </section>
  674.     {% for flash_error in app.flashes('verify_email_error') %}
  675.         <div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
  676.     {% endfor %}
  677.     <section class=\"login-tabs padding-large\">
  678.         <div class=\"container my-5 py-5\">
  679.             <div class=\"row\">
  680.                 <div class=\"tabs-listing\">
  681.                     <nav>
  682.                         <div class=\"nav nav-tabs d-flex justify-content-center border-dark-subtle mb-3\" id=\"nav-tab\"
  683.                             role=\"tablist\">
  684.                             <button
  685.                                 class=\"nav-link mx-3 fs-3 border-bottom border-dark-subtle border-0 text-uppercase active\"
  686.                                 id=\"nav-sign-in-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#nav-sign-in\" type=\"button\"
  687.                                 role=\"tab\" aria-controls=\"nav-sign-in\" aria-selected=\"true\">Connexion</button>
  688.                             <button class=\"nav-link mx-3 fs-3 border-bottom border-dark-subtle border-0 text-uppercase\"
  689.                                 id=\"nav-register-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#nav-register\" type=\"button\"
  690.                                 role=\"tab\" aria-controls=\"nav-register\" aria-selected=\"false\">Créer un compte</button>
  691.                         </div>
  692.                     </nav>
  693.                     
  694.                     <div class=\"tab-content\" id=\"nav-tabContent\">
  695.                         <div class=\"tab-pane fade active show\" id=\"nav-sign-in\" role=\"tabpanel\"
  696.                             aria-labelledby=\"nav-sign-in-tab\">
  697.                             <div class=\"col-lg-8 offset-lg-2 mt-5\">
  698.                                 {#
  699.                                 <p class=\"mb-0\">Log-In With Social</p>
  700.                                 <hr class=\"my-1\">
  701.                                 #}
  702.                                 <div class=\"social-wrapper row mt-4 mb-4\">
  703.                                     <div class=\"d-grid col-md-6 my-2\">
  704.                                         <div id=\"g_id_onload\"
  705.                                         data-client_id=\"221318372673-1p9ujk71bfmi1t4a8n5n38c6g8qvs1b4.apps.googleusercontent.com\"
  706.                                         data-context=\"signin\"
  707.                                         data-ux_mode=\"popup\"
  708.                                         data-login_uri=\"https://lestresorsdeluna.fr/connect/google/callback\"
  709.                                         data-auto_prompt=\"false\">
  710.                                    </div>
  711.                                    
  712.                                    <div class=\"g_id_signin\"
  713.                                         data-type=\"standard\"
  714.                                         data-shape=\"rectangular\"
  715.                                         data-theme=\"outline\"
  716.                                         data-text=\"signin_with\"
  717.                                         data-size=\"large\"
  718.                                         data-logo_alignment=\"left\">
  719.                                    </div>
  720.                                     </div>
  721.                                     {#
  722.                                     <div class=\"d-grid col-md-6 my-2\">
  723.                                         <a href=\"#\" class=\"btn btn-outline-dark btn-lg text-uppercase fs-6 rounded-1 \">
  724.                                             <div class=\"d-flex flex-wrap justify-content-center\">
  725.                                                 <iconify-icon icon=\"ion:logo-facebook\"
  726.                                                     class=\"signup-social-icon me-2\"></iconify-icon>
  727.                                                 <p class=\"mb-0\">Facebook</p>
  728.                                             </div>
  729.                                         </a>
  730.                                     </div>
  731.                                     #}
  732.                                 </div>
  733.                                 <p class=\"mb-0\">Connexion par Email</p>
  734.                                 <hr class=\"my-1\">
  735.                                 <form id=\"login_form\" action=\"{{ path('app_login') }}\" data-link=\"{{path('app_login')}}\" method=\"post\" class=\"form-group flex-wrap \">
  736.                                     {% if error %}
  737.                                     <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  738.                                     {% endif %}
  739.                                     
  740.                                     {% if app.user %}
  741.                                     <div class=\"mb-3\">
  742.                                     Vous êtes connecté à {{ app.user.userIdentifier }}, <a href=\"{{ path('app_logout') }}\">Logout</a>
  743.                                     </div>
  744.                                     {% endif %}                                    
  745.                                     <div class=\"form-input col-lg-12 my-4\">
  746.                                     
  747.                                     <input type=\"email\" value=\"{{ last_username }}\" name=\"_username\" id=\"username\" class=\"form-control mb-3 p-4\" placeholder=\"Email\" autocomplete=\"email\" required autofocus>
  748.                                     <input type=\"password\" name=\"_password\" id=\"password\" class=\"form-control mb-3 p-4\" placeholder=\"Mot de passe\" autocomplete=\"current-password\" aria-describedby=\"passwordHelpBlock\" required>
  749.                                     <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">                                        
  750.                                     
  751.                                     <label class=\"py-3 d-flex flex-wrap justify-content-between\">
  752.                                     <div>
  753.                                     <input type=\"checkbox\" name=\"_remember_me\" class=\"d-inline\">
  754.                                     <span class=\"label-body \">Se rappeler de moi</span>
  755.                                     </div>
  756.                                     
  757.                                     <div id=\"passwordHelpBlock\" class=\"form-text \">
  758.                                     <a href=\"#\" class=\"text-primary  fw-bold\"> Mot de passe oublié ?</a>
  759.                                     </div>
  760.                                     </label>
  761.                                     
  762.                                     <div class=\"d-grid my-3\">
  763.                                     <button type=\"submit\" href=\"#\" class=\"btn btn-dark btn-lg rounded-1\">Se connecter</button>
  764.                                     </div>                                     
  765.                                     
  766.                                     </div>
  767.                                     
  768.                                     
  769.                                                                         
  770.                                 </form>
  771.                             </div>
  772.                         </div>
  773.                         <div class=\"tab-pane fade\" id=\"nav-register\" role=\"tabpanel\" aria-labelledby=\"nav-register-tab\">
  774.                             <div class=\"col-lg-8 offset-lg-2 mt-5\">
  775.                                 
  776.                                 {{form_start(registrationForm)}}
  777.                                 <div class=\"form-input col-lg-12 my-4\">
  778.                                     <label style=\"color: red;\" for=\"registration_form_surname\"></label>
  779.                                     {{form_widget(registrationForm.surname)}}
  780.                                     <label style=\"color: red;\" for=\"registration_form_firstname\"></label>
  781.                                     {{form_widget(registrationForm.firstname)}}
  782.                                     <label style=\"color: red;\" for=\"registration_form_phone\"></label>
  783.                                     {{form_widget(registrationForm.phone)}}
  784.                                     <label style=\"color: red;\" for=\"registration_form_adress\"></label>
  785.                                     {{form_widget(registrationForm.adress)}}
  786.                                     <label style=\"color: red;\" for=\"registration_form_additionalAdressInformation\"></label>
  787.                                     {{form_widget(registrationForm.additionalAdressInformation)}}
  788.                                     <label style=\"color: red;\" for=\"registration_form_city\"></label>
  789.                                     {{form_widget(registrationForm.city)}}
  790.                                     <label style=\"color: red;\" for=\"registration_form_zipcode\"></label>
  791.                                     {{form_widget(registrationForm.zipcode)}}
  792.                                     <label style=\"color: red;\" for=\"registration_form_email\"></label>
  793.                                     {{form_widget(registrationForm.email)}}
  794.                                     <div class=\"errors\" style=\"color: red;\">
  795.                                         {{ form_errors(registrationForm.plainPassword) }}
  796.                                     </div>
  797.                                     <label style=\"color: red;\" for=\"registration_form_plainPassword\"></label>
  798.                                     {{form_widget(registrationForm.plainPassword)}}
  799.                                     <label id=\"repeated-pass-label\" style=\"color: red;\" for=\"inputPassword2\"></label>
  800.                                     <input type=\"password\" id=\"inputPassword2\" placeholder=\"Retapez votre mot de passe\"
  801.                                     class=\"form-control mb-3 p-4 formValidationCode\" aria-describedby=\"passwordHelpBlock\" required>
  802.                                     <label class=\"py-3 d-flex flex-wrap justify-content-between\">
  803.                                         <div>
  804.                                             {{form_widget(registrationForm.agreeTerms)}}
  805.                                             {{form_label(registrationForm.agreeTerms)}} <a style=\"font-size: 1rem; color: black; font-weight: bold;\" href=\"{{path('cgv')}}\" target=\"_blank\">Lire les CGV</a>
  806.                                             
  807.                                         </div>
  808.                                     </label>
  809.                                     <div class=\"d-grid my-3\">
  810.                                         <button id=\"create-user-acount-button\" type=\"submit\" class=\"btn btn-dark btn-lg rounded-1\">Créer le compte</a>
  811.                                     </div>
  812.                                 </div>
  813.                                 {{form_end(registrationForm)}}
  814.                             </div>
  815.                         </div>
  816.                     </div>
  817.                 </div>
  818.             </div>
  819.         </div>
  820.     </section>
  821.     <script src=\"{{asset('js/login.js')}}\"></script>
  822. </body>
  823. {% endblock %}
  824. ""account/account.html.twig""/home/kvlquew/www/templates/account/account.html.twig");
  825.     }
  826. }