PageSourceSearch

https://elk-zone.netlify.app/_nuxt/BLztc4RP.js

js elk-zone.netlify.app collected 2026-10-03 10:42:14 UTC 1,589 bytes, 1 lines download raw bytes

1import{d as m,bo as w,P as v,c as a,e as c,i as r,F as b,n as i,ad as h,w as d,D as s,t as B,K as q,bt as _}from"./DREHXjTd.js";const x={flex:"","gap-4":""},R={key:1,"text-secondary":""},k=m({__name:"AccountFollowRequestButton",props:{account:{},relationship:{}},setup(o){const p=w(o,["account"]),e=q(()=>p.relationship||_(o.account).value),{client:l}=v();async function f(){e.value.requestedBy=!1,e.value.followedBy=!0;try{const t=await l.value.v1.followRequests.$select(o.account.id).authorize();Object.assign(e,t)}catch{e.value.requestedBy=!0,e.value.followedBy=!1}}async function y(){e.value.requestedBy=!1;try{const t=await l.value.v1.followRequests.$select(o.account.id).reject();Object.assign(e,t)}catch{e.value.requestedBy=!0}}return(t,n)=>{const u=h;return a(),c("div",x,[r(e)?.requestedBy?(a(),c(b,{key:0},[i(u,{content:t.$t("account.authorize")},{default:d(()=>[s("button",{type:"button","rounded-full":"","text-sm":"",p2:"","border-1":"","hover:text-green":"","transition-colors":"",onClick:f},[...n[0]||(n[0]=[s("span",{block:"","text-current":"","i-ri:check-fill":""},null,-1)])])]),_:1},8,["content"]),i(u,{content:t.$t("account.reject")},{default:d(()=>[s("button",{type:"button","rounded-full":"","text-sm":"",p2:"","border-1":"","hover:text-red":"","transition-colors":"",onClick:y},[...n[1]||(n[1]=[s("span",{block:"","text-current":"","i-ri:close-fill":""},null,-1)])])]),_:1},8,["content"])],64)):(a(),c("span",R,B(r(e)?.followedBy?t.$t("account.authorized"):t.$t("account.rejected")),1))])}}}),j=Object.assign(k,{__name:"AccountFollowRequestButton"});export{j as _};

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.