PageSourceSearch

https://backlinkajans.com/_nuxt/_JeijC7u.js

js backlinkajans.com collected 2026-10-07 03:54:40 UTC 6,592 bytes, 1 lines download raw bytes

1import{d as L,u as N,p as E,q as T,c as n,a as e,h as i,F as p,r as U,z as P,A as _,B as x,g as c,t as o,j as y,l as v,E as A,o as s,K as D,e as M,L as Y,G as $,H as O,f as H,s as V}from"./CeiIIN3h.js";import{u as q}from"./CV3YBOY9.js";/* empty css        */const F={class:"pr-kok px-4 sm:px-7 py-5 sm:py-6 flex flex-col gap-3.5"},R={class:"card"},I={key:0,class:"card-b muted"},G={key:1,class:"card-b"},J={class:"site"},K={class:"fav","aria-hidden":"true"},Q=["src"],X={style:{"min-width":"0"}},Z={class:"sn"},W={class:"sm"},ee={key:1,class:"badge",style:{height:"18px","font-size":"11px","margin-left":"4px"},title:"Created automatically from an order target URL"},te={key:2,class:"badge b-warn",style:{height:"18px","font-size":"11px","margin-left":"4px"}},ae={"data-et":"Posts"},se={class:"deger"},ne={class:"muted"},oe={"data-et":"Index"},ie={class:"deger"},le={class:"mini"},de={key:1,class:"muted"},re={"data-et":"Anchor"},ce={key:0,class:"badge"},ue={key:1,class:"badge",title:"Assessed once target keywords are set"},me={key:2,class:"badge b-bad"},pe={key:3,class:"badge b-warn"},ye={key:4,class:"badge b-ok"},be={class:"price"},ve={"data-et":"Last post"},he={class:"pr-modal",role:"dialog","aria-label":"New project"},ke={class:"mh"},fe={key:0,style:{margin:"0",color:"#B42318","font-size":"13px"}},ge={style:{display:"flex","justify-content":"flex-end",gap:"8px"}},_e=["disabled"],xe=L({__name:"index",setup(we){N({title:"My Projects | Backlink Ajans"});const{data:h,pending:w,refresh:j}=q("/api/projects/ozet","$PfB0NQUq9c"),k=$(()=>h.value?.projeler||[]),C=l=>new Date(l).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"});function S(l){return Object.entries(l||{}).filter(([,m])=>m>0).map(([m,t])=>m==="USD"?"$"+t.toLocaleString("en-US",{maximumFractionDigits:0}):Math.round(t).toLocaleString("en-US")+" ₺").join(" + ")||"—"}const r=v(!1),d=A({domain:"",ad:""}),u=v(""),b=v(!1);function f(){d.domain="",d.ad="",u.value="",r.value=!0}async function z(){b.value=!0,u.value="";try{const l=await $fetch("/api/projects/create",{method:"POST",body:{domain:d.domain.trim(),name:d.ad.trim()||null}});r.value=!1,await O(`/en/panel/projects/${l.project.id}`)}catch(l){u.value=l?.data?.statusMessage==="Bu domain zaten eklenmiş"?"This domain already exists":l?.data?.statusMessage==="Geçerli bir domain girin"?"Enter a valid domain":"Project could not be created"}finally{b.value=!1}}function g(l){l.key==="Escape"&&(r.value=!1)}return E(()=>{document.addEventListener("keydown",g),j()}),T(()=>document.removeEventListener("keydown",g)),(l,a)=>{const m=H;return s(),n("div",F,[e("div",{class:"flex flex-wrap items-center gap-x-[18px] gap-y-2 text-[13.5px] text-[#5E6570]"},[a[6]||(a[6]=e("span",null,"Track each project's publications, index and link status and anchor distribution in one place — and share the report with your client.",-1)),e("button",{type:"button",class:"btn btn-primary sm:ml-auto",onClick:f},"+ New project")]),e("section",R,[i(w)&&!i(h)?(s(),n("div",I,"Loading…")):i(k).length?(s(),n(p,{key:2},[a[13]||(a[13]=e("div",{class:"liste-h"},[e("span",null,"PROJECT"),e("span",null,"POSTS"),e("span",null,"INDEX"),e("span",null,"ANCHOR"),e("span",{class:"r"},"SPEND"),e("span",null,"LAST POST"),e("span")],-1)),(s(!0),n(p,null,U(i(k),t=>(s(),D(m,{key:t.id,to:`/en/panel/projects/${t.id}`,class:"liste-satir"},{default:M(()=>[e("div",J,[e("span",K,[c(o(t.domain.charAt(0)),1),e("img",{src:`https://www.google.com/s2/favicons?domain=${t.domain}&sz=64`,alt:"",loading:"lazy",onError:a[0]||(a[0]=B=>B.target.remove())},null,40,Q)]),e("div",X,[e("div",Z,o(t.domain),1),e("div",W,[t.ad&&t.ad!==t.domain?(s(),n(p,{key:0},[c(o(t.ad)+" · ",1)],64)):y("",!0),c(o(t.kalem)+" "+o(t.kalem===1?"item":"items")+" ",1),t.otomatik?(s(),n("span",ee,"auto")):y("",!0),t.dikkat?(s(),n("span",te,o(t.dikkat)+" attention",1)):y("",!0)])])]),e("div",ae,[e("b",se,o(t.canli),1),e("span",ne," / "+o(t.yayinlanan)+" live",1)]),e("div",oe,[t.yayinlanan?(s(),n(p,{key:0},[e("b",ie,o(Math.round(t.indexli/t.yayinlanan*100))+"%",1),e("div",le,[e("i",{style:Y({width:t.indexli/t.yayinlanan*100+"%"})},null,4)])],64)):(s(),n("span",de,"—"))]),e("div",re,[t.anchorSayisi?t.degerlendirme?t.moneyYuzde>15?(s(),n("span",me,[a[9]||(a[9]=e("span",{class:"d"},null,-1)),c("High · "+o(t.moneyYuzde)+"%",1)])):t.moneyYuzde>=10?(s(),n("span",pe,[a[10]||(a[10]=e("span",{class:"d"},null,-1)),c("Borderline · "+o(t.moneyYuzde)+"%",1)])):(s(),n("span",ye,[a[11]||(a[11]=e("span",{class:"d"},null,-1)),c("Healthy · "+o(t.moneyYuzde)+"%",1)])):(s(),n("span",ue,"Exact match "+o(t.moneyYuzde)+"%",1)):(s(),n("span",ce,"No data"))]),e("div",be,o(S(t.harcama)),1),e("div",ve,o(t.sonYayin?C(t.sonYayin):"—"),1),a[12]||(a[12]=e("span",{class:"go","aria-hidden":"true"},[e("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[e("path",{d:"m9 6 6 6-6 6"})])],-1))]),_:2},1032,["to"]))),128))],64)):(s(),n("div",G,[a[7]||(a[7]=e("b",{style:{color:"var(--ink)"}},"You have no projects yet.",-1)),a[8]||(a[8]=e("p",{class:"muted",style:{margin:"6px 0 12px"}},"Create a project for the domain you build links to; your orders are linked to projects automatically by their target URL.",-1)),e("button",{type:"button",class:"btn btn-primary",onClick:f},"+ New project")]))]),i(r)?(s(),n(p,{key:0},[e("div",{class:"pr-modal-bd",onClick:a[1]||(a[1]=t=>r.value=!1)}),e("div",he,[e("div",ke,[a[14]||(a[14]=e("h3",null,"New project",-1)),e("button",{type:"button",class:"btn btn-quiet","aria-label":"Close",onClick:a[2]||(a[2]=t=>r.value=!1)},"✕")]),e("form",{class:"mb",onSubmit:P(z,["prevent"])},[e("div",null,[a[15]||(a[15]=e("label",{class:"et",for:"yp-domain"},"Domain",-1)),_(e("input",{id:"yp-domain","onUpdate:modelValue":a[3]||(a[3]=t=>i(d).domain=t),class:"alan",placeholder:"example.com",required:""},null,512),[[x,i(d).domain]])]),e("div",null,[a[16]||(a[16]=e("label",{class:"et",for:"yp-ad"},[c("Project name "),e("span",{class:"muted",style:{"font-weight":"400"}},"(optional)")],-1)),_(e("input",{id:"yp-ad","onUpdate:modelValue":a[4]||(a[4]=t=>i(d).ad=t),class:"alan",maxlength:"255",placeholder:"e.g. Brand blog"},null,512),[[x,i(d).ad]])]),i(u)?(s(),n("p",fe,o(i(u)),1)):y("",!0),e("div",ge,[e("button",{type:"button",class:"btn btn-secondary",onClick:a[5]||(a[5]=t=>r.value=!1)},"Cancel"),e("button",{type:"submit",class:"btn btn-primary",disabled:i(b)||!i(d).domain.trim()},"Create",8,_e)])],32)])],64)):y("",!0)])}}}),ze=V(xe,[["__scopeId","data-v-9d1f4353"]]);export{ze 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.