{"id":89,"date":"2025-06-10T11:59:03","date_gmt":"2025-06-10T11:59:03","guid":{"rendered":"https:\/\/games.r-s.space\/?page_id=89"},"modified":"2025-06-26T21:56:13","modified_gmt":"2025-06-26T21:56:13","slug":"test","status":"publish","type":"page","link":"https:\/\/games.r-s.space\/test\/","title":{"rendered":"Test"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"89\" class=\"elementor elementor-89\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b7d505c e-flex e-con-boxed e-con e-parent\" data-id=\"b7d505c\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-974d4da e-con-full e-flex e-con e-child\" data-id=\"974d4da\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-491bed3 elementor-widget elementor-widget-shortcode\" data-id=\"491bed3\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n    <!-- <link rel='stylesheet'  href='https:\/\/games.r-s.space\/wp-content\/themes\/hello-elementor-child\/test-style.css' media='all' \/> -->\n\n    \n    <div id=\"cognitive-intro\">\n        <img decoding=\"async\" src=\"https:\/\/games.r-s.space\/wp-content\/uploads\/2025\/06\/skills-icons-1.svg\" alt=\"\">\n        <h2>Cognitive Function Assessment Questionnaire<\/h2>\n        <p>For each statement below, select the option that most accurately reflects your experience. Choose from: \"Disagree, \"Agree.\" <\/p>\n        <p> All questions must be answered to receive your personalized cognitive assessment.<\/p>\n        <span id=\"start-cognitive-test\" class=\"button\">Start free test<\/span>\n        <a href=\"\/\"><span class=\"leave\">Leave<\/span><\/a>\n    <\/div>\n\n    <div id=\"testSection\" class=\"hidden\">\n\n    <div id=\"question-tabs\" class=\"question-tabs\">\n                    <div class=\"question-tab\" data-section=\"attention_focus\">\n                Attention            <\/div>\n                    <div class=\"question-tab\" data-section=\"processing_speed\">\n                Processing Speed            <\/div>\n                    <div class=\"question-tab\" data-section=\"memory\">\n                Memory            <\/div>\n                    <div class=\"question-tab\" data-section=\"problem_solving\">\n                Problem-Solving            <\/div>\n                    <div class=\"question-tab\" data-section=\"cognitive_flexibility\">\n                Cognitive Flexibility            <\/div>\n                    <div class=\"question-tab\" data-section=\"executive_function\">\n                Executive Function            <\/div>\n            <\/div>\n\n    <div class=\"progress-bar-wrapper \">\n        <div class=\"progress-bar-fill\" id=\"progressBar\"><\/div>\n    <\/div>\n\n\n    <form id=\"cognitiveAssessmentForm\">\n        <div id=\"questionsContainer\">\n            <div class=\"question-wrapper\" data-question=\"1\" data-section=\"attention_focus\"><div class=\"step\">Step 1.<\/div><div class=\"question-group-name Attention\">Attention<\/div><span class=\"question\">I find it challenging to concentrate on tasks for extended periods.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q1\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q1\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"2\" data-section=\"attention_focus\"><div class=\"step\">Step 2.<\/div><div class=\"question-group-name Attention\">Attention<\/div><span class=\"question\">I am easily distracted by minor interruptions in my environment.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q2\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q2\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"3\" data-section=\"attention_focus\"><div class=\"step\">Step 3.<\/div><div class=\"question-group-name Attention\">Attention<\/div><span class=\"question\">I have difficulty filtering out irrelevant information when focusing on important tasks.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q3\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q3\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"4\" data-section=\"attention_focus\"><div class=\"step\">Step 4.<\/div><div class=\"question-group-name Attention\">Attention<\/div><span class=\"question\">I tend to lose track of my thoughts during conversations.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q4\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q4\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"5\" data-section=\"attention_focus\"><div class=\"step\">Step 5.<\/div><div class=\"question-group-name Attention\">Attention<\/div><span class=\"question\">I need to re-read information multiple times to fully comprehend it.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q5\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q5\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"6\" data-section=\"processing_speed\"><div class=\"step\">Step 6.<\/div><div class=\"question-group-name Processing Speed\">Processing Speed<\/div><span class=\"question\">I process information more slowly than others around me.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q6\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q6\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"7\" data-section=\"processing_speed\"><div class=\"step\">Step 7.<\/div><div class=\"question-group-name Processing Speed\">Processing Speed<\/div><span class=\"question\">I struggle to keep up with fast-paced conversations or rapid instructions.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q7\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q7\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"8\" data-section=\"processing_speed\"><div class=\"step\">Step 8.<\/div><div class=\"question-group-name Processing Speed\">Processing Speed<\/div><span class=\"question\">I need more time than others to understand complex concepts.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q8\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q8\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"9\" data-section=\"processing_speed\"><div class=\"step\">Step 9.<\/div><div class=\"question-group-name Processing Speed\">Processing Speed<\/div><span class=\"question\">I feel overwhelmed when required to make quick decisions.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q9\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q9\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"10\" data-section=\"processing_speed\"><div class=\"step\">Step 10.<\/div><div class=\"question-group-name Processing Speed\">Processing Speed<\/div><span class=\"question\">I often ask people to repeat information or speak more slowly.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q10\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q10\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"11\" data-section=\"memory\"><div class=\"step\">Step 11.<\/div><div class=\"question-group-name Memory\">Memory<\/div><span class=\"question\">I frequently forget appointments or important deadlines.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q11\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q11\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"12\" data-section=\"memory\"><div class=\"step\">Step 12.<\/div><div class=\"question-group-name Memory\">Memory<\/div><span class=\"question\">I have trouble remembering names of people I&#039;ve recently met.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q12\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q12\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"13\" data-section=\"memory\"><div class=\"step\">Step 13.<\/div><div class=\"question-group-name Memory\">Memory<\/div><span class=\"question\">I misplace items such as keys, phone, or wallet regularly.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q13\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q13\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"14\" data-section=\"memory\"><div class=\"step\">Step 14.<\/div><div class=\"question-group-name Memory\">Memory<\/div><span class=\"question\">I find it difficult to recall details from conversations or meetings.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q14\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q14\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"15\" data-section=\"memory\"><div class=\"step\">Step 15.<\/div><div class=\"question-group-name Memory\">Memory<\/div><span class=\"question\">I struggle to remember sequences of instructions or directions.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q15\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q15\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"16\" data-section=\"problem_solving\"><div class=\"step\">Step 16.<\/div><div class=\"question-group-name Problem-Solving\">Problem-Solving<\/div><span class=\"question\">I find it challenging to identify effective solutions to complex problems.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q16\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q16\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"17\" data-section=\"problem_solving\"><div class=\"step\">Step 17.<\/div><div class=\"question-group-name Problem-Solving\">Problem-Solving<\/div><span class=\"question\">I have difficulty breaking down large problems into manageable steps.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q17\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q17\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"18\" data-section=\"problem_solving\"><div class=\"step\">Step 18.<\/div><div class=\"question-group-name Problem-Solving\">Problem-Solving<\/div><span class=\"question\">I tend to get stuck when facing obstacles in my thinking process.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q18\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q18\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"19\" data-section=\"problem_solving\"><div class=\"step\">Step 19.<\/div><div class=\"question-group-name Problem-Solving\">Problem-Solving<\/div><span class=\"question\">I struggle to see multiple perspectives or alternative approaches.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q19\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q19\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"20\" data-section=\"problem_solving\"><div class=\"step\">Step 20.<\/div><div class=\"question-group-name Problem-Solving\">Problem-Solving<\/div><span class=\"question\">I find it hard to adapt my strategy when initial attempts don&#039;t succeed.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q20\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q20\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"21\" data-section=\"cognitive_flexibility\"><div class=\"step\">Step 21.<\/div><div class=\"question-group-name Cognitive Flexibility\">Cognitive Flexibility<\/div><span class=\"question\">I find it difficult to switch between different tasks efficiently.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q21\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q21\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"22\" data-section=\"cognitive_flexibility\"><div class=\"step\">Step 22.<\/div><div class=\"question-group-name Cognitive Flexibility\">Cognitive Flexibility<\/div><span class=\"question\">I become frustrated when my routines are disrupted.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q22\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q22\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"23\" data-section=\"cognitive_flexibility\"><div class=\"step\">Step 23.<\/div><div class=\"question-group-name Cognitive Flexibility\">Cognitive Flexibility<\/div><span class=\"question\">I struggle to adapt to unexpected changes in plans or schedules.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q23\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q23\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"24\" data-section=\"cognitive_flexibility\"><div class=\"step\">Step 24.<\/div><div class=\"question-group-name Cognitive Flexibility\">Cognitive Flexibility<\/div><span class=\"question\">I prefer following established procedures rather than exploring new methods.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q24\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q24\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"25\" data-section=\"cognitive_flexibility\"><div class=\"step\">Step 25.<\/div><div class=\"question-group-name Cognitive Flexibility\">Cognitive Flexibility<\/div><span class=\"question\">I find it challenging to consider viewpoints that differ from my own.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q25\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q25\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"26\" data-section=\"executive_function\"><div class=\"step\">Step 26.<\/div><div class=\"question-group-name Executive Function\">Executive Function<\/div><span class=\"question\">I have difficulty planning and organizing my daily activities.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q26\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q26\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"27\" data-section=\"executive_function\"><div class=\"step\">Step 27.<\/div><div class=\"question-group-name Executive Function\">Executive Function<\/div><span class=\"question\">I struggle to prioritize tasks based on their importance.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q27\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q27\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"28\" data-section=\"executive_function\"><div class=\"step\">Step 28.<\/div><div class=\"question-group-name Executive Function\">Executive Function<\/div><span class=\"question\">I procrastinate on starting complex or challenging projects.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q28\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q28\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"29\" data-section=\"executive_function\"><div class=\"step\">Step 29.<\/div><div class=\"question-group-name Executive Function\">Executive Function<\/div><span class=\"question\">I have trouble managing my time effectively.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q29\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q29\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div><div class=\"question-wrapper\" data-question=\"30\" data-section=\"executive_function\"><div class=\"step\">Step 30.<\/div><div class=\"question-group-name Executive Function\">Executive Function<\/div><span class=\"question\">I find it difficult to maintain focus on long-term goals.<\/span><div class=\"select-button-container\"><label><input type=\"radio\" name=\"q30\" value=\"no\"> <span>Disagree<\/span><\/label><label><input type=\"radio\" name=\"q30\" value=\"yes\" required><span>Agree<\/span><\/label> <\/div><\/div>        <\/div>\n\n        <div class=\"button-navigation\">\n            <button type=\"button\" id=\"prevBtn\" disabled>Previous<\/button>\n            <button type=\"button\" id=\"nextBtn\">Next<\/button>\n        <\/div>\n\n       \n    <\/form>\n\n    <\/div>\n\n\n     <div id=\"result\"><\/div>\n\n    <script>\n    (function(){\n        const totalQuestions = 30;\n        let currentQuestion = 1;\n        const sectionScores = {\n            attention_focus: 0,\n            processing_speed: 0,\n            memory: 0,\n            problem_solving: 0,\n            cognitive_flexibility: 0,\n            executive_function: 0,\n        };\n\n        const mapSection = {\"1\":\"attention_focus\",\"2\":\"attention_focus\",\"3\":\"attention_focus\",\"4\":\"attention_focus\",\"5\":\"attention_focus\",\"6\":\"processing_speed\",\"7\":\"processing_speed\",\"8\":\"processing_speed\",\"9\":\"processing_speed\",\"10\":\"processing_speed\",\"11\":\"memory\",\"12\":\"memory\",\"13\":\"memory\",\"14\":\"memory\",\"15\":\"memory\",\"16\":\"problem_solving\",\"17\":\"problem_solving\",\"18\":\"problem_solving\",\"19\":\"problem_solving\",\"20\":\"problem_solving\",\"21\":\"cognitive_flexibility\",\"22\":\"cognitive_flexibility\",\"23\":\"cognitive_flexibility\",\"24\":\"cognitive_flexibility\",\"25\":\"cognitive_flexibility\",\"26\":\"executive_function\",\"27\":\"executive_function\",\"28\":\"executive_function\",\"29\":\"executive_function\",\"30\":\"executive_function\"};\n\n        const intro = document.getElementById('cognitive-intro');\n        const startButton = document.getElementById('start-cognitive-test');\n        const progressBar = document.getElementById('progressBar');\n        const form = document.getElementById('cognitiveAssessmentForm');\n        const testSection = document.getElementById('testSection');\n        const nextBtn = document.getElementById('nextBtn');\n        const prevBtn = document.getElementById('prevBtn');\n        const resultContainer = document.getElementById('result');\n        const questions = document.querySelectorAll('.question-wrapper');\n\n        const sectionTabElements = document.querySelectorAll('.question-tab');\n        const sectionCounts = {\n            attention_focus: 0,\n            processing_speed: 0,\n            memory: 0,\n            problem_solving: 0,\n            cognitive_flexibility: 0,\n            executive_function: 0,\n        };\n        const sectionTotal = {\n            attention_focus: 5,\n            processing_speed: 5,\n            memory: 5,\n            problem_solving: 5,\n            cognitive_flexibility: 5,\n            executive_function: 5,\n        };\n\n\n\n        function showQuestion(index) {\n            questions.forEach(q => q.classList.remove('active'));\n            const question = document.querySelector('.question-wrapper[data-question=\"' + index + '\"]');\n            if (question) question.classList.add('active');\n\n            prevBtn.disabled = (index === 1);\n            nextBtn.textContent = (index === totalQuestions) ? 'Finalize' : 'Next';\n\n            const percent = Math.round((index - 1) \/ totalQuestions * 100);\n            progressBar.style.width = percent + '%';\n        }\n\n        nextBtn.addEventListener('click', function(){\n            const currentInput = document.querySelector('input[name=\"q' + currentQuestion + '\"]:checked');\n            if (!currentInput) {\n                alert('Please select an answer.');\n                return;\n            }\n\n            const section = mapSection[currentQuestion];\n            if (currentInput.value === 'yes') {\n                sectionScores[section]++;\n            }\n\n            const sectionInputName = \"q\" + currentQuestion;\n            const sectionInputs = document.querySelectorAll('input[name=\"' + sectionInputName + '\"]');\n            if (sectionInputs.length) {\n                const currentSection = mapSection[currentQuestion];\n                sectionCounts[currentSection]++;\n\n                if (sectionCounts[currentSection] === sectionTotal[currentSection]) {\n                    const tab = document.querySelector('.question-tab[data-section=\"' + currentSection + '\"]');\n                    if (tab) tab.classList.add('active');\n                }\n            }\n\n\n            if (currentQuestion === totalQuestions) {\n                testSection.style.display = 'none';\n\n                const weakAreas = [];\n                const labels = {\n                    attention_focus: 'Attention',\n                    processing_speed: 'Processing Speed',\n                    memory: 'Memory',\n                    problem_solving: 'Problem-Solving',\n                    cognitive_flexibility: 'Cognitive Flexibility',\n                    executive_function: 'Executive Function'\n                };\n\n                for (const [section, score] of Object.entries(sectionScores)) {\n                    if (score >= 3) weakAreas.push(section);\n                }\n\n                const formattedAreas = weakAreas\n                    .map(key => `<div class=\"weak-area\">${labels[key] || key}<\/div>`)\n                    .join('');\n\n                const xhr = new XMLHttpRequest();\n                xhr.open('POST', 'https:\/\/games.r-s.space\/wp-admin\/admin-ajax.php');\n                xhr.setRequestHeader('Content-Type', 'application\/x-www-form-urlencoded');\n                xhr.onload = function() {\n                    if (xhr.status === 200) {\n                        resultContainer.innerHTML = `\n                            <img decoding=\"async\" src=\"https:\/\/games.r-s.space\/wp-content\/uploads\/2025\/06\/skills-icons-1.svg\" alt=\"\">\n                            <h3>Your Cognitive Test Results!<\/h3>\n                            <p>Thank you for completing this assessment. Your responses will help identify specific cognitive functions that may benefit from targeted training exercises.<\/p>\n                            <div class=\"weak-areas-container\">${formattedAreas}<\/div>\n                            <a href=\"\/my-account\/cognitive_results\/\"><span class=\"button\">Upgrade your skills free<\/span><\/a>\n                            <a href=\"\/\"><span class=\"leave\">Leave<\/span><\/a>\n                            ${xhr.responseText}\n                        `;\n                    } else {\n                        resultContainer.innerHTML = '<p>\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0442\u043e\u0432\u0430\u0440\u043e\u0432.<\/p>';\n                    }\n                };\n                xhr.send('action=get_cognitive_products&skills=' + weakAreas.join(',') + '&section_scores=' + JSON.stringify(sectionScores));\n            } else {\n                currentQuestion++;\n                showQuestion(currentQuestion);\n            }\n        });\n\n        prevBtn.addEventListener('click', function(){\n            if (currentQuestion > 1) {\n                currentQuestion--;\n                showQuestion(currentQuestion);\n            }\n        });\n\n        startButton.addEventListener('click', function () {\n            intro.classList.add('hidden');\n            testSection.classList.remove('hidden');\n            showQuestion(1);\n        });\n\n        showQuestion(currentQuestion);\n    })();\n    <\/script>\n\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\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":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-89","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/games.r-s.space\/api\/wp\/v2\/pages\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/games.r-s.space\/api\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/games.r-s.space\/api\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/games.r-s.space\/api\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/games.r-s.space\/api\/wp\/v2\/comments?post=89"}],"version-history":[{"count":22,"href":"https:\/\/games.r-s.space\/api\/wp\/v2\/pages\/89\/revisions"}],"predecessor-version":[{"id":1065,"href":"https:\/\/games.r-s.space\/api\/wp\/v2\/pages\/89\/revisions\/1065"}],"wp:attachment":[{"href":"https:\/\/games.r-s.space\/api\/wp\/v2\/media?parent=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}