PageSourceSearch

https://buicha.social/vite/CtrObEP3.js

js buicha.social collected 2026-09-25 21:58:17 UTC 3,710 bytes, 1 lines download raw bytes

1import{i as e,T as O,a4 as g}from"./app-B3k0Lwm3.js";import{M as V}from"./CxGp7-du.js";import{M as w}from"./CcDrF15A.js";import{F as x}from"./D4Ja9W2f.js";import{b as y,a as f,c as A,z as B,f as R,l as m,h as p,s as o,g as b,C as u,j as i,H as v,B as s,q as t,M as C,N as D,k as N}from"./Co3cvlEU.js";import"./BTqQ_sdn.js";import"./BcMDoZSP.js";const J={class:"_gaps"},F={value:"all"},I={value:"federating"},U={value:"subscribing"},$={value:"publishing"},z={value:"suspended"},E={value:"silenced"},L={value:"blocked"},T={value:"notResponding"},j={value:"+pubSub"},q={value:"-pubSub"},H={value:"+notes"},P={value:"-notes"},G={value:"+users"},K={value:"-users"},Q={value:"+following"},W={value:"-following"},X={value:"+followers"},Y={value:"-followers"},Z={value:"+firstRetrievedAt"},ee={value:"-firstRetrievedAt"},ce=y({__name:"about.federation",setup(se){const d=f(""),n=f("federating"),_=f("+pubSub"),h={endpoint:"federation/instances",limit:10,displayLimit:50,offsetMode:!0,params:A(()=>({sort:_.value,host:d.value!==""?d.value:null,...n.value==="federating"?{federating:!0,suspended:!1,blocked:!1}:n.value==="subscribing"?{subscribing:!0,suspended:!1,blocked:!1}:n.value==="publishing"?{publishing:!0,suspended:!1,blocked:!1}:n.value==="suspended"?{suspended:!0}:n.value==="blocked"?{blocked:!0}:n.value==="silenced"?{silenced:!0}:n.value==="notResponding"?{notResponding:!0}:{}}))};function k(r){return r.isSuspended?"Suspended":r.isBlocked?"Blocked":r.isSilenced?"Silenced":r.isNotResponding?"Error":"Alive"}return(r,l)=>{const S=B("MkA"),M=R("tooltip");return p(),m("div",J,[o("div",null,[u(O,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=a=>d.value=a),debounce:!0,class:""},{prefix:i(()=>l[3]||(l[3]=[o("i",{class:"ti ti-search"},null,-1)])),label:i(()=>[v(s(t(e).ts.host),1)]),_:1},8,["modelValue"]),u(x,{style:{"margin-top":"var(--MI-margin)"}},{default:i(()=>[u(g,{modelValue:n.value,"onUpdate:modelValue":l[1]||(l[1]=a=>n.value=a)},{label:i(()=>[v(s(t(e).ts.state),1)]),default:i(()=>[o("option",F,s(t(e).ts.all),1),o("option",I,s(t(e).ts.federating),1),o("option",U,s(t(e).ts.subscribing),1),o("option",$,s(t(e).ts.publishing),1),o("option",z,s(t(e).ts.suspended),1),o("option",E,s(t(e).ts.silence),1),o("option",L,s(t(e).ts.blocked),1),o("option",T,s(t(e).ts.notResponding),1)]),_:1},8,["modelValue"]),u(g,{modelValue:_.value,"onUpdate:modelValue":l[2]||(l[2]=a=>_.value=a)},{label:i(()=>[v(s(t(e).ts.sort),1)]),default:i(()=>[o("option",j,s(t(e).ts.pubSub)+" ("+s(t(e).ts.descendingOrder)+")",1),o("option",q,s(t(e).ts.pubSub)+" ("+s(t(e).ts.ascendingOrder)+")",1),o("option",H,s(t(e).ts.notes)+" ("+s(t(e).ts.descendingOrder)+")",1),o("option",P,s(t(e).ts.notes)+" ("+s(t(e).ts.ascendingOrder)+")",1),o("option",G,s(t(e).ts.users)+" ("+s(t(e).ts.descendingOrder)+")",1),o("option",K,s(t(e).ts.users)+" ("+s(t(e).ts.ascendingOrder)+")",1),o("option",Q,s(t(e).ts.following)+" ("+s(t(e).ts.descendingOrder)+")",1),o("option",W,s(t(e).ts.following)+" ("+s(t(e).ts.ascendingOrder)+")",1),o("option",X,s(t(e).ts.followers)+" ("+s(t(e).ts.descendingOrder)+")",1),o("option",Y,s(t(e).ts.followers)+" ("+s(t(e).ts.ascendingOrder)+")",1),o("option",Z,s(t(e).ts.registeredAt)+" ("+s(t(e).ts.descendingOrder)+")",1),o("option",ee,s(t(e).ts.registeredAt)+" ("+s(t(e).ts.ascendingOrder)+")",1)]),_:1},8,["modelValue"])]),_:1})]),(p(),b(V,{ref:"instances",key:d.value+n.value,pagination:h},{default:i(({items:a})=>[o("div",{class:"xgnee"},[(p(!0),m(C,null,D(a,c=>N((p(),b(S,{key:c.id,class:"xyDJJ",to:`/instance-info/${c.host}`},{default:i(()=>[u(w,{instance:c},null,8,["instance"])]),_:2},1032,["class","to"])),[[M,`Status: ${k(c)}`,void 0,{mfm:!0}]])),128))],2)]),_:1}))])}}});export{ce 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.