{"id":9595,"date":"2026-01-19T14:12:28","date_gmt":"2026-01-19T14:12:28","guid":{"rendered":"https:\/\/proqcchina.com\/?page_id=9595"},"modified":"2026-01-19T20:05:38","modified_gmt":"2026-01-19T20:05:38","slug":"verify-email","status":"publish","type":"page","link":"https:\/\/proqcchina.com\/ar\/verify-email\/","title":{"rendered":"\/verify-email"},"content":{"rendered":"<style>\n  * { box-sizing: border-box; }\n  body { margin: 0; }\n\n  .verify-page {\n    min-height: 100vh;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: #f6f8fc;\n    padding: 20px;\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\",\n      Roboto, Inter, Arial, sans-serif;\n  }\n\n  .verify-card {\n    width: 100%;\n    max-width: 520px;\n    background: #ffffff;\n    padding: 44px 36px;\n    border-radius: 18px;\n    text-align: center;\n    box-shadow: 0 25px 60px rgba(0,0,0,0.08);\n  }\n\n  .verify-logo {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    margin-bottom: 22px;\n  }\n\n  .verify-logo img {\n    height: 52px;\n    max-width: 100%;\n  }\n\n  .verify-title {\n    font-size: 26px;\n    font-weight: 700;\n    margin: 0 0 10px;\n    color: #0b1f33;\n  }\n\n  .verify-message {\n    font-size: 16px;\n    line-height: 1.55;\n    color: #555;\n    margin: 0;\n  }\n\n  @media (max-width: 480px) {\n    .verify-card {\n      padding: 34px 22px;\n      border-radius: 16px;\n    }\n    .verify-title { font-size: 22px; }\n    .verify-message { font-size: 15px; }\n  }\n<\/style>\n\n<div class=\"verify-page\">\n  <div class=\"verify-card\">\n    <div class=\"verify-logo\">\n      <img decoding=\"async\"\n        src=\"http:\/\/proqcchina.com\/wp-content\/uploads\/2025\/11\/Logo-transparent-123-e1765404472305.png\"\n        alt=\"ProQCChina\"\n      \/>\n    <\/div>\n\n    <h1 class=\"verify-title\" id=\"verifyTitle\">\n      Verifying your email\u2026\n    <\/h1>\n\n    <p class=\"verify-message\" id=\"verifyMsg\">\n      Please wait a moment.\n    <\/p>\n  <\/div>\n<\/div>\n\n<script type=\"module\">\n  import { initializeApp } from \"https:\/\/www.gstatic.com\/firebasejs\/10.7.1\/firebase-app.js\";\n  import { getAuth, applyActionCode, signOut } from\n    \"https:\/\/www.gstatic.com\/firebasejs\/10.7.1\/firebase-auth.js\";\n\n  const firebaseConfig = {\n    apiKey: \"AIzaSyB-X_lVUZEkrcz21TrFUqyHuqjyS7jGGwQ\",\n    authDomain: \"proqcchina.firebaseapp.com\",\n    projectId: \"proqcchina\",\n    appId: \"1:342470542449:web:0586ff4faa2cd6a470c7d0\"\n  };\n\n  const app = initializeApp(firebaseConfig);\n  const auth = getAuth(app);\n\n  const params = new URLSearchParams(window.location.search);\n  const oobCode = params.get(\"oobCode\");\n\n  const title = document.getElementById(\"verifyTitle\");\n  const msg = document.getElementById(\"verifyMsg\");\n\n  if (!oobCode) {\n    title.innerText = \"Invalid verification link\";\n    msg.innerText = \"Please request a new verification email.\";\n    setTimeout(() => {\n      window.location.href = \"\/login\";\n    }, 3000);\n  } else {\n    applyActionCode(auth, oobCode)\n      .then(async () => {\n        await signOut(auth); \/\/ ensure clean state\n\n        title.innerText = \"Email verified successfully \ud83c\udf89\";\n        msg.innerHTML =\n          \"Your email has been verified.<br>Please log in to access your dashboard.\";\n\n        setTimeout(() => {\n          window.location.href = \"\/login\";\n        }, 2500);\n      })\n      .catch(() => {\n        title.innerText = \"Invalid verification link\";\n        msg.innerText = \"Please request a new verification email.\";\n        setTimeout(() => {\n          window.location.href = \"\/login\";\n        }, 3000);\n      });\n  }\n<\/script>","protected":false},"excerpt":{"rendered":"<p>Verifying your email\u2026 Please wait a moment.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"_joinchat":[],"footnotes":""},"class_list":["post-9595","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/pages\/9595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/comments?post=9595"}],"version-history":[{"count":8,"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/pages\/9595\/revisions"}],"predecessor-version":[{"id":9603,"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/pages\/9595\/revisions\/9603"}],"wp:attachment":[{"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/media?parent=9595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}