{"id":39,"date":"2026-07-04T14:41:15","date_gmt":"2026-07-04T14:41:15","guid":{"rendered":"https:\/\/ghealth.sa\/register\/"},"modified":"2026-07-14T14:08:03","modified_gmt":"2026-07-14T14:08:03","slug":"register","status":"publish","type":"page","link":"https:\/\/ghealth.sa\/en\/register\/","title":{"rendered":"Sign Up"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"39\" class=\"elementor elementor-39\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-63907ed e-con-full e-flex e-con e-parent\" data-id=\"63907ed\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d7438c3 elementor-widget elementor-widget-shortcode\" data-id=\"d7438c3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div class=\"gh-auth-wrap\" style=\"max-width:1180px;margin:0 auto;font-family:'Cairo',sans-serif;\">\n      <div style=\"display:flex;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 12px 48px rgba(10,37,64,0.10);flex-wrap:wrap;\">\n\n        <!-- LEFT PANEL -->\n        <div style=\"flex:1 1 380px;background:linear-gradient(135deg,#2ED9C3,#395EAA);padding:56px 40px;color:#fff;position:relative;overflow:hidden;\">\n          <h2 style=\"font-size:30px;font-weight:700;margin:0 0 16px;line-height:1.3;\">\u0631\u0639\u0627\u064a\u0629 \u0635\u062d\u064a\u0629 \u0645\u062a\u0643\u0627\u0645\u0644\u0629 \u0641\u064a \u0645\u0643\u0627\u0646 \u0648\u0627\u062d\u062f<\/h2>\n          <p style=\"font-size:15px;opacity:0.9;line-height:1.8;margin:0 0 36px;\">\u0627\u0633\u062a\u0634\u0627\u0631\u0627\u062a\u060c \u062a\u062d\u0627\u0644\u064a\u0644\u060c \u0648\u0648\u0635\u0641\u0627\u062a \u0631\u0642\u0645\u064a\u0629 \u2014 \u0643\u0644 \u0645\u0627 \u062a\u062d\u062a\u0627\u062c\u0647 \u0644\u0635\u062d\u062a\u0643 \u0628\u064a\u0646 \u064a\u062f\u064a\u0643.<\/p>\n                      <div style=\"display:flex;gap:14px;align-items:flex-start;margin-bottom:22px;\">\n              <div style=\"width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,0.18);display:flex;align-items:center;justify-content:center;flex-shrink:0;\">\n                <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#fff\" stroke-width=\"2\"><path d=\"M20 6L9 17l-5-5\"\/><\/svg>\n              <\/div>\n              <div style=\"text-align:right;\">\n                <div style=\"font-weight:700;font-size:16px;\">\u0627\u0633\u062a\u0634\u0627\u0631\u0627\u062a \u0641\u064a\u062f\u064a\u0648 \u0641\u0648\u0631\u064a\u0629<\/div>\n                <div style=\"font-size:13px;opacity:0.85;margin-top:2px;\">\u062a\u0648\u0627\u0635\u0644 \u0645\u0639 \u0623\u0641\u0636\u0644 \u0627\u0644\u0623\u0637\u0628\u0627\u0621 \u0645\u0646 \u0645\u0646\u0632\u0644\u0643<\/div>\n              <\/div>\n            <\/div>\n                      <div style=\"display:flex;gap:14px;align-items:flex-start;margin-bottom:22px;\">\n              <div style=\"width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,0.18);display:flex;align-items:center;justify-content:center;flex-shrink:0;\">\n                <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#fff\" stroke-width=\"2\"><path d=\"M20 6L9 17l-5-5\"\/><\/svg>\n              <\/div>\n              <div style=\"text-align:right;\">\n                <div style=\"font-weight:700;font-size:16px;\">\u062a\u062d\u0627\u0644\u064a\u0644 \u0645\u0639 \u062c\u0645\u0639 \u0645\u0646\u0632\u0644\u064a<\/div>\n                <div style=\"font-size:13px;opacity:0.85;margin-top:2px;\">\u0627\u0637\u0644\u0628 \u062a\u062d\u0627\u0644\u064a\u0644\u0643 \u0648\u064a\u0623\u062a\u064a\u0643 \u0627\u0644\u0645\u0646\u062f\u0648\u0628<\/div>\n              <\/div>\n            <\/div>\n                      <div style=\"display:flex;gap:14px;align-items:flex-start;margin-bottom:22px;\">\n              <div style=\"width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,0.18);display:flex;align-items:center;justify-content:center;flex-shrink:0;\">\n                <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#fff\" stroke-width=\"2\"><path d=\"M20 6L9 17l-5-5\"\/><\/svg>\n              <\/div>\n              <div style=\"text-align:right;\">\n                <div style=\"font-weight:700;font-size:16px;\">\u0648\u0635\u0641\u0627\u062a \u0648\u0633\u062c\u0644 \u0637\u0628\u064a \u0631\u0642\u0645\u064a<\/div>\n                <div style=\"font-size:13px;opacity:0.85;margin-top:2px;\">\u0643\u0644 \u0645\u0644\u0641\u0627\u062a\u0643 \u0627\u0644\u0637\u0628\u064a\u0629 \u0645\u0648\u062d\u0651\u062f\u0629 \u0648\u0622\u0645\u0646\u0629<\/div>\n              <\/div>\n            <\/div>\n                      <div style=\"display:flex;gap:14px;align-items:flex-start;margin-bottom:22px;\">\n              <div style=\"width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,0.18);display:flex;align-items:center;justify-content:center;flex-shrink:0;\">\n                <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#fff\" stroke-width=\"2\"><path d=\"M20 6L9 17l-5-5\"\/><\/svg>\n              <\/div>\n              <div style=\"text-align:right;\">\n                <div style=\"font-weight:700;font-size:16px;\">\u062e\u0635\u0648\u0635\u064a\u0629 \u0648\u0623\u0645\u0627\u0646 \u062a\u0627\u0645<\/div>\n                <div style=\"font-size:13px;opacity:0.85;margin-top:2px;\">\u0628\u064a\u0627\u0646\u0627\u062a\u0643 \u0645\u0634\u0641\u0651\u0631\u0629 \u0648\u0645\u062d\u0645\u064a\u0629 \u0628\u0627\u0644\u0643\u0627\u0645\u0644<\/div>\n              <\/div>\n            <\/div>\n                    <div style=\"display:flex;gap:24px;margin-top:40px;padding-top:24px;border-top:1px solid rgba(255,255,255,0.2);\">\n            <div><div style=\"font-size:24px;font-weight:800;\">+480<\/div><div style=\"font-size:12px;opacity:0.85;\">\u0645\u062e\u062a\u0628\u0631<\/div><\/div>\n            <div><div style=\"font-size:24px;font-weight:800;\">+3200<\/div><div style=\"font-size:12px;opacity:0.85;\">\u0637\u0628\u064a\u0628<\/div><\/div>\n            <div><div style=\"font-size:24px;font-weight:800;\">+52,000<\/div><div style=\"font-size:12px;opacity:0.85;\">\u0639\u0645\u064a\u0644<\/div><\/div>\n          <\/div>\n        <\/div>\n\n        <!-- RIGHT FORM -->\n        <div style=\"flex:1 1 460px;padding:48px 44px;\">\n          <h1 style=\"font-size:28px;font-weight:700;color:#0A2540;margin:0 0 6px;text-align:right;\">\u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628 \u062c\u062f\u064a\u062f<\/h1>\n          <p style=\"color:#5E7A92;font-size:14px;margin:0 0 28px;text-align:right;\">\u0627\u0646\u0636\u0645 \u0625\u0644\u0649 \u0645\u0646\u0635\u0629 \u0627\u0644\u0631\u0639\u0627\u064a\u0629 \u0627\u0644\u0635\u062d\u064a\u0629 \u0627\u0644\u0631\u0642\u0645\u064a\u0629 \u0641\u064a \u062f\u0642\u0627\u0626\u0642.<\/p>\n\n          <!-- ROLE SELECTOR -->\n          <div style=\"display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:24px;\">\n                          <label class=\"gh-role-card\" data-role=\"lab\" style=\"cursor:pointer;border:2px solid rgba(10,37,64,0.1);background:#fff;border-radius:14px;padding:16px 8px;text-align:center;transition:all .15s;\">\n                <input type=\"radio\" name=\"gh_role\" value=\"lab\"  style=\"display:none;\">\n                <div style=\"width:40px;height:40px;border-radius:10px;background:#F3F8FC;display:flex;align-items:center;justify-content:center;margin:0 auto 8px;\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#395EAA\" stroke-width=\"1.6\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9.75 3.104v5.714a2.25 2.25 0 01-.659 1.591L5 14.5M9.75 3.104c-.251.023-.501.05-.75.082m.75-.082a24.301 24.301 0 014.5 0m0 0v5.714c0 .597.237 1.17.659 1.591L19.8 15.3M14.25 3.104c.251.023.501.05.75.082M19.8 15.3l-1.57.393A9.065 9.065 0 0112 15a9.065 9.065 0 00-6.23-.693L5 14.5m14.8.8l1.402 1.402c1.232 1.232.65 3.318-1.067 3.611A48.309 48.309 0 0112 21c-2.773 0-5.491-.235-8.135-.687-1.718-.293-2.3-2.379-1.067-3.61L5 14.5\"\/><\/svg><\/div>\n                <div style=\"font-weight:700;font-size:14px;color:#0A2540;\">\u0645\u062e\u062a\u0628\u0631<\/div>\n                <div style=\"font-size:11px;color:#5E7A92;margin-top:2px;\">\u0627\u0633\u062a\u0642\u0628\u0644 \u0627\u0644\u0637\u0644\u0628\u0627\u062a<\/div>\n              <\/label>\n                          <label class=\"gh-role-card\" data-role=\"doctor\" style=\"cursor:pointer;border:2px solid rgba(10,37,64,0.1);background:#fff;border-radius:14px;padding:16px 8px;text-align:center;transition:all .15s;\">\n                <input type=\"radio\" name=\"gh_role\" value=\"doctor\"  style=\"display:none;\">\n                <div style=\"width:40px;height:40px;border-radius:10px;background:#F3F8FC;display:flex;align-items:center;justify-content:center;margin:0 auto 8px;\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#395EAA\" stroke-width=\"1.6\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M18 18.72a9.094 9.094 0 003.741-.479 3 3 0 00-4.682-2.72m.94 3.198l.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0112 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 016 18.719m12 0a5.971 5.971 0 00-.941-3.197m0 0A5.995 5.995 0 0012 12.75a5.995 5.995 0 00-5.058 2.772m0 0a3 3 0 00-4.681 2.72 8.986 8.986 0 003.74.477m.94-3.197a5.971 5.971 0 00-.94 3.197M15 6.75a3 3 0 11-6 0 3 3 0 016 0zm6 3a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-13.5 0a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z\"\/><\/svg><\/div>\n                <div style=\"font-weight:700;font-size:14px;color:#0A2540;\">\u0637\u0628\u064a\u0628<\/div>\n                <div style=\"font-size:11px;color:#5E7A92;margin-top:2px;\">\u0627\u0633\u062a\u0642\u0628\u0644 \u0627\u0644\u0639\u0645\u0644\u0627\u0621<\/div>\n              <\/label>\n                          <label class=\"gh-role-card\" data-role=\"patient\" style=\"cursor:pointer;border:2px solid #395EAA;background:rgba(57,94,170,0.05);border-radius:14px;padding:16px 8px;text-align:center;transition:all .15s;\">\n                <input type=\"radio\" name=\"gh_role\" value=\"patient\" checked style=\"display:none;\">\n                <div style=\"width:40px;height:40px;border-radius:10px;background:#F3F8FC;display:flex;align-items:center;justify-content:center;margin:0 auto 8px;\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#395EAA\" stroke-width=\"1.6\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z\"\/><\/svg><\/div>\n                <div style=\"font-weight:700;font-size:14px;color:#0A2540;\">\u0639\u0645\u064a\u0644<\/div>\n                <div style=\"font-size:11px;color:#5E7A92;margin-top:2px;\">\u0627\u062d\u062c\u0632 \u0648\u0627\u0633\u062a\u0634\u0631<\/div>\n              <\/label>\n                      <\/div>\n\n          <div id=\"gh-reg-msg\" style=\"display:none;padding:12px 16px;border-radius:10px;margin-bottom:16px;font-size:13px;text-align:right;\"><\/div>\n\n          <div style=\"display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;\">\n            <div><label style=\"display:block;text-align:right;font-size:13px;color:#0A2540;font-weight:600;margin-bottom:6px;\">\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0643\u0627\u0645\u0644<\/label><input type=\"text\" id=\"gh-name\" placeholder=\"\u0623\u0645\u064a\u0646 \u0627\u0644\u062d\u0633\u0646\u064a\" class=\"gh-input\"><\/div>\n            <div><label style=\"display:block;text-align:right;font-size:13px;color:#0A2540;font-weight:600;margin-bottom:6px;\">\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641<\/label><input type=\"text\" id=\"gh-phone\" placeholder=\"+966 500 000 000\" class=\"gh-input\"><\/div>\n          <\/div>\n          <div id=\"gh-nid-row\" style=\"margin-bottom:16px;\"><label style=\"display:block;text-align:right;font-size:13px;color:#0A2540;font-weight:600;margin-bottom:6px;\">\u0631\u0642\u0645 \u0627\u0644\u0647\u0648\u064a\u0629 \/ \u0627\u0644\u0625\u0642\u0627\u0645\u0629<\/label><input type=\"text\" id=\"gh-nid\" inputmode=\"numeric\" maxlength=\"10\" placeholder=\"1234567890\" class=\"gh-input\"><div style=\"text-align:right;font-size:11px;color:#9AAFC2;margin-top:5px;\">10 \u0623\u0631\u0642\u0627\u0645 \u2014 \u064a\u064f\u0633\u062a\u062e\u062f\u0645 \u0644\u062a\u0648\u062b\u064a\u0642 \u0645\u0644\u0641\u0643 \u0627\u0644\u0637\u0628\u064a.<\/div><\/div>\n          <div style=\"margin-bottom:16px;\"><label style=\"display:block;text-align:right;font-size:13px;color:#0A2540;font-weight:600;margin-bottom:6px;\">\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a<\/label><input type=\"email\" id=\"gh-email\" placeholder=\"you@example.com\" class=\"gh-input\"><\/div>\n          <div style=\"display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px;\">\n            <div><label style=\"display:block;text-align:right;font-size:13px;color:#0A2540;font-weight:600;margin-bottom:6px;\">\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631<\/label><input type=\"password\" id=\"gh-pass\" placeholder=\"********\" class=\"gh-input\"><\/div>\n            <div><label style=\"display:block;text-align:right;font-size:13px;color:#0A2540;font-weight:600;margin-bottom:6px;\">\u062a\u0623\u0643\u064a\u062f \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631<\/label><input type=\"password\" id=\"gh-pass2\" placeholder=\"********\" class=\"gh-input\"><\/div>\n          <\/div>\n          <label style=\"display:flex;align-items:center;gap:8px;justify-content:flex-start;font-size:13px;color:#5E7A92;margin-bottom:20px;cursor:pointer;flex-direction:row-reverse;\"><input type=\"checkbox\" id=\"gh-terms\" checked style=\"width:16px;height:16px;accent-color:#0FB5AE;\"><span>\u0623\u0648\u0627\u0641\u0642 \u0639\u0644\u0649 <a href=\"\/terms\/\" style=\"color:#0FB5AE;\">\u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062d\u0643\u0627\u0645<\/a> \u0648<a href=\"\/privacy\/\" style=\"color:#0FB5AE;\">\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629<\/a> \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0645\u0646\u0635\u0629 \u0635\u062d\u0629 \u0627\u0644\u062c\u064a\u0644.<\/span><\/label>\n          <button type=\"button\" onclick=\"ghRegister()\" style=\"width:100%;padding:16px;background:linear-gradient(135deg,#2ED9C3,#395EAA);color:#fff;border:none;border-radius:12px;font-family:inherit;font-weight:700;font-size:16px;cursor:pointer;\">\u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062d\u0633\u0627\u0628<\/button>\n\n          <div style=\"text-align:center;color:#9AAFC2;font-size:13px;margin:20px 0;position:relative;\"><span style=\"background:#fff;padding:0 16px;position:relative;z-index:1;\">\u0623\u0648 \u0627\u0644\u062a\u0633\u062c\u064a\u0644 \u0639\u0628\u0631<\/span><div style=\"position:absolute;top:50%;left:0;right:0;height:1px;background:rgba(10,37,64,0.1);\"><\/div><\/div>\n          <button type=\"button\" onclick=\"alert('\u062a\u0633\u062c\u064a\u0644 Google \u0642\u064a\u062f \u0627\u0644\u0625\u0639\u062f\u0627\u062f');\" style=\"width:100%;padding:14px;background:#fff;color:#0A2540;border:1px solid rgba(10,37,64,0.14);border-radius:12px;font-family:inherit;font-weight:600;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\"><path fill=\"#4285F4\" d=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 01-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z\"\/><path fill=\"#34A853\" d=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84A11 11 0 0012 23z\"\/><path fill=\"#FBBC05\" d=\"M5.84 14.1a6.6 6.6 0 010-4.2V7.06H2.18a11 11 0 000 9.88l3.66-2.84z\"\/><path fill=\"#EA4335\" d=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84C6.71 7.31 9.14 5.38 12 5.38z\"\/><\/svg>\u0627\u0644\u0645\u062a\u0627\u0628\u0639\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google<\/button>\n          <p style=\"text-align:center;color:#5E7A92;font-size:13px;margin-top:20px;\">\u0644\u062f\u064a\u0643 \u062d\u0633\u0627\u0628 \u0628\u0627\u0644\u0641\u0639\u0644\u061f <a href=\"\/login\/\" style=\"color:#0FB5AE;font-weight:700;\">\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644<\/a><\/p>\n        <\/div>\n      <\/div>\n    <\/div>\n    <style>\n      .gh-auth-wrap .gh-input{width:100%;padding:14px 16px;border:1px solid rgba(10,37,64,0.12);border-radius:10px;font-family:'Cairo',sans-serif;font-size:14px;text-align:right;background:#F8FBFE;box-sizing:border-box;}\n      .gh-auth-wrap .gh-input:focus{outline:none;border-color:#0FB5AE;background:#fff;}\n    <\/style>\n    <script>\n    function ghNidToggle(){\n      var role=document.querySelector('input[name=gh_role]:checked');\n      var row=document.getElementById('gh-nid-row');\n      if(row) row.style.display=(role && role.value==='patient')?'block':'none';\n    }\n    document.querySelectorAll('.gh-role-card').forEach(function(c){\n      c.addEventListener('click',function(){\n        document.querySelectorAll('.gh-role-card').forEach(function(x){x.style.borderColor='rgba(10,37,64,0.1)';x.style.background='#fff';});\n        this.style.borderColor='#395EAA';this.style.background='rgba(57,94,170,0.05)';\n        this.querySelector('input').checked=true;\n        ghNidToggle();\n      });\n    });\n    ghNidToggle();\n    (function(){var n=document.getElementById('gh-nid');if(n)n.addEventListener('input',function(){this.value=this.value.replace(\/\\D\/g,'').slice(0,10);});})();\n    function ghRegister(){\n      var msg=document.getElementById('gh-reg-msg');\n      var role=document.querySelector('input[name=gh_role]:checked').value;\n      if(!document.getElementById('gh-terms').checked){showMsg('\u064a\u062c\u0628 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062d\u0643\u0627\u0645.','err');return;}\n      var nid=(document.getElementById('gh-nid')||{value:''}).value.replace(\/\\D\/g,'');\n      if(role==='patient' && nid.length!==10){showMsg('\u064a\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0631\u0642\u0645 \u0647\u0648\u064a\u0629\/\u0625\u0642\u0627\u0645\u0629 \u0635\u062d\u064a\u062d \u0645\u0643\u0648\u0651\u0646 \u0645\u0646 10 \u0623\u0631\u0642\u0627\u0645.','err');return;}\n      var data=new URLSearchParams();\n      data.append('action','gh_register');\n      data.append('role',role);\n      data.append('national_id',nid);\n      data.append('name',document.getElementById('gh-name').value);\n      data.append('phone',document.getElementById('gh-phone').value);\n      data.append('email',document.getElementById('gh-email').value);\n      data.append('password',document.getElementById('gh-pass').value);\n      data.append('password2',document.getElementById('gh-pass2').value);\n      fetch('https:\/\/ghealth.sa\/wp-admin\/admin-ajax.php',{method:'POST',headers:{'Content-Type':'application\/x-www-form-urlencoded'},body:data.toString()})\n        .then(function(r){return r.json();}).then(function(res){\n          if(res.success){showMsg(res.data.msg,'ok');setTimeout(function(){window.location.href=res.data.redirect;},900);}\n          else showMsg(res.data.msg,'err');\n        }).catch(function(){showMsg('\u062d\u062f\u062b \u062e\u0637\u0623\u060c \u062d\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649.','err');});\n      function showMsg(t,type){msg.textContent=t;msg.style.display='block';msg.style.background=type==='ok'?'rgba(16,185,129,0.1)':'rgba(239,68,68,0.1)';msg.style.color=type==='ok'?'#059669':'#DC2626';}\n    }\n    function showMsg(t,type){var msg=document.getElementById('gh-reg-msg');msg.textContent=t;msg.style.display='block';msg.style.background=type==='ok'?'rgba(16,185,129,0.1)':'rgba(239,68,68,0.1)';msg.style.color=type==='ok'?'#059669':'#DC2626';}\n    <\/script>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"_elementor_version":"4.1.4","_elementor_css":null,"footnotes":""},"class_list":["post-39","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/pages\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":4,"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/pages\/39\/revisions"}],"predecessor-version":[{"id":468,"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/pages\/39\/revisions\/468"}],"wp:attachment":[{"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/media?parent=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}