{"id":1406,"date":"2025-10-04T19:36:43","date_gmt":"2025-10-05T01:36:43","guid":{"rendered":"https:\/\/lottoalert.co\/register2\/"},"modified":"2025-10-16T16:16:32","modified_gmt":"2025-10-16T22:16:32","slug":"register","status":"publish","type":"page","link":"https:\/\/lottoalert.co\/en\/register\/","title":{"rendered":"Register"},"content":{"rendered":"\n<div class=\"clr-register-form-container\">\n    \n        \n                \n        <form method=\"post\" action=\"\" class=\"clr-form clr-register-form\" id=\"clr-register-form\">\n            \n            <input type=\"hidden\" id=\"clr_register_nonce\" name=\"clr_register_nonce\" value=\"b0bc95ef71\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/1406\" \/>            \n            <!-- Timestamp para detectar registro demasiado r\u00e1pido -->\n            <input type=\"hidden\" name=\"clr_reg_timestamp\" value=\"1779201186\">\n            \n            <!-- Honeypot para bots -->\n            <div style=\"position: absolute; left: -9999px; top: -9999px;\">\n                <label for=\"clr_website\">Website<\/label>\n                <input type=\"text\" name=\"clr_website\" id=\"clr_website\" value=\"\" tabindex=\"-1\" autocomplete=\"off\">\n            <\/div>\n            \n            <!-- Campo: Nombre de Usuario -->\n            <div class=\"clr-form-field\">\n                <label for=\"clr_reg_username\">\n                    Username                    <span class=\"required\">*<\/span>\n                <\/label>\n                <input \n                    type=\"text\" \n                    name=\"clr_reg_username\" \n                    id=\"clr_reg_username\" \n                    class=\"clr-input\" \n                    value=\"\"\n                    required \n                    autocomplete=\"username\"\n                    pattern=\"[a-zA-Z0-9_]{4,}\"\n                    title=\"Minimum 4 characters. Only letters, numbers and underscores.\"\n                    placeholder=\"user123\"\n                >\n                <p class=\"clr-field-description\">\n                    Minimum 4 characters. Only letters, numbers and underscores.                <\/p>\n            <\/div>\n            \n            <!-- Campo: Email -->\n            <div class=\"clr-form-field\">\n                <label for=\"clr_reg_email\">\n                    Email                    <span class=\"required\">*<\/span>\n                <\/label>\n                <input \n                    type=\"email\" \n                    name=\"clr_reg_email\" \n                    id=\"clr_reg_email\" \n                    class=\"clr-input\" \n                    value=\"\"\n                    required \n                    autocomplete=\"email\"\n                    placeholder=\"email@example.com\"\n                >\n            <\/div>\n            \n            <!-- Campos opcionales: Nombre y Apellido -->\n                            <div class=\"clr-form-field\">\n                    <label for=\"clr_reg_first_name\">\n                        Name                    <\/label>\n                    <input \n                        type=\"text\" \n                        name=\"clr_reg_first_name\" \n                        id=\"clr_reg_first_name\" \n                        class=\"clr-input\" \n                        value=\"\"\n                        autocomplete=\"given-name\"\n                        placeholder=\"John\"\n                    >\n                <\/div>\n                        \n                            <div class=\"clr-form-field\">\n                    <label for=\"clr_reg_last_name\">\n                        Last Name                    <\/label>\n                    <input \n                        type=\"text\" \n                        name=\"clr_reg_last_name\" \n                        id=\"clr_reg_last_name\" \n                        class=\"clr-input\" \n                        value=\"\"\n                        autocomplete=\"family-name\"\n                        placeholder=\"Doe\"\n                    >\n                <\/div>\n                        \n            <!-- Campo de Pa\u00eds -->\n            <div class=\"clr-form-field\">\n                <label for=\"clr_reg_country\">\n                    Country                    <span class=\"required\">*<\/span>\n                <\/label>\n                <select \n                    name=\"clr_country\" \n                    id=\"clr_reg_country\" \n                    class=\"clr-input clr-country-select\"\n                    required\n                >\n                    <option value=\"\">Select your country<\/option>\n                                            <option value=\"AF\" >\n                            Afghanistan                        <\/option>\n                                            <option value=\"AL\" >\n                            Albania                        <\/option>\n                                            <option value=\"DE\" >\n                            Germany                        <\/option>\n                                            <option value=\"AD\" >\n                            Andorra                        <\/option>\n                                            <option value=\"AO\" >\n                            Angola                        <\/option>\n                                            <option value=\"AR\" >\n                            Argentina                        <\/option>\n                                            <option value=\"AM\" >\n                            Armenia                        <\/option>\n                                            <option value=\"AU\" >\n                            Australia                        <\/option>\n                                            <option value=\"AT\" >\n                            Austria                        <\/option>\n                                            <option value=\"AZ\" >\n                            Azerbaijan                        <\/option>\n                                            <option value=\"BS\" >\n                            Bahamas                        <\/option>\n                                            <option value=\"BD\" >\n                            Bangladesh                        <\/option>\n                                            <option value=\"BB\" >\n                            Barbados                        <\/option>\n                                            <option value=\"BE\" >\n                            Belgium                        <\/option>\n                                            <option value=\"BZ\" >\n                            Belize                        <\/option>\n                                            <option value=\"BY\" >\n                            Belarus                        <\/option>\n                                            <option value=\"BO\" >\n                            Bolivia                        <\/option>\n                                            <option value=\"BA\" >\n                            Bosnia and Herzegovina                        <\/option>\n                                            <option value=\"BR\" >\n                            Brazil                        <\/option>\n                                            <option value=\"BG\" >\n                            Bulgaria                        <\/option>\n                                            <option value=\"CA\" >\n                            Canada                        <\/option>\n                                            <option value=\"CL\" >\n                            Chile                        <\/option>\n                                            <option value=\"CN\" >\n                            China                        <\/option>\n                                            <option value=\"CO\" >\n                            Colombia                        <\/option>\n                                            <option value=\"KR\" >\n                            South Korea                        <\/option>\n                                            <option value=\"CR\" >\n                            Costa Rica                        <\/option>\n                                            <option value=\"HR\" >\n                            Croatia                        <\/option>\n                                            <option value=\"CU\" >\n                            Cuba                        <\/option>\n                                            <option value=\"DK\" >\n                            Denmark                        <\/option>\n                                            <option value=\"DO\" >\n                            Dominican Republic                        <\/option>\n                                            <option value=\"EC\" >\n                            Ecuador                        <\/option>\n                                            <option value=\"EG\" >\n                            Egypt                        <\/option>\n                                            <option value=\"SV\" >\n                            El Salvador                        <\/option>\n                                            <option value=\"AE\" >\n                            United Arab Emirates                        <\/option>\n                                            <option value=\"SK\" >\n                            Slovakia                        <\/option>\n                                            <option value=\"SI\" >\n                            Slovenia                        <\/option>\n                                            <option value=\"ES\" >\n                            Spain                        <\/option>\n                                            <option value=\"US\" >\n                            United States                        <\/option>\n                                            <option value=\"EE\" >\n                            Estonia                        <\/option>\n                                            <option value=\"ET\" >\n                            Ethiopia                        <\/option>\n                                            <option value=\"PH\" >\n                            Philippines                        <\/option>\n                                            <option value=\"FI\" >\n                            Finland                        <\/option>\n                                            <option value=\"FR\" >\n                            France                        <\/option>\n                                            <option value=\"GE\" >\n                            Georgia                        <\/option>\n                                            <option value=\"GH\" >\n                            Ghana                        <\/option>\n                                            <option value=\"GR\" >\n                            Greece                        <\/option>\n                                            <option value=\"GT\" >\n                            Guatemala                        <\/option>\n                                            <option value=\"GY\" >\n                            Guyana                        <\/option>\n                                            <option value=\"HT\" >\n                            Haiti                        <\/option>\n                                            <option value=\"HN\" >\n                            Honduras                        <\/option>\n                                            <option value=\"HU\" >\n                            Hungary                        <\/option>\n                                            <option value=\"IN\" >\n                            India                        <\/option>\n                                            <option value=\"ID\" >\n                            Indonesia                        <\/option>\n                                            <option value=\"IQ\" >\n                            Iraq                        <\/option>\n                                            <option value=\"IR\" >\n                            Iran                        <\/option>\n                                            <option value=\"IE\" >\n                            Ireland                        <\/option>\n                                            <option value=\"IS\" >\n                            Iceland                        <\/option>\n                                            <option value=\"IL\" >\n                            Israel                        <\/option>\n                                            <option value=\"IT\" >\n                            Italy                        <\/option>\n                                            <option value=\"JM\" >\n                            Jamaica                        <\/option>\n                                            <option value=\"JP\" >\n                            Japan                        <\/option>\n                                            <option value=\"JO\" >\n                            Jordan                        <\/option>\n                                            <option value=\"KZ\" >\n                            Kazakhstan                        <\/option>\n                                            <option value=\"KE\" >\n                            Kenya                        <\/option>\n                                            <option value=\"LV\" >\n                            Latvia                        <\/option>\n                                            <option value=\"LB\" >\n                            Lebanon                        <\/option>\n                                            <option value=\"LT\" >\n                            Lithuania                        <\/option>\n                                            <option value=\"LU\" >\n                            Luxembourg                        <\/option>\n                                            <option value=\"MY\" >\n                            Malaysia                        <\/option>\n                                            <option value=\"MT\" >\n                            Malta                        <\/option>\n                                            <option value=\"MA\" >\n                            Morocco                        <\/option>\n                                            <option value=\"MX\" >\n                            Mexico                        <\/option>\n                                            <option value=\"NI\" >\n                            Nicaragua                        <\/option>\n                                            <option value=\"NG\" >\n                            Nigeria                        <\/option>\n                                            <option value=\"NO\" >\n                            Norway                        <\/option>\n                                            <option value=\"NZ\" >\n                            New Zealand                        <\/option>\n                                            <option value=\"NL\" >\n                            Netherlands                        <\/option>\n                                            <option value=\"PK\" >\n                            Pakistan                        <\/option>\n                                            <option value=\"PA\" >\n                            Panama                        <\/option>\n                                            <option value=\"PY\" >\n                            Paraguay                        <\/option>\n                                            <option value=\"PE\" >\n                            Peru                        <\/option>\n                                            <option value=\"PL\" >\n                            Poland                        <\/option>\n                                            <option value=\"PT\" >\n                            Portugal                        <\/option>\n                                            <option value=\"PR\" >\n                            Puerto Rico                        <\/option>\n                                            <option value=\"GB\" >\n                            United Kingdom                        <\/option>\n                                            <option value=\"CZ\" >\n                            Czech Republic                        <\/option>\n                                            <option value=\"RO\" >\n                            Romania                        <\/option>\n                                            <option value=\"RU\" >\n                            Russia                        <\/option>\n                                            <option value=\"SA\" >\n                            Saudi Arabia                        <\/option>\n                                            <option value=\"SN\" >\n                            Senegal                        <\/option>\n                                            <option value=\"RS\" >\n                            Serbia                        <\/option>\n                                            <option value=\"SG\" >\n                            Singapore                        <\/option>\n                                            <option value=\"ZA\" >\n                            South Africa                        <\/option>\n                                            <option value=\"SE\" >\n                            Sweden                        <\/option>\n                                            <option value=\"CH\" >\n                            Switzerland                        <\/option>\n                                            <option value=\"TH\" >\n                            Thailand                        <\/option>\n                                            <option value=\"TW\" >\n                            Taiwan                        <\/option>\n                                            <option value=\"TR\" >\n                            Turkey                        <\/option>\n                                            <option value=\"UA\" >\n                            Ukraine                        <\/option>\n                                            <option value=\"UY\" >\n                            Uruguay                        <\/option>\n                                            <option value=\"VE\" >\n                            Venezuela                        <\/option>\n                                            <option value=\"VN\" >\n                            Vietnam                        <\/option>\n                                    <\/select>\n            <\/div>\n            \n            <!-- Campo de WhatsApp -->\n            <div class=\"clr-form-field\">\n                <label for=\"clr_reg_whatsapp\">\n                    WhatsApp                <\/label>\n                <div class=\"clr-phone-wrapper\">\n                    <span class=\"clr-phone-code\" id=\"clr-phone-code\">+57<\/span>\n                    <input \n                        type=\"tel\" \n                        name=\"clr_whatsapp\" \n                        id=\"clr_reg_whatsapp\" \n                        class=\"clr-input clr-phone-input\"\n                        value=\"\"\n                        required\n                        placeholder=\"3001234567\"\n                        pattern=\"[0-9]{7,15}\"\n                        autocomplete=\"tel\"\n                    >\n                <\/div>\n                <p class=\"clr-field-description\">\n                    Enter your number without country code                <\/p>\n            <\/div>\n            \n            <!-- Campos personalizados -->\n                        \n            <!-- Campo: Contrase\u00f1a -->\n            <div class=\"clr-form-field\">\n                <label for=\"clr_reg_password\">\n                    Password                    <span class=\"required\">*<\/span>\n                <\/label>\n                <div class=\"clr-password-wrapper\">\n                    <input \n                        type=\"password\" \n                        name=\"clr_reg_password\" \n                        id=\"clr_reg_password\" \n                        class=\"clr-input clr-password-input\" \n                        required \n                        autocomplete=\"new-password\"\n                        minlength=\"8\"\n                        placeholder=\"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\"\n                    >\n                    <button type=\"button\" class=\"clr-toggle-password\" aria-label=\"Show password\">\n                        <span class=\"dashicons dashicons-visibility\" aria-hidden=\"true\"><\/span>\n                    <\/button>\n                <\/div>\n                <div class=\"clr-password-strength\" id=\"clr-password-strength\"><\/div>\n                <p class=\"clr-field-description\">\n                    Minimum 8 characters.                <\/p>\n            <\/div>\n            \n            <!-- Campo: Confirmar Contrase\u00f1a -->\n            <div class=\"clr-form-field\">\n                <label for=\"clr_reg_password_confirm\">\n                    Confirm Password                    <span class=\"required\">*<\/span>\n                <\/label>\n                <div class=\"clr-password-wrapper\">\n                    <input \n                        type=\"password\" \n                        name=\"clr_reg_password_confirm\" \n                        id=\"clr_reg_password_confirm\" \n                        class=\"clr-input clr-password-input\" \n                        required \n                        autocomplete=\"new-password\"\n                        placeholder=\"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\"\n                    >\n                    <button type=\"button\" class=\"clr-toggle-password\" aria-label=\"Show password\">\n                        <span class=\"dashicons dashicons-visibility\" aria-hidden=\"true\"><\/span>\n                    <\/button>\n                <\/div>\n                <div class=\"clr-password-match\" id=\"clr-password-match\"><\/div>\n            <\/div>\n            \n            <!-- T\u00e9rminos y Condiciones -->\n            <div class=\"clr-form-field clr-field-checkbox\">\n                <label class=\"clr-checkbox-label\">\n                    <input \n                        type=\"checkbox\" \n                        name=\"clr_accept_terms\" \n                        id=\"clr_accept_terms\" \n                        value=\"1\"\n                        required\n                    >\n                    <span>\n                                                \n                        I accept the \n                        <a href=\"https:\/\/lottoalert.co\/en\/terms-and-conditions\/\" target=\"_blank\">Terms and Conditions<\/a>, \n                        <a href=\"https:\/\/lottoalert.co\/en\/privacy-policy\/\" target=\"_blank\">Privacy Policy<\/a> \n                        and \n                        <a href=\"https:\/\/lottoalert.co\/en\/cookies-policy\/\" target=\"_blank\">Cookie Policy<\/a>\n                        <span class=\"required\">*<\/span>\n                    <\/span>\n                <\/label>\n            <\/div>\n            \n            <!-- Bot\u00f3n de Registro -->\n            <div class=\"clr-form-field clr-submit-field\">\n                <input type=\"hidden\" name=\"clr_register_submit\" value=\"1\">\n                <button type=\"submit\" class=\"clr-button clr-button-primary\" id=\"clr-register-button\">\n                    Register                <\/button>\n            <\/div>\n            \n            <!-- Enlaces -->\n            <div class=\"clr-form-links\">\n                                    <span>Already have an account?<\/span>\n                    <a href=\"https:\/\/lottoalert.co\/en\/acceder\/\" class=\"clr-link\">\n                        Log in                    <\/a>\n                            <\/div>\n            \n        <\/form>\n    \n        \n    <!-- Formulario oculto para reenviar verificaci\u00f3n -->\n    <div id=\"clr-resend-verification-form\" style=\"display: none;\">\n        <div class=\"clr-resend-overlay\" style=\"position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 99999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); animation: fadeIn 0.3s ease;\">\n            <div class=\"clr-resend-modal\" style=\"background: white; padding: 40px; border-radius: 16px; max-width: 500px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.4); position: relative; animation: slideUp 0.3s ease;\">\n                \n                <button type=\"button\" class=\"clr-close-resend\" style=\"position: absolute; top: 15px; right: 15px; background: #f5f5f5; border: none; font-size: 24px; cursor: pointer; color: #666; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; line-height: 1;\" onmouseover=\"this.style.background='#e74c3c'; this.style.color='white';\" onmouseout=\"this.style.background='#f5f5f5'; this.style.color='#666';\">\u00d7<\/button>\n                \n                <div style=\"text-align: center; margin-bottom: 30px;\">\n                    <div style=\"width: 60px; height: 60px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 28px;\">\n                        \ud83d\udce7\n                    <\/div>\n                    <h3 style=\"margin: 0 0 10px 0; color: #2c3e50; font-size: 24px; font-weight: 700;\">\n                        Resend Verification Email                    <\/h3>\n                    <p style=\"color: #7f8c8d; margin: 0; font-size: 15px; line-height: 1.6;\">\n                        Enter your email and we\u2019ll send you a new verification link.                    <\/p>\n                <\/div>\n                \n                <form method=\"post\" action=\"\" style=\"margin: 0;\">\n                    <input type=\"hidden\" id=\"clr_resend_nonce\" name=\"clr_resend_nonce\" value=\"cb0a20b6f4\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/1406\" \/>                    \n                    <div class=\"clr-form-field\" style=\"margin-bottom: 20px;\">\n                        <label for=\"clr_resend_email\" style=\"display: block; margin-bottom: 8px; color: #2c3e50; font-weight: 600; font-size: 14px;\">\n                            Email                        <\/label>\n                        <input \n                            type=\"email\" \n                            name=\"clr_email\" \n                            id=\"clr_resend_email\" \n                            class=\"clr-input\"\n                            style=\"width: 100%; padding: 12px 15px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 15px; transition: all 0.3s ease; box-sizing: border-box;\"\n                            onfocus=\"this.style.borderColor='#667eea'; this.style.boxShadow='0 0 0 3px rgba(102, 126, 234, 0.1)';\"\n                            onblur=\"this.style.borderColor='#e0e0e0'; this.style.boxShadow='none';\"\n                            value=\"\"\n                            required\n                        >\n                    <\/div>\n                    \n                    <button \n                        type=\"submit\" \n                        name=\"clr_resend_verification\" \n                        class=\"clr-button clr-button-primary\" \n                        style=\"width: 100%; padding: 15px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);\"\n                        onmouseover=\"this.style.transform='translateY(-2px)'; this.style.boxShadow='0 6px 20px rgba(102, 126, 234, 0.4)';\"\n                        onmouseout=\"this.style.transform='translateY(0)'; this.style.boxShadow='0 4px 15px rgba(102, 126, 234, 0.3)';\"\n                    >\n                        \ud83d\udce7 Resend Email                    <\/button>\n                <\/form>\n                \n                <div style=\"margin-top: 20px; padding-top: 20px; border-top: 1px solid #e0e0e0; text-align: center;\">\n                    <p style=\"color: #95a5a6; font-size: 13px; margin: 0;\">\n                        \u23f1\ufe0f Limit: 3 resends per hour                    <\/p>\n                <\/div>\n                \n            <\/div>\n        <\/div>\n    <\/div>\n\n    <style>\n    @keyframes fadeIn {\n        from { opacity: 0; }\n        to { opacity: 1; }\n    }\n\n    @keyframes slideUp {\n        from { \n            opacity: 0;\n            transform: translateY(30px); \n        }\n        to { \n            opacity: 1;\n            transform: translateY(0); \n        }\n    }\n    <\/style>\n\n<script>\n(function() {\n    var modal = document.getElementById('clr-resend-verification-form');\n    \n    \/\/ Mostrar formulario de reenv\u00edo\n    document.addEventListener('click', function(e) {\n        if (e.target.classList.contains('clr-show-resend-form')) {\n            e.preventDefault();\n            modal.style.display = 'block';\n            document.body.style.overflow = 'hidden';\n        }\n    });\n    \n    \/\/ Cerrar modal\n    document.addEventListener('click', function(e) {\n        if (e.target.classList.contains('clr-close-resend') || e.target.classList.contains('clr-resend-overlay')) {\n            modal.style.display = 'none';\n            document.body.style.overflow = '';\n        }\n    });\n    \n    \/\/ Cerrar con ESC\n    document.addEventListener('keydown', function(e) {\n        if (e.key === 'Escape' && modal.style.display === 'block') {\n            modal.style.display = 'none';\n            document.body.style.overflow = '';\n        }\n    });\n})();\n<\/script>\n<\/div>\n\n<script>\n(function() {\n    document.addEventListener('DOMContentLoaded', function() {\n        \n        \/\/ Toggle mostrar\/ocultar contrase\u00f1a\n        var toggleButtons = document.querySelectorAll('.clr-toggle-password');\n        \n        toggleButtons.forEach(function(button) {\n            button.addEventListener('click', function() {\n                var passwordInput = this.previousElementSibling;\n                var icon = this.querySelector('.dashicons');\n                \n                if (passwordInput.type === 'password') {\n                    passwordInput.type = 'text';\n                    icon.classList.remove('dashicons-visibility');\n                    icon.classList.add('dashicons-hidden');\n                    this.setAttribute('aria-label', 'Hide password');\n                } else {\n                    passwordInput.type = 'password';\n                    icon.classList.remove('dashicons-hidden');\n                    icon.classList.add('dashicons-visibility');\n                    this.setAttribute('aria-label', 'Show password');\n                }\n            });\n        });\n        \n        \/\/ Validaci\u00f3n de fortaleza de contrase\u00f1a\n        var passwordInput = document.getElementById('clr_reg_password');\n        var strengthDiv = document.getElementById('clr-password-strength');\n        \n        if (passwordInput && strengthDiv) {\n            passwordInput.addEventListener('input', function() {\n                var password = this.value;\n                var strength = checkPasswordStrength(password);\n                \n                strengthDiv.className = 'clr-password-strength clr-strength-' + strength.class;\n                strengthDiv.textContent = strength.text;\n            });\n        }\n        \n        \/\/ Validaci\u00f3n de coincidencia de contrase\u00f1as\n        var passwordConfirm = document.getElementById('clr_reg_password_confirm');\n        var matchDiv = document.getElementById('clr-password-match');\n        \n        if (passwordInput && passwordConfirm && matchDiv) {\n            passwordConfirm.addEventListener('input', function() {\n                if (this.value === '') {\n                    matchDiv.textContent = '';\n                    matchDiv.className = 'clr-password-match';\n                    return;\n                }\n                \n                if (this.value === passwordInput.value) {\n                    matchDiv.className = 'clr-password-match clr-match-success';\n                    matchDiv.textContent = 'Passwords match \u2713';\n                } else {\n                    matchDiv.className = 'clr-password-match clr-match-error';\n                    matchDiv.textContent = 'Passwords don't match \u2717';\n                }\n            });\n        }\n        \n        \/\/ Validaci\u00f3n del formulario\n        var form = document.getElementById('clr-register-form');\n        var submitButton = document.getElementById('clr-register-button');\n        \n        if (form) {\n            form.addEventListener('submit', function(e) {\n                var username = document.getElementById('clr_reg_username').value.trim();\n                var email = document.getElementById('clr_reg_email').value.trim();\n                var password = document.getElementById('clr_reg_password').value;\n                var passwordConfirm = document.getElementById('clr_reg_password_confirm').value;\n                \n                \/\/ Validar campos obligatorios\n                if (username === '' || email === '' || password === '' || passwordConfirm === '') {\n                    e.preventDefault();\n                    alert('Please complete all required fields.');\n                    return false;\n                }\n                \n                \/\/ Validar username\n                if (username.length < 4) {\n                    e.preventDefault();\n                    alert('Username must be at least 4 characters.');\n                    return false;\n                }\n                \n                \/\/ Validar que las contrase\u00f1as coincidan\n                if (password !== passwordConfirm) {\n                    e.preventDefault();\n                    alert('Passwords don't match.');\n                    return false;\n                }\n                \n                \/\/ Validar longitud de contrase\u00f1a\n                var minLength = 8;\n                if (password.length < minLength) {\n                    e.preventDefault();\n                    alert('Password must be at least ' + minLength + ' characters.');\n                    return false;\n                }\n                \n                                \n                \/\/ Deshabilitar bot\u00f3n para evitar env\u00edos m\u00faltiples\n                submitButton.disabled = true;\n                submitButton.textContent = 'Registering...';\n            });\n        }\n        \n        \/\/ Funci\u00f3n para verificar fortaleza de contrase\u00f1a\n        function checkPasswordStrength(password) {\n            if (password.length === 0) {\n                return { class: 'empty', text: '' };\n            }\n            \n            var strength = 0;\n            \n            \/\/ Longitud\n            if (password.length >= 8) strength++;\n            if (password.length >= 12) strength++;\n            \n            \/\/ May\u00fasculas\n            if (\/[A-Z]\/.test(password)) strength++;\n            \n            \/\/ Min\u00fasculas\n            if (\/[a-z]\/.test(password)) strength++;\n            \n            \/\/ N\u00fameros\n            if (\/[0-9]\/.test(password)) strength++;\n            \n            \/\/ Caracteres especiales\n            if (\/[^A-Za-z0-9]\/.test(password)) strength++;\n            \n            if (strength <= 2) {\n                return { \n                    class: 'weak', \n                    text: 'Weak' \n                };\n            } else if (strength <= 4) {\n                return { \n                    class: 'medium', \n                    text: 'Medium' \n                };\n            } else {\n                return { \n                    class: 'strong', \n                    text: 'Strong' \n                };\n            }\n        }\n        \n    });\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"Website Username * Minimum 4 characters. Only letters, numbers and underscores. Email * Name Last Name Country * Select your country Afghanistan Albania Germany Andorra Angola Argentina Armenia Australia Austria...","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1406","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/lottoalert.co\/en\/wp-json\/wp\/v2\/pages\/1406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lottoalert.co\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lottoalert.co\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lottoalert.co\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lottoalert.co\/en\/wp-json\/wp\/v2\/comments?post=1406"}],"version-history":[{"count":1,"href":"https:\/\/lottoalert.co\/en\/wp-json\/wp\/v2\/pages\/1406\/revisions"}],"predecessor-version":[{"id":1414,"href":"https:\/\/lottoalert.co\/en\/wp-json\/wp\/v2\/pages\/1406\/revisions\/1414"}],"wp:attachment":[{"href":"https:\/\/lottoalert.co\/en\/wp-json\/wp\/v2\/media?parent=1406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}