{"id":23762,"date":"2025-10-08T10:47:04","date_gmt":"2025-10-08T10:47:04","guid":{"rendered":"https:\/\/uwisely.com\/%d8%aa%d8%b3%d8%ac%d9%8a%d9%84-%d8%a7%d9%84%d8%af%d8%ae%d9%88%d9%84-%d8%a5%d9%84%d9%89-%d8%a7%d9%84%d9%85%d9%86%d8%a8%d8%b9\/"},"modified":"2025-12-03T22:23:01","modified_gmt":"2025-12-03T22:23:01","slug":"login","status":"publish","type":"page","link":"https:\/\/uwisely.upp.st\/ar\/login\/","title":{"rendered":"\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644"},"content":{"rendered":"<p style=\"text-align: center;\">    <style>\n        .uw-figma-input.is-invalid {\n            border-color: #ff4d4d !important;\n            background-color: #fff5f5 !important;\n            color: #ff4d4d !important;\n        }\n        .uw-error-msg {\n            color: #ff4d4d;\n            font-size: 12px;\n            margin-top: 5px;\n            display: none;\n            font-weight: 600;\n        }\n        .uw-figma-btn-primary.btn-invalid {\n            background: #ff4d4d !important;\n            box-shadow: 0 8px 20px rgba(255, 77, 77, 0.3) !important;\n        }\n    <\/style>\n\n    <section class=\"uw-figma-login\">\n      <div class=\"uw-figma-card\">\n        <div class=\"uw-figma-hero\">\n          <div class=\"uw-figma-hero-icon\" aria-hidden=\"true\">\n            <svg width=\"63\" height=\"57\" viewBox=\"0 0 63 57\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n              <path d=\"M28.125 12.5L23.75 16.875L31.875 25H0V31.25H31.875L23.75 39.375L28.125 43.75L43.75 28.125L28.125 12.5ZM56.25 50H31.25V56.25H56.25C59.6875 56.25 62.5 53.4375 62.5 50V6.25C62.5 2.8125 59.6875 0 56.25 0H31.25V6.25H56.25V50Z\" fill=\"white\"\/>\n            <\/svg>\n          <\/div>\n          <h1 class=\"uw-figma-title\">Login<\/h1>\n        <\/div>\n        \n                \n        <form method=\"post\" class=\"uw-figma-form\" id=\"uwLoginMenu\" novalidate>\n          <input type=\"hidden\" id=\"uw_login_nonce\" name=\"uw_login_nonce\" value=\"d95000f63f\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/ar\/wp-json\/wp\/v2\/pages\/23762\" \/>          <input type=\"hidden\" name=\"uwu_login\" value=\"1\">\n          \n          <div class=\"uw-figma-field\">\n            <div class=\"uw-figma-input-wrap\">\n              <span class=\"uw-figma-input-icon\">\n                <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M22 16.92v3a2 2 0 01-2.18 2 19.86 19.86 0 01-8.63-3.07 19.5 19.5 0 01-6-6A19.86 19.86 0 012.08 4.18 2 2 0 014.06 2h3a2 2 0 012 1.72c.12.9.34 1.78.64 2.63a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.45-1.15a2 2 0 012.11-.45c.85.3 1.73.52 2.63.64A2 2 0 0122 16.92z\" stroke=\"#7A8899\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg>\n              <\/span>\n              <input class=\"uw-figma-input\" \n                     id=\"msisdnInput\"\n                     type=\"text\" \n                     name=\"msisdn\" \n                     placeholder=\"+60\" \n                     required\n                     oninput=\"validateMYPhone(this)\">\n            <\/div>\n            <div id=\"phoneError\" class=\"uw-error-msg\">Maximum 13 digits allowed<\/div>\n          <\/div>\n\n          <div class=\"uw-figma-field\">\n            <div class=\"uw-figma-input-wrap\">\n              <span class=\"uw-figma-input-icon\">\n                <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\"><rect x=\"3\" y=\"11\" width=\"18\" height=\"10\" rx=\"2\" stroke=\"#7A8899\" stroke-width=\"1.6\"\/><path d=\"M7 11V8a5 5 0 1110 0v3\" stroke=\"#7A8899\" stroke-width=\"1.6\" stroke-linecap=\"round\"\/><\/svg>\n              <\/span>\n              <input class=\"uw-figma-input\" type=\"password\" name=\"password\" placeholder=\"Enter your password\" required>\n            <\/div>\n          <\/div>\n\n          <button type=\"submit\" id=\"submitBtn\" class=\"uw-figma-btn uw-figma-btn-primary\">Log in \u2192<\/button>\n\n          <div class=\"uw-figma-links\">\n            <a href=\"https:\/\/uwisely.upp.st\/ar\/forgot-my\/\">Forgot your password?<\/a>\n            <p class=\"uw-figma-muted\">Not subscribed?<\/p>\n            <a class=\"uw-figma-btn uw-figma-btn-ghost\" href=\"https:\/\/uwisely.upp.st\/ar\/signup-my\/\">Subscribe<\/a>\n          <\/div>\n        <\/form>\n      <\/div>\n    <\/section>\n\n    <script>\n    function validateMYPhone(input) {\n        \/\/ 1. Permitimos n\u00fameros y letras (alfanum\u00e9rico)\n        input.value = input.value.replace(\/[^0-9a-zA-Z]\/g, '');\n        \n        const btn = document.getElementById('submitBtn');\n        const error = document.getElementById('phoneError');\n        const val = input.value;\n\n        \/\/ 2. Solo marcar error si es un n\u00famero (no demouser) y mide m\u00e1s de 13\n        const isNumeric = \/^\\d+$\/.test(val);\n        if (isNumeric && val.length > 13) {\n            input.classList.add('is-invalid');\n            btn.classList.add('btn-invalid');\n            error.style.display = 'block';\n        } else {\n            input.classList.remove('is-invalid');\n            btn.classList.remove('btn-invalid');\n            error.style.display = 'none';\n        }\n    }\n    <\/script>\n    <\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-23762","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/uwisely.upp.st\/ar\/wp-json\/wp\/v2\/pages\/23762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uwisely.upp.st\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/uwisely.upp.st\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/uwisely.upp.st\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/uwisely.upp.st\/ar\/wp-json\/wp\/v2\/comments?post=23762"}],"version-history":[{"count":1,"href":"https:\/\/uwisely.upp.st\/ar\/wp-json\/wp\/v2\/pages\/23762\/revisions"}],"predecessor-version":[{"id":23764,"href":"https:\/\/uwisely.upp.st\/ar\/wp-json\/wp\/v2\/pages\/23762\/revisions\/23764"}],"wp:attachment":[{"href":"https:\/\/uwisely.upp.st\/ar\/wp-json\/wp\/v2\/media?parent=23762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}