PageSourceSearch

https://ilove.cards/_nuxt/DU_NZzAw.js

js ilove.cards collected 2026-10-08 01:51:11 UTC 631 bytes, 1 lines download raw bytes

1import{as as p,i as b,w as v,h as s,e as r}from"./CmiQwY5M.js";function h(){const e=p("capabilities",()=>null),i=r(!1),t=r(null),u=b();async function l(){i.value=!0,t.value=null;try{const a=await $fetch("/api/members/me/capabilities");return e.value=a,a}catch(a){throw t.value=a,e.value=null,a}finally{i.value=!1}}async function c(a=!1){return a||!e.value?await l():e.value}async function o(){return await l()}function n(){e.value=null}return v(u,(a,f)=>{a?.id!==f?.id&&n()},{immediate:!1}),{capabilities:s(e),loading:s(i),error:s(t),fetchCapabilities:l,getCapabilities:c,refreshCapabilities:o,clearCapabilities:n}}export{h as u};

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.