{"id":11,"date":"2026-04-01T23:49:50","date_gmt":"2026-04-01T23:49:50","guid":{"rendered":"http:\/\/nmb.altib-albadil.com\/?page_id=11"},"modified":"2026-04-02T00:21:59","modified_gmt":"2026-04-02T00:21:59","slug":"%d9%86%d8%aa%d9%8a%d8%ac%d8%a9-%d9%81%d8%ad%d8%b5-%d8%a7%d9%84%d8%b1%d9%82%d9%85-%d8%aa%d8%b9%d8%b1%d9%81-%d8%b9%d9%84%d9%89-%d9%87%d9%88%d9%8a%d8%a9-%d8%a7%d9%84%d9%85%d8%aa%d8%b5%d9%84-%d8%a7%d9%84","status":"publish","type":"page","link":"https:\/\/nmb.altib-albadil.com\/?page_id=11","title":{"rendered":"\u0646\u062a\u064a\u062c\u0629 \u0641\u062d\u0635 \u0627\u0644\u0631\u0642\u0645: \u062a\u0639\u0631\u0641 \u0639\u0644\u0649 \u0647\u0648\u064a\u0629 \u0627\u0644\u0645\u062a\u0635\u0644 \u0627\u0644\u0645\u062c\u0647\u0648\u0644 \u062a\u0641\u0635\u064a\u0644\u064a\u0627\u064b"},"content":{"rendered":"\n<style>\n.loader {\n  border: 4px solid #f3f3f3;\n  border-radius: 50%;\n  border-top: 4px solid #0073aa;\n  width: 40px;\n  height: 40px;\n  -webkit-animation: spin 1s linear infinite;\n  animation: spin 1s linear infinite;\n  margin: 0 auto;\n}\n@-webkit-keyframes spin {\n  0% { -webkit-transform: rotate(0deg); }\n  100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes spin {\n  0% { transform: rotate(0deg); }\n  100% { transform: rotate(360deg); }\n}\n.pulsing-text {\n  animation: pulse 1.5s infinite;\n}\n@keyframes pulse {\n  0% { opacity: 0.5; }\n  50% { opacity: 1; }\n  100% { opacity: 0.5; }\n}\n\/* \u062a\u0646\u0633\u064a\u0642 \u0627\u0644\u0635\u0646\u062f\u0648\u0642 \u0627\u0644\u062a\u0631\u0648\u064a\u062c\u064a \u0644\u0644\u062a\u0637\u0628\u064a\u0642 *\/\n.app-promo-box {\n  margin-top: 20px; \n  padding: 15px; \n  background-color: #f8fafc; \n  border: 1px dashed #cbd5e1; \n  border-radius: 10px;\n  text-align: center;\n}\n.app-promo-btn {\n  display: inline-block; \n  margin-top: 10px;\n  padding: 10px 20px; \n  background-color: #10b981; \n  color: white !important; \n  text-decoration: none; \n  border-radius: 25px; \n  font-weight: bold; \n  font-size: 14px; \n  transition: 0.3s; \n  box-shadow: 0 4px 6px rgba(16,185,129,0.2);\n}\n<\/style>\n\n<div style=\"max-width: 400px; margin: auto; text-align: center; font-family: Arial, sans-serif;\">\n    \n    <div id=\"loadingMsg\" style=\"padding: 30px 10px; background-color: #fff; border: 1px solid #e2e8f0; border-radius: 8px; margin-top: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05);\">\n        <div class=\"loader\"><\/div>\n        <p class=\"pulsing-text\" style=\"color: #0073aa; margin-top: 15px; font-weight: bold; font-size: 16px;\">\u23f3 \u062c\u0627\u0631\u064a \u0627\u0644\u0628\u062d\u062b \u0648\u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0627\u0644\u0623\u0633\u0645\u0627\u0621&#8230;<\/p>\n        \n        <div class=\"app-promo-box\">\n            <p style=\"margin: 0 0 5px 0; font-size: 14px; color: #1e293b; font-weight: bold;\">\ud83d\ude80 \u0644\u0627 \u062a\u062d\u0628 \u0627\u0644\u0627\u0646\u062a\u0638\u0627\u0631\u061f<\/p>\n            <p style=\"margin: 0 0 10px 0; font-size: 12px; color: #64748b;\">\u062d\u0645\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0644\u0644\u0628\u062d\u062b \u0627\u0644\u0641\u0648\u0631\u064a \u0628\u062f\u0648\u0646 \u0642\u064a\u0648\u062f<\/p>\n            <a href=\"https:\/\/nmb.altib-albadil.com\/\" class=\"app-promo-btn\">\ud83d\udcf1 \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0627\u0644\u0622\u0646<\/a>\n        <\/div>\n    <\/div>\n\n    <div id=\"resultBox\" style=\"margin-top: 10px; padding: 15px; border: 1px solid #ddd; border-radius: 8px; background-color: #f9f9f9; display: none; text-align: right; font-size: 15px; line-height: 1.8; box-shadow: 0 4px 6px rgba(0,0,0,0.05);\"><\/div>\n    \n    <div style=\"margin-top: 25px;\">\n        <a href=\"https:\/\/nmb.altib-albadil.com\/?page_id=6\" style=\"display: inline-block; width: 100%; padding: 12px; background-color: #e2e8f0; color: #1e293b; text-decoration: none; border: 1px solid #cbd5e1; border-radius: 5px; font-weight: bold; font-size: 16px; box-sizing: border-box; transition: 0.3s;\">\n            \u2b05\ufe0f \u0628\u062d\u062b \u0639\u0646 \u0631\u0642\u0645 \u062c\u062f\u064a\u062f\n        <\/a>\n    <\/div>\n<\/div>\n\n<script>\nlet globalNames = [];\nlet globalHeader = \"\";\nlet globalFooter = \"\";\nlet currentShownCount = 0;\nlet currentServerInfo = {};\n\n\/\/ \u0642\u0627\u0644\u0628 \u062b\u0627\u0628\u062a \u0644\u0625\u0639\u0644\u0627\u0646 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647 \u0641\u064a \u0623\u0643\u062b\u0631 \u0645\u0646 \u0645\u0643\u0627\u0646\nconst appPromoHTML = `\n    <div class=\"app-promo-box\" style=\"background-color: #f0fdf4; border-color: #bbf7d0; margin-top:15px;\">\n        <p style=\"margin: 0 0 5px 0; font-size: 14px; color: #166534; font-weight: bold;\">\ud83d\udca1 \u0647\u0644 \u062a\u0631\u064a\u062f \u062a\u062e\u0637\u064a \u062d\u062f\u0648\u062f \u0627\u0644\u0628\u062d\u062b\u061f<\/p>\n        <p style=\"margin: 0 0 10px 0; font-size: 12px; color: #15803d;\">\u062a\u0637\u0628\u064a\u0642\u0646\u0627 \u064a\u0648\u0641\u0631 \u0644\u0643 \u0628\u062d\u062b\u0627\u064b \u063a\u064a\u0631 \u0645\u062d\u062f\u0648\u062f \u0648\u0628\u062f\u0648\u0646 \u0627\u0646\u062a\u0638\u0627\u0631<\/p>\n        <a href=\"https:\/\/nmb.altib-albadil.com\/\" class=\"app-promo-btn\" style=\"background-color: #059669;\">\ud83d\udcf1 \u062c\u0631\u0628 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0627\u0644\u0622\u0646<\/a>\n    <\/div>\n`;\n\nfunction escapeHTML(str) {\n    if (!str) return \"\";\n    return str.replace(\/[&<>'\"]\/g, tag => ({\n        '&': '&amp;', '<': '&lt;', '>': '&gt;', \"'\": '&#39;', '\"': '&quot;'\n    }[tag]));\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n    const urlParams = new URLSearchParams(window.location.search);\n    const resId = urlParams.get('res_id');\n    \n    if (resId) {\n        try {\n            \/\/ \u0627\u0644\u062a\u0639\u062f\u064a\u0644 \u0647\u0646\u0627: \u0641\u0643 \u0627\u0644\u062a\u0634\u0641\u064a\u0631 \u0648\u0627\u0644\u062a\u0646\u0642\u064a\u0629\n            let decodedPhone = atob(decodeURIComponent(resId));\n            decodedPhone = decodedPhone.replace(\/[^\\d+]\/g, ''); \n            \n            if (decodedPhone.length > 5) {\n                executeFinalSearch(decodedPhone);\n            } else {\n                throw new Error(\"Invalid format\");\n            }\n        } catch (e) {\n            document.getElementById('loadingMsg').innerHTML = \"\u274c \u062e\u0637\u0623: \u0627\u0644\u0631\u0627\u0628\u0637 \u063a\u064a\u0631 \u0635\u0627\u0644\u062d \u0623\u0648 \u062a\u0645 \u0627\u0644\u062a\u0644\u0627\u0639\u0628 \u0628\u0647.\";\n        }\n    } else {\n        document.getElementById('loadingMsg').innerHTML = \"\u274c \u062e\u0637\u0623: \u0644\u0645 \u064a\u062a\u0645 \u062a\u0645\u0631\u064a\u0631 \u0631\u0642\u0645.\";\n    }\n});\n\nasync function executeFinalSearch(fullPhone) {\n    const resultBox = document.getElementById('resultBox');\n    const loading = document.getElementById('loadingMsg');\n    \n    try {\n        const noCache = new Date().getTime();\n        const apiUrl = `https:\/\/nmb.altib-albadil.com\/wp-admin\/admin-ajax.php?action=alosh_search&phone=${encodeURIComponent(fullPhone)}&nocache=${noCache}`;\n        const response = await fetch(apiUrl, { cache: 'no-store' });\n        const data = await response.json();\n\n        loading.style.display = 'none';\n        resultBox.style.display = 'block';\n\n        if(data.success) {\n            currentServerInfo = data.info || { country: \"\u063a\u064a\u0631 \u0645\u062a\u0648\u0641\u0631 \ud83c\udf0d\", region: \"\u063a\u064a\u0631 \u0645\u0639\u0631\u0648\u0641\", carrier: \"\u063a\u064a\u0631 \u0645\u0639\u0631\u0648\u0641\", type: \"\u063a\u064a\u0631 \u0645\u0639\u0631\u0648\u0641\" };\n            processResults(data.result);\n        } else {\n            if(data.error_type === 'limit_exceeded') {\n                let totalSeconds = data.remaining_seconds;\n                \n                \/\/ \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u062f\u0627\u062f \u0645\u0639 \u0625\u0639\u0644\u0627\u0646 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u062a\u062d\u062a\u0647 \u0645\u0628\u0627\u0634\u0631\u0629\n                resultBox.innerHTML = `\n                    <div style=\"background-color: #fef2f2; border: 1px solid #f87171; padding: 25px 15px; border-radius: 8px; text-align: center; color: #991b1b;\">\n                        <div style=\"font-size: 30px; margin-bottom: 10px;\">\u23f3<\/div>\n                        <h3 style=\"margin: 0 0 10px 0; font-size: 16px; font-weight: bold;\">\u0639\u0630\u0631\u0627\u064b\u060c \u062a\u062c\u0627\u0648\u0632\u062a \u0627\u0644\u062d\u062f \u0627\u0644\u0645\u0633\u0645\u0648\u062d<\/h3>\n                        <p style=\"margin: 0; font-size: 14px; color: #b91c1c;\">\u064a\u0631\u062c\u0649 \u0627\u0644\u0627\u0646\u062a\u0638\u0627\u0631 \u062d\u062a\u0649 \u064a\u062a\u062c\u062f\u062f \u0631\u0635\u064a\u062f\u0643 \u0627\u0644\u0645\u062c\u0627\u0646\u064a \u0628\u0639\u062f:<\/p>\n                        <div id=\"countdownTimer\" style=\"font-size: 24px; font-weight: bold; margin-top: 15px; direction: ltr; display: inline-block; background: #fee2e2; padding: 8px 20px; border-radius: 6px; border: 1px solid #fca5a5; color: #7f1d1d;\">--:--:--<\/div>\n                        \n                        ${appPromoHTML}\n                    <\/div>\n                `;\n                \n                const timerElement = document.getElementById('countdownTimer');\n                const interval = setInterval(() => {\n                    if(totalSeconds <= 0) {\n                        clearInterval(interval);\n                        timerElement.innerHTML = \"\u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0628\u062d\u062b \u0627\u0644\u0622\u0646! \ud83d\udd04\";\n                        return;\n                    }\n                    let h = Math.floor(totalSeconds \/ 3600);\n                    let m = Math.floor((totalSeconds % 3600) \/ 60);\n                    let s = totalSeconds % 60;\n                    timerElement.innerHTML = (h < 10 ? \"0\"+h : h) + \":\" + (m < 10 ? \"0\"+m : m) + \":\" + (s < 10 ? \"0\"+s : s);\n                    totalSeconds--;\n                }, 1000);\n            } else {\n                resultBox.innerHTML = `<div style=\"color: #ef4444; font-weight: bold; text-align: center; padding: 15px;\">\u274c ${data.error} ${appPromoHTML}<\/div>`;\n            }\n        }\n    } catch (e) {\n        loading.style.display = 'none';\n        resultBox.style.display = 'block';\n        resultBox.innerHTML = \"\u274c \u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u062e\u0627\u062f\u0645.\" + appPromoHTML;\n    }\n}\n\nfunction processResults(resultText) {\n    const resultBox = document.getElementById('resultBox');\n    let namesCount = 0;\n    const lines = resultText.split('\\n');\n    for (let line of lines) { if (line.trim().match(\/^\\d+\\s*-\/)) namesCount++; }\n\n    if (namesCount === 0 || resultText.includes(\"\u0644\u0627\u064a\u0648\u062c\u062f\") || resultText.includes(\"\u0644\u0627 \u064a\u0648\u062c\u062f\")) {\n        resultBox.innerHTML = `\n            <div style=\"text-align: right;\">\n                <div style=\"color: #ef4444; font-weight: bold; text-align: center; margin-bottom: 10px;\">\u274c \u0644\u0627 \u062a\u0648\u062c\u062f \u0623\u0633\u0645\u0627\u0621 \u0645\u0633\u062c\u0644\u0629!<\/div>\n                ${appPromoHTML}\n            <\/div>\n        `;\n        return;\n    }\n\n    globalNames = []; globalHeader = \"\"; globalFooter = \"\"; currentShownCount = 0;\n    let parsingState = 'header'; \n\n    for (let line of lines) {\n        let trimmed = line.trim();\n        if (!trimmed) continue;\n        if (trimmed.match(\/^\\d+\\s*-\/)) {\n            parsingState = 'names';\n            globalNames.push(trimmed);\n        } else {\n            if (parsingState === 'header') globalHeader += `<span style=\"color: #10b981; font-weight: bold;\">${trimmed}<\/span><br>`;\n            else if (parsingState === 'names' || parsingState === 'footer') {\n                parsingState = 'footer';\n                globalFooter += `${trimmed}<br>`;\n            }\n        }\n    }\n    renderNames();\n}\n\nfunction renderNames() {\n    const resultBox = document.getElementById('resultBox');\n    currentShownCount = Math.min(5, globalNames.length);\n\n    let html = `<div style=\"text-align: right;\"><div style=\"margin-bottom: 15px;\">${globalHeader}<\/div><div id=\"namesContainer\">`;\n    for(let i = 0; i < currentShownCount; i++) {\n        html += `<div style=\"padding: 5px 0; border-bottom: 1px solid #eee;\"><strong>${escapeHTML(globalNames[i])}<\/strong><\/div>`;\n    }\n    html += `<\/div>`;\n\n    if (currentShownCount < globalNames.length) {\n        let remaining = globalNames.length - currentShownCount;\n        html += `<button id=\"showMoreBtn\" onclick=\"loadMoreNames()\" style=\"margin-top: 15px; width: 100%; padding: 10px; background-color: #e2e8f0; border-radius: 5px; cursor: pointer; font-weight: bold;\">\ud83d\udc47 \u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064a\u062f (${remaining})<\/button>`;\n    }\n    \n    \/\/ \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0625\u0639\u0644\u0627\u0646 \u0641\u064a \u0646\u0647\u0627\u064a\u0629 \u0627\u0644\u0646\u062a\u0627\u0626\u062c \u0623\u064a\u0636\u0627\u064b\n    html += appPromoHTML + `<\/div>`;\n    resultBox.innerHTML = html;\n}\n\nfunction loadMoreNames() {\n    const container = document.getElementById('namesContainer');\n    const btn = document.getElementById('showMoreBtn');\n    let nextBound = Math.min(currentShownCount + 5, globalNames.length);\n    let newHtml = \"\";\n    for(let i = currentShownCount; i < nextBound; i++) {\n        newHtml += `<div style=\"padding: 5px 0; border-bottom: 1px solid #eee;\"><strong>${escapeHTML(globalNames[i])}<\/strong><\/div>`;\n    }\n    container.innerHTML += newHtml;\n    currentShownCount = nextBound;\n    if (currentShownCount < globalNames.length) {\n        btn.innerText = `\ud83d\udc47 \u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064a\u062f (${globalNames.length - currentShownCount})`;\n    } else {\n        btn.style.display = 'none';\n    }\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u23f3 \u062c\u0627\u0631\u064a \u0627\u0644\u0628\u062d\u062b \u0648\u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0627\u0644\u0623\u0633\u0645\u0627\u0621&#8230; \ud83d\ude80 \u0644\u0627 \u062a\u062d\u0628 \u0627\u0644\u0627\u0646\u062a\u0638\u0627\u0631\u061f \u062d\u0645\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0644\u0644\u0628\u062d\u062b \u0627\u0644\u0641\u0648\u0631\u064a \u0628\u062f\u0648\u0646 \u0642\u064a\u0648\u062f \ud83d\udcf1 \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0627\u0644\u0622\u0646 \u2b05\ufe0f \u0628\u062d\u062b \u0639\u0646 \u0631\u0642\u0645 \u062c\u062f\u064a\u062f<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-11","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nmb.altib-albadil.com\/index.php?rest_route=\/wp\/v2\/pages\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nmb.altib-albadil.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nmb.altib-albadil.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nmb.altib-albadil.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nmb.altib-albadil.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":4,"href":"https:\/\/nmb.altib-albadil.com\/index.php?rest_route=\/wp\/v2\/pages\/11\/revisions"}],"predecessor-version":[{"id":25,"href":"https:\/\/nmb.altib-albadil.com\/index.php?rest_route=\/wp\/v2\/pages\/11\/revisions\/25"}],"wp:attachment":[{"href":"https:\/\/nmb.altib-albadil.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}