PageSourceSearch

https://backlinkajans.com/_nuxt/tZcuTxi-.js

js backlinkajans.com collected 2026-10-07 03:54:45 UTC 12,540 bytes, 1 lines download raw bytes

1import{_ as R}from"./6PyalRL4.js";import{d as j,u as A,w as N,c as s,a as e,b as L,e as v,h as u,g as l,t as o,j as x,A as U,B as O,D as K,F as m,r as w,l as z,G as I,o as d,n as f,f as F,K as E}from"./CeiIIN3h.js";import{u as H}from"./CV3YBOY9.js";import"./Brda5cYg.js";import"./BRLrPitK.js";const P={class:"p-6 space-y-6"},q={class:"flex items-start justify-between gap-4"},Z={key:0},J={key:1},Q={class:"bg-sky-50 border border-sky-200 rounded-2xl p-4 text-[13px] text-sky-900 leading-relaxed"},W={key:0,class:"grid gap-4 grid-cols-2 lg:grid-cols-5"},X={class:"bg-white rounded-2xl border border-border/40 p-4"},ee={class:"text-2xl font-bold text-foreground"},te={class:"bg-white rounded-2xl border border-border/40 p-4"},re={class:"text-2xl font-bold text-emerald-600"},oe={class:"bg-white rounded-2xl border border-border/40 p-4"},ne={class:"text-2xl font-bold text-red-600"},de={class:"bg-white rounded-2xl border border-border/40 p-4"},se={class:"text-2xl font-bold text-amber-600"},le={class:"bg-white rounded-2xl border border-border/40 p-4"},ae={class:"text-2xl font-bold text-foreground"},ie={key:1,class:"bg-red-50 border border-red-200 rounded-2xl p-4"},ue={class:"text-[13px] text-red-800"},xe={class:"bg-white rounded-2xl border border-border/40 overflow-hidden"},pe={class:"flex flex-wrap items-center justify-between gap-3 p-5 border-b border-border/30"},me={class:"flex items-center gap-2"},be={class:"flex items-center gap-1.5 text-xs text-muted-foreground cursor-pointer"},ce={key:0,class:"p-10 text-center text-sm text-muted-foreground"},fe={key:1,class:"p-10 text-center text-sm text-muted-foreground"},ge={key:2,class:"overflow-x-auto"},he={class:"w-full text-sm"},ye={class:"p-3"},_e=["href"],ke={key:0,class:"block text-[11px] text-muted-foreground"},ve={class:"p-3 text-center text-muted-foreground"},we={class:"p-3 text-right"},ze={key:0,class:"text-muted-foreground text-xs"},Ie={key:2,class:"block text-[10px] text-muted-foreground"},Se={class:"p-3 text-center text-emerald-600 font-medium"},Ce={class:"p-3 text-right text-muted-foreground text-xs"},Ge={class:"p-3 text-right text-muted-foreground text-xs"},Ye={key:2,class:"bg-white rounded-2xl border border-border/40 overflow-hidden"},Le={class:"p-5 border-b border-border/30"},Ue={class:"text-[12px] text-muted-foreground mt-0.5"},Be={key:0,class:"text-red-700"},$e={class:"overflow-x-auto"},Me={class:"w-full text-sm"},Te={class:"p-3"},Ve={class:"p-3 text-xs text-muted-foreground"},De={key:0},Re={key:1},je={class:"p-3 text-muted-foreground text-xs"},Ae={class:"p-3"},Ne=["href"],Oe={class:"p-3"},Ke=["href"],Fe={class:"block text-[10px] text-muted-foreground"},Ee=["href"],He={key:1,class:"text-xs text-muted-foreground"},Pe={class:"p-3 text-right text-xs text-muted-foreground whitespace-nowrap"},qe={class:"p-3 text-right whitespace-nowrap"},Ze={class:"inline-flex items-center gap-1 rounded-full bg-emerald-50 text-emerald-700 border border-emerald-200 px-2 py-0.5 text-[11px] font-semibold"},Je=["disabled","onClick"],ot=j({__name:"index-raporu",async setup(Qe){let g,S;A({title:"Index Raporu - Backlink Ajans"});const{data:p,pending:h,refresh:B}=([g,S]=N(()=>H("/api/admin/index-raporu",{key:"index-raporu"},"$zVoedlh9jk")),g=await g,S(),g),y=z(""),_=z(!1),i=I(()=>p.value?.ozet),C=I(()=>{let n=p.value?.siteler??[];const t=y.value.trim().toLowerCase();return t&&(n=n.filter(a=>a.url.toLowerCase().includes(t)||(a.category||"").toLowerCase().includes(t))),_.value&&(n=n.filter(a=>a.oran!==null&&a.oran<50)),n}),G=I(()=>(p.value?.sorunlular??[]).filter(n=>n.hedefUrl||n.editorLinkleri.length).length),c=z(null);async function Y(n,t=!1){c.value=n.id;try{const a=await $fetch("/api/admin/index-raporu/gonderildi",{method:"POST",body:{id:n.id,geriAl:t}});n.indexGonderildi=a.indexGonderildi}catch(a){alert(a?.data?.statusMessage||"Kaydedilemedi")}finally{c.value=null}}const $=n=>n>=80?"text-emerald-600":n>=50?"text-amber-600":"text-red-600",M=n=>/^https?:\/\//i.test(n)?n:`https://${n}`;function T(n){return n===null?"—":n<24?`${n} sa`:`${Math.round(n/24)} gün`}function k(n){return n?new Date(n).toLocaleDateString("tr-TR",{day:"2-digit",month:"short",year:"numeric",timeZone:"Europe/Istanbul"}):"—"}return(n,t)=>{const a=R,V=F;
1return d(),s("div",P,[e("div",q,[t[3]||(t[3]=e("div",null,[e("div",{class:"flex items-center gap-2 mb-1"},[e("div",{class:"w-1 h-7 bg-primary rounded-full"}),e("h1",{class:"text-2xl font-bold text-foreground"},"Index Raporu")]),e("p",{class:"text-sm text-muted-foreground ml-3"}," Hangi site Google'da indexleniyor, hangisi indexlenmiyor — satın almadan önce bakın ")],-1)),L(a,{variant:"outline",disabled:u(h),onClick:t[0]||(t[0]=r=>u(B)())},{default:v(()=>[u(h)?(d(),s("span",Z,"Yükleniyor...")):(d(),s("span",J,"Yenile"))]),_:1},8,["disabled"])]),e("div",Q,[t[4]||(t[4]=l(" Oranlar yalnızca ",-1)),t[5]||(t[5]=e("strong",null,"kesinleşmiş",-1)),t[6]||(t[6]=l(" yayınlardan hesaplanır. Yeni bir yazı ilk günlerde neredeyse hep indexsiz görünür, çünkü Google henüz taramamıştır. Bu yüzden yayından sonraki ",-1)),e("strong",null,o(u(p)?.pencereGun??7)+" gün",1),t[7]||(t[7]=l(' boyunca günde bir tekrar bakılır; bu süre dolmadan hiçbir yayın siteye kara puan yazmaz. Süre dolduğunda hâlâ indexlenmemişse "kesin indexsiz" sayılır ama 60. güne kadar ',-1)),t[8]||(t[8]=e("strong",null,"haftada bir",-1)),t[9]||(t[9]=l(" bakılmaya devam eder; geç indexlenen yayın kendiliğinden düzelir. ",-1)),t[10]||(t[10]=e("strong",null,"İndexe yollandı",-1)),t[11]||(t[11]=l(" ile işaretlediğiniz yayında takip o andan itibaren 7 gün boyunca yeniden günde bire çıkar. ",-1))]),i.value?(d(),s("div",W,[e("div",X,[t[12]||(t[12]=e("p",{class:"text-[11px] text-muted-foreground mb-1"},"Yayınlanan Toplam",-1)),e("p",ee,o(i.value.toplam),1)]),e("div",te,[t[13]||(t[13]=e("p",{class:"text-[11px] text-muted-foreground mb-1"},"Indexlenen",-1)),e("p",re,o(i.value.indexli),1)]),e("div",oe,[t[14]||(t[14]=e("p",{class:"text-[11px] text-muted-foreground mb-1"},"Indexlenmeyen (kesin)",-1)),e("p",ne,o(i.value.kesinIndexsiz),1)]),e("div",de,[t[15]||(t[15]=e("p",{class:"text-[11px] text-muted-foreground mb-1"},"Takipte (süre dolmadı)",-1)),e("p",se,o(i.value.bekleyen),1)]),e("div",le,[t[16]||(t[16]=e("p",{class:"text-[11px] text-muted-foreground mb-1"},"Genel Index Oranı",-1)),e("p",ae,o(i.value.oran===null?"—":"%"+i.value.oran),1)])])):x("",!0),i.value&&i.value.riskliSite>0?(d(),s("div",ie,[e("p",ue,[e("strong",null,o(i.value.riskliSite)+" sitede",1),t[17]||(t[17]=l(" index oranı %50'nin altında. Bu sitelerden yeni alım yapmadan önce aşağıdaki listeyi gözden geçirin. ",-1))])])):x("",!0),e("div",xe,[e("div",pe,[t[19]||(t[19]=e("h2",{class:"text-sm font-semibold text-foreground"},"Site Bazında Index Performansı",-1)),e("div",me,[U(e("input",{"onUpdate:modelValue":t[1]||(t[1]=r=>y.value=r),type:"search",placeholder:"Site ara...",class:"h-9 px-3 rounded-lg border border-border/50 text-sm w-48"},null,512),[[O,y.value]]),e("label",be,[U(e("input",{"onUpdate:modelValue":t[2]||(t[2]=r=>_.value=r),type:"checkbox",class:"rounded"},null,512),[[K,_.value]]),t[18]||(t[18]=l(" Sadece riskli olanlar ",-1))])])]),u(h)?(d(),s("div",ce,"Yükleniyor...")):C.value.length?(d(),s("div",ge,[e("table",he,[t[20]||(t[20]=e("thead",null,[e("tr",{class:"border-b border-border/30 bg-muted/20"},[e("th",{class:"text-left text-[11px] font-semibold text-muted-foreground p-3"},"Site"),e("th",{class:"text-center text-[11px] font-semibold text-muted-foreground p-3"},"DR"),e("th",{class:"text-right text-[11px] font-semibold text-muted-foreground p-3"},"Index Oranı"),e("th",{class:"text-center text-[11px] font-semibold text-muted-foreground p-3"},"Indexli"),e("th",{class:"text-center text-[11px] font-semibold text-muted-foreground p-3"},"Indexsiz"),e("th",{class:"text-center text-[11px] font-semibold text-muted-foreground p-3"},"Takipte"),e("th",{class:"text-right text-[11px] font-semibold text-muted-foreground p-3"},"Ort. Süre"),e("th",{class:"text-right text-[11px] font-semibold text-muted-foreground p-3"},"Son Yayın")])],-1)),e("tbody",null,[(d(!0),s(m,null,w(C.value,r=>(d(),s("tr",{key:r.siteId,class:"border-b border-border/10 last:border-0 hover:bg-muted/20"},[e("td",ye,[e("a",{href:M(r.url),target:"_blank",rel:"noopener",class:"font-medium text-foreground hover:text-primary hover:underline"},o(r.url),9,_e),r.category?(d(),s("span",ke,o(r.category),1)):x("",!0)]),e("td",ve,o(r.dr??"—"),1),e("td",we,[r.oran===null?(d(),s("span",ze,"veri yok")):(d(),s("span",{key:1,class:f(["font-bold",$(r.oran)])}
1,"%"+o(r.oran),3)),r.kesinlesmis?(d(),s("span",Ie,o(r.kesinlesmis)+" yayından ",1)):x("",!0)]),e("td",Se,o(r.indexli),1),e("td",{class:f(["p-3 text-center",r.kesinIndexsiz?"text-red-600 font-medium":"text-muted-foreground"])},o(r.kesinIndexsiz),3),e("td",{class:f(["p-3 text-center",r.bekleyen?"text-amber-600":"text-muted-foreground"])},o(r.bekleyen),3),e("td",Ce,o(T(r.ortIndexSaat)),1),e("td",Ge,o(k(r.sonYayin)),1)]))),128))])])])):(d(),s("div",fe," Kayıt bulunamadı. "))]),u(p)?.sorunlular?.length?(d(),s("div",Ye,[e("div",Le,[t[23]||(t[23]=e("h2",{class:"text-sm font-semibold text-foreground"},"Index Almayan Yayınlar ve Linkler",-1)),e("p",Ue,[l(o(u(p).pencereGun)+" günlük takip süresi dolmuş, hâlâ Google'da bulunamayan yayınlar. ",1),t[21]||(t[21]=e("strong",null,"Müşteri linki",-1)),t[22]||(t[22]=l(" sütunu bu sayfada duran backlink'i gösterir — sayfa indexlenmediği için o link Google tarafından hiç görülmüyor. ",-1)),G.value?(d(),s("span",Be,o(G.value)+" yayında müşteri linki var. ",1)):x("",!0)])]),e("div",$e,[e("table",Me,[t[25]||(t[25]=e("thead",null,[e("tr",{class:"border-b border-border/30 bg-muted/20"},[e("th",{class:"text-left text-[11px] font-semibold text-muted-foreground p-3"},"Sipariş"),e("th",{class:"text-left text-[11px] font-semibold text-muted-foreground p-3"},"Müşteri"),e("th",{class:"text-left text-[11px] font-semibold text-muted-foreground p-3"},"Site"),e("th",{class:"text-left text-[11px] font-semibold text-muted-foreground p-3"},"Yayın Adresi"),e("th",{class:"text-left text-[11px] font-semibold text-muted-foreground p-3"},"Müşteri Linki"),e("th",{class:"text-right text-[11px] font-semibold text-muted-foreground p-3"},"Yayın"),e("th",{class:"text-right text-[11px] font-semibold text-muted-foreground p-3"},"Index Gönderimi")])],-1)),e("tbody",null,[(d(!0),s(m,null,w(u(p).sorunlular,r=>(d(),s("tr",{key:r.id,class:"border-b border-border/10 last:border-0 hover:bg-muted/20 align-top"},[e("td",Te,[L(V,{to:`/panel/admin/siparisler?ara=${r.orderId}`,class:"text-primary hover:underline"},{default:v(()=>[l(" #"+o(r.orderId),1)]),_:2},1032,["to"])]),e("td",Ve,[r.musteri?(d(),s("span",De,o(r.musteri),1)):(d(),s("span",Re,"—"))]),e("td",je,o(r.siteUrl),1),e("td",Ae,[e("a",{href:r.publishedUrl,target:"_blank",rel:"noopener",class:"text-xs text-foreground hover:text-primary hover:underline break-all"},o(r.publishedUrl),9,Ne)]),e("td",Oe,[(d(!0),s(m,null,w(r.editorLinkleri,(b,D)=>(d(),s("div",{key:D,class:"mb-1 last:mb-0"},[e("a",{href:b.url,target:"_blank",rel:"noopener",class:"text-xs text-red-700 hover:underline break-all"},o(b.url),9,Ke),e("span",Fe,[b.anchor?(d(),s(m,{key:0},[l("anchor: "+o(b.anchor)+" · ",1)],64)):x("",!0),t[24]||(t[24]=l("müşteri beyanı ",-1))])]))),128)),r.editorLinkleri.length?x("",!0):(d(),s(m,{key:0},[r.hedefUrl?(d(),s(m,{key:0},[e("a",{href:r.hedefUrl,target:"_blank",rel:"noopener",class:f(["text-xs hover:underline break-all",r.hedefSupheli?"text-amber-700":"text-red-700"])},o(r.hedefUrl),11,Ee),e("span",{class:f(["block text-[10px]",r.hedefSupheli?"text-amber-700":"text-muted-foreground"])},o(r.hedefSupheli?"otomatik tespit — yayıncının kendi markasına gidiyor, muhtemelen yanlış":"otomatik tespit (müşteri beyanı değil)"),3)],64)):(d(),s("span",He,"—"))],64))]),e("td",Pe,o(k(r.yayin)),1),e("td",qe,[r.indexGonderildi?(d(),s(m,{key:0},[e("span",Ze," ✓ Yollandı · "+o(k(r.indexGonderildi)),1),e("button",{type:"button",class:"block ml-auto mt-1 text-[10.5px] text-muted-foreground hover:text-foreground underline disabled:opacity-50",disabled:c.value===r.id,onClick:b=>Y(r,!0)},"geri al",8,Je)],64)):(d(),E(a,{key:1,size:"sm",variant:"outline",class:"h-7 px-2.5 text-[11.5px] rounded-lg",disabled:c.value===r.id,onClick:b=>Y(r)},{default:v(()=>[l(o(c.value===r.id?"Kaydediliyor…":"İndexe yollandı"),1)]),_:2},1032,["disabled","onClick"]))])]))),128))])])])])):x("",!0)])}}});export{ot as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.