{"id":14243,"date":"2026-04-25T12:27:50","date_gmt":"2026-04-25T11:27:50","guid":{"rendered":"https:\/\/staging.fremera.com\/fr\/match-analysis\/"},"modified":"2026-04-26T10:31:58","modified_gmt":"2026-04-26T09:31:58","slug":"match-analysis","status":"publish","type":"page","link":"https:\/\/fremera.com\/ar\/match-analysis\/","title":{"rendered":"\u062a\u062d\u0644\u064a\u0644 \u0645\u0628\u0627\u0631\u064a\u0627\u062a"},"content":{"rendered":"<style>\n        body.page-id-14243 .site-header,\n        body.page-id-14243 .header-navbar,\n        body.page-id-14243 .site-navbar,\n        body.page-id-14243 .fremera-topnav,\n        body.page-id-14243 .site-footer,\n        body.page-id-14243 .fremera-prefooter,\n        body.page-id-14243 .footer-navbar,\n        body.page-id-14243 .footer-widgets,\n        body.page-id-14243 footer,\n        body.page-id-14243 .entry-header,\n        body.page-id-14243 .page-header,\n        body.page-id-14243 .hp-page__header,\n        body.page-id-14243 .breadcrumbs,\n        body.page-id-14243 .breadcrumb{\n            display:none !important;\n        }\n\n        body.page-id-14243,\n        body.page-id-14243 html{\n            background:#000 !important;\n        }\n\n        body.page-id-14243 #site-content,\n        body.page-id-14243 .site-content,\n        body.page-id-14243 .content,\n        body.page-id-14243 .container,\n        body.page-id-14243 .site-main,\n        body.page-id-14243 .content-area,\n        body.page-id-14243 .hp-page,\n        body.page-id-14243 .hp-page__content,\n        body.page-id-14243 article.page,\n        body.page-id-14243 .entry-content{\n            max-width:none !important;\n            width:100% !important;\n            margin:0 !important;\n            padding:0 !important;\n            background:#000 !important;\n            min-height:100vh !important;\n            border:0 !important;\n            box-shadow:none !important;\n        }\n\n        .fremera-match-ui{\n            position:relative;\n            left:50%;\n            right:50%;\n            margin-left:-50vw;\n            margin-right:-50vw;\n            width:100vw;\n            min-height:100vh;\n            background:#000;\n            color:#fff;\n            overflow:hidden;\n        }\n\n        .fremera-match-ui__inner{\n            width:min(100%, 1680px);\n            margin:0 auto;\n            padding:64px 44px 90px;\n            box-sizing:border-box;\n        }\n\n        .fremera-match-ui__hello{\n            margin:0 0 84px 0;\n            color:#fff;\n            font-family:Arial, Helvetica, sans-serif;\n            font-size:27px;\n            line-height:1.05;\n            font-weight:400;\n            letter-spacing:-0.03em;\n            text-align:left;\n            direction:ltr;\n        }\n\n        .fremera-match-ui__hello strong{\n            font-weight:700;\n        }\n\n        .fremera-match-ui__title{\n            margin:0 0 34px 0;\n            color:#f5f5f5;\n            font-family:Georgia, \"Times New Roman\", serif;\n            font-size:31px;\n            line-height:1.06;\n            font-weight:400;\n            letter-spacing:-0.03em;\n            text-align:left;\n            direction:ltr;\n        }\n\n\n        .fremera-noor-card{\n            margin-top:18px;\n            border:1px solid rgba(255,255,255,.08);\n            background:#0c111b;\n            border-radius:20px;\n            padding:20px 18px;\n            box-shadow:0 10px 30px rgba(0,0,0,.25);\n            color:#f8fafc;\n        }\n        .fremera-noor-card__eyebrow{\n            font-size:11px;\n            letter-spacing:.12em;\n            text-transform:uppercase;\n            color:#93c5fd;\n            font-weight:700;\n            margin-bottom:6px;\n        }\n        .fremera-noor-card__title{\n            font-size:18px;\n            font-weight:800;\n            color:#ffffff;\n            line-height:1.35;\n            margin-bottom:14px;\n        }\n        .fremera-noor-card__intro{\n            color:#dbeafe;\n            line-height:1.8;\n            margin-bottom:12px;\n        }\n        .fremera-noor-card__section{\n            margin-top:12px;\n            padding:14px;\n            border:1px solid rgba(255,255,255,.06);\n            border-radius:16px;\n            background:#0f1724;\n        }\n        .fremera-noor-card__label{\n            font-size:11px;\n            letter-spacing:.12em;\n            text-transform:uppercase;\n            color:#9ca3af;\n            font-weight:700;\n            margin-bottom:8px;\n        }\n        .fremera-noor-card__headline{\n            color:#ffffff;\n            font-weight:700;\n            line-height:1.7;\n        }\n        .fremera-noor-card__value{\n            color:#e5e7eb;\n            line-height:1.85;\n        }\n        .fremera-noor-card__focus{\n            color:#c7d2fe;\n            line-height:1.8;\n        }\n        .fremera-noor-card__linkwrap{\n            margin-top:2px;\n        }\n        .fremera-noor-card__link{\n            display:inline-flex;\n            align-items:center;\n            justify-content:center;\n            min-height:40px;\n            padding:0 14px;\n            border-radius:12px;\n            text-decoration:none;\n            background:#1d4ed8;\n            color:#fff !important;\n            font-weight:700;\n            font-size:14px;\n        }\n        .fremera-noor-card__link:hover{\n            opacity:.92;\n        }\n        .fremera-match-ui__panel{\n            position:relative;\n            width:100%;\n            min-height:300px;\n            border-radius:42px;\n            background:linear-gradient(90deg,#1a1b1f 0%, #232429 50%, #1a1b1f 100%);\n            box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);\n        }\n\n        .fremera-match-ui__input{\n            position:absolute;\n            inset:0;\n            width:100%;\n            height:100%;\n            background:transparent;\n            border:0;\n            outline:none;\n            resize:none;\n            color:#f3f4f6;\n            padding:86px 120px 72px 34px;\n            font-family:Georgia, \"Times New Roman\", serif;\n            font-size:24px;\n            line-height:1.15;\n            font-weight:400;\n            box-sizing:border-box;\n            text-align:left;\n            direction:ltr;\n        }\n\n        .fremera-match-ui__input::placeholder{\n            color:rgba(255,255,255,.88);\n            opacity:1;\n        }\n\n        .fremera-match-ui__icon{\n            position:absolute;\n            right:34px;\n            border:0;\n            background:transparent;\n            color:#fff;\n            padding:0;\n            margin:0;\n            display:flex;\n            align-items:center;\n            justify-content:center;\n            cursor:pointer;\n        }\n\n        .fremera-match-ui__mic{\n            top:50%;\n            transform:translateY(-78%);\n            width:34px;\n            height:34px;\n        }\n\n        .fremera-match-ui__send{\n            bottom:28px;\n            width:34px;\n            height:34px;\n        }\n\n        .fremera-match-ui__icon svg{\n            width:100%;\n            height:100%;\n            display:block;\n        }\n\n        @media (max-width: 1200px){\n            .fremera-match-ui__inner{\n                padding:48px 26px 72px;\n            }\n            .fremera-match-ui__hello{\n                font-size:21px;\n                margin-bottom:56px;\n            }\n            .fremera-match-ui__title{\n                font-size:24px;\n                margin-bottom:24px;\n            }\n            .fremera-match-ui__panel{\n                min-height:240px;\n                border-radius:34px;\n            }\n            .fremera-match-ui__input{\n                font-size:17px;\n                padding:68px 92px 58px 24px;\n            }\n            .fremera-match-ui__mic,\n            .fremera-match-ui__send{\n                right:24px;\n                width:30px;\n                height:30px;\n            }\n        }\n\n        @media (max-width: 768px){\n            .fremera-match-ui__inner{\n                padding:30px 16px 44px;\n            }\n            .fremera-match-ui__hello{\n                font-size:15px;\n                margin-bottom:34px;\n            }\n            .fremera-match-ui__title{\n                font-size:17px;\n                margin-bottom:18px;\n            }\n            .fremera-match-ui__panel{\n                min-height:200px;\n                border-radius:26px;\n            }\n            .fremera-match-ui__input{\n                font-size:24px;\n                padding:56px 74px 52px 18px;\n            }\n            .fremera-match-ui__mic,\n            .fremera-match-ui__send{\n                right:18px;\n                width:26px;\n                height:26px;\n            }\n        }\n        \n        \/* FREMERA PLAYER INTELLIGENCE INTRO PATCH START *\/\n        .fremera-player-intel-tabs{\n            display:flex;\n            flex-wrap:wrap;\n            gap:10px;\n            margin:-10px 0 20px 0;\n        }\n        .fremera-player-intel-tabs__item{\n            border:1px solid rgba(255,255,255,.12);\n            background:rgba(255,255,255,.05);\n            color:#fff;\n            border-radius:999px;\n            padding:10px 14px;\n            font-size:13px;\n            font-weight:700;\n            cursor:default;\n        }\n        .fremera-player-intel-tabs__item.is-active{\n            border-color:rgba(212,175,55,.55);\n            background:rgba(212,175,55,.14);\n            color:#facc15;\n        }\n        .fremera-player-intel-note{\n            max-width:780px;\n            margin:0 0 22px 0;\n            color:#cbd5e1;\n            font-size:15px;\n            line-height:1.8;\n        }\n        @media (max-width:768px){\n            .fremera-player-intel-tabs{gap:8px;margin-top:0}\n            .fremera-player-intel-tabs__item{font-size:12px;padding:9px 11px}\n            .fremera-player-intel-note{font-size:13px}\n        }\n        \/* FREMERA PLAYER INTELLIGENCE INTRO PATCH END *\/\n\n<\/style>\n\n        <div class=\"fremera-match-ui\">\n            <div class=\"fremera-match-ui__inner\">\n                <div class=\"fremera-match-ui__hello\">Noor <strong>Player Intelligence<\/strong><\/div>\n                <div class=\"fremera-match-ui__title\">Analyze a Player<\/div>\n\n                <div class=\"fremera-player-intel-tabs\">\n                    <button type=\"button\" class=\"fremera-player-intel-tabs__item is-active\">Player Video Analysis<\/button>\n                    <button type=\"button\" class=\"fremera-player-intel-tabs__item\">Player Profile Analysis<\/button>\n                    <button type=\"button\" class=\"fremera-player-intel-tabs__item\">Pro Player Reference<\/button>\n                <\/div>\n                <div class=\"fremera-player-intel-note\">\n                    Reference \/ Profile-assisted analysis. Noor can analyze Fremera profile data or professional references. True video analysis will use selected internal Fremera videos only. External videos are not used.\n                <\/div>\n\n                <div class=\"fremera-match-ui__panel\">\n                    <textarea id=\"fremera_noor_input\" class=\"fremera-match-ui__input\" placeholder=\"Select a Fremera player video or type a player name\"><\/textarea>\n\n                    <button id=\"fremera_noor_mic\" class=\"fremera-match-ui__icon fremera-match-ui__mic\" type=\"button\" aria-label=\"Voice\">\n                        <svg viewbox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n                            <path d=\"M12 15a3 3 0 0 0 3-3V7a3 3 0 1 0-6 0v5a3 3 0 0 0 3 3Z\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\n                            <path d=\"M19 11.5a7 7 0 0 1-14 0\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"\/>\n                            <path d=\"M12 18.5v3\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"\/>\n                        <\/svg>\n                    <\/button>\n\n                    <button id=\"fremera_noor_send\" class=\"fremera-match-ui__icon fremera-match-ui__send\" type=\"button\" aria-label=\"Analyze Player\">\n                        <svg viewbox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n                            <path d=\"M8 6l8 6-8 6\" stroke=\"currentColor\" stroke-width=\"2.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\n                        <\/svg>\n                    <\/button>\n                <\/div>\n\n                <div id=\"fremera_noor_result\" style=\"display:none;margin-top:26px;background:#111318;border:1px solid rgba(255,255,255,.08);border-radius:28px;padding:22px 24px;color:#f3f4f6;max-height:520px;overflow-y:auto;overscroll-behavior:contain;\">\n                    <div id=\"fremera_noor_result_head\" style=\"font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:700;margin-bottom:12px;\">Noor result<\/div>\n                    <div id=\"fremera_noor_result_body\" style=\"white-space:pre-wrap;line-height:1.9;font-size:18px;max-width:100%;overflow-wrap:anywhere;\"><\/div>\n                <\/div>\n\n                <script>\n                (function(){\n                    var input = document.getElementById('fremera_noor_input');\n                    var sendBtn = document.getElementById('fremera_noor_send');\n                    var micBtn = document.getElementById('fremera_noor_mic');\n                    var resultWrap = document.getElementById('fremera_noor_result');\n                    var resultHead = document.getElementById('fremera_noor_result_head');\n                    var resultBody = document.getElementById('fremera_noor_result_body');\n                    var endpoint = '\/wp-json\/fremera\/v1\/match-analysis';\n                      var noorLastRequestAt = 0;\n                      var noorMinIntervalMs = 12000;\n\n                    if (!input || !sendBtn || !resultWrap || !resultBody) return;\n\n                    function escHtml(v){\n                        return String(v || '')\n                            .replace(\/&\/g,'&amp;')\n                            .replace(new RegExp(String.fromCharCode(60), 'g'),'&lt;')\n                            .replace(new RegExp(String.fromCharCode(62), 'g'),'&gt;')\n                            .replace(\/\"\/g,'&quot;')\n                            .replace(\/'\/g,'&#039;');\n                    }\n\n                    function showResult(title, body){\n                        resultWrap.style.display = 'block';\n\n                        var safeTitle = 'Player Performance Report';\n                        var safeText = escHtml(body || '');\n\n                        safeText = safeText\n                            .replace(\/^Source:\\s*$\/gm, 'SOURCE')\n                            .replace(\/^Picked headline:\\s*$\/gm, 'HEADLINE')\n                            .replace(\/^Match Summary:\\s*$\/gm, 'MATCH_SUMMARY')\n                            .replace(\/^Tactical Reading:\\s*$\/gm, 'TACTICAL_READING')\n                            .replace(\/^Key Mistakes:\\s*$\/gm, 'KEY_MISTAKES')\n                            .replace(\/^Team Focus:\\s*$\/gm, 'TEAM_FOCUS')\n                            .replace(\/^Player Focus:\\s*$\/gm, 'PLAYER_FOCUS')\n                            .replace(\/^Scout View:\\s*$\/gm, 'SCOUT_VIEW')\n                            .replace(\/^Performance Scores:\\s*$\/gm, 'PERFORMANCE_SCORES')\n                            .replace(\/^Next Training Focus:\\s*$\/gm, 'NEXT_TRAINING_FOCUS')\n                            .replace(\/^Pro Insight:\\s*$\/gm, 'PRO_INSIGHT')\n                            .replace(\/^Requested focus:\\s*$\/gm, 'REQUESTED_FOCUS')\n                            .replace(\/^Player Snapshot:\\s*$\/gm, 'PLAYER_SNAPSHOT')\n                            .replace(\/^Strengths:\\s*$\/gm, 'STRENGTHS')\n                            .replace(\/^Weaknesses:\\s*$\/gm, 'WEAKNESSES')\n                            .replace(\/^Technical Ability:\\s*$\/gm, 'TECHNICAL_ABILITY')\n                            .replace(\/^Tactical Understanding:\\s*$\/gm, 'TACTICAL_UNDERSTANDING')\n                            .replace(\/^Decision Making:\\s*$\/gm, 'DECISION_MAKING')\n                            .replace(\/^Physical Signs:\\s*$\/gm, 'PHYSICAL_SIGNS')\n                            .replace(\/^Scout Potential:\\s*$\/gm, 'SCOUT_POTENTIAL')\n                            .replace(\/^Profile Improvement:\\s*$\/gm, 'PROFILE_IMPROVEMENT')\n                            .replace(\/^Source link:\\s*$\/gm, 'SOURCE_LINK');\n\n                        var lines = safeText.split(\/\\n+\/);\n                        var sections = {\n                            SOURCE: '',\n                            HEADLINE: '',\n                            MATCH_SUMMARY: '',\n                            TACTICAL_READING: '',\n                            KEY_MISTAKES: '',\n                            TEAM_FOCUS: '',\n                            PLAYER_FOCUS: '',\n                            SCOUT_VIEW: '',\n                            PERFORMANCE_SCORES: '',\n                            NEXT_TRAINING_FOCUS: '',\n                            PRO_INSIGHT: '',\n                            REQUESTED_FOCUS: '',\n                            PLAYER_SNAPSHOT: '',\n                            STRENGTHS: '',\n                            WEAKNESSES: '',\n                            TECHNICAL_ABILITY: '',\n                            TACTICAL_UNDERSTANDING: '',\n                            DECISION_MAKING: '',\n                            PHYSICAL_SIGNS: '',\n                            SCOUT_POTENTIAL: '',\n                            PROFILE_IMPROVEMENT: '',\n                            SOURCE_LINK: ''\n                        };\n\n                        var intro = [];\n                        var current = 'INTRO';\n\n                        lines.forEach(function(line){\n                            var v = String(line || '').trim();\n                            if (!v) return;\n                            if (sections.hasOwnProperty(v)) {\n                                current = v;\n                                return;\n                            }\n                            if (current === 'INTRO') intro.push(v);\n                            else sections[current] += (sections[current] ? '\\n' : '') + v;\n                        });\n\n                        function br(v){\n                            return String(v || '').replace(\/\\n\/g,'<br>');\n                        }\n\n                        function addSection(label, value, cls, extraStyle){\n                            if (!value) return '';\n                            return '<div class=\"fremera-noor-card__section\" ' + (extraStyle || '') + '>' +\n                                '<div class=\"fremera-noor-card__label\">' + label + '<\\\/div>' +\n                                '<div class=\"' + (cls || 'fremera-noor-card__value') + '\">' + br(value) + '<\\\/div>' +\n                            '<\\\/div>';\n                        }\n\n                        var html = '';\n                        html += '<div class=\"fremera-noor-card\">';\n                        html +=   '<div class=\"fremera-noor-card__eyebrow\">Fremera Intelligence<\\\/div>';\n                        html +=   '<div class=\"fremera-noor-card__title\">' + safeTitle + '<\\\/div>';\n\n                        var cleanIntro = intro.filter(function(x){\n                            return x !== 'Player Performance Report' && x !== 'Noor fast analysis';\n                        });\n\n                        if (cleanIntro.length) {\n                            html += '<div class=\"fremera-noor-card__intro\">' + cleanIntro.join('<br>') + '<\\\/div>';\n                        }\n\n                        html += addSection('Source', sections.SOURCE, 'fremera-noor-card__value');\n                    html += addSection('Picked headline', sections.HEADLINE, 'fremera-noor-card__headline');\n                    html += addSection('Player Snapshot', sections.PLAYER_SNAPSHOT, 'fremera-noor-card__value');\n                    html += addSection('Strengths', sections.STRENGTHS, 'fremera-noor-card__focus');\n                    html += addSection('Weaknesses', sections.WEAKNESSES, 'fremera-noor-card__value');\n                    html += addSection('Technical Ability', sections.TECHNICAL_ABILITY, 'fremera-noor-card__value');\n                    html += addSection('Tactical Understanding', sections.TACTICAL_UNDERSTANDING, 'fremera-noor-card__value');\n                    html += addSection('Decision Making', sections.DECISION_MAKING, 'fremera-noor-card__value');\n                    html += addSection('Physical Signs', sections.PHYSICAL_SIGNS, 'fremera-noor-card__value');\n                    html += addSection('Scout Potential', sections.SCOUT_POTENTIAL, 'fremera-noor-card__focus');\n                    html += addSection('Next Training Focus', sections.NEXT_TRAINING_FOCUS, 'fremera-noor-card__value');\n                    html += addSection('Profile Improvement', sections.PROFILE_IMPROVEMENT, 'fremera-noor-card__value');\n                    html += addSection('Requested focus', sections.REQUESTED_FOCUS, 'fremera-noor-card__focus');\n\n    if (sections.SOURCE_LINK) {\n                            var safeHref = sections.SOURCE_LINK.trim();\n                            html += '<div class=\"fremera-noor-card__section\">' +\n                                '<div class=\"fremera-noor-card__label\">Source<\\\/div>' +\n                                '<div class=\"fremera-noor-card__linkwrap\">' +\n                                    '<a class=\"fremera-noor-card__link\" href=\"' + safeHref + '\" target=\"_blank\" rel=\"noopener\">Open source<\\\/a>' +\n                                '<\\\/div>' +\n                            '<\\\/div>';\n                        }\n\n                        html += '<\\\/div>';\n\n                        resultHead.style.display = 'none';\n                        resultBody.innerHTML = html;\n                    }\n\n                      function buildPayload(text){\n                          var q = String(text || '').trim();\n                          var clean = q.replace(\/\\s+\/g, ' ').trim();\n\n                          var home = clean;\n                          var away = 'Unknown Team';\n                          var matchTime = '';\n\n                          var dateMatch = clean.match(\/\\b(20\\d{2}-\\d{2}-\\d{2})\\b\/);\n                          if (dateMatch) {\n                              matchTime = dateMatch[1];\n                          }\n\n                          var playerInMatch = clean.match(\/^analyze\\s+(.+?)\\s+in\\s+(.+?)\\s+vs\\s+(.+?)(?:\\s*[:,-]|\\s+(?:scout|performance|scores|mistakes|next|training|focus|analysis|tactics|xg|key\\s+moments)\\b|$)\/i);\n\n                          if (playerInMatch) {\n                              home = (playerInMatch[2] || '').trim() || clean;\n                              away = (playerInMatch[3] || '').trim() || 'Unknown Team';\n                          } else {\n                              var vsMatch = clean.match(\/^(.*?)\\s+vs\\s+(.*?)(?:\\s+(?:match\\s+analysis|analysis|tactics|mistakes|xg|key\\s+moments|preview|report|result|highlights|summary)\\b|\\.|,| on\\s+20\\d{2}-\\d{2}-\\d{2}|$)\/i);\n\n                              if (vsMatch) {\n                                  home = (vsMatch[1] || '').trim() || clean;\n                                  away = (vsMatch[2] || '').trim() || 'Unknown Team';\n                              } else {\n                                  var scoreMatch = clean.match(\/^(.*?)\\s+\\d+\\s*[-:]\\s*\\d+\\s+(.*?)(?:\\s+on\\s+20\\d{2}-\\d{2}-\\d{2}|\\.|,|$)\/i);\n\n                                  if (scoreMatch) {\n                                      home = (scoreMatch[1] || '').trim() || clean;\n                                      away = (scoreMatch[2] || '').trim() || 'Unknown Team';\n                                  }\n                              }\n                          }\n\n                          return {\n                              home_team: home,\n                              away_team: away,\n                              match_time: matchTime,\n                              target_team: home,\n                              notes: q,\n                              mode: 'analysis',\n                              language: 'en'\n                          };\n                      }\n\n                    async function sendPrompt(){\n                        var now = Date.now();\n                          if (now - noorLastRequestAt < noorMinIntervalMs) {\n                              var waitSeconds = Math.ceil((noorMinIntervalMs - (now - noorLastRequestAt)) \/ 1000);\n                              showResult('Noor result', 'Please wait ' + waitSeconds + ' seconds before sending another Noor analysis request.');\n                              return;\n                          }\n\n                          var text = String(input.value || '').trim();\n                        if (!text) {\n                            showResult('Noor result', 'Please enter a Fremera player, profile, video, or football analysis request first.');\n                            return;\n                        }\n\n                                                  var allowedIntent = \/(player|football|soccer|match|club|scout|talent|profile|video|performance|training|position|academy|team|goalkeeper|defender|midfielder|winger|striker|fremera|noor)\/i;\n                          var blockedIntent = \/(password|token|secret|api key|database|server|root|ssh|wp-config|sql|hack|exploit|malware|bypass|admin)\/i;\n\n                          if (!allowedIntent.test(text) || blockedIntent.test(text)) {\n                              showResult('Noor result', 'This request is outside Noor Player Intelligence scope. Please ask about a Fremera player, football profile, player video, scouting, performance, or training improvement.');\n                              return;\n                          }\n\n                          noorLastRequestAt = Date.now();\n                          sendBtn.disabled = true;\n                          input.disabled = true;\n                        showResult('Noor result', 'Noor is analyzing...');\n\n                        try {\n                            var res = await fetch(endpoint, {\n                                method: 'POST',\n                                headers: { 'Content-Type': 'application\/json' },\n                                credentials: 'same-origin',\n                                body: JSON.stringify(buildPayload(text))\n                            });\n\n                            var data = await res.json();\n                            if (!data || !data.ok) {\n                                throw new Error('noor_request_failed');\n                            }\n\n                            var model = data.model || 'Noor';\n                            var analysis = String(data.analysis || '').trim() || 'No result returned.';\n                            showResult('Player Performance Report', analysis);\n                        } catch (e) {\n                            showResult('Noor result', 'Noor could not complete this request right now. Please try again with a clear Fremera player, profile, video, or football analysis request.);\n                        } finally {\n                            sendBtn.disabled = false;\n                            input.disabled = false;\n                        }\n                    }\n\n                    sendBtn.addEventListener('click', sendPrompt);\n\n                    input.addEventListener('keydown', function(e){\n                        if (e.key === 'Enter' && !e.shiftKey) {\n                            e.preventDefault();\n                            sendPrompt();\n                        }\n                    });\n\n                    if (micBtn) {\n                        micBtn.addEventListener('click', function(){\n                            var SR = window.SpeechRecognition || window.webkitSpeechRecognition;\n                            if (!SR) {\n                                showResult('Noor result', 'Voice input is not supported in this browser.');\n                                return;\n                            }\n                            var rec = new SR();\n                            rec.lang = 'en-US';\n                            rec.interimResults = false;\n                            rec.maxAlternatives = 1;\n                            rec.onresult = function(ev){\n                                var t = ((((ev || {}).results || [])[0] || [])[0] || {}).transcript || '';\n                                if (t) input.value = t.trim();\n                            };\n                            rec.start();\n                        });\n                    }\n                })();\n                <\/script>\n            <\/div>\n        <\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-14243","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fremera.com\/ar\/wp-json\/wp\/v2\/pages\/14243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fremera.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fremera.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/fremera.com\/ar\/wp-json\/wp\/v2\/comments?post=14243"}],"version-history":[{"count":8,"href":"https:\/\/fremera.com\/ar\/wp-json\/wp\/v2\/pages\/14243\/revisions"}],"predecessor-version":[{"id":14251,"href":"https:\/\/fremera.com\/ar\/wp-json\/wp\/v2\/pages\/14243\/revisions\/14251"}],"wp:attachment":[{"href":"https:\/\/fremera.com\/ar\/wp-json\/wp\/v2\/media?parent=14243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}